/* ============================================
   CONFIDENCIALYDAT — MAIN STYLESHEET
   Versión: 1.0 · Abril 2026
   ============================================ */

/* Reset & Variables */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #1863DC;
  --primary-dark:   #0056A7;
  --primary-darker: #003E7A;
  --accent:         #38BDF8;
  --dark:           #080F1E;
  --dark-mid:       #0F1D34;
  --dark-card:      #162035;
  --text:           #1E293B;
  --text-muted:     #64748B;
  --bg-light:       #F0F6FF;
  --bg-gray:        #F8FAFC;
  --white:          #FFFFFF;
  --border:         #E2E8F0;
  --success:        #10B981;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.07);
  --shadow-md:  0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.15);
  --shadow-blue:0 10px 40px rgba(24,99,220,.28);
  --r:  12px;
  --rl: 20px;
  --t:  .3s ease;
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--text); }
a { text-decoration: none; color: inherit; transition: var(--t); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 64px 0; }
.text-center { text-align: center; }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
}
.badge-blue  { background: rgba(24,99,220,.1); color: var(--primary); border: 1px solid rgba(24,99,220,.2); }
.badge-white { background: rgba(255,255,255,.12); color: var(--white);  border: 1px solid rgba(255,255,255,.25); }
.badge-accent{ background: rgba(56,189,248,.12); color: var(--accent);  border: 1px solid rgba(56,189,248,.25); }

/* ── Section headings ── */
.section-title    { font-size: clamp(26px,4vw,42px); margin-bottom: 14px; }
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 580px; margin: 0 auto 56px; line-height: 1.8; }
.section-title-white    { color: var(--white); }
.section-subtitle-white { color: rgba(255,255,255,.6); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: var(--t); white-space: nowrap;
  font-family: var(--font);
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease;
}
.header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 24px rgba(0,0,0,.09);
}
.header.scrolled .nav-link        { color: var(--text); }
.header.scrolled .nav-link:hover  { color: var(--primary); }
.header.scrolled .nav-logo-text   { color: var(--text); }
.header.scrolled .nav-toggle span { background: var(--text); }

.nav {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 18px 0; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-img { height: 44px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: var(--t); }
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }
.header.scrolled .nav-logo-img { filter: none; }
.nav-logo-text { font-size: 17px; font-weight: 800; color: var(--white); letter-spacing: -.3px; }
.nav-logo-text em { color: var(--accent); font-style: normal; }
.header.scrolled .nav-logo-text { color: var(--text); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item  { position: relative; }
.nav-link  {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.88); border-radius: 7px;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-link svg   { width: 13px; height: 13px; transition: transform var(--t); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--shadow-lg); min-width: 250px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--t); border: 1px solid var(--border); overflow: hidden;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; font-size: 14px; font-weight: 500; color: var(--text);
}
.dd-link:hover { background: var(--bg-light); color: var(--primary); }
.dd-icon {
  width: 34px; height: 34px; background: var(--bg-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0; transition: var(--t);
}
.dd-link:hover .dd-icon { background: var(--primary); color: white; }
.dd-icon svg { width: 16px; height: 16px; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.header.scrolled .nav-phone { color: var(--text-muted); }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: var(--t); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&q=80') center/cover no-repeat;
  opacity: .12;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(8,15,30,.98) 0%,
    rgba(24,99,220,.45) 55%,
    rgba(8,15,30,.92) 100%);
}
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(24,99,220,.18) 1px, transparent 1px);
  background-size: 36px 36px; opacity: .5;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; width: 100%;
  padding: 120px 0 80px;
}

