:root{
  --blanco:#ffffff;
  --rosa: rgba(249, 220, 228, 0.35);
  --verde: rgba(223, 245, 225, 0.35);
  --celeste: rgba(207, 233, 245, 0.35);
  --principal:#8DBFCB;
  --texto:#555;

  --zen: #f27ca4;

  --font-body: Helvetica, Arial, sans-serif;
  --font-titles: "Quicksand", sans-serif;

  --hero-media-offset: 90px;
  --contact-media-offset: 20px;
}

*{ margin:0; padding:0; box-sizing:border-box; scroll-behavior:smooth; }

body{
  font-family: var(--font-body);
  color: var(--texto);
  background: linear-gradient(to bottom, var(--blanco) 0%, var(--rosa) 35%, var(--verde) 70%, var(--celeste) 100%);
  overflow-x:hidden;
}

.site-content{ opacity:1; transition: opacity .9s ease; }
body.preload .site-content{ opacity:0; }
body.loaded .site-content{ opacity:1; }

/* HEADER */
.header{
  position:fixed;
  top:0;
  width:100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 8%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  z-index:1000;
}

.logo-container{ display:flex; align-items:center; }
.logo-link{ display:inline-flex; align-items:center; text-decoration:none; line-height:0; }
.logo{ width:173px; height:auto; }

.nav-superior{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}
.nav-superior a{
  text-decoration:none;
  color: var(--principal);
  font-size:0.95rem;
  transition: .25s ease;
}
.nav-superior a:hover{ opacity:.75; }

.menu-toggle{
  display:none;
  border:none;
  background:transparent;
  color: var(--principal);
  font-size: 1.7rem;
  cursor:pointer;
}

/* SECCIONES + FADE */
section{
  min-height: 100vh;
  padding: 140px 10% 100px;
  display:flex;
  flex-direction:column;
  justify-content:center;

  opacity:0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
section.visible{ opacity:1; transform: translateY(0); }

/* Titulares */
.hero-subtitle, .section-title, h2, h3, h4{
  font-family: var(--font-titles);
  letter-spacing: .2px;
  font-weight: 700;
}

/* ✅ Justificado SIEMPRE (incluye móvil) */
p, .prose p, .hero-lead, .hero-body, .section-kicker, .acc-content, .clean-list li{
  text-align: justify;
  text-justify: inter-word;
}

/* HERO */
.hero{ position:relative; overflow:hidden; }
.hero-inner{
  position:relative;
  z-index:6;
  max-width: 980px;
  margin: 0 auto;
  text-align:center;
}
.hero-logo{
  width: min(320px, 62vw);
  height: auto;
  margin: 0 auto 14px;
  display:block;
  opacity: 0.98;
}
.hero-subtitle{
  font-size: 1.45rem;
  color: #6fa8b6;
  margin: 12px 0 12px;
  line-height: 1.25;
}
.hero-lead{
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0 auto 10px;
  max-width: 70ch;
}
.hero-body{
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 78ch;
}

/* HERO bullets SIN negrita + bullets color Zen */
.hero-bullets{
  list-style:none;
  margin: 18px auto 0;
  padding: 0;
  max-width: 560px;
  text-align: center;
}
.hero-bullets li{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin: 10px 0;
  font-weight: 400; /* ✅ no negrita */
  font-size: 1.15rem;
  color: #3f6f79;
}
.hero-bullets li::before{
  content:"•";
  color: var(--zen);
  font-size: 1.35rem;
  line-height: 1;
}

/* VIDEO */
.has-video{ position: relative; overflow: hidden; }
.has-video::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.20), rgba(255,255,255,0.08));
}
.has-video > *{ position: relative; z-index: 5; }

.watermark-parallax{
  position:absolute;
  left:0; right:0; bottom:0;
  z-index:1;
  pointer-events:none;
  opacity: 0.12;
  will-change: transform;
}
.watermark-hero{
  top: var(--hero-media-offset);
  height: calc(100% + var(--hero-media-offset));
}
.watermark-contacto{
  top: var(--contact-media-offset);
  height: calc(100% + var(--contact-media-offset));
}
.watermark-video{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position:center;
  display:block;
  filter: contrast(1.12) brightness(0.98) saturate(1.05);
}

/* Split secciones */
.section-split{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: stretch;
}

