/*
  ============================================================
  CoreTech Studio — styles.css
  Arquitectura: variables → reset → layout → components → utilities
  Mobile-first. BEM naming convention.
  ============================================================

  SECCIONES:
  01. Variables / Design Tokens (:root)   ← EDITAR colores aquí
  02. Reset & Base
  03. Skip Link (accesibilidad)
  04. Typography
  05. Layout Utilities (container, helpers)
  06. Animations / Reveal
  07. Botones (.btn)
  08. Header & Nav
  09. Hero
  10. Mockup (dentro del hero)
  11. Why / Problema
  12. Services
  13. Pricing
  14. Process
  15. Differentiators
  16. Testimonials
  17. Contact & Form
  18. Footer
  19. WhatsApp Float
  20. Responsive (breakpoints: 640 · 768 · 1024 px)
  ============================================================
*/


/* ============================================================
   01. VARIABLES / DESIGN TOKENS
   EDITAR: modifica los valores aquí para cambiar toda la paleta
   ============================================================ */
:root {
  /* Fondos */
  --color-bg:           #ffffff;               /* Fondo principal — blanco puro         */
  --color-bg-surface:   #f4f7fb;               /* Superficie cards — gris azulado suave */
  --color-bg-elevated:  #e8eef6;               /* Superficie elevada / featured card    */

  /* Marca */
  --color-primary:      #1e3a5f;               /* Azul slate corporativo                */
  --color-accent:       #1a7f6e;               /* Turquesa — acento principal           */
  --color-accent-hover: #14685a;               /* Acento en hover / pressed             */
  --color-accent-dim:   rgba(26, 127, 110, .10);/* Fondo muy suave con acento           */

  /* Texto */
  --color-text:         #1a2b3c;               /* Texto principal                       */
  --color-text-muted:   #4a6380;               /* Texto secundario                      */
  --color-text-faint:   #8aa0b8;               /* Texto terciario / placeholder         */
  --color-white:        #ffffff;

  /* Bordes */
  --color-border:       rgba(30, 58, 95, .10);
  --color-border-accent:rgba(26, 127, 110, .28);

  /* Estados de formulario */
  --color-error:        #c0392b;
  --color-error-bg:     rgba(192, 57, 43, .08);
  --color-error-border: rgba(192, 57, 43, .30);
  --color-success:      #1a7f6e;               /* Reutiliza acento para éxito           */
  --color-success-bg:   rgba(26, 127, 110, .08);

  /* Tipografía */
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Escala tipográfica */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  3.75rem;

  /* Espaciado (base 4px) */
  --s1:  0.25rem;   /* 4px  */
  --s2:  0.5rem;    /* 8px  */
  --s3:  0.75rem;   /* 12px */
  --s4:  1rem;      /* 16px */
  --s6:  1.5rem;    /* 24px */
  --s8:  2rem;      /* 32px */
  --s12: 3rem;      /* 48px */
  --s16: 4rem;      /* 64px */
  --s20: 5rem;      /* 80px */
  --s24: 6rem;      /* 96px */

  /* Alias legacy (compatibilidad con clases generadas anteriormente) */
  --space-1:  var(--s1);   --space-2:  var(--s2);   --space-3:  var(--s3);
  --space-4:  var(--s4);   --space-6:  var(--s6);   --space-8:  var(--s8);
  --space-12: var(--s12);  --space-16: var(--s16);  --space-20: var(--s20);
  --space-24: var(--s24);

  /* Layout */
  --max-width:         1200px;
  --container-padding: var(--s6);

  /* Radios */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  /* Alias */
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-xl);

  /* Sombras */
  --sh-sm:   0 2px 8px rgba(30, 58, 95, .08);
  --sh-md:   0 8px 32px rgba(30, 58, 95, .12);
  --sh-glow: 0 0 40px rgba(26, 127, 110, .12);

  /* Alias */
  --shadow-sm:   var(--sh-sm);
  --shadow-md:   var(--sh-md);
  --shadow-glow: var(--sh-glow);

  /* Transiciones */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;

  /* Nav */
  --nav-height: 72px;
}


/* ============================================================
   SCROLL MARGIN — Compensa el header fijo en navegación por ancla
   ============================================================ */
section[id] {
  scroll-margin-top: var(--nav-height);
}


