/* =========================================================
   Traducciones Oficiales Norte — Hoja de estilos
   Colores de marca: #0b2545 (azul marino) y #e7e3dd (marfil)
   ========================================================= */

:root {
  /* Paleta */
  --navy: #0b2545;
  --navy-deep: #071a33;
  --navy-soft: #13315c;
  --navy-line: rgba(231, 227, 221, 0.14);
  --steel: #8da9c4;
  --ivory: #e7e3dd;
  --ivory-soft: #f3f1ed;
  --paper: #fbfaf8;
  --gold: #b08d57;
  --gold-light: #c4a36b;
  --ink: #0b2545;
  --ink-muted: #4d5b70;
  --border: #dcd7cf;
  --whatsapp: #1fa855;

  /* Tipografía */
  --font-display: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Medidas */
  --container: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(11, 37, 69, 0.35);
  --shadow-soft: 0 6px 20px -12px rgba(11, 37, 69, 0.25);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--ivory); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font: 600 0.98rem/1 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-primary { background: var(--navy); color: var(--ivory); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--navy-soft); }

.btn-light { background: var(--ivory); color: var(--navy); }
.btn-light:hover { background: #fff; }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--ivory); }

.btn-outline-light { border-color: rgba(231, 227, 221, 0.5); color: var(--ivory); background: transparent; }
.btn-outline-light:hover { border-color: var(--ivory); background: rgba(231, 227, 221, 0.08); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #17924a; }

.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.92rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover { color: var(--gold); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 248, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 8px 24px -20px rgba(11, 37, 69, .4); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--navy); }
/* Logo: el PNG se usa como silueta y se pinta con el azul de marca */
.brand-logo {
  display: block; height: 55px; aspect-ratio: 868 / 314; background-color: currentColor;
  -webkit-mask: url(../img/logo-norte-oscuro.png) center / contain no-repeat;
  mask: url(../img/logo-norte-oscuro.png) center / contain no-repeat;
}
.logo-icon {
  display: block; width: 30px; height: 34px; background-color: var(--navy);
  -webkit-mask: url(../img/logo-icono-oscuro.png) center / contain no-repeat;
  mask: url(../img/logo-icono-oscuro.png) center / contain no-repeat;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) { font-size: 0.94rem; font-weight: 500; text-decoration: none; color: var(--ink-muted); transition: color .2s; }
.main-nav a:not(.btn):hover,
.main-nav a[aria-current="page"] { color: var(--navy); }

/* Menú desplegable de Servicios */
.has-dropdown { position: relative; }
.nav-split { display: inline-flex; align-items: center; gap: 2px; }
.dropdown-toggle {
  display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px;
  background: none; cursor: pointer; color: var(--ink-muted); transition: color .2s, background-color .2s;
}
.dropdown-toggle:hover, .has-dropdown.is-open .dropdown-toggle { color: var(--navy); background: var(--ivory-soft); }
.has-dropdown:has([aria-current="page"]) .nav-services-link { color: var(--navy); }
.dropdown-toggle .chev { width: 16px; height: 16px; transition: transform .2s; }
.main-nav .dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%; z-index: 120; display: block;
  width: max-content; min-width: 320px; margin: 0; padding: 8px; list-style: none;
  background: var(--paper); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(11, 37, 69, 0.45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown.is-open .chev { transform: rotate(180deg); }
.main-nav .dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--navy); }
.main-nav .dropdown a:hover, .main-nav .dropdown a[aria-current="page"] { background: var(--ivory-soft); color: var(--navy); }
.dd-icon { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--ivory); }
.dd-icon svg { width: 19px; height: 19px; }
.dd-text { line-height: 1.3; }
.dd-text strong { display: block; font-size: 0.93rem; font-weight: 700; white-space: nowrap; }
.dd-text small { display: block; font-size: 0.8rem; color: var(--ink-muted); font-weight: 500; }

