/* ═══════════════════════════════════════════════════════════
   STYLES.CSS
   Organización:
   1.  Variables & Tokens
   2.  Reset & Base
   3.  Tipografía helpers
   4.  Layout helpers
   5.  Botones
   6.  Íconos WA
   7.  Animaciones
   8.  Navegación
   9.  Hero
   10. Métricas
   11. Servicios (cards)
   12. Proceso (steps)
   13. Enfoque (tags)
   14. Sobre mí
   15. CTA final
   16. Footer
   17. Botón flotante WA
   18. Responsive
═══════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────
   1. VARIABLES & TOKENS
───────────────────────────────────────────────────────── */
:root {
  /* Paleta de marca */
  --brand-50:  #EAF6EF;
  --brand-100: #D7EDE1;
  --brand-200: #B9E2CE;
  --brand-300: #8CD0B0;
  --brand-400: #5FC9A3;
  --brand-500: #34B98A;
  --brand-600: #1C9E72;
  --brand-700: #14624A;
  --brand-800: #0E4D3A;
  --brand-900: #0A3A2C;

  /* Colores UI */
  --color-bg:       #F5FAF7;
  --color-surface:  #FFFFFF;
  --color-mist:     #EAF6EF;
  --color-ink:      #15241E;
  --color-muted:    #5A7068;
  --color-border:   #D4E8DC;

  /* WhatsApp */
  --color-wa:       #25D366;
  --color-wa-dark:  #1FB855;

  /* Tipografía */
  --font-sans:    'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Fraunces', ui-serif, Georgia, serif;

  /* Espaciado */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;

  /* Radios */
  --radius-sm:  0.5rem;
  --radius-md:  0.9rem;
  --radius-lg:  1.25rem;
  --radius-xl:  1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-soft: 0 1px 2px hsl(160 30% 20% / 0.04), 0 8px 24px hsl(160 40% 20% / 0.06);
  --shadow-lift: 0 2px 4px hsl(160 30% 20% / 0.05), 0 18px 40px hsl(160 40% 20% / 0.10);
  --shadow-glow: 0 10px 40px hsl(160 60% 35% / 0.22);
  --shadow-wa:   0 8px 24px rgba(37, 211, 102, 0.32);
  --shadow-wa-float: 0 8px 30px rgba(37, 211, 102, 0.45);

  /* Transiciones */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-reveal: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ─────────────────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background-color: hsl(160 55% 80%);
  color: hsl(160 64% 16%);
}

/* Reducir movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* ─────────────────────────────────────────────────────────
   3. TIPOGRAFÍA HELPERS
───────────────────────────────────────────────────────── */
.font-display {
  font-family: var(--font-display);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-600);
}


/* ─────────────────────────────────────────────────────────
   4. LAYOUT HELPERS
───────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 72rem; /* 1152px */
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: var(--space-20);
}

.section--mist {
  background-color: var(--color-mist);
}

.section__header {
  max-width: 40rem;
  margin-bottom: var(--space-12);
}

.section__title {
  margin-top: var(--space-3);
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.section__lead {
  margin-top: var(--space-4);
  font-size: 1.125rem;
  color: var(--color-muted);
  text-wrap: pretty;
  line-height: 1.7;
}

.hidden {
  display: none !important;
}

.w-full {
  width: 100%;
}

.mt-2 {
  margin-top: var(--space-2);
}

.br-desktop {
  display: none;
}


/* ─────────────────────────────────────────────────────────
   5. BOTONES
───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition-normal),
              transform var(--transition-normal),
              box-shadow var(--transition-normal),
              color var(--transition-normal);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-wa);
  outline-offset: 3px;
}

/* WA verde */
.btn--wa {
  background-color: var(--color-wa);
  color: #ffffff;
  box-shadow: var(--shadow-wa);
}
.btn--wa:hover {
  background-color: var(--color-wa-dark);
  transform: translateY(-2px);
}

/* Outline */
.btn--outline {
  background-color: transparent;
  color: var(--brand-700);
  box-shadow: inset 0 0 0 1.5px var(--brand-200);
}
.btn--outline:hover {
  background-color: var(--brand-50);
  transform: translateY(-2px);
}

/* Ghost (para CTA dark) */
.btn--ghost {
  background-color: transparent;
  color: #ffffff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Tamaño pequeño */
.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
  transform: translateX(2px);
}


/* ─────────────────────────────────────────────────────────
   6. ÍCONOS WA (SVG inline en botones y footer)
───────────────────────────────────────────────────────── */
.icon-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wa-svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-wa--lg .icon-wa-svg,
.icon-wa--lg {
  width: 1.75rem;
  height: 1.75rem;
}

.icon-wa--sm .icon-wa-svg,
.icon-wa--sm {
  width: 1rem;
  height: 1rem;
}


/* ─────────────────────────────────────────────────────────
   7. ANIMACIONES
───────────────────────────────────────────────────────── */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
  transition-delay: var(--delay, 0ms);
}

