:root{
  /* base */
  --bg: #efeae1;
  --title: #243b37;
  --text: #5f6663;

  /* marca */
  --navBg: #2a5550;
  --forest1:#2a5550;
  --forest2:#244b46;
  --forest3:#1f3f3b;

  --teal:#2AA9A4;
  --teal2:#4FD1C7;

  --gold:#B3A582;
  --goldSoft:#F0D8A9;
  --goldHi:#f7e39b;

  /* nuevos tonos tierra */
  --copper1:#916326;
  --copper2:#66471d;
  --copper3:#5c200e;

  /* UI */
  --menuText:#F7F1EA;
  --shadowSoft: 0 10px 26px rgba(0,0,0,0.08);
  --shadowLift: 0 18px 55px rgba(0,0,0,0.18);

  --radius: 16px;
  --pill: 999px;
  --container: 1100px;

  --fontHeading: "Cormorant Garamond", serif;
  --fontBody: "Montserrat", sans-serif;

  /* ✅ Fondos (JS los setea según local vs host) */
  --nosotros-bg: url("imagenes/nosotros-bg.jpg");
  --sermujer-bg: url("imagenes/se_mujer_bgd.jpg");
  --testimonios-bg: url("imagenes/testimonio_bkg_4.jpg");
}

/* ===== Reset / base ===== */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  overflow-x:hidden;
  background:
    radial-gradient(1000px 520px at 12% 8%, rgba(79,209,199,0.07), transparent 60%),
    radial-gradient(900px 520px at 88% 28%, rgba(240,216,169,0.10), transparent 60%),
    var(--bg);
  color:var(--text);
  font-family:var(--fontBody);
  line-height:1.65;
  /* Tipografía responsive (micro-ajuste pro) */
  font-size: clamp(15px, 1.05vw, 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.no-scroll{
  overflow:hidden;
  touch-action:none;
  position: fixed;
  width: 100%;
}


img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; transition: .22s ease; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
ul{ list-style:none; }

.container{ max-width: var(--container); margin: 0 auto; padding-left: max(22px, env(safe-area-inset-left)); padding-right: max(22px, env(safe-area-inset-right)); }

/* Mejor anclaje con header sticky (evita que los títulos queden tapados) */
section[id]{ scroll-margin-top: 86px; }

/* Accesibilidad: enfoque visible en teclado */
:where(a, button, input, textarea, select):focus-visible{
  outline: 3px solid rgba(79,209,199,0.55);
  outline-offset: 3px;
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

h1,h2,h3,h4{ font-family:var(--fontHeading); color:var(--title); font-weight:700; }
h1{ font-size: clamp(2.1rem, 4.6vw, 4.2rem); }
h2{ font-size: clamp(1.85rem, 3vw, 2.6rem); }
h3{ font-size: 1.4rem; }

.hide-mobile{ display:inline-flex; }

/* ===== Header / Nav (degradado PC + móvil) ===== */
.main-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    radial-gradient(900px 220px at 18% 0%, rgba(79,209,199,0.20), transparent 60%),
    radial-gradient(650px 240px at 92% 40%, rgba(240,216,169,0.12), transparent 60%),
    linear-gradient(180deg, var(--forest1) 0%, var(--forest2) 55%, var(--forest3) 100%);
  border-bottom: 1px solid rgba(240,216,169,0.22);
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
}

.nav-container{
  min-height: 66px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.brand{ display:inline-flex; align-items:center; }
.brand-logo{ height: 44px; width:auto; object-fit:contain; }

.nav-menu ul{
  display:flex;
  align-items:center;
  gap: 12px;
}

.nav-menu a,
.nav-link-btn{
  color: var(--menuText);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.95;
  font-weight: 500;
  position: relative;
  transition: color .22s ease, opacity .22s ease, transform .18s ease;
}
.nav-menu a:hover,
.nav-link-btn:hover{ color: var(--goldSoft); opacity: 1; transform: translateY(-1px); }

/* Nav hover underline */
.nav-menu a{
  position: relative;
  transition: color .22s ease, opacity .22s ease, transform .22s ease;
}
.nav-menu a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--goldSoft), var(--teal2), transparent);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0.9;
  transition: transform .22s ease;
}
.nav-menu a:hover::after{
  transform: scaleX(1);
}


.btn-header{
  border: 1px solid rgba(240,216,169,0.5);
  color: var(--menuText);
  background: rgba(255,255,255,0.08);
  padding: 9px 14px;
  font-size: 0.84rem;
  border-radius: var(--pill);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.btn-header:hover{
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}

/* Hamburguesa */
.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius: 12px;
  position: relative;
  transition: color .22s ease, opacity .22s ease, transform .22s ease;
}
.menu-icon{
  position:absolute;
  top: 50%; left: 50%;
  width:22px; height:2px;
  background: var(--menuText);
  transform: translate(-50%,-50%);
  border-radius: 2px;
}
.menu-icon::before,
.menu-icon::after{
  content:"";
  position:absolute;
  left:0;
  width:22px; height:2px;
  background: var(--menuText);
  border-radius: 2px;
}
.menu-icon::before{ top:-7px; }
.menu-icon::after{ top:7px; }