.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; font-size: 0.78rem; font-weight: 700; }
.lang-switch a, .lang-switch span { padding: 5px 10px; border-radius: 999px; text-decoration: none; color: var(--ink-muted); }
.lang-switch .active { background: var(--navy); color: var(--ivory); }
/* ES y EN siempre del mismo tamaño (el enlace no debe tomar el tamaño del menú) */
.main-nav .lang-switch a:not(.btn), .lang-switch .active { display: inline-block; min-width: 36px; text-align: center; font-size: 0.78rem; font-weight: 700; line-height: 1.6; }
.main-nav .lang-switch a:not(.btn):hover { color: var(--navy); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 12px;
  background: transparent; cursor: pointer; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.section-ivory { background: var(--ivory); }
.section-soft { background: var(--ivory-soft); }
.section-navy { background: var(--navy); color: var(--ivory); }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
.section-head p { font-size: 1.12rem; color: var(--ink-muted); margin: 18px auto 28px; max-width: 540px; }
.section-navy .section-head p { color: rgba(231, 227, 221, 0.75); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.section-head h2 .eyebrow, .page-hero h1 .eyebrow { display: block; margin: 0 auto 18px; max-width: 560px; }

/* ---------- Bienvenida / Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(141, 169, 196, 0.22), transparent 60%), var(--navy);
  color: var(--ivory);
  padding: 96px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--navy-line);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }

.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); font-weight: 600; margin: 0 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-lead { font-size: 1.18rem; max-width: 500px; color: rgba(231, 227, 221, 0.8); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: rgba(231, 227, 221, 0.85); }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.hero-badges a { color: inherit; text-underline-offset: 3px; }

/* Documento ilustrado */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.doc {
  position: relative; width: min(360px, 100%); aspect-ratio: 8.5 / 11;
  background: var(--paper); color: var(--navy); border-radius: 6px;
  padding: 34px 32px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  transform: rotate(2.5deg);
}
.doc-back {
  position: absolute; width: min(360px, 100%); aspect-ratio: 8.5 / 11;
  background: var(--ivory); border-radius: 6px; opacity: .22; transform: rotate(-5deg) translate(-26px, 10px);
}
.doc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.doc-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; background: var(--ivory); padding: 6px 10px; border-radius: 999px; }
.doc-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 18px; }
.doc-line { height: 7px; border-radius: 4px; background: #e6e2db; margin-bottom: 11px; }
.doc-line.w90 { width: 90%; } .doc-line.w75 { width: 75%; } .doc-line.w60 { width: 60%; } .doc-line.w40 { width: 40%; }
.doc-gap { height: 14px; }
.doc-foot { position: absolute; left: 32px; right: 32px; bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; }
.doc-sign { width: 110px; }
.doc-sign span { display: block; height: 1px; background: var(--navy); opacity: .4; margin-top: 30px; }
.doc-sign small { font-size: 0.62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.seal {
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; text-align: center;
  font-size: 0.56rem; font-weight: 800; letter-spacing: 0.12em; line-height: 1.35; text-transform: uppercase;
  transform: rotate(-12deg);
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px rgba(176, 141, 87, .55);
}
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--paper); color: var(--navy); padding: 12px 16px; border-radius: 14px;
  font-size: 0.84rem; font-weight: 700; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5);
}
.chip svg { width: 20px; height: 20px; color: var(--gold); }
.chip-1 { left: -8px; top: 52%; }
.chip-2 { right: -12px; top: 30%; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--navy); color: var(--ivory); margin-bottom: 22px;
}
.service-icon svg { width: 23px; height: 23px; }
.service-card h3 { font-size: 1.5rem; line-height: 1.12; }
.service-card h3 small {
  display: block; margin-bottom: 6px;
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.service-list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); display: grid; gap: 9px; align-content: start; }
.service-list li { position: relative; padding-left: 16px; font-size: 0.93rem; line-height: 1.4; color: var(--ink-muted); }
.service-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.service-card > p { color: var(--ink-muted); font-size: 0.95rem; margin: 14px 0 0; }
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.page-hero .breadcrumbs { margin-bottom: 8px; }

