/* =========================================================
   NEVA BITA — AJUSTE VISUAL COHERENTE DE PORTADA
   Cargar DESPUES de base, layout, components, home y responsive.
   No modifica el diseño de las otras paginas salvo cabecera/nav.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=DM+Sans:wght@400;500;600;700&display=swap');
:root {
  --nb-font-title: 'Amatic SC', cursive;
  --nb-font-body: 'Nunito Sans', system-ui, sans-serif;
  --nb-turquesa: #24B2B6;
  --nb-turquesa-profundo: #238B8E;
  --nb-rosa: #D070D2;
  --nb-lila: #B69AC5;
  --nb-azul-morado: #75508D;
  --nb-morado-profundo: #704293;
  --nb-celeste: #EAF8F8;
  --nb-celeste-vivo: #B3E7E7;
  --nb-blanco: #fff;
  --nb-texto: #55456E;
  --nb-texto-suave: #6D6480;
  --nb-card: rgba(250, 251, 253, .94);
  --nb-borde: rgba(36,178,182,.2);
  --nb-max: 1120px;
  --nb-max-wide: 1180px;
  --nb-sombra: 0 18px 46px rgba(58,56,92,.12);

--nb-font-body: 'DM Sans', sans-serif;
--nb-font-title: 'Amatic SC', cursive;

}
body {
  font-family: var(--nb-font-body);
  color: var(--nb-texto);
  background: linear-gradient(125deg, #EAF8F8 0%, #F1F7FC 52%, #F3E5F5 100%);
}
/* Recupera la cabecera original, sin brillo excesivo. */
.site-header {
  background: linear-gradient(108deg,#47B8BC 0%,#9BCFD9 46%,#C59ED5 78%,#D070D2 100%);
  color: white;
  padding-block: 13px;
  border-bottom: 0;
  box-shadow: none;
}
.site-header__title {
  font-family: var(--nb-font-title);
  font-weight: 700;
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  text-shadow: 0 2px 9px rgba(84,68,113,.12);
}
.site-header__snowflake {color:#fff;animation:none;}
.site-header__logo {filter:none;}
.site-nav {
  background: rgba(242,250,251,.96);
  gap: 5px;
  border-color:rgba(36,178,182,.16);
  padding-block: 11px;
}
.site-nav__link,.site-nav__link--active {
  font-family:var(--nb-font-body);
  font-size: .94rem;
  font-weight: 800;
  color: #795091;
  border-radius: 13px;
  text-decoration:none;
}
.site-nav__link--active {
  color:#704293;
  background:linear-gradient(125deg,rgba(36,178,182,.18),rgba(208,112,210,.14));
  border-color:rgba(36,178,182,.18);
  box-shadow:none;
}
/* Escenario: un unico fondo fotografico para la portada. */
.home-main {
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  gap:clamp(24px,4vw,48px);
  padding:clamp(40px,6vw,76px) 20px 76px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.home-main::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:1;
  transform:none;
  pointer-events:none;
  background:
   linear-gradient(180deg,rgba(236,248,252,.36) 0%,rgba(238,247,250,.18) 45%,rgba(240,235,248,.52) 100%),
   url('../../Images/SierraDia.jpg') center top/cover no-repeat;
}
.home-hero {
  width:min(100%,980px);
  min-height:0;
  padding:clamp(34px,5vw,60px) clamp(24px,6vw,70px);
  background:linear-gradient(135deg,rgba(240,250,251,.92),rgba(246,237,248,.9));
  border:1px solid rgba(255,255,255,.9);
  border-radius:24px;
  box-shadow:0 20px 54px rgba(52,69,95,.13);
  backdrop-filter:blur(8px);
}
.home-hero::after {display:none;}
.home-hero__content {max-width:800px;position:relative;z-index:1;}
.home-hero__title {
  font-family:var(--nb-font-title);
  font-size:clamp(3.5rem,6.4vw,6.4rem);
  font-weight:700;
  line-height:1.02;
  color:#21898E;
  max-width:900px;
  margin:0 auto 20px;
  text-shadow:none;
}
.home-hero__description {
  font-family:var(--nb-font-body);
  font-size:clamp(1.03rem,1.55vw,1.28rem);
  line-height:1.65;
  color:#55456E;
  max-width:620px;
  margin:0 auto 26px;
  font-weight:600;
}
.home-hero__button {
  background:linear-gradient(105deg,#269DA2,#B879CE);
  color:#fff;
  border:0;
  border-radius:14px;
  min-height:48px;
  padding:13px 26px;
  box-shadow:0 10px 24px rgba(113,90,159,.18);
}
.home-hero__button:hover {background:linear-gradient(105deg,#208B8D,#A661BE);}
.hero-note {color:#6B5D82;font-size:.95rem;margin:17px auto 0;}
/* Tres secciones construidas como una misma familia visual. */
.home-section {
  width:min(100%,1060px);
  max-width:1060px;
  margin:0 auto;
  padding:clamp(30px,4vw,48px);
  background:rgba(241,250,250,.95);
  border:1px solid rgba(255,255,255,.85);
  border-radius:22px;
  box-shadow:0 14px 34px rgba(46,66,92,.11);
  text-align:center;
  position:relative;
  z-index:1;
}
.home-section--soft {
  background:rgba(244,235,248,.95);
  border-color:rgba(208,112,210,.14);
}
.home-section__title {
  font-family:var(--nb-font-title);
  font-size:clamp(2.9rem,4.6vw,4.6rem);
  line-height:1.05;
  font-weight:700;
  letter-spacing:0;
  color:#21898E;
  margin:0 0 16px;
  text-shadow:none;
}
.home-section__intro {
  max-width:670px;
  margin:0 auto 27px;
  font-family:var(--nb-font-body);
  font-size:1.03rem;
  line-height:1.7;
  color:#655576;
}
.home-cards,.home-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.home-card {
  min-width:0;
  padding:27px 22px;
  background:linear-gradient(155deg,#F9FEFE,#EFF4FA);
  border:1px solid rgba(36,178,182,.20);
  border-radius:16px;
  box-shadow:none;
}
.home-card i {font-size:1.85rem;color:#24B2B6;margin-bottom:10px;}
.home-card h3,.home-step h3 {
  font-family:var(--nb-font-body);
  font-size:1.08rem;
  font-weight:800;
  color:#9251A9;
  margin:6px 0 9px;
}
.home-card p,.home-step p,.home-about p {
  font-family:var(--nb-font-body);
  color:#655576;
  font-size:.98rem;
  line-height:1.7;
  margin:0;
}
.home-step {padding:12px 12px 18px;}
.home-step span {
  display:grid;
  place-items:center;
  width:44px;height:44px;
  margin:0 auto 13px;
  border-radius:50%;
  color:#fff;
  font-family:var(--nb-font-body);
  font-weight:800;
  font-size:1rem;
  background:linear-gradient(135deg,#24B2B6,#B879CE);
}
.home-about {width:min(100%,850px);background:rgba(244,250,251,.97);}
.home-about p {max-width:650px;margin:0 auto 14px;}
.home-about__button {
  display:inline-flex;
  margin-top:16px;
  padding:12px 23px;
  border-radius:13px;
  background:linear-gradient(105deg,#269DA2,#B879CE);
  color:#fff;
  font-weight:800;
  font-family:var(--nb-font-body);
  text-decoration:none;
}
.home-about__button:hover {filter:brightness(.94);}
@media (max-width:760px) {
  .home-main {padding:28px 14px 48px;gap:22px;}
  .home-hero {padding:32px 21px;border-radius:19px;}
  .home-hero__title {font-size:clamp(3.1rem,11vw,4.5rem);}
  .home-hero__description {font-size:1rem;}
  .home-section {padding:29px 20px;border-radius:18px;}
  .home-cards,.home-steps {grid-template-columns:1fr;gap:14px;}
  .home-step {padding:8px 10px 15px;}
  .site-header__title {font-size:2.7rem;}
  .site-nav {gap:3px;}
  .site-nav__link,.site-nav__link--active {font-size:.85rem;padding:8px 10px;}
}
@media (prefers-reduced-motion:reduce) {
  .site-nav__link,.home-hero__button,.home-about__button {transition:none;}
}

/* TIPOGRAFÍA NEVA BITA */

body {
  font-family: var(--nb-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #55456E;
}

button,
input,
textarea,
select {
  font-family: var(--nb-font-body);
}

.site-nav,
.site-nav a {
  font-family: var(--nb-font-body);
  font-weight: 600;
}

.home-hero__title,
.home-section__title,
.about-card__title {
  font-family: var(--nb-font-title);
  font-weight: 700;
  letter-spacing: 0.015em;
}
