/* =============================================
   VÉRA STUDIO — Design System v3
   Font: Nunito | All backgrounds: white
   ============================================= */
:root {
  --sage-light: #8FAF8A;
  --sage:       #6B8F6A;
  --sage-deep:  #4A6E4A;
  --forest:     #3D5240;
  --blush:      #D4A59A;
  --rose:       #C08D8A;
  --cream:      #F5EFE6;
  --linen:      #EDE5D8;
  --sand:       #C9B99A;
  --taupe:      #9A8880;
  --mushroom:   #7B6E62;
  --dark:       #2A2420;
  --dark-2:     #1E1B18;
  --white:      #ffffff;
  --font: 'Nunito', system-ui, sans-serif;
  --r-sm:   0.75rem;
  --r-md:   1.25rem;
  --r-lg:   2rem;
  --r-xl:   2.5rem;
  --r-full: 999px;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.section-title {
  font-family: var(--font);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
}
.section-title em { font-style: normal; color: var(--forest); font-weight: 800; }

.section-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage);
  padding: 0.3rem 0.9rem;
  background: rgba(107,143,106,0.1);
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.78rem 1.8rem;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font); font-size: 0.88rem; font-weight: 700;
  border-radius: var(--r-full);
  border: 2px solid var(--forest);
  cursor: pointer;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--sage-deep); border-color: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(74,110,74,0.28);
}
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   NAVBAR — Completamente transparente siempre.
   Solo los pills (.nav-logo-oval y .nav-links-oval)
   cambian a verde cuando se hace scroll fuera del hero.
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  /* SIN background nunca */
  background: transparent;
  transition: padding 0.3s var(--ease);
}
.navbar.past-hero {
  padding: 0.55rem 2rem;
}

/* Los pills son los únicos que cambian */
.nav-logo-oval,
.nav-links-oval,
.lang-toggle {
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* Estado inicial (sobre hero): semi-transparente blanco */
.nav-logo-oval {
  display: flex; align-items: center; justify-content: center;
  padding: 0.45rem 1.1rem;
  background: rgba(253,250,246,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  border: 1.5px solid rgba(107,143,106,0.2);
  flex-shrink: 0;
}
.nav-logo-oval:hover { transform: scale(1.03); }
.nav-logo-img { height: 36px; width: auto; object-fit: contain; }

.nav-links-oval {
  display: flex; align-items: center; gap: 0.15rem;
  padding: 0.42rem 0.6rem;
  background: rgba(253,250,246,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  border: 1.5px solid rgba(107,143,106,0.18);
}

/* Cuando pasamos el hero: los pills se vuelven verde transparente */
.navbar.past-hero .nav-logo-oval {
  background: rgba(61, 82, 64, 0.78);
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.navbar.past-hero .nav-links-oval {
  background: rgba(61, 82, 64, 0.78);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.navbar.past-hero .nav-logo-img { filter: brightness(10); }
.navbar.past-hero .nav-link { color: rgba(255,255,255,0.88); }
.navbar.past-hero .nav-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.navbar.past-hero .nav-mobile-toggle span { background: var(--white); }
.navbar.past-hero .nav-logo-oval { color: var(--white); }
/* Lang toggle: verde al bajar */
.navbar.past-hero .lang-toggle {
  background: rgba(61, 82, 64, 0.78);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
}

/* Nav links */
.nav-link {
  font-family: var(--font); font-size: 0.84rem; font-weight: 500;
  color: var(--dark);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-full);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
  white-space: nowrap;
}
/* Hover: sin relleno verde, solo texto verde oscuro */
.nav-link:hover { color: var(--forest); background: transparent; }
/* Sin active highlight */

.navbar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; max-width: 1280px; margin: 0 auto;
}

/* Mobile toggle */
.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: rgba(253,250,246,0.88);
  border: 1.5px solid rgba(107,143,106,0.2);
  border-radius: var(--r-full);
  padding: 0.62rem 0.82rem;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.nav-mobile-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--dark); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(4px,5px); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(4px,-5px); }

.nav-mobile {
  display: none; flex-direction: column; align-items: center;
  background: var(--white); padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--linen);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-size: 1rem; color: var(--dark); padding: 0.7rem 2rem;
  width: 100%; text-align: center; transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--sage); }
.nav-mobile-cta {
  margin-top: 0.5rem; padding: 0.65rem 2rem;
  background: var(--forest); color: var(--white);
  border-radius: var(--r-full); width: auto; font-weight: 700;
}