.hero-pretitle { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.hero-pretitle-line { width: 36px; height: 2px; background: var(--accent); }
.hero-pretitle span { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; }

.hero h1 {
  font-size: clamp(34px,4.5vw,60px); font-weight: 900;
  color: var(--white); line-height: 1.08; margin-bottom: 22px; letter-spacing: -1.5px;
}
.hero h1 .accent-text { color: var(--accent); }

.hero-desc {
  font-size: 17px; color: rgba(255,255,255,.7);
  line-height: 1.85; margin-bottom: 36px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-val {
  font-size: 34px; font-weight: 900; color: var(--white);
  line-height: 1; letter-spacing: -1px;
}
.hero-stat-val span { color: var(--accent); }
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* Hero visual panel */
.hero-visual { position: relative; }
.hero-panel {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--rl); padding: 28px; color: white;
}
.hero-panel-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.5); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.hero-check-list { display: flex; flex-direction: column; gap: 14px; }
.hero-check-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,.85); }
.hero-check-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(56,189,248,.2); border: 1px solid rgba(56,189,248,.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-check-icon svg { width: 14px; height: 14px; color: var(--accent); }

.hero-panel-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 22px 0; }

.hero-contact-badge {
  display: flex; align-items: center; gap: 14px;
  background: rgba(24,99,220,.25); border: 1px solid rgba(24,99,220,.35);
  border-radius: 12px; padding: 16px;
}
.hero-contact-badge svg { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; }
.hcb-label { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .5px; }
.hcb-value { font-size: 18px; font-weight: 800; color: var(--white); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.3); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
}
.scroll-bar {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3}50%{opacity:1} }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar { background: var(--dark-mid); padding: 26px 0; border-top: 1px solid rgba(255,255,255,.05); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.45); font-size: 13px; font-weight: 500; }
.trust-item svg { color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   SERVICES
   ============================================ */
.services-section { background: var(--bg-gray); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }

.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden;
  transition: var(--t); position: relative;
}
.service-card::before {
  content:''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: var(--t);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(24,99,220,.2); }
.service-card:hover::before { opacity: 1; }

.service-img-wrap { overflow: hidden; height: 200px; }
.service-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-img { transform: scale(1.05); }

.service-body { padding: 28px; }
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 13px; display: flex; align-items: center; justify-content: center;
  color: white; margin-bottom: 18px; margin-top: -48px; position: relative;
  box-shadow: 0 8px 20px rgba(24,99,220,.35);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 22px; }
.service-link    { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 14px; font-weight: 600; }
.service-link:hover { gap: 10px; }
.service-link svg { width: 15px; height: 15px; }

/* ============================================
   WHY US
   ============================================ */
.why-section { background: var(--dark); position: relative; overflow: hidden; }
.why-section::before {
  content:''; position: absolute; top:-200px; right:-200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(24,99,220,.18) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.why-text h2 { color: var(--white); margin-bottom: 18px; }
.why-text > p { color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.85; margin-bottom: 32px; }
.why-cta { display: flex; gap: 14px; }

.why-features { display: grid; gap: 14px; }
.why-feat {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r); transition: var(--t);
}
.why-feat:hover { background: rgba(24,99,220,.14); border-color: rgba(24,99,220,.3); }
.why-feat-icon {
  width: 46px; height: 46px; background: rgba(24,99,220,.18);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.why-feat-icon svg { width: 21px; height: 21px; }
.why-feat h4 { font-size: 15px; color: var(--white); margin-bottom: 3px; }
.why-feat p  { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.6; }

.why-img-col { position: relative; }
.why-img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: var(--rl); display: block;
}
.why-badge {
  position: absolute; bottom: 28px; left: -28px;
  background: var(--white); border-radius: var(--r);
  padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
}
.why-badge-num  { font-size: 34px; font-weight: 900; color: var(--primary); line-height: 1; }
.why-badge-text { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ============================================
   PROCESS
   ============================================ */
.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative; }
.process-grid::before {
  content:''; position: absolute; top: 44px;
  left: calc(16.67% + 24px); right: calc(16.67% + 24px);
  height: 1px; background: var(--border); z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num {
  width: 88px; height: 88px;
  background: var(--white); border: 2px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 28px; font-weight: 900; color: var(--primary);
  transition: var(--t); font-family: var(--font);
}
.process-step:hover .process-num {
  background: var(--primary); color: var(--white);
  border-color: var(--primary); box-shadow: var(--shadow-blue);
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p  { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--bg-light); }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

.test-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 30px; transition: var(--t);
}
.test-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.test-stars { display: flex; gap: 3px; margin-bottom: 18px; color: #F59E0B; }
.test-stars svg { width: 17px; height: 17px; }
.test-text { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 13px; }
.test-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.test-name  { font-weight: 700; font-size: 14px; }
.test-role  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ============================================
   BLOG
   ============================================ */
.blog-section { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }

.blog-card {
  border: 1px solid var(--border); border-radius: var(--rl);
  overflow: hidden; transition: var(--t);
  background: var(--white);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-img-wrap { overflow: hidden; height: 220px; }
.blog-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img { transform: scale(1.04); }
.blog-body { padding: 26px; }
.blog-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.blog-cat  { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; background: rgba(24,99,220,.08); padding: 4px 10px; border-radius: 100px; }
.blog-date { font-size: 12px; color: var(--text-muted); }
.blog-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.45; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; }
.blog-link    { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--primary); }
.blog-link:hover { gap: 10px; }
.blog-link svg { width: 14px; height: 14px; }

