:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#4b5563;
  --line:rgba(10,20,32,.12);
  --teal:#6fd6d4;
  --teal-2:#39bdb9;
  --pink:#f6b6c2;
  --pink-2:#f19aac;
  --card:rgba(255,255,255,.86);
  --shadow: 0 18px 50px rgba(10,20,32,.14);
  --radius: 20px;
  --radius2: 26px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background: var(--bg);
  line-height:1.45;
}
img{max-width:100%;display:block}
a{color:inherit}
.container{
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
}
.skip{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip:focus{
  left:16px;top:16px;width:auto;height:auto;
  background:#fff;padding:10px 12px;border-radius:10px;box-shadow:var(--shadow);
  z-index:9999;
}

.topbar{
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.75);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
}
.topbar__left{
  display:flex; align-items:center; gap:10px;
}
.brand__mark{
  width:34px;height:34px;border-radius:12px;
  background:#fff;
  box-shadow: 0 10px 25px rgba(10,20,32,.10);
}
.topbar__title{
  font-weight:800;
  letter-spacing:.2px;
}
.topbar__right{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.chip{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.85);
  font-weight:700;
  font-size:14px;
}
.chip--wa{
  border-color: rgba(111,214,212,.45);
  background: rgba(111,214,212,.14);
}

.hero{
  position:relative;
  overflow:hidden;
  min-height: 74vh;
  display:flex;
  align-items:stretch;
}
.hero__bg{
  position:absolute; inset:0;
  background: url("../img/portada_blur.jpg") center/cover no-repeat;
  filter: saturate(1.05);
  transform: scale(1.03);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(255,255,255,.78), rgba(255,255,255,.35) 35%, rgba(255,255,255,.10) 62%, rgba(255,255,255,0) 75%),
    linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.65));
}
.hero__content{
  position:relative;
  padding: 42px 0 50px;
  display:grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 18px;
  align-items: start;
}
.hero__card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand__logo{
  width:68px;height:68px;border-radius: 18px;
  background:#fff;
  border:1px solid rgba(10,20,32,.08);
  padding:8px;
}
.brand__text h1{
  margin:0;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height:1.02;
  letter-spacing: .2px;
}
.brand__text p{
  margin:8px 0 0;
  color:var(--muted);
  font-weight:600;
}
.hero__cta{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top: 14px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px)}
.btn--primary{
  background: linear-gradient(135deg, var(--teal), var(--pink));
  color:#0b1220;
  box-shadow: 0 18px 40px rgba(57,189,185,.25);
}
.btn--ghost{
  background: rgba(255,255,255,.78);
  border-color: var(--line);
}
.btn--block{width:100%}

.hero__badges{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top: 14px;
}
.badge{
  display:inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10,20,32,.08);
  background: rgba(255,255,255,.75);
  font-weight: 800;
  font-size: 13px;
}

.hero__mini{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.mini-card{
  background: rgba(255,255,255,.80);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 16px 40px rgba(10,20,32,.12);
}
.mini-card h3{margin:0 0 8px}
.mini-card p{margin:0;color:var(--muted);font-weight:650}
.link{
  display:inline-block;
  margin-top:10px;
  color: #0b1220;
  text-decoration:none;
  font-weight:900;
}
.link:hover{text-decoration:underline}

.section{
  padding: 56px 0;
}
.section--alt{
  background:
    radial-gradient(900px 500px at 10% 20%, rgba(111,214,212,.18), rgba(255,255,255,0) 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(246,182,194,.18), rgba(255,255,255,0) 60%);
  border-top: 1px solid rgba(10,20,32,.06);
  border-bottom: 1px solid rgba(10,20,32,.06);
}
.section__head{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom: 18px;
}
.section__head h2{
  margin:0;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing:.2px;
}
.section__head p{margin:0;color:var(--muted);font-weight:650}
.section__foot{margin-top: 14px}

.grid{
  display:grid;
  gap: 14px;
}
.grid--3{grid-template-columns: repeat(3, 1fr)}
.grid--2{grid-template-columns: 1fr 1fr}

.card{
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 14px 35px rgba(10,20,32,.10);
}
.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--muted);font-weight:650}
.card--soft{
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82));
}

.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery--results{
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}
.gallery__item{
  padding:0;border:0;background:transparent;
  border-radius: 18px;
  overflow:hidden;
  cursor:pointer;
  box-shadow: 0 18px 44px rgba(10,20,32,.14);
  border: 1px solid rgba(10,20,32,.08);
}
.gallery__item img{
  width:100%;
  height: 220px;
  object-fit: cover;
  transition: transform .18s ease;
}
.gallery__item:hover img{transform: scale(1.03)}
.cta-row{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 16px;
}

.video{
  border-radius: 24px;
  overflow:hidden;
  border:1px solid rgba(10,20,32,.10);
  box-shadow: 0 18px 50px rgba(10,20,32,.14);
  background:#fff;
}
.video iframe{
  width:100%;
  aspect-ratio: 16/9;
  height:auto;
  display:block;
}

