    /* FOOTER VISUAL ENHANCEMENTS */
    .footer {
      background-color: rgba(248, 249, 251, 0.96); /* Igual que el header */
      color: #333;
      font-family: 'Inter', 'Arial', sans-serif;
      padding: 48px 20px 24px;
      line-height: 1.7;
      box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.04);
      border-top: 1px solid #e5e7eb;
    }

    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
      max-width: 1200px;
      margin: 0 auto;
      gap: 32px;
    }

    .footer-logo {
      flex: 1 1 220px;
      margin-bottom: 18px;
    }
    .footer-logo .nav-logo {
      font-size: 2rem;
      font-weight: 800;
      letter-spacing: -1px;
      display: inline-flex;
      align-items: center;
      gap: 2px;
    }
    .footer-logo p {
      margin: 8px 0 0 0;
      font-size: 1rem;
      color: #555;
    }

    .footer-links, .footer-contact {
      flex: 1 1 180px;
      margin: 12px 0;
    }
    .footer-links h3, .footer-contact h3 {
      margin-bottom: 10px;
      font-size: 1.08rem;
      color: #111;
      font-weight: 700;
      letter-spacing: -0.5px;
    }
    .footer-links ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links ul li {
      margin-bottom: 10px;
    }
    .footer-links ul li a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      font-size: 1rem;
      transition: color 0.3s;
      padding-left: 2px;
      position: relative;
    }
    .footer-links ul li a::before {
      content: '\2022';
      color: #3b82f6;
      font-size: 1.1em;
      margin-right: 8px;
      vertical-align: middle;
    }
    .footer-links ul li a:hover {
      color: #2563eb;
    }

    .footer-contact p {
      margin: 7px 0;
      font-size: 1rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .footer-contact a {
      color: #333;
      text-decoration: none;
      transition: color 0.3s;
      font-weight: 500;
    }
    .footer-contact a:hover {
      color: #2563eb;
    }
    .footer-contact p::before {
      content: '\260E';
      color: #3b82f6;
      font-size: 1.1em;
      margin-right: 6px;
      vertical-align: middle;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 36px;
      font-size: 0.98rem;
      color: #555;
      border-top: 1px solid #e5e7eb;
      padding-top: 18px;
      letter-spacing: 0.1px;
      background: transparent;
    }

    @media (max-width: 900px) {
      .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
      }
      .footer-logo, .footer-links, .footer-contact {
        flex: 1 1 100%;
        margin-bottom: 10px;
      }
    }
    /* FOOTER.CSS */

    /* Reset básico para footer */
    .footer {
      background-color: rgba(248, 249, 251, 0.96);
      color: #333;
      font-family: 'Arial', sans-serif;
      padding: 40px 20px 20px;
      line-height: 1.6;
    }

    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-logo h2 {
      margin: 0 0 10px;
      font-size: 24px;
      color: #111;
    }

    .footer-logo p {
      margin: 0;
      font-size: 14px;
      color: #555;
    }

    .footer-links, .footer-contact {
      margin: 20px 0;
      min-width: 200px;
    }

    .footer-links h3, .footer-contact h3 {
      margin-bottom: 10px;
      font-size: 16px;
      color: #111;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links ul li {
      margin-bottom: 8px;
    }

    .footer-links ul li a {
      text-decoration: none;
      color: #333;
      transition: color 0.3s;
    }

    .footer-links ul li a:hover {
      color: #007bff;
    }

    .footer-contact p {
      margin: 5px 0;
    }

    .footer-contact a {
      color: #333;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-contact a:hover {
      color: #007bff;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 30px;
      font-size: 14px;
      color: #555;
      border-top: 1px solid #ddd;
      padding-top: 15px;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .footer-links, .footer-contact {
        margin: 15px 0;
      }
    }
    .faq-title {
      font-family: var(--font-display);
      font-size: 1.18rem;
      font-weight: 800;
      color: var(--accent);
      letter-spacing: -0.5px;
      margin: 38px 0 10px 0;
      text-align: center;
      line-height: 1.2;
      position: relative;
    }
    .faq-title::after {
      content: '';
      display: block;
      width: 38px;
      height: 3px;
      background: var(--accent);
      opacity: 0.18;
      border-radius: 2px;
      margin: 8px auto 0 auto;
  }
