/* ===== CHEA Civiles — estilos ===== */
:root {
  --blue: #1b4670;
  --blue-dark: #12324f;
  --cyan: #96d2dc;
  --cyan-soft: #d8eff3;
  --beige: #efefea;
  --ink: #2b2b2b;
  --muted: #5d6470;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 18px 40px -20px rgba(18, 50, 79, .35);
  --font-head: "Bitter", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.accent { color: var(--blue); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .8rem;
}

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .7rem 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--cyan); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== Encabezado ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 70, 112, .08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blue); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); background: linear-gradient(180deg, #fff 0%, var(--beige) 100%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.badge {
  display: inline-block; background: var(--cyan-soft); color: var(--blue-dark);
  padding: .5rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600; margin-bottom: 1.3rem;
}
.badge strong { color: var(--blue); }
.hero h1 .accent { display: block; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.8rem; }
.hero__facts li { display: flex; flex-direction: column; border-left: 3px solid var(--cyan); padding-left: .8rem; }
.hero__facts strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--blue); }
.hero__facts span { font-size: .85rem; color: var(--muted); }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 1 / 1; max-height: 520px; object-fit: cover;
  border-radius: var(--radius) var(--radius) var(--radius) 120px; box-shadow: var(--shadow);
}
.hero__card {
  position: absolute; left: -24px; bottom: 32px; display: flex; gap: .9rem; align-items: center;
  background: var(--white); padding: 1rem 1.2rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); max-width: 290px;
}
.hero__card strong { display: block; font-size: .95rem; }
.hero__card span { font-size: .82rem; color: var(--muted); }
.hero__card-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff !important;
  display: grid; place-items: center; font: 800 1.2rem var(--font-head);
}

