/* RizoTEA con Coral - estética educativa (clara, alegre, cuidada) */
:root{
  --bg0: #F7FBFF;
  --bg1: #FFFFFF;
  --ink: #0E2A34;
  --muted: #4C6B78;

  --a: #46C7C7;
  --b: #9C86FF;
  --c: #FFD8A1;

  --line: rgba(14,42,52,.10);
  --shadow: 0 18px 60px rgba(14,42,52,.10);
  --shadow2: 0 10px 30px rgba(14,42,52,.10);

  --r: 18px;
  --r2: 26px;
  --container: 1140px;
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(70,199,199,.22), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(156,134,255,.18), transparent 58%),
    radial-gradient(900px 520px at 55% 110%, rgba(255,216,161,.22), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }

.container{
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
}

.skip{
  position:absolute; left:-999px; top:12px;
  padding:10px 14px; border-radius:12px;
  background:#fff; color:#000; z-index:9999;
  box-shadow: var(--shadow2);
}
.skip:focus{ left:12px; }

.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display:flex; align-items:center; gap: 12px;
  min-width: 240px;
}
.brand__logo{
  width: 38px; height: 38px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(70,199,199,.18);
  border: 1px solid rgba(14,42,52,.08);
  background:#fff;
}
.brand__text strong{ display:block; font-weight: 900; letter-spacing: .2px; }
.brand__text span{ display:block; font-size: 12.5px; color: rgba(14,42,52,.60); }

.nav{
  display:flex; align-items:center; gap: 12px;
}
.nav__link{
  font-weight: 800;
  font-size: 14px;
  color: rgba(14,42,52,.70);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav__link:hover{
  color: var(--ink);
  background: rgba(70,199,199,.10);
}
.nav__cta{
  font-weight: 900;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(70,199,199,.95), rgba(156,134,255,.90));
  color: #08313A;
  box-shadow: 0 16px 40px rgba(70,199,199,.18);
}
.nav__cta:hover{ filter: brightness(1.02); }

/* HERO */
.hero{
  padding: 52px 0 40px;
  position: relative;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

.pill{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--line);
  color: rgba(14,42,52,.72);
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(14,42,52,.06);
}
.dot{
  width: 10px; height: 10px; border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--a));
  box-shadow: 0 0 0 6px rgba(70,199,199,.18);
}

.hero h1{
  margin: 16px 0 10px;
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.02;
  font-size: clamp(34px, 4.2vw, 58px);
}
.grad{
  background: linear-gradient(90deg, var(--a), var(--b));
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}
.lead{
  color: rgba(14,42,52,.74);
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 54ch;
}

.hero__actions{
  display:flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(14,42,52,.06);
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.86); }
.btn:active{ transform: translateY(0); }
.btn--primary{
  border: none;
  background: linear-gradient(135deg, rgba(70,199,199,.98), rgba(156,134,255,.90));
  color: #08313A;
  box-shadow: 0 22px 60px rgba(70,199,199,.22);
}
.btn--ghost{ background: transparent; box-shadow: none; }
.btn--full{ width:100%; }

.mini{ display:grid; gap: 10px; margin-top: 10px; }
.mini__card{
  display:flex; gap: 12px; align-items:center;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(14,42,52,.05);
}
.mini__icon{ font-size: 18px; }
.mini__card strong{ display:block; font-weight: 950; letter-spacing: .2px; }
.mini__card span{ display:block; font-size: 13px; color: rgba(14,42,52,.65); margin-top: 2px; }

/* Slider */
.slider{
  border-radius: var(--r2);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.slider__top{
  display:flex; align-items:center; justify-content:space-between;
  gap: 10px;
  padding: 14px 14px 10px;
}
.slider__title{
  display:flex; align-items:center; gap: 10px;
}
.spark{
  width: 38px; height: 38px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(255,216,161,.70), rgba(70,199,199,.22));
  border: 1px solid rgba(14,42,52,.08);
}
.slider__title strong{ display:block; font-weight: 950; }
.slider__title span{ display:block; font-size: 12.5px; color: rgba(14,42,52,.60); margin-top: 1px; }