/* Tarjeta destacada (Interpretación) */
.service-card.is-featured { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.service-card.is-featured .service-icon { background: var(--ivory); color: var(--navy); }
.service-card.is-featured h3 small { color: var(--gold-light); }
.service-card.is-featured .service-list { border-top-color: var(--navy-line); }
.service-card.is-featured .service-list li { color: rgba(231, 227, 221, 0.82); }
.service-card.is-featured .service-list li::before { background: var(--gold-light); }
.service-card.is-featured .btn { margin-top: auto; align-self: end; width: 100%; white-space: nowrap; padding: 0 14px; }
.service-card.is-featured .service-list { margin-bottom: 26px; }

/* Tarjetas niveladas: el ícono, el título y la lista empiezan a la misma altura en cada fila */
@supports (grid-template-rows: subgrid) {
  .service-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
}

/* ---------- Proceso en 3 pasos ---------- */
.process {
  margin-top: 72px; padding: 52px 44px 48px;
  background: var(--paper); border: 1px solid var(--border); border-radius: 24px;
}
.process-head { text-align: center; margin-bottom: 44px; }
.process-head .eyebrow { margin-bottom: 10px; }
.process-head h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; }
.step { text-align: center; padding: 0 12px; }
.step-visual { position: relative; width: 88px; height: 88px; margin: 0 auto 22px; }
.step-icon {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory); color: var(--navy);
  box-shadow: 0 0 0 8px var(--ivory-soft);
}
.step-icon svg { width: 36px; height: 36px; }
.step.is-final .step-icon { background: var(--navy); color: var(--ivory); box-shadow: 0 0 0 8px rgba(11, 37, 69, 0.08); }
.step-num {
  position: absolute; top: -4px; right: -6px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: #fff;
  font: 800 0.9rem/1 var(--font-body); box-shadow: 0 0 0 4px var(--paper);
}
.step h3 { font-size: 1.45rem; margin: 0 0 8px; }
.step p { color: var(--ink-muted); font-size: 0.95rem; margin: 0 auto; max-width: 260px; }
.process-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--border); }
.process-cta small { font-size: 0.85rem; color: var(--ink-muted); }
.step-arrow { width: 110px; margin-top: 32px; color: var(--gold); }
.step-arrow svg { width: 100%; height: 24px; overflow: visible; }
.step-arrow .dash { stroke-dasharray: 5 7; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -12; } }

/* ---------- Sobre nosotros ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 520px) 380px; justify-content: center; gap: 72px; align-items: center; }
.about-copy p { font-size: 1.06rem; color: var(--ink-muted); max-width: 500px; }
.about-copy .lead { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.25; color: var(--navy); margin: 0 0 1rem; max-width: 500px; }

/* Foto de "Sobre nosotros" */
.about-media { position: relative; width: 100%; max-width: 380px; justify-self: center; }
.about-photo {
  margin: 0; aspect-ratio: 777 / 1000; border-radius: 22px; overflow: hidden;
  /* Fondo sombreado: el blanco de la foto toma este degradado */
  background: radial-gradient(120% 90% at 50% 22%, #fbfaf8 0%, #e8e2d9 52%, #c9c0b2 100%);
  box-shadow: 0 34px 60px -30px rgba(11, 37, 69, 0.6), 0 12px 26px -16px rgba(11, 37, 69, 0.35);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; mix-blend-mode: multiply; }
.photo-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px);
  background: rgba(251, 250, 248, 0.94); color: var(--navy); padding: 8px 13px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; box-shadow: var(--shadow-soft);
}
.photo-badge svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.photo-caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 14px; background: rgba(11, 37, 69, 0.92); color: var(--ivory);
}
.photo-caption strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.photo-caption span { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; color: var(--gold-light); white-space: nowrap; }
.photo-caption span svg { width: 16px; height: 16px; flex: none; }