/* Blog center CTA */
.blog-cta { text-align: center; margin-top: 40px; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-darker) 50%, var(--dark) 100%);
  position: relative; overflow: hidden;
}
.contact-section::before {
  content:''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; }

.contact-info h2 { color: var(--white); margin-bottom: 16px; }
.contact-info > p { color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.85; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.ci-icon {
  width: 44px; height: 44px; background: rgba(255,255,255,.08);
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.ci-icon svg { width: 19px; height: 19px; }
.ci-label { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .5px; }
.ci-value { font-size: 15px; font-weight: 600; color: var(--white); }

/* Contact form */
.contact-form-box {
  background: var(--white); border-radius: var(--rl);
  padding: 36px; box-shadow: var(--shadow-lg);
}
.contact-form-box h3 { font-size: 21px; margin-bottom: 6px; }
.contact-form-box > p { font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }

.form-group  { margin-bottom: 18px; }
.form-label  { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 15px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: var(--font); color: var(--text);
  background: var(--white); transition: var(--t); outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24,99,220,.1);
}
.form-textarea { resize: vertical; min-height: 96px; }
.form-input.error, .form-select.error, .form-textarea.error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
@keyframes spin { to { transform: rotate(360deg); } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; margin-top: 4px; }
.form-check input { margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); }
.form-check span  { font-size: 12px; color: var(--text-muted); line-height: 1.55; }
.form-check a { color: var(--primary); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark); padding: 80px 0 0; border-top: 1px solid rgba(255,255,255,.05); }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand > p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.85; margin: 14px 0 22px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: var(--t);
}
.footer-social:hover { background: var(--primary); border-color: var(--primary); color: white; }
.footer-social svg { width: 15px; height: 15px; }

.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .7px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.45); display: flex; align-items: center; gap: 5px; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; }

.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.25); }
.footer-legal a:hover { color: rgba(255,255,255,.55); }

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 58px; height: 58px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  animation: waPulse 3s ease-in-out infinite;
  transition: transform .3s ease;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 30px; height: 30px; color: white; }
@keyframes waPulse { 0%,100%{box-shadow:0 6px 24px rgba(37,211,102,.4)} 50%{box-shadow:0 6px 30px rgba(37,211,102,.65),0 0 0 7px rgba(37,211,102,.1)} }