.slider__controls{ display:flex; gap: 8px; }
.iconbtn{
  width: 38px; height: 38px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.80);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(14,42,52,.06);
}
.iconbtn:hover{ background: rgba(255,255,255,.96); }

.slider__viewport{
  position: relative;
  overflow: hidden;
}
.slider__track{
  display:flex;
  transition: transform .5s ease;
  will-change: transform;
}
.slide{
  min-width: 100%;
  height: 360px;
  margin:0;
  background: #fff;
}
.slide img{
  width:100%; height:100%;
  object-fit: cover;
}

.slider__dots{
  display:flex;
  justify-content:center;
  gap: 8px;
  padding: 10px 12px 0;
}
.dotbtn{
  width: 9px; height: 9px;
  border-radius: 99px;
  border: 0;
  background: rgba(14,42,52,.22);
  cursor: pointer;
}
.dotbtn[aria-current="true"]{
  background: linear-gradient(90deg, var(--a), var(--b));
  width: 22px;
}

.slider__chips{
  display:flex; flex-wrap:wrap; gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}
.chip{
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(14,42,52,.78);
  background: rgba(70,199,199,.10);
  border: 1px solid rgba(70,199,199,.18);
}
.chip--soft{
  background: linear-gradient(135deg, rgba(70,199,199,.12), rgba(156,134,255,.10));
  border: 1px solid rgba(14,42,52,.10);
}

.wave{
  position:absolute;
  inset:auto 0 -1px 0;
  height: 90px;
  background:
    radial-gradient(120px 50px at 12% 70%, rgba(70,199,199,.26), transparent 70%),
    radial-gradient(160px 60px at 32% 20%, rgba(156,134,255,.20), transparent 70%),
    radial-gradient(140px 60px at 72% 60%, rgba(255,216,161,.26), transparent 70%),
    linear-gradient(180deg, transparent, rgba(255,255,255,.90));
  mask-image: radial-gradient(900px 120px at 50% 70%, #000 55%, transparent 72%);
  opacity: .95;
}

/* SECCIONES */
.section{ padding: 58px 0; }
.section--tint{
  background: linear-gradient(180deg, rgba(70,199,199,.06), rgba(255,255,255,.00));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head{
  max-width: 75ch;
  margin-bottom: 18px;
}
.section__head h2{
  margin: 0 0 8px;
  font-family: "Fraunces", serif;
  letter-spacing: -.4px;
  font-size: clamp(26px, 2.6vw, 38px);
}
.section__head p{
  margin: 0;
  color: rgba(14,42,52,.72);
  line-height: 1.65;
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.card{
  padding: 18px 18px;
  border-radius: var(--r2);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(14,42,52,.08);
}
.card__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(70,199,199,.18), rgba(156,134,255,.12));
  border: 1px solid rgba(14,42,52,.08);
  margin-bottom: 10px;
  font-size: 18px;
}
.card h3{ margin: 0 0 8px; font-weight: 950; letter-spacing: .2px; }
.card p{ margin: 0; color: rgba(14,42,52,.72); line-height: 1.6; }

/* Grids */
.grid{ display:grid; gap: 16px; }
.grid--2{ grid-template-columns: 1.1fr .9fr; align-items: start; }

/* List */
.list{ display:grid; gap: 12px; }
.list__item{
  display:flex;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(14,42,52,.06);
}
.list__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(70,199,199,.10);
  border: 1px solid rgba(70,199,199,.18);
  flex: 0 0 auto;
}
.list__item strong{ display:block; font-weight: 950; }
.list__item p{ margin: 4px 0 0; color: rgba(14,42,52,.70); line-height: 1.55; }