/* ============================================================
   02. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: var(--fs-base);
}

address { font-style: normal; }
strong  { font-weight: 600; color: var(--color-text); }

::selection {
  background-color: var(--color-accent-dim);
  color: var(--color-accent);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}


/* ============================================================
   03. SKIP LINK (accesibilidad — saltar al contenido)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s4);
  z-index: 9999;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--s2) var(--s6);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: 0;
}


/* ============================================================
   04. TIPOGRAFÍA GLOBAL
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }

p { color: var(--color-text-muted); }

.accent { color: var(--color-accent); }

/* Icono SVG inline utilitario */
.icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Salto de línea visible solo en pantallas medianas */
.br-md { display: none; }


/* ============================================================
   05. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Encabezados de sección */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--s4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--s4);
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  margin-bottom: var(--s12);
  max-width: 600px;
}


/* ============================================================
   06. ANIMATIONS / REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger automático para hijos directos */
.reveal:nth-child(2) { transition-delay: .10s; }
.reveal:nth-child(3) { transition-delay: .20s; }
.reveal:nth-child(4) { transition-delay: .30s; }
.reveal:nth-child(5) { transition-delay: .15s; }
.reveal:nth-child(6) { transition-delay: .20s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

@keyframes float-mockup {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}


/* ============================================================
   07. BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  padding: .7rem 1.5rem;
  border-radius: var(--r-sm);
  transition:
    background-color var(--t-fast),
    color            var(--t-fast),
    border-color     var(--t-fast),
    box-shadow       var(--t-fast),
    transform        var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Estado deshabilitado — compartido */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* Focus visible explícito para botones */
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Primary */
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 4px 20px rgba(26, 127, 110, .22);
  color: var(--color-white);
}

/* Ghost — borde sutil */
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Outline — borde de acento */
.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Tamaño grande */
.btn--lg {
  padding: .9rem 2rem;
  font-size: var(--fs-base);
}

/* Ancho completo */
.btn--block { width: 100%; }

/* Spinner interno (estado loading) */
.btn__text { /* visible por defecto */ } 
.btn__loading[hidden] {
  display: none !important;
  align-items: center; 
  gap: var(--s2); 
}

.btn__loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ============================================================
   08. HEADER & NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--t-base), box-shadow var(--t-base);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, .99);
  box-shadow: var(--sh-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s8);
}

/* ── Logo ── */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--color-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__logo:hover { opacity: .8; }

.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 800;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}

.nav__logo-accent { color: var(--color-accent); }

/* ── Links del menú ── */
.nav__menu {
  display: none;       /* Mostrado en desktop via media query */
  gap: var(--s6);
  list-style: none;
  margin-left: auto;
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding-block: var(--s2);
  position: relative;
  transition: color var(--t-fast);
}

/* Línea subrayado animada */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width var(--t-base);
}

.nav__link:hover         { color: var(--color-primary); }
.nav__link:hover::after  { width: 100%; }

/* Estado activo — inyectado por el scroll-spy del JS */
.nav__link.is-active {
  color: var(--color-accent);
}

.nav__link.is-active::after {
  width: 100%;
}

/* ── CTA del header ── */
.nav__cta {
  margin-left: auto;
  white-space: nowrap;
  display: none;   /* Visible en desktop via media query */
}

/* ── Hamburger ── */
.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast);
  flex-shrink: 0;
}

.nav__toggle:hover { background: var(--color-bg-surface); }

.nav__hamburger,
.nav__hamburger::before,
.nav__hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

.nav__hamburger { position: relative; }

.nav__hamburger::before,
.nav__hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav__hamburger::before { top: -7px; }
.nav__hamburger::after  { top:  7px; }

/*
  Estado abierto — el aria-expanded se actualiza en JS.
  El selector correcto usa BEM doble guión.
*/
.nav__toggle[aria-expanded="true"] .nav__hamburger {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Menú mobile abierto ── */
@media (max-width: 1023px) {
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--s6) var(--container-padding) var(--s8);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--sh-md);
    gap: 0;
    animation: slideDown .2s ease;
  }

  .nav__menu.is-open .nav__link {
    padding: var(--s4) 0;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
  }

  .nav__menu.is-open .nav__link:last-child {
    border-bottom: none;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   09. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-height) + var(--s12));
  padding-bottom: var(--s16);
  overflow: hidden;
}

/* Fondo: cuadrícula sutil */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 95, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* Brillo de fondo */
.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26, 127, 110, .06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

