/* =====================================================================
   Demo Constructoras — identidad visual Ñande Solución
   Azul marino #0d3080 → #1e5fc8 · Amarillo logo #FFC72C · Cian #06b6d4
   Tipografías: Plus Jakarta Sans (títulos) + Inter (texto)
   ===================================================================== */
:root {
  --navy-950: #061540;
  --navy-900: #0a2260;
  --navy: #0d3080;
  --blue: #1e5fc8;
  --blue-50: #f0f4ff;
  --blue-100: #dbeafe;
  --yellow: #ffc72c;
  --yellow-600: #f5a700;
  --cyan: #06b6d4;
  --wa: #25d366;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --grad: linear-gradient(135deg, #0d3080, #1e5fc8);
  --grad-dark: linear-gradient(160deg, #061540 0%, #0d3080 60%, #1e5fc8 130%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 12px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px rgba(13, 48, 128, .10);
  --shadow-lg: 0 24px 60px rgba(13, 48, 128, .18);
  --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-yellow { color: var(--yellow); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700;
  color: var(--navy); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .9rem;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); }
.lead { font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted-2); }

/* ---------- Botones (píldora, como ndesolucion.com) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.75rem; border-radius: 50px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; transition: all .3s var(--ease); white-space: nowrap;
  background: var(--grad); color: #fff; box-shadow: 0 4px 20px rgba(13, 48, 128, .25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13, 48, 128, .32); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--yellow { background: var(--yellow); color: var(--navy-950); box-shadow: 0 6px 22px rgba(255, 199, 44, .35); }
.btn--yellow:hover { background: #ffd24f; box-shadow: 0 10px 28px rgba(255, 199, 44, .45); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, .3); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--sm { padding: .6rem 1.25rem; font-size: .875rem; }
.btn--lg { padding: 1rem 2.4rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--blue); }
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Barra demo ---------- */
.demo-bar {
  background: var(--navy-950); color: #cbd5e1; font-size: .82rem; text-align: center;
  padding: .55rem 1rem; position: relative; z-index: 60;
}
.demo-bar a { color: var(--yellow); font-weight: 600; margin-left: .35rem; white-space: nowrap; }
.demo-bar img { display: inline-block; width: 18px; height: 18px; border-radius: 4px; vertical-align: -4px; margin-right: .35rem; object-fit: cover; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-head); }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(13, 48, 128, .3); flex-shrink: 0;
}
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.logo__tag { font-size: .68rem; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: 1.2px; }
.nav__list { display: flex; gap: .35rem; }
.nav__link { padding: .5rem .9rem; border-radius: 50px; font-weight: 500; font-size: .93rem; color: var(--muted); transition: all .2s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--navy); background: var(--blue-50); }
.header__cta { display: flex; align-items: center; gap: .6rem; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: #fff; padding: 1.5rem 1.25rem 2rem;
  transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer__link { display: block; padding: 1rem .25rem; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer__foot { display: grid; gap: .75rem; margin-top: 2rem; }

/* ---------- Estado abierto/cerrado ---------- */
.status {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 50px;
  font-size: .82rem; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--muted);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }
.status.is-open .status__dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); animation: pulse 2s infinite; }
.status.is-closed .status__dot { background: #f59e0b; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 4.5rem; background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(13,48,128,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13,48,128,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 30%, transparent 75%);
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.hero__blob--1 { width: 420px; height: 420px; background: #c7d7ff; top: -120px; right: 8%; }
.hero__blob--2 { width: 300px; height: 300px; background: #fff1c2; bottom: -80px; left: -60px; }
.hero__layout { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 1.4rem; }
.hero__copy .eyebrow { margin: 0; }
.hero__ctas { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); margin: .25rem 0 0; }
.fact__label { font-size: .75rem; color: var(--muted-2); font-weight: 500; }
.fact__value { margin: .15rem 0 0; font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.hero__visual { position: relative; }
.hero__img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.3; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero__visual::before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px; border-radius: 32px; background: var(--grad); z-index: -1; opacity: .12;
}
.float-card {
  position: absolute; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-radius: 16px; padding: .85rem 1rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .75rem; font-size: .85rem; animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.float-card span { color: var(--muted-2); font-size: .78rem; }
.float-card__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.float-card--a { left: -28px; top: 12%; }
.float-card--a .float-card__ico { background: #fff7db; color: var(--yellow-600); }
.float-card--b { right: -22px; bottom: 14%; animation-delay: -3s; min-width: 220px; flex-direction: column; align-items: stretch; gap: .5rem; }
.progress { height: 8px; background: var(--blue-50); border-radius: 8px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 72%; background: var(--grad); border-radius: 8px; }
.float-card--c { left: 10%; bottom: -18px; animation-delay: -1.5s; }
.float-card--c .float-card__ico { background: var(--blue-50); color: var(--navy); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: var(--blue-50); }
.section--dark { background: var(--grad-dark); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--yellow); }
.section--dark .lead, .section--dark .muted { color: #a9b8d8; }
.section--dark .link-arrow { color: var(--yellow); }
.section-head { margin-bottom: 2.75rem; max-width: 760px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; max-width: none; }
.section-head .lead { margin-top: 1rem; }
.page-hero { padding: 3.5rem 0 3rem; background: linear-gradient(180deg, #f0f4ff, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero .lead { margin-top: 1rem; max-width: 640px; }
.breadcrumb { font-size: .85rem; color: var(--muted-2); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Servicios ---------- */
.services-preview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.services-preview__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.services-preview__aside .eyebrow { margin: 0; }
.rounded-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.rounded-img img { width: 100%; height: 100%; object-fit: cover; }
.note {
  display: flex; gap: .85rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: #fffbeb;
  border: 1px solid #fde68a; font-size: .93rem; color: var(--text);
}
.note strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.note__ico { color: var(--yellow-600); flex-shrink: 0; margin-top: 2px; }
.service-list { display: grid; gap: 1rem; }
.service-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: start; padding: 1.4rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: all .3s var(--ease);
}
.service-card:hover { border-color: #bcd0ff; box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card__ico { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--navy); display: grid; place-items: center; }
.service-card__ico svg { width: 24px; height: 24px; }
.service-card:hover .service-card__ico { background: var(--grad); color: #fff; }
.service-card h3 { font-size: 1.08rem; }
.service-card p { color: var(--muted); font-size: .93rem; margin-top: .3rem; }
.service-card__meta { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.tag { display: inline-block; padding: .25rem .7rem; border-radius: 50px; background: var(--blue-50); color: var(--navy); font-size: .74rem; font-weight: 600; white-space: nowrap; }
.tag--yellow { background: #fff7db; color: #8a5a00; }
.service-card__cta { font-size: .85rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.service-card__cta:hover { text-decoration: underline; }
.cat-block + .cat-block { margin-top: 3rem; }
.cat-block > h2 { font-size: 1.5rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.cat-block > h2 .tag { font-size: .8rem; }

/* ---------- Proceso / etapas ---------- */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; counter-reset: st; }
.stages::before {
  content: ''; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 8px, transparent 8px 16px);
}
.stage { position: relative; text-align: center; padding: 0 .5rem; }
.stage__n {
  width: 62px; height: 62px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--navy-950); background: var(--yellow);
  box-shadow: 0 0 0 8px rgba(255, 199, 44, .15); position: relative;
}
.stage h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.stage p { font-size: .9rem; color: #a9b8d8; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.stat { text-align: center; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: #fff; line-height: 1; }
.stat__label { margin-top: .5rem; font-size: .88rem; color: #a9b8d8; }

/* ---------- Pasos (cómo pedir) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step {
  position: relative; padding: 2rem 1.6rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  counter-increment: step; transition: all .3s var(--ease);
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 1.1rem;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.how__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.how__media img { width: 100%; height: 100%; object-fit: cover; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.check::before { content: '✓'; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: #15803d; font-weight: 700; font-size: .8rem; }

/* ---------- Equipo ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.pro-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .35s var(--ease); display: flex; flex-direction: column; }
.pro-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.pro-card__img { aspect-ratio: 4 / 4.4; overflow: hidden; position: relative; }
.pro-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s var(--ease); }
.pro-card:hover .pro-card__img img { transform: scale(1.05); }
.pro-card__days { position: absolute; left: 1rem; bottom: 1rem; background: rgba(6, 21, 64, .82); color: #fff; backdrop-filter: blur(6px); padding: .35rem .8rem; border-radius: 50px; font-size: .78rem; font-weight: 600; }
.pro-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pro-card__role { color: var(--blue); font-weight: 600; font-size: .88rem; }
.pro-card__bio { color: var(--muted); font-size: .93rem; }
.pro-card__tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.pro-card__foot { margin-top: auto; padding-top: .8rem; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { padding: .55rem 1.2rem; border-radius: 50px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-weight: 600; font-size: .88rem; transition: all .2s; }
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.is-active { background: var(--grad); border-color: transparent; color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery--preview .work:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.work { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: #0a2260; border: 0; padding: 0; text-align: left; }
.gallery--preview .work:nth-child(1) { aspect-ratio: auto; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 21, 64, .88)); }
.work:hover img { transform: scale(1.06); }
.work__info { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 1; color: #fff; }
.work__info strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.work__info span { font-size: .82rem; color: #cbd5e1; }
.work__tag { position: absolute; top: 1rem; left: 1rem; z-index: 1; background: var(--yellow); color: var(--navy-950); padding: .25rem .7rem; border-radius: 50px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.work[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 12, 36, .94); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox img { max-height: 78vh; width: 100%; object-fit: contain; border-radius: 16px; }
.lightbox figcaption { color: #fff; margin-top: 1rem; text-align: center; }
.lightbox figcaption span { color: #94a3b8; display: block; font-size: .9rem; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Reseñas ---------- */
.rating { display: flex; align-items: center; gap: .8rem; }
.rating__num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--navy); line-height: 1; }
.stars { color: var(--yellow-600); letter-spacing: 2px; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.review::before { content: '“'; position: absolute; top: .4rem; right: 1.2rem; font-family: Georgia, serif; font-size: 4rem; color: var(--blue-100); line-height: 1; }
.review p { color: var(--text); font-size: .95rem; flex: 1; }
.review__who { display: flex; align-items: center; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); font-size: .9rem; flex-shrink: 0; }
.review__who strong { display: block; font-size: .92rem; color: var(--ink); }
.review__who span { font-size: .8rem; color: var(--muted-2); }

/* ---------- Ubicación ---------- */
.location { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: stretch; }
.location__info { display: flex; flex-direction: column; gap: 1.25rem; }
.location__info .eyebrow { margin: 0; }
.address { display: flex; gap: .85rem; align-items: flex-start; }
.address__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.address strong { display: block; color: var(--ink); font-size: 1.05rem; }
.hours { display: grid; gap: .1rem; width: 100%; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.hours__row.is-today { font-weight: 700; color: var(--navy); }
.hours__row span:last-child { font-variant-numeric: tabular-nums; }
.cluster { display: flex; flex-wrap: wrap; gap: .75rem; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 400px; box-shadow: var(--shadow); background: #e8eefc; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background:
  linear-gradient(rgba(13,48,128,.06) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(13,48,128,.06) 1px, transparent 1px) 0 0 / 32px 32px, #eef3ff; }
.map__road { position: absolute; background: #fff; box-shadow: 0 0 0 1px #dbe4fb; }
.map__road--h { left: 0; right: 0; top: 55%; height: 18px; }
.map__road--v { top: 0; bottom: 0; left: 38%; width: 14px; transform: skewX(-8deg); }
.map__road--d { left: -10%; right: -10%; top: 25%; height: 10px; transform: rotate(-12deg); }
.map__pin { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.map__pin-ico { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(13,48,128,.35); }
.map__pin-ico svg { transform: rotate(45deg); color: var(--yellow); width: 24px; height: 24px; }
.map__label { background: #fff; padding: .5rem 1rem; border-radius: 50px; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow-sm); color: var(--ink); }
.map .btn { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; }

/* ---------- FAQ ---------- */
.acc { display: grid; gap: .75rem; }
.acc__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc__item[open] { border-color: #bcd0ff; box-shadow: var(--shadow-sm); }
.acc__item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.35rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after { content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s var(--ease); }
.acc__item[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.acc__item p { padding: 0 1.35rem 1.25rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px; background: var(--grad-dark); color: #cbd5e1;
}
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 199, 44, .12); }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #a9b8d8; margin-top: .5rem; }
.cta-band .cluster { position: relative; z-index: 1; }

/* ---------- Banner Ñande (venta) ---------- */
.agency-band { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 1.75rem; border-radius: var(--radius-lg); background: #fff; border: 1.5px dashed #bcd0ff; }
.agency-band img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.agency-band h3 { font-size: 1.1rem; }
.agency-band p { color: var(--muted); font-size: .93rem; margin-top: .2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #94a3b8; padding: 4rem 0 6rem; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer .logo__name { color: #fff; }
.footer .logo__tag { color: #7c8db5; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer__list { display: grid; gap: .55rem; }
.footer__list a:hover { color: var(--yellow); }
.footer .hours__row { border-color: rgba(255,255,255,.08); padding: .4rem 0; font-size: .88rem; }
.footer .hours__row.is-today { color: var(--yellow); }
.footer .status { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #cbd5e1; }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.credit { display: inline-flex; align-items: center; gap: .5rem; }
.credit img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.credit a { color: #fff; font-weight: 600; }
.credit a:hover { color: var(--yellow); }

/* ---------- Barra móvil + WhatsApp flotante ---------- */
.mobile-bar { display: none; }
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Modal demo ---------- */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(4, 12, 36, .6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.is-open { display: flex; animation: fade .25s; }
.modal__box { background: #fff; border-radius: 24px; max-width: 480px; width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: rise .35s var(--ease); }
.modal__head { background: var(--grad-dark); color: #fff; padding: 1.5rem 1.6rem; display: flex; gap: 1rem; align-items: center; position: relative; }
.modal__head img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.modal__head h3 { color: #fff; font-size: 1.15rem; }
.modal__head p { color: #a9b8d8; font-size: .85rem; }
.modal__close { position: absolute; top: .8rem; right: .8rem; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem; }
.modal__body { padding: 1.5rem 1.6rem 1.75rem; display: grid; gap: 1rem; }
.chat { background: #efeae2; border-radius: 16px; padding: 1rem; }
.chat__bubble { background: #d9fdd3; border-radius: 12px 12px 4px 12px; padding: .75rem .9rem; font-size: .88rem; white-space: pre-wrap; color: #111; margin-left: auto; max-width: 95%; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.chat__to { font-size: .75rem; color: #54656f; margin-bottom: .5rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Reserva ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 360px); gap: 2rem; align-items: start; }
.bstep { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.bstep + .bstep { margin-top: 1.25rem; }
.bstep__head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.bstep__n { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); font-size: .95rem; flex-shrink: 0; }
.bstep.is-locked { opacity: .5; pointer-events: none; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: all .2s; height: 100%; }
.opt label:hover { border-color: #bcd0ff; background: #fafcff; }
.opt input:checked + label { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(30, 95, 200, .12); }
.opt input:focus-visible + label { outline: 3px solid var(--yellow); outline-offset: 2px; }
.opt label img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.opt label strong { display: block; font-size: .93rem; color: var(--ink); }
.opt label small { color: var(--muted-2); font-size: .8rem; }
.opt__any { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-50); color: var(--navy); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.days { display: flex; gap: .55rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.day { flex: 0 0 auto; width: 70px; padding: .7rem .3rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; text-align: center; transition: all .2s; }
.day small { display: block; font-size: .72rem; color: var(--muted-2); text-transform: uppercase; font-weight: 600; }
.day strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.day:hover:not(:disabled) { border-color: #bcd0ff; }
.day.is-active { background: var(--grad); border-color: transparent; }
.day.is-active small, .day.is-active strong { color: #fff; }
.day:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: .5rem; margin-top: 1rem; }
.slot { padding: .6rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--text); transition: all .2s; }
.slot:hover { border-color: var(--blue); color: var(--blue); }
.slot.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.field { display: grid; gap: .4rem; }
.field + .field { margin-top: 1rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field textarea { font: inherit; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 95, 200, .12); }
.field textarea { min-height: 96px; resize: vertical; }
.summary { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--grad-dark); color: #cbd5e1; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-lg); }
.summary h3 { color: #fff; margin-bottom: 1.2rem; }
.summary dl { margin: 0 0 1.5rem; display: grid; gap: .1rem; }
.summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.summary dt { color: #8fa3cf; }
.summary dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.summary dd.is-empty { color: #5d73a6; font-weight: 400; }
.summary .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.summary small { display: block; margin-top: .9rem; font-size: .8rem; color: #8fa3cf; text-align: center; }

/* ---------- Animación reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .float-card--a { left: -10px; }
  .float-card--b { right: -10px; }
}
@media (max-width: 960px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .burger { display: flex; }
  .hero__layout, .services-preview, .how, .location, .booking { grid-template-columns: 1fr; }
  .hero { padding: 2rem 0 3.5rem; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__img { aspect-ratio: 4 / 3.2; }
  .services-preview__aside, .summary { position: static; }
  .stages { grid-template-columns: 1fr; gap: 1.25rem; text-align: left; }
  .stages::before { top: 0; bottom: 0; left: 30px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.35) 0 8px, transparent 8px 16px); }
  .stage { display: grid; grid-template-columns: 62px 1fr; gap: 0 1.1rem; text-align: left; padding: 0; }
  .stage__n { grid-row: span 2; margin: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .steps, .grid--3 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .agency-band { grid-template-columns: auto 1fr; }
  .agency-band .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__tag { display: none; }
  .header__cta .btn { display: none; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .float-card--a { left: 8px; top: 8px; }
  .float-card--b { right: 8px; bottom: 30px; min-width: 190px; }
  .float-card--c { display: none; }
  .steps, .grid--3, .reviews, .options { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery--preview .work:nth-child(1) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .service-card { grid-template-columns: auto 1fr; }
  .service-card__meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 7.5rem; }
  .map { min-height: 320px; }
  .wa-float { display: none; }
  .mobile-bar {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn--wa { width: 52px; padding: 0; flex-shrink: 0; }
  .agency-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ---- Mejoras: garantías, obras premium, reserva ---- */
.trust { padding: 1.6rem 0; background: #f0f4ff; border-block: 1px solid #dbeafe; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.trust__item { display: flex; gap: .8rem; align-items: flex-start; }
.trust__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg,#0d3080,#1e5fc8); color: #ffc72c; font-weight: 700; }
.trust__item p { margin: 0; font-size: .88rem; line-height: 1.45; color: #475569; }
.trust__item strong { display: block; color: #061540; font-family: var(--font-head); font-size: .95rem; }
@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust__grid { grid-template-columns: 1fr; gap: .9rem; } }

.gallery--preview .work:nth-child(1) { min-height: 520px; }
.work::after { background: linear-gradient(180deg, rgba(6,21,64,.05) 35%, rgba(6,21,64,.92)); }
.work__status { position: absolute; top: 1rem; left: 1rem; z-index: 1; padding: .35rem .75rem; border-radius: 50px; font-size: .74rem; font-weight: 700; backdrop-filter: blur(8px); }
.work__status.is-done { background: rgba(37,211,102,.92); color: #fff; }
.work__status.is-progress { background: rgba(255,199,44,.95); color: #061540; }
.work__type { display: inline-block; font-size: .7rem !important; letter-spacing: .12em; text-transform: uppercase; color: #ffc72c !important; font-weight: 700; margin-bottom: .25rem; }
.work__info strong { font-size: 1.2rem; margin-bottom: .45rem; }
.work__meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.work__meta span { font-size: .76rem !important; color: #fff !important; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: .25rem .6rem; border-radius: 50px; }
.work__bar { display: block; height: 5px; margin-top: .7rem; border-radius: 4px; background: rgba(255,255,255,.2); overflow: hidden; }
.work__bar i { display: block; height: 100%; background: #ffc72c; }
@media (max-width: 768px) { .gallery--preview .work:nth-child(1) { min-height: 360px; } }

.check-inline { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #475569; cursor: pointer; }
.check-inline input { width: 18px; height: 18px; accent-color: #1e5fc8; }
html, body { overflow-x: clip; }
.modal__body { grid-template-columns: minmax(0, 1fr); }