/* Sin JavaScript, mostrar todo el contenido (accesibilidad + crawlers sin JS) */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Flotación suave */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.float-slow--delay {
  animation-delay: 1.5s;
}

/* Pulso del punto en el badge */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.badge__dot-ping {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Patrón de puntos (grain) */
.hero__grain {
  background-image: radial-gradient(hsl(160 30% 70% / 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
}


/* ─────────────────────────────────────────────────────────
   8. NAVEGACIÓN
───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  transition: background-color var(--transition-normal),
              border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              backdrop-filter var(--transition-normal);
}

.nav--solid {
  background-color: rgba(245, 250, 247, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.875rem;
}

/* Logo / Marca */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nav__logo {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background-color: var(--brand-700);
  color: var(--brand-100);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.nav__name-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-ink);
}

.nav__role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-600);
}

/* Links desktop */
.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--brand-700);
}

/* Botón hamburguesa */
.nav__toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1px var(--color-border);
  transition: background-color var(--transition-fast);
}

.nav__toggle:hover {
  background-color: var(--brand-50);
}

.nav__toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Menú móvil */
.nav__mobile {
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  background-color: rgba(245, 250, 247, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: max-height 0.3s ease, border-color 0.3s ease;
}

.nav__mobile--open {
  max-height: 28rem;
  border-color: var(--color-border);
}

.nav__mobile-link {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.nav__mobile-link:hover {
  background-color: var(--brand-50);
}

.nav__mobile > * {
  margin-inline: 1.25rem;
}

.nav__mobile > a:not(.btn) {
  margin-inline: 1.25rem;
}

.nav__mobile {
  padding-block: 0;
}

.nav__mobile--open {
  padding-block: 1rem;
}


/* ─────────────────────────────────────────────────────────
   9. HERO
───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 7rem;
}

/* Blobs de fondo */
.hero__blob {
  pointer-events: none;
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(72px);
}

.hero__blob--right {
  top: -2.5rem;
  right: -6rem;
  width: 28rem;
  height: 28rem;
  background-color: rgba(185, 226, 206, 0.6);
}

.hero__blob--left {
  top: 10rem;
  left: -8rem;
  width: 20rem;
  height: 20rem;
  background-color: var(--brand-50);
}

.hero__grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

/* Grid interno */
.hero__inner {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-bottom: 5rem;
}

/* ── Columna texto ── */
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  background-color: var(--color-surface);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-700);
  box-shadow: var(--shadow-soft);
  box-shadow: inset 0 0 0 1px var(--brand-100), var(--shadow-soft);
  align-self: flex-start;
}

.badge__dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.badge__dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background-color: var(--brand-400);
  opacity: 0.7;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge__dot::after {
  content: '';
  position: relative;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background-color: var(--brand-500);
}

/* Título */
.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.hero__highlight {
  position: relative;
  display: inline-block;
  color: var(--brand-700);
  white-space: nowrap;
}

.hero__highlight em {
  font-style: italic;
}

.hero__underline {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  color: var(--brand-300);
}

/* Lead */
.hero__lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-muted);
  text-wrap: pretty;
}