/* Badge superior */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border-accent);
  border-radius: 100px;
  padding: var(--s2) var(--s4);
  font-size: var(--fs-sm);
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: var(--s8);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* H1 del hero */
.hero__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--s6);
  letter-spacing: -.02em;
}

.hero__title-line {
  display: block;
  color: var(--color-primary);
}

.hero__title-sub {
  display: block;
  background: linear-gradient(135deg, var(--color-accent) 0%, #2ab5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: .6em;
  font-weight: 600;
  margin-top: var(--s2);
  letter-spacing: 0;
  line-height: 1.3;
}

/* Subtítulo / propuesta de valor */
.hero__subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--s8);
  max-width: 540px;
  margin-inline: auto;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s4);
  margin-bottom: var(--s8);
}

/* Nota de reuniones virtuales */
.hero__meet-note {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-sm);
  color: var(--color-text-faint);
}

.hero__meet-note strong { color: var(--color-text-muted); }


/* ============================================================
   10. MOCKUP (simulación de interfaz web en el hero)
   ============================================================ */
.hero__mockup {
  position: relative;
  z-index: 1;
  margin-top: var(--s16);
  animation: float-mockup 4s ease-in-out infinite;
}

.mockup__browser {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md), var(--sh-glow);
  max-width: 560px;
  margin-inline: auto;
}

.mockup__bar {
  background: var(--color-bg-elevated);
  padding: var(--s3) var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s2);
  border-bottom: 1px solid var(--color-border);
}

.mockup__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-faint);
  opacity: .4;
}

.mockup__url {
  flex: 1;
  background: rgba(30, 58, 95, .05);
  border-radius: var(--r-sm);
  padding: var(--s1) var(--s4);
  font-size: var(--fs-xs);
  color: var(--color-text-faint);
  text-align: center;
}

.mockup__screen {
  padding: var(--s8);
  min-height: 180px;
}

.mockup__content { max-width: 300px; }

/* Líneas decorativas del mockup */
.mockup__line {
  height: 14px;
  border-radius: 8px;
  background: var(--color-bg-elevated);
  margin-bottom: var(--s3);
}

.mockup__line--h {
  width: 70%;
  height: 22px;
  background: linear-gradient(90deg, var(--color-accent-dim), transparent);
}

.mockup__line--p { width: 90%; }
.mockup__line--short { width: 55%; }

.mockup__btns {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s6);
}

.mockup__btn {
  height: 32px;
  width: 100px;
  border-radius: var(--r-sm);
  background: var(--color-accent);
  opacity: .6;
}

.mockup__btn--ghost {
  background: transparent;
  border: 1px solid var(--color-border);
  opacity: .6;
}


/* ============================================================
   11. WHY / PROBLEMA
   ============================================================ */
.why {
  padding-block: var(--s24);
  position: relative;
}

.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 50%, rgba(26, 127, 110, .04) 0%, transparent 70%);
  pointer-events: none;
}

.why__grid {
  display: grid;
  gap: var(--s6);
  margin-top: var(--s12);
}

.why__card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t-base),
    transform    var(--t-base),
    box-shadow   var(--t-base);
  cursor: default;
}

.why__card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

/* Línea superior de color al hover */
.why__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}

.why__card:hover::after { opacity: 1; }

.why__card-icon {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--s4);
  line-height: 1;
  background: linear-gradient(135deg, var(--color-accent), rgba(26, 127, 110, .3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why__card-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--s3);
}

.why__card p {
  font-size: var(--fs-base);
  line-height: 1.7;
}


/* ============================================================
   12. SERVICES
   ============================================================ */
.services {
  padding-block: var(--s24);
  background: linear-gradient(180deg, transparent, rgba(26, 127, 110, .03), transparent);
}

.services__grid {
  display: grid;
  gap: var(--s6);
  margin-top: var(--s12);
}

.service-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t-base),
    box-shadow   var(--t-base);
  display: flex;
  flex-direction: column;
}

.service-card--alt {
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-surface));
  border-color: var(--color-border-accent);
}

.service-card:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--sh-md);
}

.service-card__badge {
  display: inline-flex;
  align-items: center;
  padding: var(--s1) var(--s3);
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border-accent);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--s4);
  align-self: flex-start;
}

.service-card__badge--alt {
  background: rgba(30, 58, 95, .08);
  border-color: rgba(26, 127, 110, .35);
}