/* ---- LANG TOGGLE BUTTON — tercer pill oval igual al logo y los links ---- */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;   /* iguala la altura del nav-links-oval */
  background: rgba(253,250,246,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  border: 1.5px solid rgba(107,143,106,0.18);
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.04em;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0.15rem;   /* pegado justo al lado */
  white-space: nowrap;
  outline: none;
}
/* Hover: escala igual que el logo oval */
.lang-toggle:hover {
  transform: scale(1.03);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark-2);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  filter: saturate(0.9);
  transition: transform 0s; /* handled by JS */
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(30,27,24,0.68) 0%,
    rgba(30,27,24,0.48) 45%,
    rgba(30,27,24,0.12) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 520px;
  padding: clamp(7rem,14vh,11rem) clamp(1.5rem,6vw,5rem) 5rem;
  animation: fadeUp 0.9s var(--ease) both;
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blush);
  padding: 0.35rem 0.95rem;
  border: 1px solid rgba(212,165,154,0.4);
  border-radius: var(--r-full);
  margin-bottom: 1.2rem;
}

/* Hero title: thin line + bold line, smaller */
.hero-title {
  font-family: var(--font);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.hero-thin  { font-weight: 200; font-size: 1em; white-space: nowrap; }  /* inline — el <br/> separa las líneas */
.hero-bold  { font-weight: 800; white-space: nowrap; }
/* Segunda línea del héroe: mismo tamaño, no se parte */
.hero-line2 {
  display: block;
  white-space: nowrap;
  font-size: 1em;
  margin-top: -0.05em;
}
.hero-line2 em { font-style: normal; color: var(--blush); font-weight: 800; }
.hero-title em { font-style: normal; color: var(--blush); font-weight: 800; }
/* Palabras en color rose/blush dentro del hero */
.hero-accent { color: var(--blush); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  z-index: 1; animation: pulse 2.4s ease-in-out infinite;
}
.scroll-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blush); animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(9px);} }
@keyframes pulse  { 0%,100%{opacity:.4;} 50%{opacity:.9;} }

/* =============================================
   TICKER — más grande
   ============================================= */
.ticker-wrapper {
  width: 100%; overflow: hidden;
  background: var(--forest);
  padding: 1.4rem 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 2.5rem;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: var(--font);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.ticker-dot { color: var(--blush) !important; font-size: 0.55rem !important; }
@keyframes ticker { from{transform:translateX(0);} to{transform:translateX(-50%);} }


/* =============================================
   TYPEWRITER — foto grande a la DERECHA
   ============================================= */
.typewriter-section {
  background: var(--white);
  padding: 4rem clamp(2rem, 8vw, 6rem) 3rem; /* top aumentado para bajar el contenido un poco */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor: texto izquierda, foto grande derecha */
.typewriter-inner {
  display: flex;
  align-items: center;
  justify-content: center;   /* centra horizontalmente el grupo foto+texto */
  gap: 2.5rem;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  margin-left: calc(50% - 370px + 40px); /* desplazamiento sutil a la derecha */
  margin-right: auto;
}

/* Foto circular GRANDE y ESTÁTICA a la IZQUIERDA (natural, sin order) */
.tw-photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--sage-light);
  box-shadow: 0 6px 24px rgba(107,143,106,0.25);
}
.tw-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Área de texto: ocupa el espacio restante, a la derecha */
.tw-text-area {
  font-family: var(--font);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 300;
  color: var(--sage);
  line-height: 1.6;
  flex: 1;
}

/* El círculo cursor: inline, al final de las letras escritas */
.tw-cursor {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--sage-light);
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
  animation: twPulse 0.7s ease-in-out infinite;
  position: relative;
  top: -1px;
}
@keyframes twPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.2; transform: scale(0.6); }
}

/* Punto de sección (círculo verde antes de etiquetas) */
.section-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--sage);
  border-radius: 50%;
  margin-right: 0.45rem;
  vertical-align: middle;
  position: relative; top: -1px;
}
/* Punto antes del sup de servicios */
.sup-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--sage-light);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
  position: relative; top: -1px;
}
/* Animación del badge del hero */
#hero-badge-text { letter-spacing: inherit; }


/* =============================================
   ABOUT
   ============================================= */
