:root {
  --navy: #0A3D62;
  --blue: #0B5FA5;
  --sky: #29A9E0;
  --pale: #EAF6FD;
  --line: #D5EAF5;
  --text: #3E5B70;
  --wa: #25D366;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; transition: background .2s, color .2s; }
img, video { display: block; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; margin: 0; }
p { margin: 0; }

.container { max-width: 1140px; margin: 0 auto; }
section { scroll-margin-top: 80px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sky);
}
.h2 {
  font-weight: 800; font-size: clamp(28px, 4.2vw, 40px); line-height: 1.1;
  letter-spacing: -.015em; color: var(--blue); text-wrap: balance;
}
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.pad { padding: clamp(44px, 7vw, 96px) 20px; }
.pad-bottom { padding: 0 20px clamp(44px, 7vw, 96px); }
.bg-pale { background: var(--pale); }

.icon-circle {
  flex: none; border-radius: 50%; background: var(--pale);
  display: flex; align-items: center; justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--sky); color: #fff; }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h); background: #fff;
  box-shadow: 0 2px 16px rgba(10,61,98,.08);
  display: flex; align-items: center;
}
.header-inner {
  width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo img { height: clamp(46px, 6vw, 58px); width: auto; max-width: 100%; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); margin-left: auto; }
.nav a { color: var(--navy); font-weight: 600; font-size: 16px; padding: 8px 0; }
.nav a:hover { color: var(--sky); }
.header-wa { flex: none; height: 46px; padding: 0 20px; font-size: 15px; gap: 8px; }
.burger {
  display: none; flex: none; width: 48px; height: 48px; border-radius: 50%;
  border: none; background: var(--pale); color: var(--blue);
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  padding: 4px 20px 16px; flex-direction: column;
  box-shadow: 0 14px 24px rgba(10,61,98,.12);
}
.mobile-nav a {
  display: flex; align-items: center; height: 54px; color: var(--navy);
  font-weight: 600; font-size: 17px; border-bottom: 1px solid #E1EEF6;
}
.mobile-nav a:last-child { border-bottom: none; }
.header.open .mobile-nav { display: flex; }