/* Backdrop menú móvil */
.nav-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
  z-index: 900;
}
.nav-backdrop.is-open{
  opacity: 1;
  pointer-events: auto;
}

/* Redes dentro del menú móvil (solo móvil) */
.nav-social{ display:none; }
.nav-social-divider{
  height: 1px;
  background: rgba(240,216,169,0.22);
  margin: 8px 2px 10px;
}
.nav-social-icons{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 0 2px 2px;
}
.nav-social-icon{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(240,216,169,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--menuText);
  background: rgba(255,255,255,0.06);
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.nav-social-icon svg{ width: 15px; height: 15px; }
.nav-social-icon:hover{
  transform: translateY(-2px);
  color: var(--teal2);
  background: rgba(79,209,199,0.10);
}

/* ===== HERO ===== */
.hero-section{
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(1100px 520px at 50% 30%, rgba(79,209,199,0.14), transparent 62%),
    radial-gradient(900px 520px at 50% 65%, rgba(240,216,169,0.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.16) 45%, rgba(0,0,0,0.62) 100%);
}

.hero-inner{
  position: relative;
  z-index:2;
  padding: 72px 0 54px;
  width:100%;
}

.hero-content{
  max-width: 860px;
  margin: 0 auto;
  text-align:center;
  padding: 0 18px;
}

.hero-title{
  color: rgba(255,255,255,0.98);
  margin-bottom: 12px;
  font-size: clamp(2.55rem, 5.2vw, 4.6rem);
  font-weight: 800;
  text-shadow: 0 10px 26px rgba(0,0,0,0.55);
  line-height: 1.03;
}

.hero-title-line{ display:block; }

.hero-subtitle{
  color: rgba(247,241,234,0.96);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(240,216,169,0.24);
  font-family: var(--fontHeading);
  font-size: clamp(1.15rem, 2.15vw, 1.55rem);
  margin-bottom: 14px;
  font-weight: 800;
  text-shadow: 0 10px 24px rgba(0,0,0,0.42);
}

.hero-emblem-wrap{
  display:flex;
  justify-content:center;
  margin: 10px 0 14px;
}
.hero-emblem{
  width: min(78px, 22vw);
  opacity: 0.92;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.34));
}

.hero-text{
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  max-width: 760px;
  margin: 0 auto 20px;
  font-weight: 500;
  text-shadow: 0 10px 22px rgba(0,0,0,0.55);
}

.hero-cta{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero CTA smaller (ajuste solicitado) */
.hero-cta .btn-primary,
.hero-cta .btn-secondary{
  padding: 8px 14px;
  font-size: 0.84rem;
}

.hero-divider{
  width: min(220px, 70%);
  height: 2px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal2), transparent);
  opacity: 0.85;
  border-radius: 999px;
}