.about-section {
  padding: clamp(4rem,9vw,8rem) 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem,6vw,5rem);
  align-items: center;
}
.about-title {
  font-family: var(--font);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.about-thin { font-weight: 300; color: var(--dark); }
.about-bold { font-weight: 800; color: var(--sage); }
.about-body {
  color: var(--mushroom); font-size: 0.97rem; font-weight: 400;
  line-height: 1.85; margin-bottom: 1.1rem;
}
.about-visual { position: relative; }
.about-img-card {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 20px 56px rgba(42,36,32,0.12);
}
.about-img-card img {
  width: 100%; height: 450px;
  object-fit: cover; object-position: center 20%;
  transition: transform 0.6s var(--ease);
}
.about-img-card:hover img { transform: scale(1.04); }
.about-float-card {
  position: absolute; bottom: -1.2rem; left: -1.8rem;
  background: var(--white); border-radius: var(--r-lg);
  padding: 1.3rem 1.55rem;
  box-shadow: 0 14px 40px rgba(42,36,32,0.1);
  max-width: 225px; border: 1px solid var(--linen);
}
.float-card-title {
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 0.4rem; font-weight: 700;
}
.float-card-text {
  font-size: 0.88rem; font-weight: 300; font-style: italic;
  color: var(--dark); line-height: 1.5;
}

/* =============================================
   ACCORDION / SERVICES
   ============================================= */
.accordion-section {
  padding: clamp(3.5rem,8vw,6.5rem) 0;
  background: var(--white);
}
.accordion-section--alt { background: #f8f8f8; }

/* Layout: header izquierda arriba, luego foto + items en fila */
.accordion-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem,3vw,2.5rem);
}

.accordion-header-left { }

.accordion-sup {
  font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--sage);
  margin-bottom: 0.1rem; display: flex; align-items: center;
}
.accordion-title {
  font-family: var(--font);
  font-size: clamp(1.6rem,3.5vw,2.4rem);  /* un poco más pequeño que el sup */
  font-weight: 700; color: var(--forest);
  line-height: 1.1; letter-spacing: -0.01em;
}

/* Body: foto + items en 2 cols */
.accordion-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,4vw,3.5rem);
  align-items: center;
}
.accordion-body--reverse {
  /* Items a la izquierda, foto a la derecha — ya en HTML */
}

/* Photo */
.accordion-photo-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(42,36,32,0.1);
  /* Más pequeño y centrado */
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 4/5;
}
.accordion-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.38s var(--ease);
}
.accordion-photo.changing { opacity: 0; }

/* Items */
.accordion-items {
  display: flex; flex-direction: column;
  gap: 0; padding: 0.25rem 0;
  /* Centrado vertical */
  justify-content: center;
}

.acc-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 0.8rem 1.2rem 0;
  border-bottom: 1px solid rgba(154,136,128,0.15);
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: padding-left 0.22s var(--ease);
}
.acc-item:last-child { border-bottom: none; }
.acc-item:hover { padding-left: 0.5rem; }

.acc-icon {
  flex-shrink: 0; width: 32px; height: 32px;
  margin-top: 0.1rem;
  transition: transform 0.25s var(--ease);
}
.acc-icon svg { width: 32px; height: 32px; }
.acc-item:hover .acc-icon { transform: scale(1.12); }

.acc-text-wrap { flex: 1; }

.acc-title {
  font-family: var(--font);
  font-size: 1.05rem; font-weight: 300;
  color: var(--dark);
  transition: color 0.22s var(--ease), font-weight 0.01s;
  line-height: 1.3;
}
.acc-item:hover .acc-title,
.acc-item.active .acc-title {
  color: var(--sage);
  font-weight: 800;
}

.acc-desc {
  font-size: 0.875rem; font-weight: 400;
  color: var(--mushroom); line-height: 1.7;
  max-height: 0; overflow: hidden;
  opacity: 0; margin-top: 0;
  transition: max-height 0.4s var(--ease), opacity 0.35s var(--ease), margin-top 0.3s;
}
.acc-item:hover .acc-desc,
.acc-item.active .acc-desc {
  max-height: 130px; opacity: 1; margin-top: 0.45rem;
}

/* Mobile accordion — tap to expand */
@media (max-width: 768px) {
  .acc-item {
    position: relative;
    padding-right: 2rem;
  }
  /* Chevron arrow indicator */
  .acc-item::after {
    content: '›';
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 1.2rem;
    color: var(--sage-light);
    transition: transform 0.28s var(--ease), color 0.22s;
  }
  .acc-item.acc-mobile-open::after {
    transform: translateY(-50%) rotate(270deg);
    color: var(--sage);
  }
  .acc-item.acc-mobile-open .acc-title {
    color: var(--sage);
    font-weight: 800;
  }
  .acc-item.acc-mobile-open .acc-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.45rem;
  }
  /* Photo sits above items in mobile, shrink it */
  .accordion-photo-wrap {
    max-height: 220px;
    aspect-ratio: 16/9;
    margin: 0 auto 1.5rem;
  }
}