/* Hero */
.hero {
  position: relative; margin-top: var(--header-h);
  min-height: min(86vh, 780px); display: flex; align-items: center;
  overflow: hidden; background: var(--blue);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 45%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,45,80,.78) 0%, rgba(6,45,80,.5) 45%, rgba(6,45,80,.05) 80%);
}
.hero-inner {
  position: relative; width: 100%; max-width: 1140px; margin: 0 auto;
  padding: clamp(56px, 10vw, 120px) 20px clamp(96px, 12vw, 170px);
}
.hero-content { max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.hero-badge {
  align-self: flex-start; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.hero h1 {
  font-weight: 800; font-size: clamp(34px, 5.4vw, 52px); line-height: 1.06;
  letter-spacing: -.02em; color: #fff; text-wrap: balance;
}
.hero p { font-size: clamp(17px, 2vw, 19px); line-height: 1.55; color: #fff; max-width: 560px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-ctas .btn { height: 58px; font-size: 17px; }
.hero-wa { flex: 1 1 220px; max-width: 320px; box-shadow: 0 10px 26px rgba(11,95,165,.4); }
.hero-call { flex: 0 1 170px; background: #fff; color: var(--blue); }
.hero-call:hover { background: var(--pale); color: var(--blue); }
.wave { position: absolute; left: 0; width: 100%; display: block; }
.hero .wave { bottom: -1px; height: clamp(44px, 7vw, 110px); }

/* Services */
#servicios { padding: clamp(32px, 6vw, 80px) 20px clamp(44px, 7vw, 96px); }
.services-wrap { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 48px); }
.services {
  display: grid; grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center; gap: 24px;
}
.service {
  background: #fff; border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 8px 28px rgba(10,61,98,.09);
}
.service-imgs { display: grid; grid-template-columns: 1fr; grid-template-rows: 100%; gap: 3px; aspect-ratio: 4/5; overflow: hidden; }
.service-imgs.two { grid-template-columns: 1fr 1fr; }
.service-imgs img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.service-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.service-title { display: flex; align-items: center; gap: 12px; }
.service-title .icon-circle { width: 48px; height: 48px; }
.service h3 { font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--blue); }
.service p { font-size: 17px; line-height: 1.5; color: var(--text); }

/* Condominios */
.condo {
  border-radius: 28px; overflow: hidden; background: var(--pale);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.condo > img { width: 100%; height: 100%; min-height: 240px; max-height: 460px; object-fit: cover; object-position: center 60%; }
.condo-body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.condo-tag { align-self: flex-start; display: flex; align-items: center; gap: 10px; }
.condo-tag .icon-circle { width: 40px; height: 40px; background: #fff; }
.condo h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.12; }
.condo p { font-size: 17px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.condo .btn { align-self: flex-start; margin-top: 4px; }

/* Quiénes somos */
.about {
  display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(24px, 5vw, 64px); align-items: center;
}
.about img {
  width: 100%; height: 420px; object-fit: cover; object-position: center 40%;
  border-radius: 24px; box-shadow: 0 10px 30px rgba(10,61,98,.12);
}
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text p { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 520px; text-wrap: pretty; }

/* Antes y después */
.stack { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 44px); }
.section-head .sub { font-size: 16px; line-height: 1.55; color: var(--text); }
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(18px, 3vw, 28px); }
.pair { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.compare {
  --pos: 50%;
  position: relative; width: 100%; aspect-ratio: 4/3; max-height: 340px;
  border-radius: 20px; overflow: hidden; background: var(--line);
  box-shadow: 0 8px 26px rgba(10,61,98,.12); user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .label {
  position: absolute; top: 12px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.compare .label-before { left: 12px; background: rgba(10,61,98,.82); color: #fff; }
.compare .label-after { right: 12px; background: #fff; color: var(--blue); }
.compare .divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.25); pointer-events: none;
}
.compare .handle {
  position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: #fff; border: 2px solid var(--sky);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--blue); font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); pointer-events: none;
}
.compare input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.pair figcaption { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--navy); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }

/* Por qué elegirnos */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(22px, 3vw, 36px); }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.feature .icon-circle { width: 72px; height: 72px; }
.feature h3 { font-weight: 700; font-size: 20px; color: var(--blue); }
.feature p { font-size: 17px; line-height: 1.55; color: var(--text); max-width: 300px; }

/* Video */
.video-wrap {
  max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: clamp(24px, 5vw, 64px);
}
.video-frame {
  flex: 0 0 auto; width: 320px; max-width: 100%; aspect-ratio: 9/16;
  border-radius: 24px; overflow: hidden; background: var(--navy);
  box-shadow: 0 12px 34px rgba(10,61,98,.18);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-text { flex: 1 1 280px; max-width: 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.video-text .btn { height: 54px; padding: 0 24px; }

/* Reseñas (estilo tarjetas de Google) */
.reviews-wrap { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 32px); }
.rev-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
.rev-title { display: flex; flex-direction: column; gap: 10px; }
.rev-controls { display: flex; align-items: center; gap: 12px; }
.g-logo { width: 24px; height: 24px; flex: none; }
.g-score {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(10,61,98,.07); color: var(--navy);
}
.g-score:hover { color: var(--navy); box-shadow: 0 4px 16px rgba(10,61,98,.14); }
.g-num { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 28px; line-height: 1; }
.g-meta { display: flex; flex-direction: column; gap: 2px; }
.g-meta small { font-size: 12.5px; font-weight: 600; color: var(--text); }
.stars { color: #F5A623; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.g-meta .stars { font-size: 14px; letter-spacing: 1px; }
.rev-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy);
  background: transparent; color: var(--navy); cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, opacity .2s;
}
.rev-arrow:hover:not(:disabled) { background: var(--navy); color: #fff; }
.rev-arrow:disabled { opacity: .3; cursor: default; }
.rev-arrow[hidden], .rev-progress[hidden] { display: none; }
.reviews {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; padding: 2px;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - 28px) / 3); scroll-snap-align: start;
  background: #fff; border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 3px rgba(10,61,98,.06);
}
.rev-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px;
}
.rev-name { flex: 1; display: flex; flex-direction: column; font-size: 16px; font-weight: 700; color: var(--navy); }
.rev-name small { font-size: 13px; font-weight: 500; color: #6B8295; }
.review p { font-size: 16px; line-height: 1.6; color: #23324a; }
.rev-tags { font-size: 13px; font-weight: 600; color: #6B8295; }
.rev-progress { height: 4px; border-radius: 2px; background: #D5E6F1; overflow: hidden; }
.rev-progress span { display: block; height: 100%; width: 100%; border-radius: 2px; background: var(--sky); transition: transform .3s, width .3s; }
.rev-all { align-self: center; height: 52px; padding: 0 24px; background: #fff; gap: 8px; }
.rev-all:hover { background: var(--blue); }

/* Cómo funciona */
.steps {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 3vw, 32px);
}
.steps li { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; background: var(--pale); }
.step-num {
  flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px;
}
.steps p { font-size: 16px; line-height: 1.5; color: var(--navy); font-weight: 600; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 2.4vw, 24px); }
.info-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); }
.info-card .icon-circle { width: 52px; height: 52px; }
.info-card div { display: flex; flex-direction: column; gap: 3px; }
.info-card .eyebrow { font-size: 12px; }
.info-card div span:last-child { font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--navy); }

/* Instagram */
.insta { padding: 0 20px clamp(44px, 7vw, 80px); }
.insta-box {
  padding: clamp(22px, 4vw, 36px) clamp(20px, 4vw, 44px); border-radius: 24px; background: var(--pale);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
}
.insta-info { display: flex; align-items: center; gap: 16px; }
.insta-info .icon-circle { width: 56px; height: 56px; background: #fff; color: var(--sky); }
.insta-info div { display: flex; flex-direction: column; gap: 3px; }
.insta-info strong { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.25; color: var(--blue); }
.insta-info span { font-size: 16px; font-weight: 600; color: var(--text); }
.insta-box .btn { height: 52px; padding: 0 24px; }

/* Contacto */
.contact { position: relative; background: var(--navy); padding: clamp(64px, 9vw, 110px) 20px clamp(44px, 6vw, 72px); }
.contact .wave { top: -1px; height: clamp(28px, 4vw, 60px); }
.contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.contact h2 { font-weight: 800; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.15; color: #fff; max-width: 620px; text-wrap: balance; }
.contact .btn { flex: 0 1 320px; height: 58px; font-size: 17px; background: var(--sky); color: #fff; }
.contact .btn:hover { background: #fff; color: var(--blue); }

/* Footer */
.footer { background: #072E4B; padding: clamp(36px, 5vw, 56px) 20px 28px; }
.footer .container { display: flex; flex-direction: column; gap: 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 32px; }
.footer-logo { align-self: flex-start; display: flex; background: #fff; border-radius: 14px; padding: 6px 12px; }
.footer-logo img { height: clamp(50px, 6vw, 60px); width: auto; max-width: 100%; object-fit: contain; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col .label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7FCBEE; }
.footer-col a, .footer-col span:not(.label) { color: #fff; font-size: 16px; line-height: 1.5; }
.footer-col a { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: #7FCBEE; }
.copy { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #B9D6E8; }

/* WhatsApp flotante / barra móvil */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 62px; height: 62px;
  border-radius: 50%; background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.wa-float:hover { background: #1EBE5A; color: #fff; }
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff;
  box-shadow: 0 -6px 20px rgba(10,61,98,.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1.4fr 1fr; gap: 10px;
}
.mobile-bar .btn { height: 52px; padding: 0; gap: 8px; }
.mobile-bar .bar-wa { background: var(--wa); color: #fff; }

/* Móvil */
@media (max-width: 899px) {
  :root { --header-h: 72px; }
  body { padding-bottom: 76px; }
  .nav, .header-wa, .hero-call, .wa-float { display: none; }
  .burger { display: flex; }
  .mobile-bar { display: grid; }

  .hero-img { object-position: 78% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(6,45,80,.35) 0%, rgba(6,45,80,.7) 100%); }

  .services {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px; padding: 4px 20px 14px; scroll-padding: 0 20px; scrollbar-width: none;
  }
  .services::-webkit-scrollbar { display: none; }
  .service { flex: 0 0 260px; scroll-snap-align: start; border-radius: 20px; box-shadow: 0 6px 20px rgba(10,61,98,.1); }
  .service-imgs { gap: 2px; }
  .service-body { padding: 16px 16px 20px; gap: 8px; }
  .service-title { gap: 10px; }
  .service-title .icon-circle { width: 42px; height: 42px; }
  .service-title svg { width: 21px; height: 21px; }
  .service h3 { font-size: 17px; }
  .service p { font-size: 15px; }

  .review { flex-basis: 85%; }
  .about { grid-template-columns: 1fr; }
  .about img { height: 280px; }
  .compare { max-height: 260px; }
  .video-frame { width: 260px; }
}