/* CTAs */
.hero__ctas {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Trust row */
.hero__trust {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-check {
  width: 1rem;
  height: 1rem;
  color: var(--brand-600);
  flex-shrink: 0;
}

/* ── Columna visual ── */
.hero__visual {
  position: relative;
  max-width: 28rem;
  margin-inline: auto;
}

.hero__blob-bg {
  position: absolute;
  inset: -0.75rem;
  border-radius: 56% 44% 62% 38% / 48% 56% 44% 52%;
  background: linear-gradient(135deg, rgba(185,226,206,0.7), rgba(215,237,225,0.4));
}

/* El wrapper <picture> no debe alterar el layout de la foto */
.hero__visual picture,
.about__visual picture {
  display: contents;
}

/* Foto/placeholder */
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 56% 44% 62% 38% / 48% 56% 44% 52%;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6), var(--shadow-lift);
  object-fit: cover;
  width: 100%;
}

.hero__placeholder {
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(20, 98, 74, 0.7);
  text-align: center;
  padding: 1rem;
}

.hero__placeholder p {
  font-size: 0.875rem;
  font-weight: 500;
}

.hero__placeholder small {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Tarjetas flotantes */
.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lift);
}

.hero__card--bottom {
  bottom: -1.25rem;
  left: -1.25rem;
  box-shadow: inset 0 0 0 1px var(--brand-100), var(--shadow-lift);
}

.hero__card--top {
  top: 2rem;
  right: -0.75rem;
  background-color: var(--brand-700);
  color: var(--brand-50);
  box-shadow: var(--shadow-glow);
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

.hero__stars {
  display: flex;
  gap: -0.25rem;
}

.star-icon {
  width: 1rem;
  height: 1rem;
  fill: #F59E0B;
  color: #F59E0B;
}

.card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
}

.card-sub {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.hero__card-num {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.hero__card-txt {
  font-size: 0.75rem;
  opacity: 0.9;
}


/* ─────────────────────────────────────────────────────────
   10. MÉTRICAS
───────────────────────────────────────────────────────── */
.metrics {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.metrics__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid var(--color-border);
}

/* Dividers entre columnas via box-shadow */
.metric:not(:first-child) {
  border-left: 1px solid var(--color-border);
}

.metric {
  padding: 2.25rem 0.5rem;
  text-align: center;
}

.metric__value {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--brand-700);
  line-height: 1;
}

.metric__label {
  margin-top: 0.375rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}


/* ─────────────────────────────────────────────────────────
   11. SERVICIOS (CARDS)
───────────────────────────────────────────────────────── */
.cards {
  display: grid;
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lift);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__icon-wrap {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-xl);
  background-color: var(--brand-50);
  color: var(--brand-700);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card:hover .card__icon-wrap {
  background-color: var(--brand-700);
  color: var(--brand-50);
}

.card__icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.75;
}

.card__badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--brand-50);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.card__title {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-ink);
}

.card__desc {
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
  text-wrap: pretty;
  flex-grow: 1;
}

.card__list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.card__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(21, 36, 30, 0.8);
}

.card__check {
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--brand-500);
}

.card__cta {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-700);
  transition: color var(--transition-fast);
}

.card__cta:hover {
  color: var(--brand-800);
}

.card__cta-icon {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-fast);
}

.card__cta:hover .card__cta-icon {
  transform: translate(2px, -2px);
}


/* ─────────────────────────────────────────────────────────
   12. PROCESO (STEPS)
───────────────────────────────────────────────────────── */
.steps {
  position: relative;
  display: grid;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.steps__line {
  display: none; /* visible solo en desktop */
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-xl);
  background-color: var(--brand-700);
  color: var(--brand-50);
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
}

.step__title {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-ink);
}

.step__text {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
  text-wrap: pretty;
}


/* ─────────────────────────────────────────────────────────
   13. ENFOQUE (TAGS)
───────────────────────────────────────────────────────── */
.focus {
  display: grid;
  gap: 2.5rem;
}