/* =============================================
   LOGOS
   ============================================= */
.logos-section {
  padding: clamp(3.5rem,7vw,6rem) 0;
  background: var(--white);
}
.logos-title {
  font-family: var(--font);
  font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 300;
  text-align: center; color: var(--dark);
  margin-bottom: clamp(2rem,4vw,3rem); line-height: 1.3;
}
.logos-title-green { color: var(--forest); font-weight: 800; }

/* Logos grid: columna de filas centradas */
.logos-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.logo-item { display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), opacity 0.3s; opacity: 0.85;
}
.logo-item:hover { transform: scale(1.08); opacity: 1; }
.logo-item img {
  max-height: 75px; width: auto; max-width: 180px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* =============================================
   WHY SECTION — Tarjetas verde oscuro
   ============================================= */
.why-section {
  padding: clamp(4rem,9vw,8rem) 0;
  background: var(--white);
}
.why-header { text-align: center; margin-bottom: clamp(2.5rem,5vw,4rem); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

.why-card {
  background: var(--forest);  /* verde oscuro */
  border-radius: var(--r-xl);
  padding: 2.2rem 1.7rem;
  transition: all 0.32s var(--ease);
  box-shadow: 0 8px 28px rgba(61,82,64,0.18);
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(61,82,64,0.28);
  background: var(--sage-deep);
}
.why-number {
  font-family: var(--font);
  font-size: 3rem; font-weight: 800;  /* grueso */
  color: rgba(255,255,255,0.25);
  line-height: 1; margin-bottom: 1.1rem;
}
.why-title {
  font-family: var(--font);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white);         /* blanco */
  margin-bottom: 0.65rem;
}
.why-text {
  font-size: 0.875rem; font-weight: 400;
  color: rgba(255,255,255,0.72); /* blanco semitransparente */
  line-height: 1.75;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  padding: clamp(4rem,9vw,8rem) 0;
  background: var(--white);
}
.contact-top {
  text-align: center; max-width: 600px;
  margin: 0 auto clamp(2.5rem,5vw,4rem);
}
.contact-main-title {
  font-family: var(--font);
  font-size: clamp(2rem,4.5vw,3.2rem); font-weight: 800;
  color: var(--forest); line-height: 1.1; margin-bottom: 0.4rem;
}
.contact-subtitle {
  font-size: clamp(1.1rem,2.5vw,1.55rem); font-weight: 300;
  color: var(--dark); margin-bottom: 0.7rem;
}
.contact-sub-text {
  font-size: 0.92rem; color: var(--mushroom);
  line-height: 1.75; font-weight: 400;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem,5vw,4rem); align-items: start;
}
.contact-img-wrap {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 20px 56px rgba(42,36,32,0.12);
  aspect-ratio: 3/4;
}
.contact-woman-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;  /* plano medio: cara y torso centrados */
  transition: transform 0.5s var(--ease);
}
.contact-img-wrap:hover .contact-woman-img {
  transform: scale(1.03);
}
.contact-form-wrap {
  background: #fafafa;
  border-radius: var(--r-xl);
  padding: clamp(1.75rem,4vw,2.75rem);
  box-shadow: 0 10px 40px rgba(42,36,32,0.07);
  border: 1px solid rgba(237,229,216,0.8);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.32rem; }
.form-group label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe);
}
.form-group input,
.form-group textarea {
  font-family: var(--font); font-size: 0.9rem; font-weight: 400;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid rgba(237,229,216,0.9);
  border-radius: var(--r-md);
  padding: 0.78rem 1.1rem;
  outline: none; resize: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--sand); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107,143,106,0.1);
}
.form-check { display: flex; align-items: flex-start; gap: 0.65rem; }
.form-check input[type="checkbox"] {
  margin-top: 0.18rem; width: 16px; height: 16px;
  flex-shrink: 0; accent-color: var(--sage);
  cursor: pointer; padding: 0;
}
.form-check label {
  font-size: 0.76rem; color: var(--mushroom);
  font-weight: 400; line-height: 1.6; cursor: pointer;
}
.form-check label strong { color: var(--sage-deep); font-weight: 700; }
.form-success {
  text-align: center; color: var(--sage-deep);
  font-size: 0.88rem; font-weight: 600; padding: 0.9rem;
  background: rgba(107,143,106,0.08);
  border-radius: var(--r-md);
  border: 1px solid rgba(107,143,106,0.2);
}