/* ============================================
   FADE-IN ANIMATIONS
   ============================================ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--dark); padding: 160px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,15,30,1) 0%, rgba(24,99,220,.3) 100%);
}
.page-hero::after {
  content:''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(24,99,220,.15) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(30px,4vw,50px); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,.65); font-size: 17px; max-width: 560px; line-height: 1.8; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.breadcrumb a, .breadcrumb span { font-size: 13px; color: rgba(255,255,255,.45); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .why-grid    { grid-template-columns: 1fr; gap: 48px; }
  .why-img-col { display: none; }
  .contact-grid{ grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 72px 0; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner  { grid-template-columns: 1fr; padding: 120px 0 64px; }
  .hero-visual { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats  { gap: 22px; }
  .trust-inner { gap: 22px; flex-direction: column; align-items: flex-start; }
  .services-grid, .process-grid, .test-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .blog-grid   { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row    { grid-template-columns: 1fr; }
  .why-cta     { flex-direction: column; }
  .why-badge   { left: 0; }
}

/* Mobile nav open */
body.nav-open { overflow: hidden; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--dark); padding: 88px 24px 40px;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-nav-link {
  font-size: 22px; font-weight: 700; color: rgba(255,255,255,.85);
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav-link:hover { color: var(--accent); }
.mobile-nav-sub { padding-left: 16px; display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.mobile-nav-sub a { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.5); padding: 8px 0; }
.mobile-nav-sub a:hover { color: var(--white); }
.mobile-nav-footer { margin-top: 32px; }
.mobile-nav-close {
  position: absolute; top: 22px; right: 22px;
  width: 42px; height: 42px; background: rgba(255,255,255,.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: white; border: none;
}
.mobile-nav-close svg { width: 20px; height: 20px; }

/* ============================================
   COOKIE BANNER (estilo modal Legitec)
   ============================================ */
.cookie-overlay {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(0,0,0,.55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.cookie-overlay.visible { opacity: 1; visibility: visible; }

.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(30px);
  z-index: 99999; width: 94%; max-width: 540px;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.06);
  padding: 32px 28px 28px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, transform .4s ease, visibility .4s ease;
}
.cookie-banner.visible {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

.cookie-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.cookie-header svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.cookie-header h3 {
  font-size: 17px; font-weight: 700; color: var(--text); margin: 0;
}

.cookie-text p {
  font-size: 14px; color: #4b5563; line-height: 1.75; margin: 0 0 20px;
}
.cookie-text a { color: var(--primary); text-decoration: underline; font-weight: 500; }
.cookie-text a:hover { color: var(--primary-dark); }

.cookie-btns {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.cookie-btn {
  flex: 1; min-width: 120px; padding: 11px 18px; border-radius: 10px;
  font-size: 13px; font-weight: 600; cursor: pointer; border: none;
  font-family: var(--font); transition: var(--t); text-align: center;
}
.cookie-btn-accept {
  background: var(--primary); color: var(--white);
}
.cookie-btn-accept:hover { background: var(--primary-dark); }
.cookie-btn-reject {
  background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb;
}
.cookie-btn-reject:hover { background: #e5e7eb; }
.cookie-btn-config {
  background: transparent; color: var(--primary); border: 1px solid var(--primary);
}
.cookie-btn-config:hover { background: rgba(24,99,220,.06); }

/* Panel de configuración de cookies */
.cookie-config {
  display: none; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.cookie-config.open { display: block; }
.cookie-config-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid #f3f4f6;
}
.cookie-config-item:last-child { border-bottom: none; }
.cookie-config-info h4 {
  font-size: 14px; font-weight: 600; color: var(--text); margin: 0 0 2px;
}
.cookie-config-info p {
  font-size: 12px; color: #6b7280; margin: 0; line-height: 1.5;
}
/* Toggle switch */
.cookie-toggle {
  position: relative; width: 44px; height: 24px; flex-shrink: 0; margin-left: 16px;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute; inset: 0; background: #d1d5db; border-radius: 24px;
  cursor: pointer; transition: background .25s ease;
}
.cookie-toggle-slider::before {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; background: var(--white);
  border-radius: 50%; transition: transform .25s ease;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--primary); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider {
  background: var(--primary); opacity: .6; cursor: not-allowed;
}
.cookie-toggle input:disabled:checked + .cookie-toggle-slider::before { transform: translateX(20px); }

.cookie-config-save {
  margin-top: 16px; width: 100%; padding: 11px; border-radius: 10px;
  font-size: 13px; font-weight: 600; cursor: pointer; border: none;
  font-family: var(--font); background: var(--primary); color: var(--white);
  transition: var(--t);
}
.cookie-config-save:hover { background: var(--primary-dark); }

@media (max-width: 768px) {
  .cookie-banner { bottom: 12px; padding: 24px 20px 20px; max-width: 96%; }
  .cookie-btns { flex-direction: column; }
  .cookie-btn { min-width: unset; }
}