/* ===== Botones ===== */
.btn-primary, .btn-secondary{
  border-radius: var(--pill);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.90rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease, background .22s ease;
  white-space: nowrap;
  min-height: 38px;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary{
  background: linear-gradient(135deg, var(--forest2), #8a7a55);
  color: #F7F1EA;
  border: 1px solid rgba(247,227,155,0.34);
  box-shadow: 0 16px 46px rgba(0,0,0,0.24);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.btn-primary:hover{ transform: translateY(-2px); filter: brightness(1.05) saturate(1.06); }

.btn-secondary{
  background: rgba(31,63,59,0.36);
  color: rgba(247,241,234,0.96);
  border: 1px solid rgba(247,227,155,0.26);
  box-shadow: 0 12px 34px rgba(0,0,0,0.18);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.btn-secondary:hover{ background: rgba(31,63,59,0.48); transform: translateY(-2px); }

.btn-small{ padding: 7px 14px; font-size: 0.82rem; min-height: 36px; }

.btn-link{
  color: var(--teal2);
  font-weight: 800;
  margin-top: 8px;
  display:inline-block;
  font-size: 0.95rem;
  text-shadow: 0 12px 26px rgba(0,0,0,0.40);
}
.btn-link:hover{ text-decoration: underline; text-underline-offset: 4px; color: var(--goldSoft); }

.btn-contrast{
  color: var(--title);
  border-color: rgba(145,99,38,0.55);
  background: rgba(255,255,255,0.65);
}

/* ===== Secciones ===== */
.section{ padding: 64px 0; }
.section-soft{
  background: rgba(242,236,227,0.40);
  border-top: 1px solid rgba(179,165,130,0.12);
}
.section-toned{
  border-top: 1px solid rgba(179,165,130,0.12);
  border-bottom: 1px solid rgba(179,165,130,0.12);
}
.section-frame{ padding: 12px 0; }

.section-title{
  text-align:center;
  margin-bottom: 14px;
}
.section-title::after{
  content:"";
  display:block;
  width: 72px;
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal2), transparent);
  opacity: 0.9;
}

.section-subtitle{
  text-align:center;
  max-width: 820px;
  margin: 0 auto 16px;
  padding: 0 6px;
  font-family: var(--fontHeading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--title);
}
.section-subtitle strong{ font-weight: 800; }
.section-subtitle + .text-centered{ margin-top: 8px; }

/* Subtítulos en secciones con fondo (legibles) */
.section-nosotros .section-subtitle,
.section-sermujer .section-subtitle{
  color: rgba(247,241,234,0.94);
  text-shadow: 0 12px 28px rgba(0,0,0,0.55);
}
.text-centered{
  text-align:center;
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  padding: 0 6px;
}
.section-lead{
  margin-bottom: 3rem;
  font-size: 0.95rem;
  opacity: 0.95;
}
.section-actions{ text-align:center; margin-top: 22px; }

/* ===== Nuestra Esencia (con imagen) ===== */
.section-nosotros{
  background:
    linear-gradient(to bottom, rgba(15,18,17,0.62), rgba(15,18,17,0.46)),
    linear-gradient(to bottom, rgba(145,99,38,0.10), rgba(145,99,38,0.18)),
    var(--nosotros-bg) center/cover no-repeat;
  color: #fff;
}
.section-nosotros .section-title{
  color: var(--goldHi);
  text-shadow: 0 14px 34px rgba(0,0,0,0.55);
}
.section-nosotros .text-centered{
  color: rgba(247,241,234,0.92);
  text-shadow: 0 12px 28px rgba(0,0,0,0.55);
}



/* Quitar cualquier fondo detrás de títulos (Nuestra Esencia / Ser Mujer) */
.section-nosotros .section-title,
.section-sermujer .section-title{
  background: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* ===== Ser Mujer (con fondo) ===== */
.section-sermujer{
  position: relative;
  background:
    linear-gradient(180deg, rgba(31,63,59,0.72) 0%, rgba(31,63,59,0.38) 55%, rgba(31,63,59,0.78) 100%),
    var(--sermujer-bg) center/cover no-repeat;
  color: #fff;
}
.section-sermujer .section-title{
  color: rgba(247,241,234,0.96);
  text-shadow: 0 14px 34px rgba(0,0,0,0.55);
}
.section-sermujer .text-centered{
  color: rgba(247,241,234,0.92);
  text-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

/* ===== Cards (Servicios / Camino de sanación) ===== */
.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.card-visual{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadowSoft);
  transition: transform .25s ease, box-shadow .25s ease;
  display:flex;
  flex-direction:column;
  min-width: 0;
}
.card-visual:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadowLift);
}

.card-image-wrap{
  width: 100%;
  height: 180px;
  background: rgba(0,0,0,0.12);
}
.card-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

/* Card image zoom */
.card-visual:hover .card-img{
  transform: scale(1.06);
}

.card-body{
  padding: 22px 18px;
  text-align: center;
  flex-grow: 1;
  display:flex;
  flex-direction:column;
  color: #fff;
}
.card-body h3{
  color: rgba(247,241,234,0.96);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(240,216,169,0.24);
  margin-bottom: 10px;
  font-size: 1.42rem;
  line-height: 1.15;
}
.card-body p{
  font-size: 0.90rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 16px;
}
.btn-card-link{
  margin-top: auto;
  font-weight: 800;
  color: rgba(255,255,255,0.96);
  font-size: 0.90rem;
  opacity: 0.92;
  transition: .22s ease;
}
.btn-card-link:hover{
  opacity: 1;
  text-shadow: 0 0 12px rgba(255,255,255,0.45);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* tonos */
.tone-forest { background: linear-gradient(135deg, #20403b, #20403b); }
.tone-teal   { background: linear-gradient(135deg, #2a5550, #2AA9A4); }
.tone-earth  { background: linear-gradient(135deg, #66471d, #5c200e); }
.tone-olive  { background: linear-gradient(135deg, #5c553a, #4a452e); }
.tone-night  { background: linear-gradient(135deg, #143941, #143941); }
.tone-copper { background: linear-gradient(135deg, #7a5024, #5c3a18); }
.tone-sand   { background: linear-gradient(135deg, #8b6a3a, #B3A582); }

/* ===== Curso ===== */
.course-card{
  background: #fff;
  padding: 30px 22px;
  border-radius: var(--radius);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadowSoft);
  text-align:center;
  border: 1px solid rgba(179,165,130,0.14);
}

.course-card .btn-primary{
  margin-top: 20px;
}

/* ===== Footer (degradado) ===== */
.site-footer{
  background:
    radial-gradient(900px 240px at 85% 0%, rgba(79,209,199,0.18), transparent 60%),
    radial-gradient(700px 240px at 12% 40%, rgba(240,216,169,0.10), transparent 62%),
    linear-gradient(180deg, var(--forest1) 0%, var(--forest2) 55%, var(--forest3) 100%);
  color: #fff;
  padding-top: 36px;
  border-top: 1px solid rgba(240,216,169,0.20);
}

.footer-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 18px;
}

.footer-title{
  color: var(--goldSoft);
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.footer-links li{ margin-bottom: 7px; }
.footer-links a, .footer-btn{
  color: rgba(255,255,255,0.78);
  font-size: 0.84rem;
}
.footer-links a:hover, .footer-btn:hover{
  color: var(--teal2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-btn{
  padding: 0;
  border: none;
  background: none;
  text-align:left;
}

.footer-text{
  font-size: 0.84rem;
  opacity: 0.82;
  margin-bottom: 6px;
}

.footer-logo-small{
  width: clamp(98px, 9vw, 176px);
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
  opacity: 0.98;
}
.footer-text-dim{ opacity: 0.62; }

.social-icons{ display:flex; gap: 10px; align-items:center; }
.social-icon{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(240,216,169,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  color: #fff;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.social-icon svg{ width: 18px; height: 18px; }
.social-icon:hover{
  background: rgba(79,209,199,0.14);
  color: var(--teal2);
  transform: translateY(-2px);
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 14px 10px;
  font-size: 0.78rem;
  opacity: 0.78;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  text-align:center;
}

.footer-legal{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-link{
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(247,241,234,0.92);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.95;
}
.footer-link:hover{
  opacity: 1;
  transform: translateY(-1px);
}
.footer-sep{ opacity: 0.55; }



.form-legal{
  margin: 10px 0 6px;
  font-size: 0.82rem;
  color: rgba(36,59,55,0.74);
  line-height: 1.35;
  /* Mantener “Al enviar aceptas…” y el enlace en la misma línea cuando haya espacio */
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.link-like{
  border:0;
  background:transparent;
  padding:0;
  color: var(--forest2);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor:pointer;
}
.link-like:hover{ opacity: 0.92; }

.legal-body{
  padding: 16px 16px calc(10px + env(safe-area-inset-bottom));
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.legal-actions{
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(36,59,55,0.10);
  display:flex;
  gap: 10px;
}
.legal-actions .btn-secondary,
.legal-actions .btn-primary{
  flex: 1 1 0;
}
.legal-content p{
  margin: 0 0 10px;
}
.legal-content ul{
  margin: 0 0 10px;
  padding-left: 18px;
}
.legal-content li{
  margin: 6px 0;
}
.legal-note{
  opacity: 0.78;
  font-size: 0.92em;
}
.legal-content a{
  color: var(--forest2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* ===== Modal ===== */
.modal{
  position: fixed;
  overscroll-behavior: contain;
  inset:0;
  z-index: 3000;
  display:none;
}
.modal.is-open{
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(4px);
}
.modal-dialog{
  position: relative;
  display:flex;
  flex-direction: column;
  width: min(560px, calc(100% - 26px));
  max-height: 92dvh;
  max-height: 92vh;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(179,165,130,0.25);
  box-shadow: 0 30px 90px rgba(0,0,0,0.38);
  z-index:2;
}
.modal-head{
  padding: 16px 16px 12px;
  text-align:center;
  background: var(--navBg);
  border-bottom: 1px solid rgba(240,216,169,0.22);
}
.modal-title{
  color: #F7F1EA;
  margin:0;
  font-size: 1.75rem;
  text-shadow: 0 10px 26px rgba(0,0,0,0.55);
}
.modal-subtitle{
  font-size: 0.90rem;
  opacity: 0.95;
  margin-top: 6px;
  color: rgba(247,241,234,0.92);
  text-shadow: 0 10px 26px rgba(0,0,0,0.45);
}
.modal-close{
  position:absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
}

.contact-form{
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.form-row{ margin-bottom: 12px; }
.form-row label{
  display:block;
  font-size: 0.84rem;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--forest2);
}
.form-row input, .form-row textarea{
  width:100%;
  padding: 11px 10px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 0.90rem;
}
.form-row textarea{ min-height: 110px; resize:vertical; }

/* ===== Modal form footer (sticky send button on mobile) ===== */
.form-footer{
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(36,59,55,0.10);
}
.form-footer .btn-primary{
  width: 100%;
}
.form-status{
  display:none;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.form-status.is-ok{
  display:block;
  background: rgba(79,209,199,0.18);
  border: 1px solid rgba(79,209,199,0.40);
  color: #1f3f3b;
}
.form-status.is-err{
  display:block;
  background: rgba(141,34,14,0.14);
  border: 1px solid rgba(141,34,14,0.32);
  color: #5c200e;
}

/* ===== Mobile modal sizing fixes ===== */
@media (max-width: 768px){
  .modal.is-open{
    align-items: flex-start;
    justify-content: center;
    padding: 10px 0;
  }
  .modal-dialog{
    width: calc(100% - 18px);
    /* Un poco más pequeña en móvil, con scroll interno */
    max-height: 92dvh;
    max-height: 92vh;
  }
  .modal-head{
    padding: 14px 14px 10px;
  }
  .modal-title{
    font-size: 1.55rem;
  }
  .contact-quick{
    gap: 8px;
  }
  .contact-chip{
    padding: 10px 10px;
  }
  .chip-label{ font-size: 0.72rem; }
  .chip-value{ font-size: 0.9rem; }
  .contact-form{
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  }
  .form-row{ margin-bottom: 10px; }
  .form-row label{ font-size: 0.84rem; }
  .form-row input, .form-row textarea{
    padding: 10px 10px;
    font-size: 0.90rem;
  }
  .form-row textarea{ min-height: 96px; }
}

/* Slightly smaller phones */
@media (max-width: 420px){
  .modal-title{ font-size: 1.45rem; }
  .contact-chip{ padding: 9px 10px; }
  .contact-form{ padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
}



/* ===== Back to top ===== */
.back-top{
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 40px rgba(0,0,0,0.20);
  color: var(--forest2);
  font-weight:bold;
  z-index:900;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  transform: translateY(10px);
}
.back-top.visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  /* ✅ Más aire lateral en móvil/tablet */
  .container{
    /* Nota: mantenemos espacio seguro para iPhone (safe-area) pero sin estrechar demasiado el contenido */
    padding-left: max(12px, calc(env(safe-area-inset-left) + 8px));
    padding-right: max(12px, calc(env(safe-area-inset-right) + 8px));
  }

  .cards-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px){
  .menu-toggle{ display:flex; align-items:center; justify-content:center; }
  .hide-mobile{ display:none; }
  .brand-logo{ height: 42px; }

  /* ✅ Menú móvil panel flotante */
  .nav-menu{
    position: fixed;
    top: 78px;
    left: 12px;
    width: min(62vw, 236px);
    max-height: calc(100vh - 110px);
    overflow: auto;

    background:
      radial-gradient(900px 220px at 15% 0%, rgba(79,209,199,0.16), transparent 60%),
      radial-gradient(520px 240px at 92% 40%, rgba(240,216,169,0.12), transparent 60%),
      linear-gradient(180deg, var(--forest1) 0%, var(--forest2) 55%, var(--forest3) 100%);

    border: 1px solid rgba(240,216,169,0.22);
    border-radius: 18px;
    padding: 14px 14px 12px;
    transform: translateX(-120%);
    transition: transform .24s ease;
    z-index: 1100;
    box-shadow: 0 22px 70px rgba(0,0,0,0.25);
  }
  .nav-menu.is-open{ transform: translateX(0); }

  .nav-menu ul{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-social{ display:block; margin-top: 10px; }

  .hero-inner{ padding: 78px 0 48px; }
  .btn-primary, .btn-secondary{ width: min(92%, 340px); }

  .cards-grid{ grid-template-columns: 1fr; }
  .section{ padding: 56px 0; }
}

@media (max-width: 420px){
  .container{
    padding-left: max(10px, calc(env(safe-area-inset-left) + 6px));
    padding-right: max(10px, calc(env(safe-area-inset-right) + 6px));
  }

  .hero-inner{ padding: 74px 0 42px; }
  .hero-emblem{ width: min(70px, 34vw); }
}



/* =========================
   Ajustes solicitados (Enero 2026)
========================= */

/* Servicios: título + lead más visible */
#servicios .section-title{
  color: var(--teal2);
  font-weight: 800;
}
#servicios .section-lead{
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--title);
  opacity: 1;
  font-weight: 600;
  font-size: 1.02rem;
}

/* ===== Inicio: fondos con degradados / imagen (armonía con paleta) ===== */

/* Camino de sanación (Servicios) */
#servicios{
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(79,209,199,0.14), transparent 62%),
    radial-gradient(900px 520px at 85% 22%, rgba(240,216,169,0.14), transparent 60%),
    linear-gradient(180deg, rgba(242,236,227,0.62) 0%, rgba(223,243,241,0.34) 55%, rgba(242,236,227,0.56) 100%);
}

/* Curso online (Cursos) */
#cursos{
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(240,216,169,0.18), transparent 60%),
    radial-gradient(900px 520px at 82% 28%, rgba(79,209,199,0.10), transparent 62%),
    linear-gradient(180deg, rgba(242,236,227,0.50) 0%, rgba(246,234,211,0.40) 55%, rgba(242,236,227,0.46) 100%);
}

/* Música (con imagen de fondo) */
#musica{
  position: relative;
  background:
    linear-gradient(180deg, rgba(31,63,59,0.78) 0%, rgba(31,63,59,0.52) 55%, rgba(31,63,59,0.84) 100%),
    url("imagenes/bgd_music.jpg") center/cover no-repeat;
  color: rgba(247,241,234,0.96);
}
#musica .section-title{
  color: var(--goldHi);
  text-shadow: 0 14px 34px rgba(0,0,0,0.55);
}
#musica .section-subtitle,
#musica .section-lead,
#musica .text-centered{
  color: rgba(247,241,234,0.92);
  text-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

/* Modal contacto: título color + subtítulo legible + chips */
.modal-title{
  color: var(--teal2);
}
.modal-subtitle{
  color: rgba(247,241,234,0.92);
  opacity: 1;
}
.contact-quick{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.contact-chip{
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(240,216,169,0.22);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}
.contact-chip:hover{
  background: rgba(255,255,255,0.10);
}
.chip-label{
  font-size: 0.74rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(242,224,188,0.90);
}
.chip-value{
  font-size: 0.93rem;
  color: rgba(247,241,234,0.96);
}

/* Testimonios */
.testi-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.testi-card{
  border-radius: var(--radius);
  border: 1px solid rgba(36,59,55,0.10);
  background: rgba(255,255,255,0.65);
  box-shadow: var(--shadowSoft);
  padding: 18px 18px 16px;
}
.testi-quote{
  color: var(--title);
  line-height: 1.55;
}
.testi-meta{
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(36,59,55,0.70);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px){
  .testi-grid{ grid-template-columns: 1fr; }
  .contact-quick{ grid-template-columns: 1fr; }
}



/* =========================
   Ajustes visuales extra (Enero 2026 - correcciones finas)
========================= */

/* Quitar fondo en títulos solicitados */
.section-nosotros .section-title,
.section-sermujer .section-title{
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}


/* Centrado real para títulos en secciones con "pill" */
.section-nosotros, .section-sermujer{ text-align: center; }
.section-nosotros .section-title::after,
.section-sermujer .section-title::after{ display:none; }

/* Separación extra bajo botones (para que no pegue con líneas/elementos) */
.section-actions{ margin-top: 26px; }
.section-actions .btn-secondary, .section-actions .btn-primary{ margin-bottom: 6px; }

/* Cursos: título con color en armonía */
#cursos .section-title{ color: var(--teal2); font-weight: 800; }

/* Hero: más presencia y lectura */
.hero-title{
  font-weight: 800;
  font-size: clamp(2.15rem, 3.6vw, 3.05rem);
  letter-spacing: 0.3px;
  color: var(--goldHi);
}
.hero-subtitle{
  font-weight: 700;
  color: rgba(242,224,188,0.96);
  font-size: 1.08rem;
  margin-top: 12px;
}
.hero-text{
  margin-top: 14px;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  color: rgba(247,241,234,0.92);
}

/* Cards: asegurar que el color "tone-*" se vea también en móvil */
.tone-teal   { --toneA:#1f6f6b; --toneB:#2AA9A4; background: linear-gradient(135deg, var(--toneA), var(--toneB)); }
.tone-earth  { --toneA:#4a2f1b; --toneB:#916326; background: linear-gradient(135deg, var(--toneA), var(--toneB)); }
.tone-forest { --toneA:#20403b; --toneB:#20403b; background: linear-gradient(135deg, var(--toneA), var(--toneB)); }
.tone-sand   { --toneA:#8b6a3a; --toneB:#B3A582; background: linear-gradient(135deg, var(--toneA), var(--toneB)); }
.tone-night  { --toneA:#143941; --toneB:#143941; background: linear-gradient(135deg, var(--toneA), var(--toneB)); }
.tone-copper { --toneA:#5c200e; --toneB:#916326; background: linear-gradient(135deg, var(--toneA), var(--toneB)); }

.card-body{
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.22)),
    linear-gradient(135deg, var(--toneA, #2a5550), var(--toneB, #1f3f3b));
}
.card-body h3{ background: rgba(0,0,0,0.22); }
.card-body p{ color: rgba(255,255,255,0.94); }


/* Contact form helpers */
.hp-field{display:none!important;}
.form-status{
  margin-top: 12px;
  min-height: 1.2em;
  font-weight: 700;
  line-height: 1.35;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: rgba(247,241,234,0.92);
}
.form-status.is-ok{
  background: rgba(42, 85, 80, 0.88);
  border-color: rgba(242,224,188,0.25);
  color: #f6f4ee;
}
.form-status.is-err{
  background: rgba(110, 22, 22, 0.86);
  border-color: rgba(255,255,255,0.18);
  color: #ffffff;
} 


/* En el formulario solo el botón de enviar debe ocupar el ancho completo.
   Si aplicamos width:100% a todos los botones, el enlace “Política de privacidad”
   salta de línea y empuja el botón de enviar fuera de vista en móviles. */
.contact-form .form-footer button[type="submit"]{
  width: 100%;
}
.contact-form .link-like{
  width: auto;
}


/* Cursos: más aire entre subtítulo y tarjeta */
#cursos .section-subtitle{ margin-bottom: 22px; }

/* =========================
   Testimonios
========================= */

.t-center{ text-align:center; }

.t-hero{
  position: relative;
  padding: 84px 0 56px;
  background:
    linear-gradient(180deg, rgba(34,71,67,0.72) 0%, rgba(34,71,67,0.58) 35%, rgba(34,71,67,0.70) 100%),
    var(--testimonios-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.t-hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(79,209,199,0.18), transparent 60%),
    radial-gradient(700px 420px at 92% 40%, rgba(240,216,169,0.14), transparent 60%);
  pointer-events:none;
}

.t-hero-frame{
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(247,227,155,0.22);
  border-radius: 26px;
  padding: 34px 22px;
  box-shadow: 0 18px 70px rgba(0,0,0,0.22);
  backdrop-filter: blur(8px);
}

.t-kicker{
  margin: 0 0 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(247,227,155,0.94); text-shadow: 0 12px 28px rgba(0,0,0,0.55);
  font-weight: 700;
}

.t-title{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(34px, 5.2vw, 56px);
  color: var(--goldHi);
  text-shadow: 0 12px 34px rgba(0,0,0,0.18);
}

.t-lead{
  margin: 12px auto 0;
  max-width: 62ch;
  color: rgba(246,244,238,0.92); text-shadow: 0 14px 34px rgba(0,0,0,0.45);
  font-size: 16px;
}

/* ===== Testimonios: fondo de la sección del carrusel ===== */
.section.section-soft.t-section{
  position: relative;
  background:
    linear-gradient(180deg, rgba(31,63,59,0.74) 0%, rgba(34,71,67,0.70) 45%, rgba(31,63,59,0.78) 100%),
    var(--testimonios-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-top: 1px solid rgba(179,165,130,0.10);
}

/* Elevar contenido sobre el overlay */
.section.section-soft.t-section .section-frame{
  position: relative;
  z-index: 1;
}

/* Subtítulo guía del carrusel (legible sobre el fondo) */
.t-sub{
  color: rgba(246,244,238,0.90);
  text-shadow: 0 14px 34px rgba(0,0,0,0.45);
  font-weight: 600;
}

.t-actions{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.t-actions-bottom{ margin-top: 22px; }

.t-section .t-sub{
  margin-top: 6px;
}

/* Carrusel */
.t-carousel{
  position: relative;
  margin-top: 18px;
}

.t-viewport{
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 52px 12px;
}

.t-track{
  display: flex;
  gap: 16px;
}

.t-card{
  flex: 0 0 clamp(210px, 34vw, 270px);
  scroll-snap-align: center;
  background: var(--tCardBg, rgba(255,255,255,0.62));
  border: 1px solid var(--tCardBorder, rgba(42,85,80,0.16));
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  transition: transform .22s ease, box-shadow .22s ease;
}
.t-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 56px rgba(0,0,0,0.18);
}

.t-thumb{
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: block;
}

.t-thumb img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.t-play{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(42,85,80,0.80);
  border: 1px solid rgba(240,216,169,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
}

.t-card-body{
  padding: 14px 14px 16px;
}

.t-card-title{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--tCardTitle, var(--forest3));
}

.t-card-text{
  margin: 6px 0 0;
  color: var(--tCardText, var(--text));
  font-size: 14px;
}

/* Testimonios: tonos por tarjeta */
.t-card[data-tone]{
  border-color: rgba(240,216,169,0.22);
}


.t-carousel-head{
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
  z-index: 3;
}

.t-arrow{
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(240,216,169,0.30);
  background: rgba(42,85,80,0.92);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  transition: transform .18s ease, background .18s ease;

  backdrop-filter: blur(6px);
}

.t-arrow:hover{ transform: translateY(-1px) scale(1.03); }

.t-dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.t-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(42,85,80,0.35);
  background: rgba(42,85,80,0.20);
  cursor: pointer;
}

.t-dot.is-active{
  background: rgba(42,85,80,0.70);
}

/* Modal video */
.video-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.video-modal.is-open{ display: flex; }

.video-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}

.video-dialog{
  position: relative;
  width: min(700px, calc(100vw - 22px));
  max-height: calc(100vh - 22px);
  background:
    radial-gradient(900px 280px at 15% 0%, rgba(79,209,199,0.16), transparent 60%),
    radial-gradient(520px 240px at 92% 40%, rgba(240,216,169,0.12), transparent 60%),
    linear-gradient(180deg, var(--forest1) 0%, var(--forest2) 55%, var(--forest3) 100%);
  border: 1px solid rgba(240,216,169,0.22);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0,0,0,0.35);
}

.video-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(240,216,169,0.30);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}

.video-frame{
  padding: 14px;
}

.video-frame iframe{
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 110px);
  border: 0;
  border-radius: 14px;
  background: #000;
}

@media (max-width: 768px){
  .t-hero{ padding: 78px 0 52px; }
  .t-hero-frame{ padding: 28px 16px; }
  .t-viewport{ padding: 8px 40px 10px; }
  .t-card{ flex-basis: min(74vw, 300px); }
  .t-arrow{ width: 40px; height: 40px; font-size: 24px; }
}

@media (max-width: 420px){
  .t-viewport{ padding: 8px 28px 10px; }
}

@media (max-width: 640px){
  /* En móvil: 1 tarjeta por vista (JS ajusta el ancho exacto). */
  .t-viewport{ padding: 8px 18px 12px; }
  .t-track{ gap: 0; }
}


@media (max-width: 520px){
  .t-hero .btn-secondary{ background: rgba(0,0,0,0.28); border-color: rgba(247,227,155,0.30); }
}

.t-section{ padding: 54px 0; }


/* ===== Galería (Testimonios) ===== */
.g-section{
  position: relative;
  isolation: isolate;
  border-top: 1px solid rgba(179,165,130,0.10);
  background: url("imagenes/galeria_bkg_.jpg") center/cover no-repeat;
}
.g-section::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(12, 26, 24, .78) 0%,
    rgba(12, 26, 24, .38) 45%,
    rgba(239, 234, 225, .92) 100%
  );
  z-index: 0;
  pointer-events:none;
}
.g-section .section-frame{ position: relative; z-index: 1; }

.g-section .t-kicker{ color: rgba(242,224,188,0.92); }
.g-section .section-title{
  color: #f2e0bc;
  text-shadow: 0 14px 34px rgba(0,0,0,0.32);
}
.g-section .t-lead{
  color: rgba(246,244,238,0.92);
}

.g-carousel{
  margin-top: 18px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(42,85,80,0.16);
  border-radius: 18px;
  box-shadow: 0 16px 46px rgba(0,0,0,0.12);
  overflow: hidden;
}

.g-stage{
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  background: linear-gradient(180deg, rgba(247,241,234,0.35), rgba(247,241,234,0.18));
}

.g-figure{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.10);
  min-height: 240px;
}

.g-image{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: translateZ(0);
  transition: opacity .22s ease, transform .22s ease;
}

.g-image.is-fading{
  opacity: 0.25;
  transform: scale(1.01);
}

@media (min-width: 769px){
  /* En PC/Tablet: evita que la imagen del escenario se vea “cortada” por ser muy alta */
  .g-figure{ height: clamp(360px, 60vh, 640px); min-height: 360px; }
  .g-image{ height: 100%; object-fit: contain; background: rgba(0,0,0,0.10); }
}

.g-arrow{
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(240,216,169,0.30);
  background: rgba(42,85,80,0.92);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  transition: transform .18s ease, filter .18s ease;
}

.g-arrow:hover{
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.05);
}

.g-dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 10px 0;
}

.g-dot{
  cursor: pointer;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(42,85,80,0.35);
  background: rgba(42,85,80,0.20);
}

.g-dot.is-active{
  background: rgba(42,85,80,0.74);
}

.g-thumbs{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72px;
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  border-top: 1px solid rgba(42,85,80,0.10);
  background: rgba(255,255,255,0.50);
}

.g-thumb{
  width: 72px;
  height: 92px;
  padding: 0;
  border: 1px solid rgba(42,85,80,0.18);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.06);
  scroll-snap-align: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.g-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
}

.g-thumb.is-active{
  border-color: rgba(240,216,169,0.55);
  box-shadow: 0 14px 36px rgba(0,0,0,0.16);
  transform: translateY(-1px);
}

.g-actions{
  margin-top: 18px;
}

@media (max-width: 768px){
  .g-stage{
    grid-template-columns: 40px 1fr 40px;
    padding: 12px 10px;
  }
  .g-thumbs{
    grid-auto-columns: 64px;
  }
  .g-thumb{
    width: 64px;
    height: 82px;
  }
}


@media (max-width: 768px){
  .nav-menu a:hover{ transform: none; }
}



/* ===== Lightbox (Galería) ===== */
body.no-scroll{ overflow: hidden; }

.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(0,0,0,0.78);
  z-index: 2900; /* debajo del modal de contacto (3000) */
}
.lightbox.is-open{ display: flex; }

.lightbox__img{
  max-width: min(96vw, 1100px);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  touch-action: pinch-zoom;
  background: rgba(255,255,255,0.02);
}

.lightbox__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}


.lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.30);
}
.lightbox__nav:hover{ transform: translateY(-50%) scale(1.04); }

.lightbox__prev{ left: 14px; }
.lightbox__next{ right: 14px; }

@media (max-width: 520px){
  .lightbox__nav{ width: 42px; height: 42px; font-size: 26px; }
}


.g-figure, .g-image{ cursor: zoom-in; }