.stack{display:flex; flex-direction:column; gap:14px}
.muted{color:var(--muted); font-weight:650}
.list{margin:0; padding-left: 18px; color:var(--muted); font-weight:650}
.list a{color:inherit}
.btn-row{display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px}
.map{
  margin-top: 12px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(10,20,32,.10);
}
.map iframe{width:100%; height: 320px; border:0}

.form{margin-top: 12px; display:flex; flex-direction:column; gap: 10px}
.form__row{display:flex; flex-direction:column; gap:6px}
label{font-weight:850}
input, select, textarea{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(10,20,32,.16);
  outline:none;
  font-size: 15px;
  background: rgba(255,255,255,.92);
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(57,189,185,.7);
  box-shadow: 0 0 0 4px rgba(111,214,212,.22);
}
.fineprint{
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight:650;
}

.social-embed{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.social-fallback{
  background: rgba(255,255,255,.82);
  border:1px dashed rgba(10,20,32,.16);
  border-radius: 18px;
  padding: 14px;
}

.footer{
  padding: 26px 0;
  border-top: 1px solid rgba(10,20,32,.10);
  background: rgba(255,255,255,.92);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.footer__left{display:flex; align-items:center; gap:10px; color:var(--muted); font-weight:700}
.footer__logo{width:38px;height:38px;border-radius:14px; background:#fff; border:1px solid rgba(10,20,32,.08); padding:6px}
.footer__right p{margin:0; color:var(--muted); font-weight:700}
.footer__right a{text-decoration:none}
.footer__right a:hover{text-decoration:underline}

.wa-float{
  position:fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:900;
  background: linear-gradient(135deg, var(--teal), var(--pink));
  border: 1px solid rgba(10,20,32,.12);
  box-shadow: 0 18px 44px rgba(10,20,32,.18);
}
.wa-float__icon{
  width: 36px;height:36px;
  display:grid;place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
.wa-float__text{white-space:nowrap}

.lightbox{
  position:fixed; inset:0;
  display:none;
  z-index: 80;
}
.lightbox.is-open{display:block}
.lightbox__backdrop{
  position:absolute; inset:0;
  background: rgba(10,20,32,.72);
}
.lightbox__dialog{
  position:relative;
  width:min(960px, calc(100% - 18px));
  margin: 7vh auto;
  border-radius: 20px;
  overflow:hidden;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.18);
}
.lightbox__img{
  width:100%;
  height:min(70vh, 620px);
  object-fit: contain;
  background: rgba(10,20,32,.04);
}
.lightbox__close{
  position:absolute;
  top: 10px; right: 10px;
  width: 40px;height:40px;
  border-radius: 14px;
  border:1px solid rgba(10,20,32,.12);
  background: rgba(255,255,255,.9);
  font-size: 18px;
  cursor:pointer;
}
.lightbox__nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;height:44px;
  border-radius: 16px;
  border:1px solid rgba(10,20,32,.12);
  background: rgba(255,255,255,.9);
  font-size: 34px;
  line-height: 1;
  cursor:pointer;
}
.lightbox__prev{left: 10px}
.lightbox__next{right: 10px}
.lightbox__caption{
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 700;
  border-top: 1px solid rgba(10,20,32,.08);
}

.thanks{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:
    radial-gradient(900px 500px at 10% 20%, rgba(111,214,212,.18), rgba(255,255,255,0) 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(246,182,194,.18), rgba(255,255,255,0) 60%);
}
.thanks__card{
  width:min(760px, 100%);
  background: rgba(255,255,255,.92);
  border:1px solid rgba(10,20,32,.10);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow);
  text-align:center;
}
.thanks__logo{
  width: 86px;
  margin: 0 auto 10px;
  padding: 10px;
  background:#fff;
  border-radius: 22px;
  border:1px solid rgba(10,20,32,.08);
}
.thanks__card h1{margin:0 0 8px}
.thanks__card p{margin:0;color:var(--muted);font-weight:650}
.footer-mini{
  margin: 14px 0 0;
  text-align:center;
  color: var(--muted);
  font-weight:700;
}
.footer-mini a{text-decoration:none}
.footer-mini a:hover{text-decoration:underline}

/* Responsive */
@media (max-width: 980px){
  .hero__content{grid-template-columns:1fr; padding: 32px 0 42px}
  .grid--3{grid-template-columns: 1fr 1fr}
  .gallery{grid-template-columns: 1fr 1fr}
  .gallery__item img{height: 210px}
}
@media (max-width: 620px){
  .topbar__title{display:none}
  .grid--3{grid-template-columns: 1fr}
  .grid--2{grid-template-columns: 1fr}
  .gallery{grid-template-columns: 1fr}
  .gallery__item img{height: 240px}
  .wa-float__text{display:none}
  .lightbox__dialog{margin: 10vh auto}
  .lightbox__img{height: min(64vh, 520px)}
}

/* Reveal animation */
.card, .gallery__item, .mini-card, .video{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal{
  opacity: 1 !important;
  transform: translateY(0) !important;
}