.service-card__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--s3);
}

.service-card__desc {
  margin-bottom: var(--s6);
  line-height: 1.7;
  flex-grow: 1;
}

.service-card__list {
  list-style: none;
  margin-bottom: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.service-card__list li::before {
  content: '→';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-card__cta { margin-top: auto; }


/* ============================================================
   13. PRICING
   ============================================================ */
.pricing {
  padding-block: var(--s24);
}

.pricing__grid {
  display: grid;
  gap: var(--s6);
  margin-top: var(--s12);
  align-items: start;
}

.pricing-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--t-base),
    transform    var(--t-base),
    box-shadow   var(--t-base);
}

.pricing-card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

/* Card destacada */
.pricing-card--featured {
  background: linear-gradient(145deg, var(--color-bg-elevated), rgba(26, 127, 110, .06));
  border-color: var(--color-accent);
  /* Sombra de brillo más visible sobre fondo blanco */
  box-shadow: 0 0 0 1px var(--color-border-accent), var(--sh-glow);
}

.pricing-card--featured:hover {
  border-color: var(--color-accent-hover);
}

/* Etiqueta "Más popular" */
.pricing-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: var(--s1) var(--s4);
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--s2);
}

.pricing-card__name {
  font-size: var(--fs-lg);
  margin-bottom: var(--s4);
}

.pricing-card__price { margin-bottom: var(--s6); }

.pricing-card__amount {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-card__usd {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-faint);
  margin-top: var(--s1);
}

.pricing-card__features {
  list-style: none;
  margin-bottom: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card__cta { margin-top: auto; }


/* ============================================================
   14. PROCESS
   ============================================================ */
.process {
  padding-block: var(--s24);
  background: linear-gradient(180deg, transparent, rgba(26, 127, 110, .03), transparent);
}

.process__steps {
  margin-top: var(--s12);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.process__step {
  display: flex;
  align-items: flex-start;
  gap: var(--s6);
  padding: var(--s6);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  transition:
    border-color var(--t-base),
    box-shadow   var(--t-base);
  cursor: default;
}

.process__step:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--sh-sm);
}

.process__step-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-accent) 0%, rgba(26, 127, 110, .3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 50px;
  line-height: 1;
  flex-shrink: 0;
}

.process__step-content h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--s2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
  color: var(--color-primary);
}

.process__step-content p {
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* Badge "Zoom / Meet" dentro del step */
.process__meet-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border-accent);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-accent);
  font-family: var(--font-body);
}


/* ============================================================
   15. DIFFERENTIATORS
   ============================================================ */
.differentiators {
  padding-block: var(--s24);
}

.diff__grid {
  display: grid;
  gap: var(--s6);
  margin-top: var(--s12);
}

.diff__item {
  padding: var(--s6);
  border-left: 3px solid var(--color-border);
  transition: border-color var(--t-base);
  cursor: default;
}

.diff__item:hover {
  border-color: var(--color-accent);
}

.diff__icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: var(--s4);
}

.diff__icon svg {
  width: 100%;
  height: 100%;
}

.diff__item h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--s2);
}

.diff__item p {
  font-size: var(--fs-sm);
  line-height: 1.7;
}


/* ============================================================
   16. TESTIMONIALS
   ============================================================ */
.testimonials {
  padding-block: var(--s24);
  background: linear-gradient(180deg, transparent, rgba(26, 127, 110, .03), transparent);
}

.testimonials__grid {
  display: grid;
  gap: var(--s6);
  margin-top: var(--s12);
}

.testimonial {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  transition:
    border-color var(--t-base),
    box-shadow   var(--t-base),
    transform    var(--t-base);
  cursor: default;
  display: flex;
  flex-direction: column;
}

.testimonial:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--sh-sm);
  transform: translateY(-2px);
}

.testimonial__quote {
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: var(--s6);
  font-weight: 300;
  flex-grow: 1;
  quotes: "\201C" "\201D";
}

.testimonial__quote::before {
  content: open-quote;
  color: var(--color-accent);
  font-size: 2em;
  line-height: 0;
  vertical-align: -.4em;
  margin-right: 4px;
  font-style: normal;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-bg-elevated));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial__name {
  display: block;
  font-weight: 600;
  font-style: normal;
  color: var(--color-primary);
  font-size: var(--fs-sm);
}

.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--color-text-faint);
}