.focus__heading {
  max-width: 28rem;
}

.focus__title {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  color: var(--color-ink);
}

.focus__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.focus-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-100);
  background-color: var(--color-surface);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}

.focus-tag__leaf {
  color: var(--brand-500);
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────
   14. SOBRE MÍ
───────────────────────────────────────────────────────── */
.about {
  display: grid;
  gap: 3rem;
}

/* Visual */
.about__visual {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
}

.about__blob-bg {
  position: absolute;
  inset: -0.75rem;
  border-radius: 42% 58% 46% 54% / 58% 42% 58% 42%;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
}

.about__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 42% 58% 46% 54% / 58% 42% 58% 42%;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  object-fit: cover;
  width: 100%;
}

.about__placeholder {
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(20, 98, 74, 0.7);
  text-align: center;
  padding: 2rem;
}

/* Copy */
.about__name {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-ink);
}

.about__role {
  display: block;
  margin-top: 0.375rem;
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: 400;
  color: var(--brand-600);
  font-family: var(--font-display);
  font-style: normal;
}

.about__para {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-muted);
  text-wrap: pretty;
}

/* Credenciales */
.credentials {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.4rem;
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background-color: rgba(234, 246, 239, 0.7);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ink);
}

.credential__check {
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: var(--radius-full);
  background-color: var(--brand-700);
  color: var(--brand-50);
  flex-shrink: 0;
}

.credential__icon {
  width: 0.8rem;
  height: 0.8rem;
}


/* ─────────────────────────────────────────────────────────
   15. CTA FINAL
───────────────────────────────────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  background-color: var(--brand-800);
  padding-block: var(--space-20);
}

.cta__blob {
  pointer-events: none;
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(72px);
}

.cta__blob--left {
  top: -5rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
  background-color: rgba(20, 98, 74, 0.6);
}

.cta__blob--right {
  bottom: -6rem;
  right: -2.5rem;
  width: 24rem;
  height: 24rem;
  background-color: rgba(10, 58, 44, 0.7);
}

.cta__deco {
  pointer-events: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 10rem;
  height: 10rem;
  color: rgba(20, 98, 74, 0.4);
}

.cta__inner {
  position: relative;
  text-align: center;
}

.cta__title {
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.15;
  color: #ffffff;
  text-wrap: balance;
}

.cta__lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  margin-inline: auto;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(215, 237, 225, 0.9);
  text-wrap: pretty;
}

.cta__btns {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}


/* Divisor "o deja tus datos" */
.cta__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: var(--space-10);
  margin-bottom: 0;
  max-width: 44rem;
  margin-inline: auto;
}
.cta__divider::before,
.cta__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.cta__divider span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(215, 237, 225, 0.5);
  white-space: nowrap;
}


/* ─────────────────────────────────────────────────────────
   15b. FORMULARIO DE CONTACTO
───────────────────────────────────────────────────────── */
.contact-form {
  position: relative;
  margin-top: var(--space-8);
  max-width: 44rem;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: left;
}

.contact-form__grid {
  display: grid;
  gap: var(--space-4);
}

.contact-form__row {
  display: grid;
  gap: var(--space-4);
}

.contact-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(215, 237, 225, 0.9);
  margin-bottom: var(--space-2);
}

.contact-form__req {
  color: var(--brand-400);
  margin-left: 0.2rem;
}

.contact-form__opt {
  font-style: normal;
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(215, 237, 225, 0.5);
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  border-color: var(--brand-400);
  background: rgba(255, 255, 255, 0.11);
}

/* Select personalizado */
.contact-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1.1rem;
  padding-right: 2.75rem;
  cursor: pointer;
}

.contact-form__select option {
  background: var(--brand-900);
  color: #ffffff;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 6.5rem;
  line-height: 1.6;
}

/* Errores de validación */
.contact-form__error {
  font-size: 0.8rem;
  color: #fca5a5;
  margin-top: var(--space-1);
  display: none;
}

.contact-form__field--invalid .contact-form__error {
  display: block;
}