/* Panel */
.panel{
  padding: 18px;
  border-radius: var(--r2);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(14,42,52,.10);
  box-shadow: var(--shadow2);
}
.panel h3{ margin: 0 0 10px; font-weight: 950; }
.chips{ display:flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.panel__cta{
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.panel__cta p{ margin: 0 0 10px; color: rgba(14,42,52,.72); }

/* Feature */
.feature{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
  align-items: center;
}
.feature__media{
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.feature__media img{ width: 100%; height: 100%; object-fit: cover; }

.kpis{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.kpi{
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  display:flex;
  align-items:center;
  gap: 10px;
  box-shadow: 0 12px 26px rgba(14,42,52,.05);
}
.kpi strong{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(156,134,255,.10);
  border: 1px solid rgba(156,134,255,.18);
}
.kpi span{ color: rgba(14,42,52,.72); font-weight: 900; font-size: 13px; }

.note{
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(70,199,199,.14), rgba(255,216,161,.18));
  border: 1px solid rgba(14,42,52,.10);
  margin-bottom: 12px;
}
.note p{ margin: 0; color: rgba(14,42,52,.78); line-height: 1.6; }

/* Map */
.map{
  border-radius: var(--r2);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.map iframe{
  width: 100%;
  height: 360px;
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.contact__card{
  padding: 18px;
  border-radius: var(--r2);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}
.contact__card--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
}
.contact__card h3{ margin: 0 0 12px; font-weight: 950; }

.contact__rows{ display:grid; gap: 10px; }
.contact__row{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
}
.contact__row:hover{ background: rgba(70,199,199,.08); }
.contact__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(70,199,199,.10);
  border: 1px solid rgba(70,199,199,.18);
  flex: 0 0 auto;
}
.contact__row strong{ display:block; font-weight: 950; }
.contact__row small{ display:block; color: rgba(14,42,52,.66); margin-top: 2px; }

.softbox{
  margin-top: 12px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(156,134,255,.12), rgba(70,199,199,.10));
  border: 1px solid rgba(14,42,52,.10);
}
.softbox__title{ margin: 0 0 8px; font-weight: 950; }
.softbox__text{ margin: 0; color: rgba(14,42,52,.74); line-height: 1.6; }

.ticks{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display:grid;
  gap: 10px;
}
.ticks li{
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  color: rgba(14,42,52,.78);
  font-weight: 800;
}

.cta-banner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(70,199,199,.14), rgba(156,134,255,.12));
  border: 1px solid rgba(14,42,52,.10);
}
.cta-banner strong{ display:block; font-weight: 950; }
.cta-banner span{ display:block; color: rgba(14,42,52,.66); margin-top: 2px; font-weight: 800; }

/* Footer */
.footer{
  padding: 26px 0 80px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}
.footer__brand strong{ display:block; font-weight: 950; }
.footer__brand span{ display:block; color: rgba(14,42,52,.66); margin-top: 2px; }
.footer__links{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__links a{
  color: rgba(14,42,52,.70);
  font-weight: 850;
  padding: 10px 10px;
  border-radius: 12px;
}
.footer__links a:hover{ color: var(--ink); background: rgba(70,199,199,.10); }
.footer__bottom{ margin-top: 10px; color: rgba(14,42,52,.60); }

/* Mobile action bar */
.mobilebar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  display: none;
  gap: 10px;
  background: linear-gradient(180deg, transparent, rgba(247,251,255,.86));
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  z-index: 60;
}
.mobilebar__btn{
  flex: 1;
  text-align:center;
  padding: 12px 12px;
  border-radius: 999px;
  font-weight: 950;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(14,42,52,.08);
}
.mobilebar__btn--primary{
  background: linear-gradient(135deg, rgba(70,199,199,.98), rgba(156,134,255,.90));
  border: none;
  color: #08313A;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }
  .feature{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .nav{ display: none; }
  .mobilebar{ display: flex; }
  .map iframe{ height: 320px; }
  .slide{ height: 300px; }
}

@media (max-width: 520px){
  .container{ width: min(var(--container), calc(100% - 28px)); }
  .slide{ height: 260px; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
}