/* ============================================================
   17. CONTACT & FORM
   ============================================================ */
.contact {
  padding-block: var(--s24);
}

.contact__inner {
  display: grid;
  gap: var(--s12);
}

.contact__copy .section-title {
  font-size: var(--fs-2xl);
}

.contact__copy p {
  margin-bottom: var(--s8);
  line-height: 1.8;
}

/* Lista de detalles de contacto */
.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact__detail .icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Caja del formulario */
.contact-form {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--s8);
}

/* Grupos de campos */
.form-group {
  margin-bottom: var(--s6);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--s2);
}

.form-label span {
  color: var(--color-accent);
  font-weight: 700;
}

/* Inputs, select, textarea */
.form-input {
  width: 100%;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-sm);
  color: var(--color-text);
  padding: .75rem 1rem;
  transition:
    border-color var(--t-fast),
    box-shadow   var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--color-text-faint); }
.form-input:hover  { border-color: var(--color-text-faint); }
.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

/* Estado de error */
.form-input.is-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px var(--color-error-bg);
}

/* Select con flecha personalizada */
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238aa0b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--color-bg-surface);
  color: var(--color-text);
}

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Mensajes de error por campo */
.form-error {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-error);
  margin-top: var(--s1);
  min-height: 1.2em;
  line-height: 1.4;
}

/* Feedback global del formulario */
.form-feedback {
  margin-top: var(--s4);
  padding: var(--s4) var(--s6);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
}

.form-feedback.is-success {
  background: var(--color-success-bg);
  border: 1px solid var(--color-border-accent);
  color: var(--color-success);
}

.form-feedback.is-error {
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  color: var(--color-error);
}


/* ============================================================
   18. FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--s12) var(--s8);
  margin-top: var(--s8);
  background: var(--color-bg-surface);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s8);
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--s8);
}

.footer__brand {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.footer__brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--color-primary);
}

.footer__tagline,
.footer__location {
  font-size: var(--fs-xs);
  color: var(--color-text-faint);
  margin: 0;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: var(--s4);
  align-items: center;
  flex-wrap: wrap;
}

.footer__social {
  font-size: var(--fs-sm);
  color: var(--color-text-faint);
  transition: color var(--t-fast);
  padding: var(--s1) 0;
}

.footer__social:hover { color: var(--color-accent); }

.footer__bottom {
  padding-top: var(--s6);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: space-between;
  align-items: center;
}

.footer__copy,
.footer__divisions {
  font-size: var(--fs-xs);
  color: var(--color-text-faint);
}


/* ============================================================
   19. WHATSAPP FLOAT
   EDITAR: número en script.js → CONFIG.WHATSAPP_NUMBER
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--s6);
  right: var(--s6);
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .35);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .5);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #25d366;
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}


/* ============================================================
   20. RESPONSIVE — BREAKPOINTS (Mobile-first)
   ============================================================ */

/* ── Tablet pequeña (640px+) ── */
@media (min-width: 640px) {
  :root { --container-padding: var(--s8); }

  .why__grid            { grid-template-columns: repeat(2, 1fr); }
  .services__grid       { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid   { grid-template-columns: repeat(2, 1fr); }
  .diff__grid           { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid        { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet landscape (768px+) ── */
@media (min-width: 768px) {
  .br-md { display: inline; }

  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* ── Desktop (1024px+) ── */
@media (min-width: 1024px) {
  :root {
    --container-padding: var(--s12);
    --nav-height: 80px;
  }

  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }

  /* Ocultar hamburger, mostrar nav y CTA */
  .nav__toggle  { display: none; }
  .nav__menu    { display: flex; }
  .nav__cta     { display: inline-flex; }

  /* Hero más alto en desktop */
  .hero { padding-top: calc(var(--nav-height) + var(--s16)); }
  .hero__mockup { margin-top: var(--s20); }

  /* Grids desktop */
  .why__grid          { grid-template-columns: repeat(3, 1fr); }
  .services__grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
  .diff__grid         { grid-template-columns: repeat(3, 1fr); }

  /* Contacto en 2 columnas */
  .contact__inner { grid-template-columns: 1fr 1fr; align-items: start; }

  /* Proceso con más padding */
  .process__step { padding: var(--s8); }
}


/* ============================================================
   PREFERENCIAS DE ACCESIBILIDAD — reducir movimiento
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }
}