.hero-pills-flex .hero-pill-flex span.hero-pill-text {
  color: #e5e7eb !important;
  font-size: 0.92em;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: 0.5px;
}
.hero-pills-flex .hero-pill-flex,
.hero-pills-flex .hero-pill-flex .hero-pill-text {
  color: #fff !important;
  font-size: 0.92em;
}
  /* Hero Pills Flex Responsive - Sin scroll */
/* Hero Pills Flex Responsive - Sin scroll */
/* Hero Pills Flex Responsive - ÚNICA VERSIÓN */
.hero-pills-flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 4vw, 32px);
  width: 100%;
  max-width: 600px;
  margin: 36px auto 0 auto;
  padding: 0 2vw;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.hero-pill-flex {
  /* Hero Pills Flex Responsive - ÚNICA VERSIÓN LIMPIA */
  .hero-pills-flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 4vw, 32px);
    width: 100%;
    max-width: 600px;
    margin: 36px auto 0 auto;
    padding: 0 2vw;
    box-sizing: border-box;
    flex-wrap: wrap;
  }
  .hero-pill-flex {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 500;
    color: #fff !important;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
  }
  .hero-pill-flex .hero-pill-text {
    color: #fff !important;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
  }
  @media (max-width: 600px) {
    .hero-pills-flex {
      gap: 3vw;
      max-width: 100%;
      padding: 0 2vw;
    }
  }
  @media (max-width: 400px) {
    .hero-pills-flex {
      gap: 2vw;
      max-width: 100%;
      padding: 0 1vw;
    }
  }
  font-size: 0.97rem;
  padding: 16px 20px 16px 14px;
}
.faq-small .faq-q-icon {
  width: 22px;
  height: 22px;
  font-size: 0.95rem;
  margin-right: 6px;
}
.faq-small .faq-answer {
  font-size: 0.93rem;
  padding: 0 20px 0 32px;
}
.faq-small .faq-item.open .faq-answer {
  padding: 0 20px 14px 32px;
}
/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --bg:           #F8F9FB;
  --bg-2:         #F1F3F7;
  --bg-card:      #FFFFFF;
  --border:       rgba(0,0,0,.09);
  --border-hover: rgba(37,99,235,.4);

  --accent:       #2563EB;
  --accent-2:     #1D4ED8;
  --accent-cyan:  #0284C7;
  --accent-glow:  rgba(37,99,235,.18);

  --text:         #1F2937;
  --text-2:       #4B5563;
  --text-3:       #9CA3AF;

  --gradient:     linear-gradient(135deg, #2563EB, #1D4ED8, #0EA5E9);
  --gradient-2:   linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);

  --font-main:    'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 2px 16px rgba(0,0,0,.07);
  --shadow-md:    0 8px 40px rgba(0,0,0,.10);
  --shadow-glow:  0 8px 32px rgba(37,99,235,.14);

  --transition:      .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  overflow-x: hidden !important;
  position: relative;
  width: 100%;
}
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4vw;
  box-sizing: border-box;
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor,
.cursor-follower {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transition: transform .15s ease, opacity .3s ease;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(37,99,235,.35);
  transform: translate(-50%, -50%);
  transition: transform .35s ease, width .3s ease, height .3s ease, border-color .3s ease;
}

body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 52px;
  height: 52px;
  border-color: var(--accent);
}

@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 520px;
  margin-top: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-label { justify-content: center; }
.section-header .section-subtitle { margin: 12px auto 0; }

/* ============================================================
   GLASS  →  Light card style
   ============================================================ */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1D4ED8, #2563EB, #0EA5E9);
  opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px var(--accent-glow); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(37,99,235,.05);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition), transform .35s cubic-bezier(.4,0,.2,1);
}