.contact-form__field--invalid .contact-form__input,
.contact-form__field--invalid .contact-form__select,
.contact-form__field--invalid .contact-form__textarea {
  border-color: #f87171;
}

/* Checkbox privacidad */
.contact-form__check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.contact-form__check-input {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  margin-top: 0.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  accent-color: var(--brand-400);
  flex-shrink: 0;
}

.contact-form__check-txt {
  font-size: 0.875rem;
  color: rgba(215, 237, 225, 0.7);
  line-height: 1.55;
}

/* Botón submit */
.contact-form__actions {
  margin-top: var(--space-6);
  display: flex;
  justify-content: flex-start;
}

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Mensajes de estado */
.contact-form__notice {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  display: none;
}

.contact-form__notice--success {
  display: block;
  background: rgba(52, 185, 138, 0.18);
  border: 1px solid rgba(52, 185, 138, 0.35);
  color: var(--brand-300);
}

.contact-form__notice--error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

/* 2 columnas en pantallas medianas */
@media (min-width: 40rem) {
  .contact-form__row--2col {
    grid-template-columns: 1fr 1fr;
  }
}


/* ─────────────────────────────────────────────────────────
   16. FOOTER
───────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface);
  padding-block: var(--space-16);
  scroll-margin-top: 6rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

/* Brand col */
.footer__logo-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer__name {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink);
}

.footer__role {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.footer__lema {
  margin-top: 1rem;
  max-width: 22rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.footer__social {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  color: var(--brand-700);
  box-shadow: inset 0 0 0 1px var(--color-border);
  transition: background-color var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--brand-50);
}

.social-btn--wa {
  color: var(--color-wa);
}

/* Contact & hours cols */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--brand-700);
}

.footer__plain {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--brand-600);
}

.footer__hour {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.footer__hour strong {
  display: block;
  font-weight: 500;
  color: var(--color-ink);
}

/* Bottom bar */
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer__cedula {
  font-size: 0.75rem;
}

.footer__logo-img {
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  object-fit: contain;
}

.footer__privacy-link {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer__privacy-link:hover {
  color: var(--brand-700);
}

/* Link privacidad dentro del checkbox del formulario */
.contact-form__privacy-link {
  color: var(--brand-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__privacy-link:hover {
  color: var(--brand-200);
}


/* ─────────────────────────────────────────────────────────
   17. BOTÓN FLOTANTE WHATSAPP
───────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background-color: var(--color-wa);
  color: #ffffff;
  box-shadow: var(--shadow-wa-float);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease,
              background-color var(--transition-fast), scale var(--transition-fast);
}

.wa-float--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wa-float:hover {
  background-color: var(--color-wa-dark);
  scale: 1.05;
}


/* ═══════════════════════════════════════════════════════════
   18. RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* ── sm: 640px ── */
@media (min-width: 40rem) {
  .container {
    padding-inline: 2rem;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero__inner {
    padding-bottom: 7rem;
  }

  .hero__ctas {
    flex-direction: row;
    align-items: center;
  }

  .metric {
    padding-block: 2.25rem;
  }

  .metric__label {
    font-size: 0.875rem;
  }

  .cta__btns {
    flex-direction: row;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ── md: 768px ── */
@media (min-width: 48rem) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .credentials {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── lg: 1024px ── */
@media (min-width: 64rem) {

  /* Nav */
  .nav__links {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 2rem;
  }

  .br-desktop {
    display: block;
  }

  .hero__visual {
    margin-inline: 0;
    max-width: none;
  }

  /* Cards */
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Steps */
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .steps__line {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 1.75rem; /* centro del step__num */
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brand-200), transparent);
    pointer-events: none;
  }

  /* Focus */
  .focus {
    grid-template-columns: 1fr 2fr;
    align-items: center;
  }

  /* About */
  .about {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 3.5rem;
  }

  .about__visual {
    margin-inline: 0;
    max-width: none;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 5fr 4fr 3fr;
  }

  /* CTA deco */
  .cta__deco {
    right: 4rem;
  }
}

.d-none{
  display: none !important;
}