.section-content{
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.section-title{
  font-size: 2rem;
  margin-bottom: 10px;
  color:#6fa8b6;
  text-align:center;
}

.section-kicker{
  margin-bottom: 16px;
  color:#4f7f89;
  font-size: 1.05rem;
}

.prose p{
  line-height: 1.75;
  font-size: 1.05rem;
  max-width: 80ch;
  margin: 0 auto 12px;
}

/* Imagen derecha */
.section-side{
  display:flex;
  justify-content:center;
  align-items:center;
}
.side-img{
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  border: 1px solid rgba(141,191,203,0.22);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  opacity: 0.50;
  filter: saturate(0.95) contrast(1.03);
}

/* Accordion */
.accordion{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-top: 10px;
}
.acc-item{
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(141,191,203,0.22);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* Títulos desplegables en negrita */
.acc-summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 16px 16px;
  font-family: var(--font-titles);
  font-weight: 800;
  color:#4f7f89;
}
.acc-summary::-webkit-details-marker{ display:none; }

.acc-content,
.acc-content *{
  font-weight: 400;
}

.acc-icon{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(141,191,203,0.12);
  border: 1px solid rgba(141,191,203,0.22);
  font-family: var(--font-titles);
  font-weight: 900;
  color:#4f7f89;
  flex: 0 0 auto;
}
.acc-content{ padding: 0 16px 16px 16px; }

.acc-lead{
  margin-top: 10px;
  margin-bottom: 6px;
  font-weight: 400;
  color:#4f7f89;
}

/* ✅ separación extra */
.acc-lead-spaced{ margin-top: 24px !important; }
.plain-lead-spaced{ margin-top: 24px !important; }

/* Bullets listas color Zen */
.clean-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding-left: 0;
  margin-top: 6px;
}
.clean-list li{
  position:relative;
  padding-left: 14px;
  line-height: 1.6;
}
.clean-list li::before{
  content:"•";
  position:absolute;
  left:0;
  color: var(--zen);
}

/* Citas */
.quote-line{
  margin-top: 18px;
  font-style: italic;
  font-weight: 400;
  color:#3f6f79;
  line-height: 1.65;
}

.asterisk-line{
  margin-top: 18px;
  color:#3f6f79;
  line-height: 1.65;
}

/* CONTACTO */
.contact-wrap{
  position: relative;
  z-index: 6;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-title,
.contact-form{
  width: min(900px, 100%);
}

.contact-title{ text-align: center; }

.contact-form{
  display:flex;
  flex-direction:column;
  gap: 14px;
  margin-top: 14px;
}
.contact-form input,
.contact-form textarea{
  width: 100%;
}

input, textarea{
  font-family: var(--font-body);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #ffffffdd;
}
input:focus, textarea:focus{
  outline:none;
  border-color: var(--principal);
}
button[type="submit"]{
  font-family: var(--font-body);
  padding: 12px;
  border-radius: 999px;
  border:none;
  background: var(--principal);
  color:#fff;
  font-weight: 800;
  cursor:pointer;
}

/* Footer */
.footer{
  text-align:center;
  padding: 25px;
  font-size: .9rem;
  background: rgba(255,255,255,0.6);
}

/* INTRO */
.intro{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.intro-hide{ opacity: 0; visibility: hidden; }

.intro-logo{
  width: min(520px, 82vw);
  height: auto;
  opacity: 0;
  transform: scale(0.94);
  filter: blur(10px);
}
body.intro-play .intro-logo{
  animation: introLogoIn 1.25s ease forwards;
}
@keyframes introLogoIn{
  0%{ opacity:0; transform: scale(0.92); filter: blur(10px); }
  55%{ opacity:1; filter: blur(0); }
  100%{ opacity:1; transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 980px){
  .section-split{ grid-template-columns: 1fr; }
  .section-side{ order: 2; }
}

@media (max-width: 600px){
  .menu-toggle{ display:block; }

  .nav-superior{
    display:none;
    position:absolute;
    top: calc(100% + 10px);
    right: 6%;
    width: min(320px, 88vw);
    padding: 14px;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    z-index: 2000;
  }
  .nav-superior.nav-open{ display:flex; }

  :root{
    --hero-media-offset: 65px;
    --contact-media-offset: 10px;
  }

  .logo{ width: 150px; }
  .hero-logo{ width: min(260px, 72vw); }
  .hero-subtitle{ font-size: 1.15rem; }
  .hero-bullets li{ font-size: 1.08rem; }
}

/* ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce){
  section{ transition:none; transform:none; opacity:1; }
  .watermark-parallax{ transform:none !important; }
  .intro-logo{ animation:none !important; opacity:1; transform:none; filter:none; }
  .intro{ transition:none; }
}