/* ── Sobre hero oscuro: texto blanco ── */
.navbar:not(.scrolled) .nav-logo { color: #fff; }
.navbar:not(.scrolled) .logo-bracket { color: rgba(255,255,255,.55); }
.navbar:not(.scrolled) .logo-accent  { color: rgba(255,255,255,.8); }
.navbar:not(.scrolled) .nav-link { color: rgba(255,255,255,.78); }
.navbar:not(.scrolled) .nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.navbar:not(.scrolled) .nav-link.active { color: #fff; background: rgba(255,255,255,.15); }
.navbar:not(.scrolled) .hamburger span { background: #fff; }
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(248,249,251,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,.06);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  transition: var(--transition);
}
.nav-logo:hover { color: var(--accent); }
.logo-bracket { color: var(--accent); }
.logo-accent  { color: var(--accent-cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 50px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--text); background: rgba(0,0,0,.05); }

.nav-link.active { color: var(--accent); background: rgba(37,99,235,.07); }

.nav-link.nav-cta {
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 16px var(--accent-glow);
}
.nav-link.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 24px var(--accent-glow); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    background: rgba(248,249,251,.99);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 32px rgba(0,0,0,.08);
    transition: right .4s cubic-bezier(.4,0,.2,1);
    gap: 4px;
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.1rem; width: 100%; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: #0B0F19;
  width: 100vw;
  max-width: 100vw;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100%;
  overflow: hidden;
  background-size: cover !important;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transform-origin: center center;
  transform: scale(1);
  transition: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 11, 22, 0.62);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(59,130,246,.28), transparent 70%);
  opacity: 1;
}
.hero-glow-2 {
  width: 520px; height: 520px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(6,182,212,.18), transparent 70%);
  opacity: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100vw;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  will-change: transform, opacity;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #f0f6ff;
  margin-bottom: 24px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(226,235,255,.72);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
  color: rgba(148,163,184,.8);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Ghost button adapts to dark hero */
.hero .btn-ghost {
  color: rgba(226,235,255,.75);
  border-color: rgba(255,255,255,.15);
}
.hero .btn-ghost:hover {
  color: #fff;
  border-color: rgba(99,130,255,.6);
  background: rgba(99,130,255,.1);
}

.hero-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
}

.hero-pill-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.18);
  margin: 0 16px;
}

/* particle */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.25), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* --- about visual --- */
.about-card-wrapper { display: flex; flex-direction: column; gap: 16px; }

.about-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.about-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md), var(--shadow-glow); }

.about-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}
.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient);
  animation: spin 6s linear infinite;
  mask-image: conic-gradient(#000 270deg, transparent 360deg);
}
@keyframes spin { to { transform: rotate(360deg); } }