/* ===== Secciones ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--light { background: var(--beige); }
.section--blue { background: var(--blue); color: #e6eef5; }
.section__head { max-width: 720px; margin: 0 auto 2.8rem; text-align: center; }
.section__head p:last-child { color: var(--muted); }
.section__head--light h2 { color: #fff; }
.section__head--light .eyebrow { color: var(--cyan); }
.section__head--light p:last-child { color: #cfdbe6; }

/* ===== Nosotros ===== */
.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__intro p { color: var(--muted); }
.about__intro p strong { color: var(--ink); }
.acronym { background: var(--cyan); border-radius: var(--radius); padding: 2rem 2.2rem; display: grid; gap: 1rem; }
.acronym__row { display: flex; align-items: center; gap: 1.2rem; font-style: italic; font-weight: 500; color: #fff; font-size: 1.25rem; }
.acronym__letter {
  font: 900 2.2rem/1 var(--font-head); font-style: normal; color: var(--blue);
  width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center;
}
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.mv__card { background: #fff; border-radius: var(--radius); padding: 2rem; }
.mv__card p { color: var(--muted); margin: 0; }
.mv__card--dark { background: var(--blue); }
.mv__card--dark h3 { color: #fff; }
.mv__card--dark p { color: #d5e2ee; }
.mv__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--cyan-soft); display: grid; place-items: center; margin-bottom: 1rem; }
.mv__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ¿Por qué CHEA? */
.why { margin-top: 3rem; }
.why__title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 1.4rem; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why__list li { background: #fff; border-radius: var(--radius-sm); padding: 1.3rem 1.3rem 1.3rem 3.4rem; position: relative; display: grid; gap: .3rem; }
.why__list li::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.35rem; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.why__list strong { font-size: 1rem; }
.why__list span { font-size: .9rem; color: var(--muted); }
.why__mv { margin: 1.6rem 0 0; font-size: .88rem; color: var(--muted); }
.why__mv strong { color: var(--ink); }

/* ===== Servicios ===== */
.tabs { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2.2rem; background: var(--beige); padding: .4rem; border-radius: 999px; width: fit-content; margin-inline: auto; }
.tabs__btn {
  border: 0; background: transparent; padding: .75rem 1.4rem; border-radius: 999px; cursor: pointer;
  font: 700 .92rem var(--font-body); color: var(--muted); transition: .2s;
}
.tabs__btn.is-active { background: var(--blue); color: #fff; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service {
  background: var(--beige); border-radius: var(--radius); padding: 1.8rem; transition: transform .2s, background .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }
.service__list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; }
.service__list li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--ink); }
.service__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.service__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--blue); display: grid; place-items: center; margin-bottom: 1.1rem; }
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Proceso ===== */
.steps { list-style: none; padding: 0; margin: 0 0 2.6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.step { position: relative; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 1.8rem 1.5rem; }
.step h3 { color: #fff; }
.step p { font-size: .93rem; margin: 0; color: #cfdbe6; }
.steps--6 { grid-template-columns: repeat(3, 1fr); }
.steps__note { text-align: center; color: #cfdbe6; max-width: 680px; margin: -1rem auto 1.8rem; }
.steps__note strong { color: #fff; }
.step__num { display: block; font: 900 2.4rem/1 var(--font-head); color: var(--cyan); margin-bottom: .8rem; }
.step__tag { position: absolute; top: 1.4rem; right: 1.2rem; background: var(--cyan); color: var(--blue-dark); font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }

/* ===== Galería ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 1rem; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--beige); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(18, 50, 79, .85)); color: #fff; font-weight: 600; font-size: .9rem;
}

.gallery__item { cursor: zoom-in; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__subtitle { margin: 3.5rem 0 1.2rem; font-size: 1.3rem; }

/* Proyecto destacado */
.featured { background: var(--beige); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); }
.featured__head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 2.5rem; align-items: end; margin-bottom: 1.5rem; }
.featured__tag {
  display: inline-block; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; margin-bottom: .6rem;
}
.featured__title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; }
.featured__desc { margin: 0; color: var(--muted); max-width: 48ch; justify-self: end; }
.gallery--featured { grid-auto-rows: 210px; }

/* Visor de fotos */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 25, 40, .94);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox__figure img { max-width: 100%; max-height: 82vh; border-radius: 12px; margin-inline: auto; }
.lightbox__figure figcaption { color: #fff; margin-top: .8rem; font-weight: 600; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .25); }

/* ===== Clientes ===== */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.client { flex: 0 1 calc((100% - 2 * 1.4rem) / 3); background: #fff; border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client__logo { height: 110px; display: grid; place-items: center; margin-bottom: 1.2rem; border-bottom: 1px solid #ecece6; padding-bottom: 1.2rem; }
.client__logo { overflow: hidden; }
.client__logo img { width: auto; height: auto; max-height: 88px; max-width: 100%; object-fit: contain; }
.client h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.client__service { font-size: .9rem; color: var(--blue); font-weight: 600; margin-bottom: .8rem; }
.client__projects { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.client__projects li { font-size: .9rem; color: var(--muted); padding-left: 1rem; position: relative; }
.client__projects li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.client__meta { margin-top: auto; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ===== Zonas de cobertura ===== */
.zones__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zones__text h2 { color: #fff; }
.zones__text .eyebrow { color: var(--cyan); }
.zones__text p { color: #cfdbe6; margin-bottom: 1.6rem; }
.zones__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.zones__list li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 600; font-size: .92rem;
}
.zones__list li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2396d2dc'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.zones__list li.is-main { background: var(--cyan); color: var(--blue-dark); border-color: var(--cyan); font-size: 1rem; }
.zones__list li.is-main::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312324f'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.zones__list li.is-more { background: transparent; border-style: dashed; font-weight: 500; font-style: italic; }
.zones__list li.is-more::before { display: none; }

/* ===== Preguntas frecuentes ===== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: var(--beige); border-radius: var(--radius-sm); padding: 0 1.4rem; transition: background .2s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative;
  font-weight: 700; font-size: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font: 700 1.5rem/1 var(--font-body); color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); }
.faq details a { color: var(--blue); font-weight: 600; }

/* ===== Agendar ===== */
.booking { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.booking__info p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2rem; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.booking__direct { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; font-size: .92rem; color: var(--muted); }
.form { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: .35rem; }
.field span { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 .95rem var(--font-body); color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid #d9dde2; border-radius: 12px; background: #fbfbf9;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27, 70, 112, .12); background: #fff; }
.field .is-invalid { border-color: #c0392b; }
.form__more summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--blue); padding: .2rem 0; }
.form__more-body { display: grid; gap: 1rem; margin-top: 1rem; }
.form__actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: .8rem; margin-top: .3rem; }
.form__error { margin: 0; color: #c0392b; font-weight: 600; font-size: .9rem; }
.form__note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* ===== Contacto ===== */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.contact { background: var(--beige); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: .35rem; }
.contact h3 { margin-bottom: 0; font-size: 1.1rem; }
.contact__role { font-style: italic; color: var(--muted); margin: 0 0 .7rem; font-size: .92rem; }
.contact a, .contact span { font-size: .92rem; text-decoration: none; word-break: break-word; }
.contact a:hover { color: var(--blue); text-decoration: underline; }
.contact--dark { background: var(--blue); color: #fff; }
.contact--dark h3 { color: #fff; }
.contact--dark .contact__role { color: var(--cyan); }
.contact--dark a:hover { color: var(--cyan); }

/* ===== Pie ===== */
.footer { background: var(--blue-dark); color: #cfdbe6; padding: 2.8rem 0; text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: .3rem; }
.footer img { height: 48px; width: auto; margin-bottom: .6rem; }
.footer p { margin: 0; }
.footer__small { font-size: .8rem; opacity: .75; margin-top: .4rem !important; }

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Páginas de servicio ===== */
.hero--service { padding-top: clamp(1.5rem, 4vw, 3rem); }
.hero--service h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.hero__actions .btn--whatsapp svg { width: 18px; height: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.forwho { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.checklist--big { margin: 0; gap: 1rem; }
.checklist--big li { background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem 1rem 3rem; }
.checklist--big li::before { left: 1rem; top: 1.15rem; }
.clients--after { margin-top: 2.5rem; }
.client__desc { font-size: .92rem; color: var(--muted); margin: 0; }
.related__title { font-weight: 700; margin: 2rem 0 .6rem; color: var(--ink) !important; }
.related { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.related a {
  display: inline-block; padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid var(--blue);
  color: var(--blue); font-weight: 600; font-size: .85rem; text-decoration: none; transition: .2s;
}
.related a:hover { background: var(--blue); color: #fff; }
.service__more { display: inline-block; margin-top: 1rem; font-weight: 700; font-size: .9rem; color: var(--blue); text-decoration: none; }
.service__more:hover { text-decoration: underline; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; margin: 1rem 0 .4rem; }
.footer__links a, .footer__contact a { color: #fff; text-decoration: none; font-size: .9rem; }
.footer__links a:hover, .footer__contact a:hover { color: var(--cyan); text-decoration: underline; }
.footer__contact { font-size: .85rem; }
.footer__small a { color: inherit; }

/* ===== Blog ===== */
.container--narrow { width: min(780px, 100% - 32px); }
.hero--blog { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.hero--blog .lead { max-width: 46em; }
.posts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.post-card { flex: 0 1 calc((100% - 2 * 1.4rem) / 3); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -22px rgba(18, 50, 79, .45); transition: transform .2s, box-shadow .2s; }
.post-card { border: 1px solid #ecece6; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.post-card__cat { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.post-card h2, .post-card h3 { font-size: 1.15rem; margin: .3rem 0 .5rem; }
.post-card p:not(.post-card__cat) { color: var(--muted); font-size: .92rem; }
.post-card__meta { margin-top: auto; font-size: .8rem; color: var(--muted); font-weight: 600; }
.posts__all { margin: 2.2rem 0 0; }

.article__head { padding: clamp(1.5rem, 4vw, 3rem) 0 1.5rem; }
.article__head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.article__meta { font-size: .85rem; color: var(--muted); font-weight: 600; }
.article__img { margin-block: 0 2rem; }
.article__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: #3c4048; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); font-weight: 600; }
.prose strong { color: var(--ink); }
.article__meta a { color: var(--blue); text-decoration: none; }
.article__meta a:hover { text-decoration: underline; }
.author-box { display: flex; gap: 1.1rem; align-items: center; margin-top: 2.5rem; padding: 1.3rem 1.5rem; border: 1px solid #e4e6e1; border-left: 4px solid var(--blue); border-radius: var(--radius-sm); }
.author-box p { margin: 0; }
.author-box__avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 800 1.3rem var(--font-head); letter-spacing: .02em; }
.author-box__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.author-box__name { font: 800 1.1rem/1.3 var(--font-head); color: var(--ink); }
.author-box__role, .author-box__date { font-size: .85rem; color: var(--muted); }
.author-box__name a { color: inherit; text-decoration: none; }
.author-box__name a:hover { color: var(--blue); text-decoration: underline; }
.author-box__more { margin-top: .4rem !important; font-size: .88rem; }
.author-box__more a { color: var(--blue); font-weight: 700; text-decoration: none; }
.author-box__more a:hover { text-decoration: underline; }
.newsletter__author { margin-top: 1rem !important; font-size: .88rem; color: var(--cyan) !important; }
.newsletter__author strong { color: #fff; }
.newsletter__author a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.newsletter__author a:hover { text-decoration-color: #fff; }

/* Página de autor */
.author-page__head { display: flex; gap: 1.4rem; align-items: center; margin: 1rem 0 2rem; }
.author-page__head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .2rem; }
.author-page__head .eyebrow { margin-bottom: .4rem; }
.author-page__role { margin: 0; color: var(--muted); font-weight: 600; }
.author-page__avatar { width: 110px; height: 110px; font-size: 2.4rem; }
.author-page__photo { flex: none; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.timeline { list-style: none !important; padding: 0 0 0 1.4rem !important; border-left: 2px solid var(--cyan); gap: 1.1rem !important; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.4rem - 7px); top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px #fff; }
.timeline__when { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.timeline li span:not(.timeline__when) { color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .author-page__head { flex-direction: column; align-items: flex-start; } }
.prose-fig { margin: 1.6rem 0 2rem; }
.prose-fig img { width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: 0 10px 30px -22px rgba(18, 50, 79, .45); }
.prose-fig--2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.prose-fig--2 img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose-fig--2 figcaption { grid-column: 1 / -1; }
.prose-fig img[src$=".jpg"] { max-height: 640px; object-fit: cover; }
.sources { font-size: .92rem; }
.sources__note { font-size: .85rem; color: var(--muted) !important; }
@media (max-width: 600px) { .prose-fig--2 { grid-template-columns: 1fr; } }
.prose-fig figcaption { margin-top: .6rem; font-size: .82rem; color: var(--muted); text-align: center; }
.cta-inline { margin: 2rem 0; padding: 1.3rem 1.5rem; background: var(--cyan-soft); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cta-inline p { margin: 0; flex: 1 1 320px; color: var(--ink) !important; font-size: 1rem; }
.cta-inline__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0 0; }
.prose a.btn { font-weight: 700; text-decoration: none; }
.prose a.btn--whatsapp { color: #fff; }
.prose a.btn--ghost { color: var(--blue); }
.prose a.btn--ghost:hover { color: #fff; }
.cta-box { margin-block: 2.5rem clamp(3rem, 7vw, 5rem); background: var(--beige); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); }
.cta-box h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.cta-box .hero__actions { margin: 1.2rem 0 1rem; }
.cta-box__more { margin: 0; font-size: .9rem; color: var(--muted); }
.cta-box__more a { color: var(--blue); font-weight: 700; }

/* ===== Newsletter ===== */
.newsletter__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.newsletter__text h2 { color: #fff; }
.newsletter__text .eyebrow { color: var(--cyan); }
.newsletter__text p { color: #cfdbe6; margin: 0; }
.newsletter__form { display: grid; gap: 1rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); }
.newsletter__form .field span { color: #fff; }
.newsletter__form .field input { background: #fff; border-color: transparent; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .82rem; color: #cfdbe6; cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: .15rem; accent-color: var(--cyan); }
.consent a { color: #fff; font-weight: 600; }

/* ===== Páginas legales y de confirmación ===== */
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: #3c4048; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services, .why__list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .client { flex-basis: calc((100% - 1.4rem) / 2); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .post-card { flex-basis: calc((100% - 1.4rem) / 2); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .5rem 16px 1.2rem; border-bottom: 1px solid rgba(27, 70, 112, .1);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid #eee; }
  .nav__cta { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__grid, .about, .booking, .zones__inner, .forwho, .newsletter__inner { grid-template-columns: 1fr; }
  .hero__media img { aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) var(--radius) 80px; }
  .hero__card { left: 12px; bottom: 12px; }
  .mv, .contacts { grid-template-columns: 1fr; }
  .featured__head { grid-template-columns: 1fr; }
  .featured__desc { justify-self: start; }
}
@media (max-width: 600px) {
  .services, .steps, .why__list { grid-template-columns: 1fr; }
  .post-card { flex-basis: 100%; }
  .client { flex-basis: 100%; }
  .gallery, .gallery--featured { grid-auto-rows: 160px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .gallery__item--wide { grid-column: span 2; }
  .form__row, .form__row--3, .form__actions { grid-template-columns: 1fr; }
  .hero__facts { gap: 1.1rem; }
  .tabs__btn { padding: .7rem 1rem; }
}
