/* Base */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:#0b1b2b;
  background:#ffffff;
  line-height:1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Colores (sin :root) */
:focus{ outline: 2px solid #1f6fb6; outline-offset: 2px; }

/* Topbar */
.topbar{
  background:#f6fbff;
  border-bottom:1px solid #e7f1fb;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
}
.topbar-link{
  color:#1f6fb6;
  font-weight:600;
  font-size:14px;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:#ffffff;
  border-bottom:1px solid #eef3f8;
  backdrop-filter:saturate(140%) blur(6px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand-logo{
  height:34px;
  width:auto;
}
.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav-link{
  font-weight:700;
  font-size:14px;
  color:#23435f;
  padding:10px 6px;
  border-radius:10px;
}
.nav-link:hover{ background:#f3f8ff; }
.nav-link.is-active{ color:#1f6fb6; }

.nav-burger{
  display:none;
  border:0;
  background:transparent;
  padding:10px;
  border-radius:12px;
}
.nav-burger span{
  display:block;
  width:22px;
  height:2px;
  background:#23435f;
  margin:5px 0;
}

.nav-mobile{
  display:none;
  border-top:1px solid #eef3f8;
  padding:10px 0 16px;
}
.nav-m-link{
  display:block;
  padding:12px 0;
  font-weight:700;
  color:#23435f;
}
.nav-m-link.is-active{ color:#1f6fb6; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active{ transform: scale(.98); }

.btn-primary{
  background:#1f6fb6;
  color:#fff;
  border-color:#1f6fb6;
}
.btn-primary:hover{ background:#165a94; border-color:#165a94; }

.btn-outline{
  background:#fff;
  color:#1f6fb6;
  border-color:#cfe2f6;
}
.btn-outline:hover{ background:#f3f8ff; }

.btn-whatsapp{
  background:#0ea66a;
  color:#fff;
  border-color:#0ea66a;
}
.btn-whatsapp:hover{ background:#0b8756; border-color:#0b8756; }

/* Hero */
.hero{
  padding:44px 0 26px;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(31,111,182,.12), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(31,111,182,.10), transparent 60%),
    linear-gradient(#ffffff, #ffffff);
}
.hero-inner{
  display:flex;
  align-items:stretch;
  gap:24px;
}
.hero-copy{ flex: 1 1 520px; padding: 10px 0; }
.hero-copy h1{
  font-size:42px;
  line-height:1.08;
  margin:0 0 12px;
  letter-spacing:-0.5px;
}
.hero-copy p{
  margin:0 0 18px;
  color:#3b556e;
  font-size:16px;
  max-width: 44ch;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }

.hero-mini{ margin-top:22px; display:flex; gap:16px; flex-wrap:wrap; }
.mini-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:16px;
  background:#ffffff;
  border:1px solid #eef3f8;
}
.mini-dot{
  width:10px; height:10px; border-radius:99px;
  background:#1f6fb6;
  margin-top:6px;
}

.hero-media{ flex: 1 1 520px; position:relative; min-height: 320px; }
.hero-banner{
  border-radius:22px;
  overflow:hidden;
  border:1px solid #eaf1f8;
  background:#ffffff;
  box-shadow: 0 18px 50px rgba(11,27,43,.08);
}
.hero-banner img{ width:100%; height:auto; }
.hero-wave{
  position:absolute;
  right:-28px;
  bottom:-22px;
  width:220px;
  height:220px;
  border-radius:60px;
  background: rgba(31,111,182,.10);
  transform: rotate(10deg);
  filter: blur(0px);
}

/* Page head */
.page-head{ padding:28px 0 10px; }
.page-head-inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.page-head h1{ margin:0 0 6px; font-size:34px; letter-spacing:-0.4px; }

.muted{ color:#5a7188; font-size:14px; }

/* Strip */
.strip{
  padding:22px 0;
  border-top:1px solid #eef3f8;
  border-bottom:1px solid #eef3f8;
  background:#fbfdff;
}
.strip-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.strip-left h2{ margin:0 0 6px; font-size:20px; }
.strip-left p{ margin:0; }

/* Gallery (fluida, sin “cuadros”) */
.gallery{ padding:22px 0 34px; }
.gallery-grid{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
.g-item{
  flex: 1 1 320px;
  min-width: 260px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid #eaf1f8;
  background:#ffffff;
  position:relative;
  box-shadow: 0 14px 40px rgba(11,27,43,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.g-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(11,27,43,.10);
}
.g-item img{ width:100%; height:auto; display:block; }

.g-cap{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.86);
  border:1px solid rgba(234,241,248,.9);
  backdrop-filter: blur(6px);
}
.g-title{ font-weight:900; color:#123049; }
.g-cta{ font-weight:900; color:#1f6fb6; }

/* Footer */
.footer{
  padding:26px 0 12px;
  border-top:1px solid #eef3f8;
  background:#ffffff;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer-logo{ height:28px; width:auto; }
.footer-links{ display:flex; gap:16px; flex-wrap:wrap; }
.footer-links a{ color:#23435f; font-weight:800; }
.footer-links a:hover{ color:#1f6fb6; }
.footer-bottom{ padding:12px 0 0; }

/* Responsive */
@media (max-width: 920px){
  .hero-inner{ flex-direction:column; }
  .hero-copy h1{ font-size:36px; }
}
@media (max-width: 760px){
  .nav{ display:none; }
  .nav-burger{ display:inline-block; }
  .nav-mobile.is-open{ display:block; }
  .page-head-inner{ align-items:flex-start; }
}