.perito-note {
  display: flex; gap: 14px; align-items: center; margin-top: 28px;
  padding: 18px 22px; border: 1px dashed var(--gold); border-radius: var(--radius-sm); font-size: 0.95rem;
}
.perito-note svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.perito-note p { margin: 0; color: var(--navy); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 80px; background: var(--navy); color: var(--ivory); border-radius: 22px; overflow: hidden;
}
.stat { padding: 44px 30px; border-right: 1px solid var(--navy-line); }
.stat:last-child { border-right: 0; }
.stats > * { min-width: 0; }
.stat-graphic { height: 60px; display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.stat-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(196, 163, 107, 0.55); background: rgba(196, 163, 107, 0.1); color: var(--gold-light);
}
.stat-icon svg { width: 26px; height: 26px; }
.stat-score { font-family: var(--font-display); font-size: 3.5rem; font-weight: 600; line-height: 1; }
.stat-rating-meta { display: flex; flex-direction: column; gap: 7px; }
.stat-rating-meta .stars svg { width: 15px; height: 15px; }
.g-chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; color: rgba(231, 227, 221, 0.75); }
.g-chip svg { width: 18px; height: 18px; background: #fff; border-radius: 50%; padding: 3px; }
.stat-label { font-size: 1.55rem; margin: 0 0 6px; color: var(--ivory); }
.stat-desc { font-size: 0.92rem; line-height: 1.5; color: rgba(231, 227, 221, 0.72); margin: 0; }

/* ---------- Testimonios (estilo Google) ---------- */
.rating-summary {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--paper); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 22px 10px 12px; margin-bottom: 26px; box-shadow: var(--shadow-soft);
}
.rating-summary .g-logo { width: 34px; height: 34px; background: #fff; border-radius: 50%; padding: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.rating-score { font-family: var(--font-body); font-size: 1.5rem; font-weight: 800; color: #202124; }
.rating-meta { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.rating-meta small { font-size: 0.8rem; color: #5f6368; }

.stars { display: inline-flex; gap: 2px; color: #fbbc04; }
.stars svg { width: 17px; height: 17px; }

/* Carrusel de reseñas */
.carousel { --per-view: 3; --gap: 20px; position: relative; }
.carousel-viewport { overflow: hidden; padding: 6px 4px 12px; margin: -6px -4px -12px; touch-action: pan-y; }
.carousel-track { display: flex; gap: var(--gap); transition: transform .8s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.carousel-track > * { flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--paper); color: var(--navy);
  display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.carousel-btn:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--border); transition: width .3s ease, background-color .3s ease; }
.carousel-dot.is-active { width: 34px; }
.carousel-dot.is-active::before { width: 28px; background: var(--navy); }
.review {
  background: #fff; border-radius: 14px; padding: 24px;
  border: 1px solid #e3e3e3; box-shadow: 0 1px 2px rgba(60, 64, 67, .08);
  font-family: "Roboto", Arial, var(--font-body); color: #202124;
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 500; font-size: 1.05rem; flex: none;
}
.review-who { flex: 1; min-width: 0; line-height: 1.25; }
.review-who strong { display: block; font-weight: 500; font-size: 0.95rem; }
.review-who small { font-size: 0.8rem; color: #70757a; }
.review-head .g-logo { width: 20px; height: 20px; flex: none; }
.review-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.review-rating small { font-size: 0.78rem; color: #70757a; }
.review p { font-size: 0.92rem; line-height: 1.55; margin: 0; color: #3c4043; }
.review p + p { margin-top: 8px; }

.reviews-cta { text-align: center; margin-top: 44px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border-radius: var(--radius); border: 1px solid transparent; transition: border-color .2s; }
.faq-item[open] { border-color: var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 28px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: inherit; letter-spacing: inherit; margin: 0; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; flex: none; transition: transform .25s, background-color .25s; }
.faq-icon svg { width: 14px; height: 14px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.faq-answer { padding: 0 28px 24px; color: var(--ink-muted); max-width: 620px; }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--navy); font-weight: 600; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-grid > *, .form-row > * { min-width: 0; }
/* Bloque "Contáctanos" */
.contact-title { font-size: clamp(2.4rem, 4.4vw, 3.4rem); color: var(--ivory); margin-bottom: 14px; }
.contact-text { font-size: 1.05rem; color: rgba(231, 227, 221, 0.78); max-width: 460px; margin-bottom: 28px; }
.contact-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-btn {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 16px 18px; border: 1px solid var(--navy-line); border-radius: 16px;
  color: var(--ivory); text-decoration: none; background: rgba(231, 227, 221, 0.03);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.contact-btn:hover { background: rgba(231, 227, 221, 0.08); border-color: var(--gold-light); transform: translateY(-2px); }
.cb-icon { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(231, 227, 221, 0.1); color: var(--gold-light); }
.cb-icon svg { width: 22px; height: 22px; }
.contact-btn.is-wa .cb-icon { background: var(--whatsapp); color: #fff; }
.contact-btn.is-fb .cb-icon { background: #1877f2; color: #fff; }
.cb-text { min-width: 0; line-height: 1.3; }
.cb-text strong { display: block; font-size: 1rem; }
.cb-text small { display: block; font-size: 0.82rem; color: rgba(231, 227, 221, 0.68); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-info { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--navy-line); display: grid; gap: 14px; }
.contact-info li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; color: rgba(231, 227, 221, 0.75); }
.contact-info svg { width: 20px; height: 20px; flex: none; color: var(--gold-light); margin-top: 2px; }
.contact-info strong { display: block; color: var(--ivory); font-weight: 600; }

.contact-form { background: var(--paper); color: var(--navy); border-radius: 22px; padding: 40px; }
.contact-form h3 { font-size: 1.8rem; margin-bottom: 6px; }
.contact-form > p { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.85rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-width: 0;
  font: inherit; font-size: 0.98rem; color: var(--navy);
  background: var(--ivory-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a94a3; }
.field select:has(option[value=""]:checked) { color: #8a94a3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.check { display: flex; gap: 10px; align-items: center; font-size: 0.92rem; margin: 4px 0 24px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.contact-form .btn { width: 100%; }
.form-note { font-size: 0.8rem; color: var(--ink-muted); text-align: center; margin: 14px 0 0; }
.form-status { font-size: 0.86rem; text-align: center; margin: 10px 0 0; color: var(--ink-muted); }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1f8a4c; font-weight: 600; }
.form-status.is-error { color: #b3261e; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Campo para adjuntar archivo (opcional) */
.optional {
  display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; vertical-align: 1px;
  background: var(--ivory); color: var(--ink-muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.field input.file-input { position: absolute; width: 1px; height: 1px; min-width: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.file-drop {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  padding: 14px 16px; border: 1.5px dashed var(--border); border-radius: var(--radius-sm); background: var(--ivory-soft);
  transition: border-color .2s, background-color .2s;
}
.file-drop:hover, .file-input:focus-visible + .file-drop { border-color: var(--navy); background: #fff; }
.file-input:focus-visible + .file-drop { outline: 2px solid var(--gold); outline-offset: 2px; }
.file-drop > svg { width: 26px; height: 26px; flex: none; color: var(--navy); }
.file-drop-text { min-width: 0; line-height: 1.35; }
.file-drop-text strong { display: block; font-size: 0.95rem; overflow-wrap: anywhere; }
.file-drop-text small { display: block; font-size: 0.8rem; color: var(--ink-muted); }
.file-drop.has-file { border-style: solid; border-color: var(--navy); background: #fff; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-deep); color: rgba(231, 227, 221, 0.72); padding: 72px 0 32px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr 1.2fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--navy-line); }
.site-footer .brand { margin-bottom: 20px; }
.footer-logo { display: block; height: 72px; width: auto; }
.site-footer .footer-title { font-family: var(--font-body); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 0.82rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 72px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Blog ---------- */
.page-hero { background: var(--navy); color: var(--ivory); padding: 90px 0 80px; text-align: center; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); margin: 16px 0 18px; }
.page-hero p { color: rgba(231, 227, 221, 0.78); font-size: 1.12rem; max-width: 520px; margin: 0 auto 30px; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-cover { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); display: grid; place-items: center; color: var(--ivory); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; opacity: .7; }
.post-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.post-body h2, .post-body h3 { font-size: 1.45rem; }
.post-body p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }
.post-card.is-placeholder { border-style: dashed; background: transparent; }
.post-card.is-placeholder .post-cover { background: var(--ivory); color: var(--ink-muted); }

/* Artículo */
.breadcrumbs { font-size: 0.85rem; color: rgba(231, 227, 221, 0.7); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-light); }
.article-meta { display: flex; justify-content: center; gap: 18px; font-size: 0.88rem; color: rgba(231, 227, 221, 0.7); }

.article { padding: 80px 0 100px; }
.article-cover { aspect-ratio: 16 / 8; border-radius: var(--radius); background: var(--ivory); display: grid; place-items: center; color: var(--ink-muted); margin: -130px auto 56px; position: relative; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.toc { background: var(--ivory-soft); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 44px; }
.toc strong { font-size: 0.78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose { font-size: 1.08rem; color: #2a3a52; }
.prose h2 { font-size: 2rem; margin: 48px 0 16px; color: var(--navy); }
.prose h3 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--navy); }
.prose ul { padding-left: 22px; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 32px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.prose a { color: var(--navy); font-weight: 600; }
.cta-box { background: var(--navy); color: var(--ivory); border-radius: 20px; padding: 40px; text-align: center; margin-top: 56px; }
.cta-box h2 { color: var(--ivory); margin: 0 0 10px; font-size: 2rem; }
.cta-box p { color: rgba(231, 227, 221, 0.78); margin-bottom: 24px; }

/* ---------- Páginas de servicio ---------- */
.sp-hero { padding-bottom: 72px; }
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sp-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 30px 0 0; padding: 0; }
.sp-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(231, 227, 221, 0.85); }
.sp-chips svg { width: 18px; height: 18px; color: var(--gold-light); }

.sp-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 72px; padding-bottom: 48px; }
.sp-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.sp-toc { background: var(--ivory-soft); border-radius: 16px; padding: 22px 18px; }
.sp-toc-title { margin: 0 0 12px 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.sp-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sp-toc a {
  display: block; padding: 7px 10px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0;
  font-size: 0.92rem; color: var(--ink-muted); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s;
}
.sp-toc a:hover { color: var(--navy); background: rgba(11, 37, 69, 0.04); }
.sp-toc a.is-active { color: var(--navy); font-weight: 700; border-left-color: var(--gold); background: #fff; }
.sp-help { background: var(--navy); color: var(--ivory); border-radius: 16px; padding: 22px 20px; }
.sp-help-title { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.sp-help p:not(.sp-help-title) { margin: 0 0 14px; font-size: 0.88rem; color: rgba(231, 227, 221, 0.75); }
.sp-help .btn { width: 100%; }
.sp-help-tel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: var(--ivory); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.sp-help-tel:hover { color: var(--gold-light); }
.sp-help-tel svg { width: 18px; height: 18px; color: var(--gold-light); }

.sp-content { min-width: 0; }
.sp-section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 20px); }
.sp-section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.sp-section > h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.sp-intro, .sp-prose p { font-size: 1.06rem; color: var(--ink-muted); max-width: 680px; }
.sp-intro { margin-bottom: 26px; }
.callout { display: flex; gap: 16px; margin-top: 26px; padding: 22px 24px; background: var(--ivory-soft); border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; }
.callout > svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.callout strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.callout p { margin: 0; color: var(--ink-muted); }

.place-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.place-list li { background: var(--paper); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.pl-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--ivory); margin-bottom: 14px; }
.pl-icon svg { width: 22px; height: 22px; }
.place-list h3 { font-size: 1.3rem; margin-bottom: 4px; }
.place-list p { margin: 0; font-size: 0.92rem; color: var(--ink-muted); }
.pl-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0 !important; }
.pl-links a { font-size: 0.86rem; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }
.pl-links a:hover { color: var(--gold); }
.about-copy p a, .contact-info a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.about-copy p a:hover, .contact-info a:hover { color: var(--gold); }
.sp-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 0.93rem; color: var(--navy); }
.sp-note svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 1px; }

.services-grid.sp-cards { grid-template-columns: repeat(2, 1fr); }
.services-grid.sp-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.5; color: var(--ink-muted); }
.check-list li > svg { width: 22px; height: 22px; flex: none; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--navy); color: var(--ivory); }
.check-list strong { color: var(--navy); }
.check-list.compact li { font-size: 0.95rem; }
.check-list.compact li > svg { width: 20px; height: 20px; background: var(--gold); }

.steps-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 18px; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: 4px; width: 2px;
  background: repeating-linear-gradient(var(--gold) 0 6px, transparent 6px 12px);
}
.tl-num {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory); color: var(--navy); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; box-shadow: 0 0 0 6px var(--ivory-soft);
}
.timeline li:last-child .tl-num { background: var(--navy); color: var(--ivory); }
.timeline h3 { font-size: 1.35rem; margin: 8px 0 4px; }
.timeline p { margin: 0; font-size: 0.96rem; color: var(--ink-muted); }
.checklist-box { background: var(--ivory-soft); border-radius: 16px; padding: 24px; }
.checklist-box h3 { font-size: 1.35rem; margin-bottom: 16px; }

.price-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: center; }
.price-card { display: flex; flex-direction: column; gap: 6px; padding: 32px 26px; border-radius: 20px; text-align: center; background: var(--navy); color: var(--ivory); box-shadow: var(--shadow); }
.price-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.price-big { font-family: var(--font-display); font-size: clamp(2.1rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.1; white-space: nowrap; }
.price-unit { font-weight: 600; }
.price-card small { font-size: 0.82rem; color: rgba(231, 227, 221, 0.65); }
.price-info p { color: var(--ink-muted); }
.price-info h3 { font-size: 1.3rem; margin: 18px 0 12px; }
.price-info .btn { margin-top: 22px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { background: var(--paper); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.ft-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; border: 1px solid rgba(176, 141, 87, 0.5); background: rgba(176, 141, 87, 0.1); color: var(--gold); }
.ft-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 4px; }
.feature p { margin: 0; font-size: 0.93rem; color: var(--ink-muted); }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.sp-quote { margin: 0; padding: 22px; background: #fff; border: 1px solid #e3e3e3; border-radius: 16px; }
.sp-quote .stars svg { width: 15px; height: 15px; }
.sp-quote blockquote { margin: 10px 0 12px; font-size: 0.95rem; line-height: 1.55; color: #3c4043; }
.sp-quote figcaption { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #5f6368; }
.sp-quote .g-logo { width: 16px; height: 16px; }
.sp-faq .faq-item { background: var(--ivory-soft); }

.resource-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.resource-list a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--paper); color: var(--navy); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.resource-list a:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.rs-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--ivory); color: var(--navy); }
.rs-icon svg { width: 21px; height: 21px; }
.rs-text { flex: 1; min-width: 0; line-height: 1.35; }
.rs-text strong { display: block; font-size: 0.98rem; }
.rs-text small { display: block; font-size: 0.84rem; color: var(--ink-muted); }
.rs-arrow { width: 18px; height: 18px; flex: none; color: var(--gold); }

.sp-final { text-align: center; }
.sp-final h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--ivory); margin-bottom: 14px; }
.sp-final p { font-size: 1.08rem; color: rgba(231, 227, 221, 0.78); margin-bottom: 30px; }
.sp-final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Artículos del blog */
.post-hero { padding-bottom: 170px; }
.post-hero .breadcrumbs { margin-bottom: 18px; }
.post-hero h1 { max-width: 760px; margin-left: auto; margin-right: auto; }
.article-meta { flex-wrap: wrap; }
.photo-credit { margin: -42px 0 40px; font-size: 0.78rem; color: var(--ink-muted); text-align: right; }
.photo-credit a { color: inherit; }
.prose p { margin-bottom: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sources { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.sources h2 { font-size: 1.6rem; margin-bottom: 14px; }
.sources ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 0.92rem; color: var(--ink-muted); }
.sources a { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.sources-note { margin-top: 18px; font-size: 0.82rem; color: var(--ink-muted); }
.back-link { margin-top: 40px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .post-card { transition: none; }
  .step-arrow .dash { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .main-nav ul { gap: 18px; }
  .main-nav { gap: 18px; }
  .hide-md { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-buttons { grid-template-columns: 1fr; }
  .hero-badges li { font-size: 0.82rem; }
  .process-cta .btn { width: 100%; padding: 0 12px; gap: 8px; font-size: 0.82rem; }
}

@media (max-width: 960px) {
  .section { padding: 84px 0; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { width: min(100%, 380px); justify-self: center; }
  .hero { padding: 72px 0 84px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .chip-1 { left: 0; top: 66%; }
  .chip-2 { right: 0; top: 46%; }
  .services-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { width: 56px; }
  .process { padding: 44px 24px; }
  .carousel { --per-view: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--navy-line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--paper); padding: 24px; border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -24px rgba(11, 37, 69, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1.05rem !important; }
  .main-nav .lang-switch { align-self: flex-start; }
  .main-nav .btn { width: 100%; }
  .nav-split { display: flex; width: 100%; border-bottom: 1px solid var(--border); }
  .main-nav ul .nav-split .nav-services-link { flex: 1; border-bottom: 0; }
  .dropdown-toggle { width: 48px; height: auto; align-self: stretch; border-radius: 0; border-left: 1px solid var(--border); }
  .dropdown-toggle .chev { width: 20px; height: 20px; }
  .main-nav .dropdown {
    position: static; width: auto; display: none; padding: 6px 0 10px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
    box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .main-nav .dropdown::before { display: none; }
  .has-dropdown.is-open .dropdown { display: block; transform: none; }
  .has-dropdown.is-open .chev { transform: rotate(180deg); }
  .main-nav ul .dropdown a { padding: 10px 8px; border-bottom: 0; font-size: 1rem !important; }
  .dd-text strong { white-space: normal; }
  .photo-caption span { white-space: normal; }
  .main-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .services-grid.cols-3 { grid-template-columns: 1fr; }
  .hide-md { display: inline-flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .services-grid, .posts-grid { grid-template-columns: 1fr; }
  .carousel { --per-view: 1; }
  .process { margin-top: 48px; padding: 40px 16px 36px; border-radius: 20px; }
  .steps { grid-template-columns: 1fr; justify-items: center; }
  .step-arrow { width: 76px; margin: 40px 0 34px; transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .contact-buttons { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2) { padding: 30px 24px; border-right: 0; border-bottom: 1px solid var(--navy-line); }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .doc { padding: 26px 24px; }
  .doc-foot { left: 24px; right: 24px; bottom: 22px; }
  .seal { width: 76px; height: 76px; font-size: 0.48rem; }
  .brand-logo { height: 48px; }
  .rating-summary { flex-wrap: wrap; justify-content: center; border-radius: 18px; }
  .article-cover { margin-top: -90px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 72px; }
}

/* Páginas de servicio: tablet y celular */
@media (max-width: 960px) {
  .sp-layout { grid-template-columns: 1fr; padding-top: 56px; }
  .sp-aside { display: none; }
  .steps-wrap, .price-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .place-list, .feature-grid, .quote-grid, .resource-list,
  .services-grid.sp-cards, .services-grid.sp-cards.cols-3 { grid-template-columns: 1fr; }
  .sp-section { padding-bottom: 44px; margin-bottom: 44px; }
  .sp-hero-actions .btn, .sp-final-actions .btn { width: 100%; }
}