.avatar-inner {
  position: absolute;
  inset: 4px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.about-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.about-card-role { font-size: .85rem; color: var(--text-2); margin-bottom: 20px; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: var(--bg-2);
}

/* education */
.education-stack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.education-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.education-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.education-item:last-child { border-bottom: none; }
.education-item.highlighted { background: rgba(37,99,235,.05); margin: 0 -12px; padding: 10px 12px; border-bottom: none; border-radius: 8px; }

.edu-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.edu-icon-1 { background: rgba(37,99,235,.1);  color: var(--accent); }
.edu-icon-2 { background: rgba(29,78,216,.1);  color: var(--accent-2); }
.edu-icon-3 { background: rgba(2,132,199,.1);  color: var(--accent-cyan); }
.edu-icon-4 { background: rgba(220,38,38,.08); color: #dc2626; }

.edu-degree {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}
.edu-full {
  display: block;
  font-size: .73rem;
  color: var(--text-3);
}

/* --- about content --- */
.about-content .btn { margin-top: 32px; }
.about-text {
  color: var(--text-2);
  font-size: .97rem;
  margin-bottom: 16px;
  line-height: 1.8;
}
.highlight-text {
  position: relative;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(37,99,235,.05);
  border-radius: 0 8px 8px 0;
  color: var(--text) !important;
  font-style: italic;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  width: 100vw;
  max-width: 100vw;
}

/* ── Services split layout ─────────────────────────────── */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.services-split-left .section-title {
  margin-top: 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.services-split-left .section-subtitle {
  font-size: .9rem;
  margin-top: 10px;
  margin-bottom: 28px;
}

/* Compact service list */
.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.service-item:first-child { border-top: 1px solid var(--border); }
.service-item:hover { background: rgba(37,99,235,.025); padding-left: 6px; border-radius: 0 8px 8px 0; }

.service-item-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: rgba(37,99,235,.07);
  border: 1px solid rgba(37,99,235,.14);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
  transition: var(--transition);
}
.service-item:hover .service-item-icon {
  background: rgba(37,99,235,.14);
}

.service-item-body {
  flex: 1;
}
.service-item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}
.service-item-title-row h3 {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
}
.service-item-body h3 {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.service-item-body p {
  font-size: .8rem;
  color: var(--text-2);
  line-height: 1.6;
}

.service-item-badge {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 50px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-blue {
  background: rgba(37,99,235,.09);
  border: 1px solid rgba(37,99,235,.2);
  color: var(--accent);
}
.badge-red {
  background: rgba(220,38,38,.07);
  border: 1px solid rgba(220,38,38,.2);
  color: #dc2626;
}

/* Right column: preview label + browser card */
.services-split-right {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1025px) {
  .services-split-right {
    margin-top: 80px;
  }
  .services-video-wrap video,
  .services-video-wrap img {
    width: 130%;
    max-width: none;
    margin-left: -15%;
    margin-right: -15%;
  }
}
.services-preview-label {
  margin-bottom: 14px;
}
.services-preview-label p {
  font-size: .85rem;
  color: var(--text-2);
  margin-top: 4px;
}

/* Right column video card */
.services-video-card {
  border-radius: var(--radius);
  text-align: center;
}
.services-video-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.services-video-wrap video,
.services-video-wrap img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  animation: mockupGlow 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(26,46,82,0.15));
}

@keyframes mockupGlow {
  0%   { transform: translateY(0px); filter: drop-shadow(0 20px 40px rgba(26,46,82,0.15)); }
  50%  { transform: translateY(-12px); filter: drop-shadow(0 40px 60px rgba(26,46,82,0.30)); }
  100% { transform: translateY(0px); filter: drop-shadow(0 20px 40px rgba(26,46,82,0.15)); }
}

/* ── Portfolio section ──────────────────────────────────── */
.portfolio-section {
  padding: 80px 0;
  background: var(--bg-2);
  width: 100vw;
  max-width: 100vw;
}
/* ── Portfolio section ────────────────────────────────── */
.portfolio-section {
  padding: 80px 0;
  background: var(--bg-2);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.portfolio-card-info {
  margin-bottom: 10px;
}
.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.portfolio-card-desc {
  font-size: .8rem;
  color: var(--text-2);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ── Portfolio showcase ─────────────────────────────────── */
.portfolio-showcase {
  margin-top: 64px;
}
.portfolio-showcase-header {
  text-align: center;
  margin-bottom: 32px;
}
.portfolio-showcase-header .section-label { justify-content: center; }
.portfolio-showcase-header p {
  font-size: .95rem;
  color: var(--text-2);
  margin-top: 8px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
  transition: var(--transition);
}
.portfolio-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-4px);
}

/* browser chrome bar */
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #f87171; }
.browser-dots span:nth-child(2) { background: #fbbf24; }
.browser-dots span:nth-child(3) { background: #4ade80; }
.browser-url {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: .75rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.browser-open-btn:hover { opacity: .88; transform: translateY(-1px); }

/* iframe wrapper */
.browser-iframe-wrap {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #fff;
}
.browser-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none;
}
.browser-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
}

.portfolio-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.portfolio-card-footer > .portfolio-link {
  align-self: flex-start;
}
.portfolio-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.portfolio-tag {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
  color: var(--accent);
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}
.portfolio-link:hover { gap: 10px; }

@media (max-width: 768px) {
  .browser-iframe-wrap { height: 280px; }
  .browser-url { display: none; }
}

/* ============================================================
   WHY
   ============================================================ */
.why {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
}
.why::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.25), transparent);
}

.why-bg { position: absolute; inset: 0; pointer-events: none; }
.why-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,.04), transparent 70%);
  border-radius: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.why-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.why-icon {
  width: 54px; height: 54px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
  transition: var(--transition);
}
.why-card:hover .why-icon { transform: scale(1.1); }

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.why-card p {
  font-size: .855rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  width: 100vw;
  max-width: 100vw;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: calc(30px + 24px);
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(37,99,235,.05));
  opacity: .4;
}

.process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 0;
  position: relative;
}
.process-step + .process-step { margin-top: 20px; }

.step-number {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px rgba(37,99,235,.2);
  margin-top: 8px;
  align-self: flex-start;
}