/* =============================================
   FOOTER — verde oscuro de la marca
   ============================================= */
.footer {
  background: var(--forest);  /* verde oscuro de marca */
  padding: 3.5rem 2rem;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo { display: flex; align-items: center; }
.footer-logo-img {
  height: 65px; width: auto;  /* logo grande y bien visible */
  filter: brightness(10);
  opacity: 0.98;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-socials { display: flex; gap: 0.9rem; align-items: center; }
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.25s var(--ease);
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover {
  background: var(--blush); color: var(--white);
  border-color: var(--blush); transform: translateY(-2px);
}


/* =============================================
   VIDEO PLAY-WITH-SOUND BUTTON
   ============================================= */
.video-play-wrap {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.video-play-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-btn {
  position: absolute;
  bottom: 0.9rem; right: 0.9rem;
  width: 46px; height: 46px;
  background: none; border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  opacity: 0.82;
  transition: opacity 0.25s, transform 0.25s;
}
.video-play-btn svg { width: 46px; height: 46px; }
.video-play-btn:hover { opacity: 1; transform: scale(1.1); }
.video-play-btn.playing { opacity: 1; }

/* =============================================
   WHATSAPP
   ============================================= */
.whatsapp-btn {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: #25D366; border-radius: 50%;
  color: white;
  box-shadow: 0 6px 22px rgba(37,211,102,0.4);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.whatsapp-btn svg { width: 26px; height: 26px; }
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37,211,102,0.55);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-22px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(22px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE — MOBILE OPTIMIZADO
   ============================================= */

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .hero-title { font-size: clamp(2.2rem,6vw,3.8rem); }
}

/* === NAVBAR MOBILE (≤ 900px) === */
@media (max-width: 900px) {
  .nav-links-oval { display: none; }
  .nav-mobile-toggle { display: flex; }
  .navbar-inner { justify-content: space-between; }
  .lang-toggle { display: none; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-float-card { left: 1rem; bottom: 1rem; }
  .about-img-card img { height: 280px; }

  /* ACCORDION */
  .accordion-body,
  .accordion-body--reverse { grid-template-columns: 1fr; }
  .accordion-photo-wrap { max-width: 100%; aspect-ratio: 16/9; }
  .accordion-header-left { text-align: center; }

  /* TYPEWRITER — reset desktop margin offset */
  .typewriter-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-left: auto;
    margin-right: auto;
  }
  .tw-photo-wrap { width: 100px; height: 100px; }
  .tw-text-area { font-size: clamp(0.9rem,3.5vw,1.1rem); text-align: center; }

  /* CONTACT */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-img-wrap { aspect-ratio: 3/2; max-height: 260px; overflow: hidden; }
  .contact-woman-img { object-position: center top; }
}

/* === TABLET (≤ 768px) === */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); line-height: 0.94; }
  .hero-thin  { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .why-card { padding: 1.6rem 1.4rem; }
  .typewriter-inner { margin-left: auto; }
}

/* === PHONE (≤ 640px) === */
@media (max-width: 640px) {

  /* ── Navbar ── */
  .navbar { padding: 0.75rem 1.1rem; }
  .navbar.past-hero { padding: 0.55rem 1.1rem; }
  .nav-logo-oval { padding: 0.3rem 0.9rem; }
  .nav-logo-img  { height: 32px; }
  .nav-mobile-toggle span { width: 22px; height: 2px; }

  /* ── Hero ── */
  .hero { min-height: 92svh; }
  .hero-content {
    padding: 0 1.3rem;
    padding-top: 5.5rem;
    text-align: left;
  }
  .hero-title  { font-size: clamp(1.85rem, 8.5vw, 2.6rem); line-height: 0.9; }
  .hero-thin   { font-size: clamp(1.3rem, 6.5vw, 2rem); }
  .hero-badge  { font-size: 0.62rem; padding: 0.35rem 0.9rem; margin-bottom: 0.8rem; }
  .hero-scroll { bottom: 1.2rem; }
  .btn-primary { font-size: 0.85rem; padding: 0.75rem 1.4rem; margin-top: 1.4rem; }

  /* ── Ticker ── */
  .ticker-wrapper { padding: 0.6rem 0; }
  .ticker-track span { font-size: 0.72rem; }

  /* ── Typewriter ── */
  .typewriter-section { padding: 2.5rem 1.25rem 2rem; }
  .typewriter-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .tw-photo-wrap { width: 90px; height: 90px; }
  .tw-text-area  { font-size: clamp(0.95rem, 4vw, 1.1rem); text-align: center; max-width: 100%; }

  /* ── Why Cards ── */
  .why-grid  { grid-template-columns: 1fr; gap: 0.9rem; }
  .why-card  { padding: 1.4rem 1.2rem; }
  .why-title { font-size: 0.97rem; }
  .why-text  { font-size: 0.82rem; }

  /* ── About ── */
  .about-section { padding: 3rem 0; }
  .about-grid    { grid-template-columns: 1fr; }
  .about-visual  { order: -1; margin-bottom: 1.5rem; }
  .about-text    { padding: 0 1.3rem; }
  .about-title   { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .about-body    { font-size: 0.9rem; line-height: 1.75; }
  .about-img-card img { height: 220px; border-radius: var(--r-lg); }
  .about-float-card   { padding: 0.7rem 1rem; left: 0.8rem; bottom: 0.8rem; max-width: calc(100% - 3rem); }
  .float-card-title { font-size: 0.72rem; }
  .float-card-text  { font-size: 0.82rem; }

  /* ── Accordion ── */
  .accordion-section  { padding: 3rem 0; }
  .accordion-header-left { text-align: center; padding: 0 1rem; }
  .accordion-sup      { font-size: 0.88rem; }
  .accordion-title    { font-size: clamp(1.6rem, 7.5vw, 2.2rem); }
  .accordion-body,
  .accordion-body--reverse { grid-template-columns: 1fr; gap: 1.5rem; }
  .accordion-photo-wrap { aspect-ratio: 4/3; max-height: 240px; border-radius: var(--r-lg); }
  .accordion-item     { padding: 0.9rem 0; }
  .accordion-item-title { font-size: 0.88rem; }
  .accordion-item-body  { font-size: 0.82rem; }

  /* ── Logos ── */
  .logos-title  { font-size: clamp(1.3rem, 6vw, 1.8rem); margin-bottom: 1.5rem; }
  .logos-grid   { gap: 1rem; }
  .logos-row    { gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
  .logo-item    { min-width: 70px; }
  .logo-item img { max-height: 40px; max-width: 90px; }

  /* ── Contact ── */
  .contact-section    { padding: 3rem 0; }
  .contact-grid       { grid-template-columns: 1fr; }
  .contact-img-wrap   { display: none; }
  .contact-top        { padding: 0 1.3rem; margin-bottom: 1.5rem; }
  .contact-main-title { font-size: clamp(1.6rem, 7.5vw, 2.2rem); }
  .contact-subtitle   { font-size: 0.95rem; }
  .contact-sub-text   { font-size: 0.85rem; }
  .contact-form-wrap  { padding: 0 1.3rem; }
  .form-row           { grid-template-columns: 1fr; gap: 0; }
  .form-group         { margin-bottom: 1rem; }
  .form-group label   { font-size: 0.8rem; }
  /* iOS fix: 16px prevents auto-zoom on input focus */
  .contact-form input,
  .contact-form textarea,
  .contact-form select { font-size: 16px !important; }
  .form-check         { gap: 0.6rem; }
  .form-check label   { font-size: 0.8rem; line-height: 1.5; }
  .btn-full           { padding: 0.9rem 1.2rem; font-size: 0.9rem; }

  /* ── Footer ── */
  .footer-inner    { flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 2rem 1.3rem; }
  .footer-socials  { justify-content: center; }
  .footer-logo-img { height: 44px; }
  .footer-copy     { font-size: 0.75rem; }

  /* ── WhatsApp ── */
  .whatsapp-btn     { width: 48px; height: 48px; bottom: 1rem; right: 1rem; }
  .whatsapp-btn svg { width: 22px; height: 22px; }
}

/* === VERY SMALL (≤ 380px) === */
@media (max-width: 380px) {
  .hero-title      { font-size: 8.5vw; }
  .hero-thin       { font-size: 7vw; }
  .accordion-title { font-size: 6.5vw; }
  .nav-logo-oval   { padding: 0.25rem 0.7rem; }
  .nav-logo-img    { height: 28px; }
  .about-title     { font-size: 7.5vw; }
  .logo-item img   { max-height: 34px; max-width: 78px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; }
}