.step-content {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.step-content:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.step-icon {
  width: 44px; height: 44px;
  background: rgba(37,99,235,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}
.step-content p {
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
}
.step-time {
  display: inline-block;
  margin-top: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

/* ============================================================
   CTA SECTION  — deep blue block for contrast
   ============================================================ */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: #0B0F19;
  width: 100vw;
  max-width: 100vw;
}
.cta-bg { position: absolute; inset: 0; overflow: hidden; }

.cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.cta-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 11, 22, 0.72);
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,.12), transparent 70%);
  filter: blur(40px);
  z-index: 2;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 640px;
  margin: 0 auto;
  pointer-events: auto;
}
.cta-section .section-label {
  color: rgba(255,255,255,.8);
  justify-content: center;
}
.cta-section .section-label::before { background: rgba(255,255,255,.5); }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}
.cta-title .text-gradient {
  background: linear-gradient(90deg, #bfdbfe, #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-subtitle {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  pointer-events: auto;
  z-index: 11;
}
.cta-section .btn-primary {
  background: #ffffff;
  color: var(--accent-2);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.cta-section .btn-primary::before { background: #f0f9ff; }
.cta-section .btn-primary:hover { box-shadow: 0 8px 32px rgba(0,0,0,.2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  width: 100vw;
  max-width: 100vw;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.25), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-text {
  color: var(--text-2);
  font-size: .97rem;
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 36px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(37,99,235,.07);
  border: 1px solid rgba(37,99,235,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}
.contact-value { font-size: .9rem; color: var(--text-2); }

.contact-social { display: flex; gap: 12px; }
.social-link {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(37,99,235,.06);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* form */
.contact-form {
  padding: 40px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-2);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-3); }
.form-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-input.error { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.1); }

.form-textarea { min-height: 130px; resize: vertical; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option { background: #ffffff; color: var(--text); }

.form-error {
  display: block;
  font-size: .75rem;
  color: #dc2626;
  margin-top: 6px;
  min-height: 18px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: .95rem;
}
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(22,163,74,.07);
  border: 1px solid rgba(22,163,74,.2);
  border-radius: var(--radius-sm);
  color: #16a34a;
  font-size: .9rem;
  font-weight: 600;
  margin-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
/* Footer Profesional */
@media (max-width: 600px) {
  .footer-professional {
    padding: 4px 0 4px 0;
  }
  .footer-container {
    padding: 0 2px;
  }
  .footer-main {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }
  .footer-brand, .footer-links-group, .footer-local-group {
    flex: 1 1 100%;
    margin-bottom: 0;
  }
  .footer-title {
    font-size: .95rem;
    margin-bottom: 2px;
  }
  .footer-desc {
    font-size: .85rem;
    margin-bottom: 0;
  }
  .footer-links-title {
    font-size: .9rem;
    margin-bottom: 2px;
  }
  .footer-links-list li {
    margin-bottom: 1px;
    font-size: .85rem;
  }
  .footer-bottom {
    margin-top: 2px;
    font-size: .75rem;
  }
}


.footer-local-group {
  flex: 1 1 220px;
}
.footer-local-group .footer-links-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.footer-local-group .footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-local-group .footer-links-list li {
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 1rem;
}
.footer-professional {
  background: var(--bg);
  border-top: 1px solid var(--border);
  width: 100vw;
  max-width: 100vw;
  padding: 48px 0 24px 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 1 1 320px;
}
.footer-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.footer-desc {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 0;
}
.footer-links-group {
  flex: 1 1 220px;
}
.footer-links-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list li {
  margin-bottom: 8px;
}
.footer-links-list a {
  color: var(--text-1);
  font-size: 1rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-links-list a:hover {
  color: var(--accent);
}
.footer-bottom {
  margin-top: 36px;
  text-align: center;
}
.footer-copy {
  font-size: .92rem;
  color: var(--text-3);
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 12px;
  height: 46px;
  border-radius: 50px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
  white-space: nowrap;
  max-width: 95vw;
}
.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.whatsapp-float:hover {
  background: #128C7E;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.whatsapp-float-label { line-height: 1; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.35,1);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* stagger for services split */
.services-split-left { transition-delay: .05s; }
.services-split-right { transition-delay: .2s; }
.services-list .service-item:nth-child(1) { transition-delay: .08s; }
.services-list .service-item:nth-child(2) { transition-delay: .14s; }
.services-list .service-item:nth-child(3) { transition-delay: .20s; }
.services-list .service-item:nth-child(4) { transition-delay: .26s; }
.services-list .service-item:nth-child(5) { transition-delay: .32s; }
.services-list .service-item:nth-child(6) { transition-delay: .38s; }

.why-grid .reveal-up:nth-child(1) { transition-delay: .05s; }
.why-grid .reveal-up:nth-child(2) { transition-delay: .12s; }
.why-grid .reveal-up:nth-child(3) { transition-delay: .19s; }
.why-grid .reveal-up:nth-child(4) { transition-delay: .05s; }
.why-grid .reveal-up:nth-child(5) { transition-delay: .12s; }
.why-grid .reveal-up:nth-child(6) { transition-delay: .19s; }

.process-timeline .reveal-up:nth-child(1) { transition-delay: .05s; }
.process-timeline .reveal-up:nth-child(2) { transition-delay: .12s; }
.process-timeline .reveal-up:nth-child(3) { transition-delay: .19s; }
.process-timeline .reveal-up:nth-child(4) { transition-delay: .26s; }
.process-timeline .reveal-up:nth-child(5) { transition-delay: .33s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-split { grid-template-columns: 1fr; gap: 40px; }
  .services-split-right { position: static; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 500px; margin: 0 auto; width: 100%; }
  html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }

  .services-split { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .process-timeline::before { left: 28px; }
  .process-step { grid-template-columns: 68px 1fr; }
  .step-number { width: 50px; height: 50px; font-size: .78rem; }

  .footer-content { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
  .footer-location { justify-content: flex-start; }

  .section-title { font-size: clamp(1.7rem, 6vw, 2.5rem); }

  .about-grid { gap: 32px; }
  html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-left: 4vw;
    padding-right: 4vw;
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .hero-title, .hero-subtitle {
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .hero-location, .hero-pills {
    flex-wrap: wrap;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; min-width: 0; }

  /* CONTACTO */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 0;
    padding-right: 0;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .contact-info, .contact-form-wrapper {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100vw;
  }
  .contact-whatsapp-block {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 8px 16px 8px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .contact-wsp-text {
    padding: 0;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .faq-list.contact-faq-list {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
    max-width: 100vw;
  }
  .faq-small .faq-question,
  .faq-small .faq-answer {
    word-break: break-word;
    hyphens: auto;
    max-width: 100vw;
  }
  .contact-details {
    gap: 10px;
  }
  .contact-item {
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
    max-width: 100vw;
  }
  .contact-icon {
    min-width: 36px;
    width: 36px;
    height: 36px;
  }
  .contact-label, .contact-value {
    word-break: break-word;
    max-width: 100vw;
  }
  .contact-form { padding: 12px; }
  .cta-title { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
  }
}

/* ============================================================
   SELECTION & SCROLLBAR
   ============================================================ */
::selection {
  background: rgba(37,99,235,.18);
  color: var(--text);
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: rgba(37,99,235,.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(37,99,235,.55); }

/* ============================================================
   FOCUS VISIBLE (Accessibility)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* FAQ Section Styles */
.faq-section {
  padding: 90px 0 60px 0;
  background: var(--bg-2);
}
.faq-list {
  max-width: 700px;
  margin: 48px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(26,46,82,0.06);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.faq-item.open {
  box-shadow: 0 6px 32px 0 rgba(26,46,82,0.13);
  border-color: var(--accent);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  padding: 22px 32px 22px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color .2s;
  position: relative;
}
.faq-q-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 1.08rem;
  font-weight: 700;
  margin-right: 8px;
  box-shadow: 0 2px 8px 0 rgba(26,46,82,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
}
.faq-arrow {
  margin-left: auto;
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
}
.faq-arrow::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-bottom: 2.5px solid var(--accent);
  border-right: 2.5px solid var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
  transition: transform .3s;
  position: absolute;
  left: 3px;
  top: 2px;
}
.faq-item.open .faq-arrow::before {
  transform: rotate(-135deg);
  top: 7px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: none;
  color: var(--text-2);
  font-size: .98rem;
  padding: 0 32px 0 54px;
  line-height: 1.7;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .25s, color .2s;
}
.faq-item.open .faq-answer {
  padding: 0 32px 18px 54px;
  max-height: 300px;
  color: var(--text);
}
@media (max-width: 600px) {
  .faq-section { padding: 60px 0 30px 0; }
  .faq-list { margin-top: 32px; }
  .faq-q-icon {
    width: 24px;
    height: 24px;
    font-size: 1rem;
    min-width: 24px;
    min-height: 24px;
  }
  .faq-question { font-size: 1rem; padding: 16px 16px 16px 14px; }
  .faq-answer { font-size: .97rem; padding: 0 16px 0 38px; }
  .faq-item.open .faq-answer { padding: 0 16px 14px 38px; }
}

/* Contact WhatsApp Block */
.contact-whatsapp-block {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(26,46,82,0.06);
  border: 1px solid var(--border);
  padding: 32px 32px 28px 32px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.contact-wsp-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 2px 12px 0 rgba(37,211,102,0.13);
}
.contact-wsp-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
  display: block;
}
.contact-wsp-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-wsp-text p {
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .contact-whatsapp-block {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 12px 16px 12px;
    gap: 12px;
  }
  .contact-wsp-icon {
    width: 44px; height: 44px;
  }
  .contact-wsp-icon svg {
    width: 24px; height: 24px;
  }
  .contact-wsp-text p {
    font-size: 1rem;
  }
}
