/*
  File: css/styles.css
  Purpose: Visual system for RR Marketing Services landing page.
  Brand colors derived from logo (navy + gold) and brand guideline (cream + white).
  Layout inspired by template.png: clean sectioning, rounded cards, soft shadows,
  alternating backgrounds, dark closing CTA.
*/

/* ============================================================
   1. Design Tokens
   ============================================================ */
:root {
  /* Brand palette (matched to logo + brand guideline image) */
  --navy-900: #07142b;
  --navy-800: #0b1b3a;
  --navy-700: #152b5a;
  --navy-600: #1f3a73;

  --gold-600: #b8902f;
  --gold-500: #c9a24a;
  --gold-400: #e0bd6a;
  --gold-100: #f6ecd3;

  --cream-100: #faf7f0;
  --cream-200: #f1ece0;

  --white: #ffffff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e6e3da;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 820px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 27, 58, 0.06);
  --shadow: 0 12px 32px rgba(11, 27, 58, 0.08);
  --shadow-lg: 0 30px 60px rgba(11, 27, 58, 0.16);

  --header-h: 108px;
  --transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============================================================
   2. Base Reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
  touch-action: manipulation;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: var(--white);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ============================================================
   3. Layout Helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: var(--maxw-narrow);
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold-500);
}

.text-light {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow-light {
  color: var(--gold-400);
  background: rgba(224, 189, 106, 0.12);
}

.section {
  padding: 96px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 24px;
}

/* ============================================================
   4. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform var(--transition), background-color var(--transition),
    color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-xl {
  padding: 18px 34px;
  font-size: 1.05rem;
}

/* WhatsApp glyph inside CTA buttons (inherits color via currentColor) */
.btn-whatsapp-icon {
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  display: block;
  fill: currentColor;
}

/* WhatsApp icon inside body copy (paragraph) links */
a.inline-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 600;
  vertical-align: middle;
}

a.inline-wa-link .wa-link-icon {
  width: 1.05em;
  height: 1.05em;
}

.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(11, 27, 58, 0.18);
}
.btn-primary:hover {
  background: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 27, 58, 0.28);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 8px 24px rgba(184, 144, 47, 0.35);
}
.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(184, 144, 47, 0.45);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: rgba(11, 27, 58, 0.18);
}
.btn-ghost:hover {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

/* ============================================================
   5. Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition),
    background-color var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(11, 27, 58, 0.06);
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}

.brand-logo {
  height: 96px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

/* Stretch row height so hover targets stay generous; keeps links vertically centered. */
.nav-list > li {
  display: flex;
  align-items: center;
}

.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition);
}

.nav-list a:hover::after,
.nav-list a:focus::after {
  width: 100%;
}

/* Dropdown under Servicios (desktop: hover/focus; mobile: stacked in panel) */
.nav-item-has-dropdown {
  position: relative;
}

.nav-item-has-dropdown .nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.nav-item-has-dropdown .nav-dropdown a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-800);
  position: relative;
  display: block;
  padding: 12px 20px;
}

.nav-item-has-dropdown .nav-dropdown a::after {
  display: none;
}

.nav-item-has-dropdown .nav-dropdown a:hover,
.nav-item-has-dropdown .nav-dropdown a:focus {
  background: var(--cream-100);
  color: var(--navy-900);
}

@media (min-width: 721px) {
  /* Keep nav labels aligned on the same baseline. */
  .primary-nav {
    align-items: center;
  }

  .nav-cta {
    align-self: center;
  }

  .nav-item-has-dropdown .nav-dropdown li + li {
    border-top: 1px solid var(--line);
  }

  .nav-item-has-dropdown .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 8px 0 10px;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 120;
    pointer-events: none;
  }

  .nav-item-has-dropdown:hover .nav-dropdown,
  .nav-item-has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.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);
}

/* ============================================================
   6. Hero Section
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 64px;
  background: linear-gradient(180deg, var(--cream-100) 0%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 162, 74, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 22px;
  color: var(--navy-900);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 560px;
}

.hero-trust {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 3px solid var(--gold-500);
  padding-left: 14px;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy-800);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  display: inline-block;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.visual-card--image {
  margin: 0;
  padding: 0;
  /* Let PNG alpha show the hero gradient — no white mat behind the art */
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-resultados-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(560px, 68vh);
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  /* Soft depth without a solid card behind transparent pixels */
  filter: drop-shadow(0 18px 36px rgba(11, 27, 58, 0.12));
}

/* ============================================================
   7. Trust Strip (exp1.png)
   Dark premium frame with high readability.
   ============================================================ */
.trust-strip {
  background: #000000;
  padding: 22px 0 24px;
  border-top: none;
  border-bottom: none;
}

.trust-marquee {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  overflow-y: hidden;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: auto;
  padding: 0;
  border-radius: 0;
  background: #000000;
  border: none;
  box-shadow: none;
  scrollbar-width: none;
}

.trust-marquee::-webkit-scrollbar {
  display: none;
}

.trust-marquee::-webkit-scrollbar-thumb {
  display: none;
}

.trust-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
}

/* ============================================================
   8. Problem Section
   ============================================================ */
.section-problem {
  background: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.pain-card {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 74, 0.4);
}

.pain-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-500);
  display: inline-block;
  margin-bottom: 10px;
}

.pain-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.95rem;
  margin: 0;
}

.problem-copy {
  margin-top: 34px;
}

.problem-copy p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 840px;
  margin: 0 auto 18px;
}

.problem-copy p:last-child {
  margin-bottom: 0;
}

.key-questions-wrap {
  position: relative;
}

/* Sprite inline para iconos de checklist (no ocupa espacio) */
.key-questions-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Checklist con tarjetas (p. ej. preguntas clave antes de la consulta) */
.key-questions-list {
  list-style: none;
  margin: 8px auto 0;
  padding: 0;
  max-width: 640px;
}

.key-questions-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink-soft);
  background: var(--white);
}

.key-questions-list li:last-child {
  margin-bottom: 0;
}

.key-questions-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.key-questions-icon svg {
  display: block;
}

/* Cobertura en landing local: subtítulo antes de la rejilla de ciudades */
.coverage-cities-lead {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
}

.section-abogados-cities .coverage-cities-lead {
  margin-top: 28px;
}

/* Servicio includes (service landing): cream band + 2-col layout vs white section below */
.section-servicio-includes {
  background: linear-gradient(
    168deg,
    #ebe4d6 0%,
    var(--cream-100) 42%,
    #f2ead8 100%
  );
  border-bottom: 1px solid rgba(11, 27, 58, 0.08);
}

.servicio-includes-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 36px 52px;
  align-items: start;
}

.servicio-includes-intro {
  text-align: left;
  max-width: 520px;
  justify-self: end;
  order: 2;
}

.servicio-includes-intro .eyebrow {
  margin-left: 0;
}

.servicio-includes-title {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Override global .section-lead centering so copy lines up with title */
.servicio-includes-intro .servicio-includes-lead.section-lead {
  text-align: left;
  margin: 0 0 20px;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  color: var(--muted);
}

.servicio-includes-panel {
  order: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 27, 58, 0.08);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-sm);
}

.servicio-includes-label {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 0;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.servicio-includes-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.servicio-includes-features li {
  position: relative;
  margin: 0;
  padding: 12px 12px 12px 38px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-800);
  box-shadow: 0 2px 10px rgba(11, 27, 58, 0.05);
}

.servicio-includes-features li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.22);
}

.servicio-includes-features li::after {
  content: "✓";
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -1px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}

.servicio-includes-foot {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.servicio-includes-cta {
  order: 3;
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .servicio-includes-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .servicio-includes-intro {
    max-width: none;
    justify-self: start;
    order: 1;
  }

  .servicio-includes-panel {
    order: 2;
  }

  .servicio-includes-features {
    grid-template-columns: 1fr;
  }

  .servicio-includes-cta .btn {
    width: min(100%, 360px);
    max-width: 360px;
  }
}

/* ============================================================
   9. Solution Section
   ============================================================ */
.section-solution {
  background: var(--cream-100);
}

.solution-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.solution-copy {
  position: sticky;
  top: 110px;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-content: start;
}

.solution-results-title {
  grid-column: 1 / -1;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  color: var(--navy-900);
  margin: 2px 0 4px;
}

.solution-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}

.solution-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.solution-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: grid;
  place-items: center;
}

.solution-icon svg {
  width: 20px;
  height: 20px;
}

.solution-item h3 {
  font-size: 1.4rem;
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--navy-900);
  font-family: var(--font-serif);
}

.solution-item p {
  font-size: 0.92rem;
  margin: 0;
  color: var(--muted);
}

.solution-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 2px 0 0;
  text-align: left;
}

/* ============================================================
   10. Services Section
   ============================================================ */
.section-services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(18px);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(224, 189, 106, 0.85), rgba(23, 47, 97, 0.6));
  z-index: 0;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 20% 15%, rgba(224, 189, 106, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 250ms ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 34px rgba(11, 27, 58, 0.12);
  border-color: rgba(201, 162, 74, 0.45);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cream-100);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: transform 250ms ease, background-color 250ms ease, color 250ms ease;
}

.service-card:hover .service-icon {
  transform: scale(1.06);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card--web .service-icon {
  background: rgba(45, 119, 255, 0.1);
  color: #234c9f;
}

.service-card--seo .service-icon {
  background: rgba(201, 162, 74, 0.14);
  color: #9a7421;
}

.service-card--maps .service-icon {
  background: rgba(54, 153, 142, 0.12);
  color: #1d6e66;
}

.service-card--content .service-icon {
  background: rgba(59, 67, 137, 0.12);
  color: #2f376f;
}

.service-card--web::before {
  background: linear-gradient(90deg, rgba(59, 118, 255, 0.85), rgba(224, 189, 106, 0.6));
}

.service-card--seo::before {
  background: linear-gradient(90deg, rgba(224, 189, 106, 0.95), rgba(189, 148, 52, 0.65));
}

.service-card--maps::before {
  background: linear-gradient(90deg, rgba(56, 167, 150, 0.85), rgba(77, 121, 200, 0.58));
}

.service-card--content::before {
  background: linear-gradient(90deg, rgba(65, 73, 150, 0.9), rgba(20, 39, 84, 0.72));
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.95rem;
  margin: 0;
  align-self: start;
  min-height: 0;
}

.service-link-btn {
  justify-self: center;
  margin-top: 36px;
  margin-bottom: 0;
}

/* ============================================================
   11. Industries Section
   ============================================================ */
.section-industries {
  background: var(--cream-100);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.industry-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.industry-icon svg {
  width: 28px;
  height: 28px;
}

.industry-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.industry-card p {
  font-size: 0.95rem;
  margin: 0;
}

.industry-card .industry-link-btn {
  align-self: flex-start;
  margin-top: 18px;
  justify-self: auto;
}

/* ============================================================
   12. About / Authority Section
   ============================================================ */
.section-about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.portrait-card {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: center;
  overflow: visible;
}

.portrait-card::before {
  content: none;
}

.portrait-image {
  width: min(560px, 100%);
  height: auto;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  box-shadow: none;
}

.portrait-overlay {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.portrait-since {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
}

.portrait-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 600;
}

.portrait-role {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.about-stats li {
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  text-align: center;
  border: 1px solid var(--line);
}

.about-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy-900);
  line-height: 1;
}

.about-stats span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
}

.about-copy p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}

.about-points li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 500;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.18);
}

/* ============================================================
   13. Process Section
   ============================================================ */
.section-process {
  background: var(--cream-100);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
  margin-bottom: 26px;
  position: relative;
  align-items: stretch;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-400) 15%, var(--gold-400) 85%, transparent 100%);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  z-index: 1;
}

.process-step:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 30px rgba(11, 27, 58, 0.12);
  border-color: rgba(201, 162, 74, 0.52);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.step-num {
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy-900);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 0;
  border: 3px solid var(--gold-500);
}

.process-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 58, 0.1);
  background: linear-gradient(180deg, rgba(246, 236, 211, 0.65), rgba(255, 255, 255, 1));
  color: var(--navy-800);
  display: grid;
  place-items: center;
  transition: transform var(--transition), border-color var(--transition);
}

.process-icon svg {
  width: 21px;
  height: 21px;
}

.process-step:hover .process-icon {
  transform: scale(1.04);
  border-color: rgba(201, 162, 74, 0.55);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.process-step p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink-soft);
}

.process-final-line {
  font-size: 1.06rem;
  color: var(--navy-800);
  font-weight: 600;
  margin: 0;
}

/* ============================================================
   14. Offer / CTA Section
   ============================================================ */
.section-offer {
  background: var(--white);
}

.offer-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.offer-card::before,
.offer-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.offer-card::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -120px;
  background: radial-gradient(closest-side, rgba(224, 189, 106, 0.32), transparent 70%);
}

.offer-card::after {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: -100px;
  background: radial-gradient(closest-side, rgba(31, 58, 115, 0.6), transparent 70%);
}

.offer-card .section-title {
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}

.offer-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.offer-mobile-break {
  display: none;
}

.offer-card .btn-gold {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.offer-urgency {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--gold-400);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ============================================================
   15. Footer
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  width: fit-content;
  margin-bottom: 14px;
  height: 56px;
  width: auto;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-nav h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a:hover {
  color: var(--gold-400);
}

.footer-contact p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--gold-400);
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-row p {
  margin: 0;
  color: inherit;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--gold-400);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(224, 189, 106, 0.45);
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

/* Legal / privacy one-pager */
.legal-page .legal-main {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--white) 45%);
  min-height: 48vh;
}

.legal-prose {
  max-width: 720px;
  margin: 0 auto;
}

.legal-prose h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--navy-900);
  margin-bottom: 10px;
}

.legal-prose h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--navy-800);
}

.legal-prose p,
.legal-prose li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-updated {
  font-size: 0.9rem !important;
  color: var(--muted) !important;
  margin-bottom: 1.5rem !important;
}

.legal-list {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0 0 1.25em;
}

.legal-list li {
  margin-bottom: 0.55em;
}

.legal-list li::marker {
  color: var(--gold-600);
}

.legal-prose code {
  font-size: 0.88em;
  background: var(--cream-200);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--navy-800);
}

.legal-back {
  margin-top: 2.5rem !important;
  margin-bottom: 0 !important;
}

/* Cookie consent (bottom-right, Spanish copy from script.js) */
.cookie-consent-banner {
  position: fixed;
  z-index: 220;
  right: 16px;
  bottom: 16px;
  left: auto;
  max-width: 400px;
  width: calc(100% - 32px);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 18px 18px 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-consent-banner.is-dismissed {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.cookie-consent-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.cookie-consent-text {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.cookie-consent-links {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.cookie-consent-links a {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 74, 0.55);
  text-underline-offset: 2px;
}

.cookie-consent-links a:hover {
  color: var(--gold-600);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-consent-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition),
    box-shadow var(--transition);
}

.cookie-consent-accept {
  background: linear-gradient(130deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(11, 27, 58, 0.2);
}

.cookie-consent-accept:hover {
  box-shadow: 0 8px 22px rgba(11, 27, 58, 0.28);
}

.cookie-consent-essential {
  background: var(--gold-100);
  color: var(--navy-900);
  border: 1px solid rgba(201, 162, 74, 0.45);
}

.cookie-consent-essential:hover {
  background: var(--gold-400);
  color: var(--navy-900);
}

@media (max-width: 720px) {
  .cookie-consent-banner {
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }

  body.service-landing .cookie-consent-banner {
    bottom: 72px;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-consent-actions button {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
}

@media print {
  .cookie-consent-banner {
    display: none !important;
  }
}

/* ============================================================
   16A. Service Landing Page: diseno-paginas-web-republica-dominicana
   ============================================================ */
.service-landing {
  background: var(--white);
}

.service-landing .container.narrow {
  max-width: var(--maxw);
}

.service-landing .section {
  padding: 92px 0;
}

.service-hero {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--white) 100%);
  padding: 84px 0 66px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.service-hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  margin-bottom: 16px;
  color: var(--navy-900);
}

.service-hero-copy p {
  max-width: 650px;
  font-size: 1.06rem;
  margin-bottom: 12px;
}

.service-hero-copy .btn {
  margin: 18px auto 0;
}

.hero-trust-badges {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust-badges li {
  border: 1px solid rgba(11, 27, 58, 0.15);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(11, 27, 58, 0.1);
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-800);
  position: relative;
  padding-left: 30px;
}

.hero-trust-badges li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-trust-badges li:nth-child(1) {
  background: rgba(35, 76, 159, 0.1);
}

.hero-trust-badges li:nth-child(1)::before {
  background: #2f5fc5;
}

.hero-trust-badges li:nth-child(2) {
  background: rgba(201, 162, 74, 0.2);
}

.hero-trust-badges li:nth-child(2)::before {
  background: #b8902f;
}

.hero-trust-badges li:nth-child(3) {
  background: rgba(35, 118, 98, 0.14);
}

.hero-trust-badges li:nth-child(3)::before {
  background: #1f7a67;
}

.service-hero-visual {
  display: grid;
}

.service-hero-city-banner {
  width: min(100%, 540px);
  margin: 0 auto;
}

.service-hero-city-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(11, 27, 58, 0.18);
  border: 1px solid rgba(11, 27, 58, 0.1);
}

.mockup-card {
  border-radius: var(--radius-lg);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.hero-preview-shell {
  position: relative;
  padding: 24px 8px 32px;
}

.hero-browser {
  width: min(100%, 540px);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(11, 27, 58, 0.12);
  box-shadow: 0 24px 48px rgba(11, 27, 58, 0.2);
  background: #fffdf8;
}

.hero-browser-top {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--navy-900);
  padding: 10px 14px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.hero-dot.red {
  background: #ff6b6b;
}

.hero-dot.yellow {
  background: #ffd166;
}

.hero-dot.green {
  background: #5ad59a;
}

.hero-tab {
  width: 34%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin-left: 8px;
}

.hero-browser-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
}

.hero-pill {
  width: 40px;
  height: 16px;
  border-radius: 999px;
  background: var(--navy-800);
}

.hero-menu {
  width: 24px;
  height: 6px;
  border-radius: 999px;
  background: #6f7d9a;
}

.hero-menu.short {
  width: 18px;
}

.hero-cta {
  width: 42px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold-500);
  margin-left: auto;
}

.hero-browser-body {
  background: #fffdf8;
  border-top: 1px solid #ece8dc;
  padding: 16px 16px 14px;
}

.hero-line {
  height: 10px;
  border-radius: 999px;
  background: #dde3ef;
  margin: 0 auto 8px;
}

.hero-line.w-75 {
  width: 75%;
}

.hero-line.w-55 {
  width: 55%;
}

.hero-mini-cta {
  width: 64px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold-500);
  margin: 8px auto 16px;
}

.hero-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.8fr;
  gap: 10px;
}

.hero-box {
  min-height: 68px;
  border-radius: 8px;
  background: #e6e9f0;
}

.hero-copy-lines {
  display: grid;
  gap: 7px;
  align-content: start;
}

.hero-copy-lines span {
  height: 8px;
  border-radius: 999px;
  background: #cfd7e6;
}

.hero-copy-lines span:nth-child(1) {
  width: 86%;
  background: var(--navy-900);
}

.hero-copy-lines span:nth-child(2) {
  width: 96%;
}

.hero-copy-lines span:nth-child(3) {
  width: 62px;
  background: var(--gold-500);
}

.hero-footer-band {
  margin-top: 12px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--navy-900), var(--gold-500));
}

.hero-floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(184, 144, 47, 0.55);
  box-shadow: 0 14px 34px rgba(11, 27, 58, 0.2);
  padding: 7px 12px 7px 7px;
}

.hero-floating-badge p {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.95rem;
}

.bubble-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--white);
}

.badge-google .bubble-icon {
  background: linear-gradient(140deg, #142f66, #2854a8);
}

.badge-calls .bubble-icon {
  background: linear-gradient(140deg, #1f3b76, #2d63c2);
}

.badge-clients .bubble-icon {
  background: linear-gradient(140deg, #1f3b76, #c9a24a);
}

.badge-google {
  left: -10px;
  top: 170px;
}

.badge-calls {
  right: -4px;
  top: 170px;
}

.badge-clients {
  right: 20px;
  bottom: 0;
}

/* ----- SEO service hero: SERP mockup (agencia-seo-republica-dominicana.html only) ----- */
.mockup-card--seo-serp {
  max-width: 100%;
}

.seo-hero-visual-shell {
  position: relative;
  padding: 24px 8px 36px;
  min-height: 380px;
}

.seo-hero-serp {
  width: min(100%, 540px);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(11, 27, 58, 0.12);
  box-shadow: 0 24px 48px rgba(11, 27, 58, 0.2);
  background: #fff;
}

.seo-hero-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--navy-900);
}

.seo-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.seo-hero-dot--r {
  background: #ff6b6b;
}

.seo-hero-dot--y {
  background: #ffd166;
}

.seo-hero-dot--g {
  background: #5ad59a;
}

.seo-hero-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #f4f6fb 0%, #eef1f8 100%);
  border-bottom: 1px solid #e2e8f0;
}

.seo-hero-search-icon {
  flex-shrink: 0;
  color: #5c6b8a;
  display: grid;
  place-items: center;
}

.seo-hero-query-pill {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dce3ef;
  box-shadow: 0 1px 2px rgba(11, 27, 58, 0.06);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-800);
}

.seo-hero-query-kw {
  color: var(--navy-900);
}

.seo-hero-query-sep {
  color: #9aa5bd;
  font-weight: 500;
}

.seo-hero-query-loc {
  color: #8a6d2e;
}

.seo-hero-serp-body {
  padding: 14px 16px 18px;
  background: #fff;
}

.seo-hero-meta-line {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7a93;
}

.seo-hero-result {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
}

.seo-hero-result:last-child {
  margin-bottom: 0;
}

.seo-hero-result--ad {
  background: #f6f7fb;
  border: 1px dashed #c5cddc;
}

.seo-hero-result-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6578;
  margin-bottom: 8px;
}

.seo-hero-ad-lines {
  display: grid;
  gap: 6px;
}

.seo-hero-ad-lines span {
  height: 7px;
  border-radius: 999px;
  background: #d4dae8;
}

.seo-hero-ad-lines span:nth-child(1) {
  width: 72%;
}

.seo-hero-ad-lines span:nth-child(2) {
  width: 48%;
}

.seo-hero-result--organic {
  border: 1px solid #e8ecf4;
}

.seo-hero-result--you {
  position: relative;
  background: linear-gradient(135deg, #fffdf8 0%, #f5f8ff 100%);
  border-color: rgba(201, 166, 93, 0.45);
  box-shadow: 0 8px 24px rgba(11, 27, 58, 0.08);
}

.seo-hero-you-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c4818;
  background: rgba(201, 166, 93, 0.25);
}

.seo-hero-result-title {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1a3a6e;
}

.seo-hero-result-url {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: #1a6b45;
  line-height: 1.3;
}

.seo-hero-result-snippet {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #4a5568;
}

.seo-hero-result--faded .seo-hero-result-title {
  font-size: 0.95rem;
  color: #6b7c93;
}

.seo-hero-result--faded .seo-hero-result-url {
  color: #5c6b8a;
}

.seo-hero-snippet-bars {
  display: grid;
  gap: 5px;
  margin-top: 4px;
}

.seo-hero-snippet-bars span {
  height: 6px;
  border-radius: 999px;
  background: #dde3ef;
}

.seo-hero-snippet-bars span:nth-child(1) {
  width: 100%;
}

.seo-hero-snippet-bars span:nth-child(2) {
  width: 92%;
}

.seo-hero-snippet-bars span:nth-child(3) {
  width: 64%;
}

.seo-hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(220px, 46vw);
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(184, 144, 47, 0.55);
  box-shadow: 0 14px 34px rgba(11, 27, 58, 0.2);
  padding: 7px 12px 7px 7px;
}

.seo-hero-chip p {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.88rem;
}

.seo-hero-chip-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #142f66, #2854a8);
}

.seo-hero-chip--local .seo-hero-chip-ico {
  background: linear-gradient(140deg, #1f3b76, #2d63c2);
}

.seo-hero-chip-ico--bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(140deg, #1f3b76, #c9a24a);
}

.seo-hero-chip-ico--bars span {
  width: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
}

.seo-hero-chip-ico--bars span:nth-child(1) {
  height: 12px;
}

.seo-hero-chip-ico--bars span:nth-child(2) {
  height: 20px;
}

.seo-hero-chip-ico--bars span:nth-child(3) {
  height: 16px;
}

.seo-hero-chip--serp {
  left: -8px;
  top: 198px;
}

.seo-hero-chip--local {
  right: -6px;
  top: 132px;
}

.seo-hero-chip--data {
  right: 12px;
  bottom: 2px;
}

/* ----- Google Maps service hero (optimizacion-google-maps-republica-dominicana.html) ----- */
.mockup-card--maps-local {
  max-width: 100%;
}

.maps-hero-visual-shell {
  position: relative;
  padding: 24px 8px 36px;
  min-height: 380px;
}

.maps-hero-card {
  width: min(100%, 520px);
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.35);
  box-shadow: 0 22px 48px rgba(11, 27, 58, 0.18);
  background: linear-gradient(180deg, #fffdf8 0%, #f7f9ff 100%);
}

.maps-hero-card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #2a9d8f 0%, #7eb6e8 55%, #a8c4f0 100%);
}

.maps-hero-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--navy-900);
}

.maps-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.maps-hero-dot--r {
  background: #ff6b6b;
}

.maps-hero-dot--y {
  background: #ffd166;
}

.maps-hero-dot--g {
  background: #5ad59a;
}

.maps-hero-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(11, 27, 58, 0.08);
}

.maps-hero-map-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0d5c52;
  background: rgba(42, 157, 143, 0.14);
}

.maps-hero-head-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-800);
}

.maps-hero-pack-label {
  margin: 0;
  padding: 10px 16px 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7a93;
}

.maps-hero-pack {
  padding: 12px 16px 18px;
  display: grid;
  gap: 10px;
}

.maps-hero-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e8ecf4;
  background: #fff;
}

.maps-hero-row--you {
  border-color: rgba(201, 166, 93, 0.55);
  background: linear-gradient(135deg, #fffdf8 0%, #f0f6ff 100%);
  box-shadow: 0 6px 20px rgba(11, 27, 58, 0.06);
}

.maps-hero-rank {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--navy-900);
  background: rgba(201, 166, 93, 0.28);
}

.maps-hero-row--you .maps-hero-rank {
  background: linear-gradient(140deg, #1f3b76, #c9a24a);
  color: #fff;
}

.maps-hero-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.maps-hero-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.maps-hero-meta {
  font-size: 0.78rem;
  color: #1a6b45;
}

.maps-hero-meta--muted {
  color: #7a8799;
}

.maps-hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(220px, 46vw);
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(184, 144, 47, 0.55);
  box-shadow: 0 14px 34px rgba(11, 27, 58, 0.2);
  padding: 7px 12px 7px 7px;
}

.maps-hero-chip p {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.88rem;
}

.maps-hero-chip-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #0d5c52, #2a9d8f);
  font-size: 1.1rem;
}

.maps-hero-chip--gbp .maps-hero-chip-ico {
  background: linear-gradient(140deg, #1f3b76, #c9a24a);
}

.maps-hero-chip-ico--bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(140deg, #142f66, #2854a8);
}

.maps-hero-chip-ico--bars span {
  width: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
}

.maps-hero-chip-ico--bars span:nth-child(1) {
  height: 12px;
}

.maps-hero-chip-ico--bars span:nth-child(2) {
  height: 20px;
}

.maps-hero-chip-ico--bars span:nth-child(3) {
  height: 16px;
}

.maps-hero-chip--pin {
  left: -8px;
  top: 188px;
}

.maps-hero-chip--gbp {
  right: -6px;
  top: 118px;
}

.maps-hero-chip--pack {
  right: 8px;
  bottom: 4px;
}

.service-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  position: static;
}

.service-panel::before {
  content: none;
}

.quick-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.quick-item {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.quick-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  margin-top: 1px;
}

.quick-item p {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

/* “¿Por Qué Invertir…?” — centered “El problema” style (pill, split serif title, slate body) */
.section-invertir-benefits {
  background: var(--white);
}

.invertir-problema-stack {
  max-width: 760px;
  margin-inline: auto;
}

.invertir-problema-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c9a65d;
  background: #f9f2e2;
  padding: 10px 24px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.invertir-problema-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.95rem, 4.1vw, 3.05rem);
  line-height: 1.14;
  margin: 0 0 26px;
  letter-spacing: -0.02em;
}

.invertir-problema-title-navy {
  display: block;
  color: #0e1b34;
}

.invertir-problema-title-gold {
  display: block;
  color: #c9a65d;
  margin-top: 0.1em;
}

.invertir-problema-subhead {
  font-size: 1.11rem;
  font-weight: 500;
  line-height: 1.65;
  color: #4a5568;
  margin: 0 auto 20px;
  max-width: 38rem;
}

.invertir-problema-body {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}

.invertir-problema-body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4a5568;
  margin: 0 0 1.1em;
}

.invertir-problema-body p:last-child {
  margin-bottom: 0;
}

/* Left-aligned bullets inside centered “invertir” stacks (e.g. SEO landing). */
.invertir-problema-benefits-list {
  list-style: disc;
  list-style-position: outside;
  margin: 0.35em 0 1.1em;
  padding-left: 1.35rem;
  max-width: none;
  text-align: left;
}

.invertir-problema-benefits-list li {
  padding-left: 0.35rem;
  margin: 0.35em 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4a5568;
}

.invertir-problema-benefits-list li::marker {
  color: var(--gold-500);
}

.invertir-problema-link {
  color: #0e1b34;
  text-decoration: underline;
  text-decoration-color: rgba(201, 166, 93, 0.55);
  text-underline-offset: 3px;
}

.invertir-problema-link:hover {
  color: #c9a65d;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 8px 18px;
  align-items: start;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 74, 0.55);
}

.benefit-card-icon {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  border: 2px solid rgba(224, 189, 106, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.15);
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.benefit-card:hover .benefit-card-icon {
  transform: scale(1.08);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.22);
}

.benefit-card-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  margin: 0;
  color: var(--navy-900);
  line-height: 1.25;
}

.benefit-card p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* “Nuestro enfoque…” — copy left, cards right (mirror invertir palette) */
.section-enfoque-benefits {
  background: linear-gradient(180deg, #fdfbf4 0%, var(--cream-100) 50%, #faf7f0 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.enfoque-benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 52px 56px;
  align-items: start;
}

.enfoque-benefits-copy {
  max-width: 560px;
}

.enfoque-benefits-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--navy-900);
}

.enfoque-benefits-copy p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.enfoque-benefits-copy p:last-child {
  margin-bottom: 0;
}

.enfoque-different-lead {
  margin-top: 6px;
  color: var(--navy-900);
}

.enfoque-benefits-visual {
  position: relative;
  padding: 4px 0;
}

.enfoque-benefits-visual::before {
  content: "";
  position: absolute;
  inset: 2% 8% 6% -4%;
  background: radial-gradient(
    ellipse 80% 65% at 28% 35%,
    rgba(201, 162, 74, 0.18) 0%,
    rgba(246, 236, 211, 0.1) 45%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

.enfoque-visual-label {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.enfoque-benefits-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.enfoque-benefits-cards--second {
  margin-bottom: 0;
}

.enfoque-card.benefit-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.enfoque-card.benefit-card .benefit-card-icon {
  grid-column: auto;
  grid-row: auto;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
}

.enfoque-card.benefit-card .benefit-card-icon svg {
  width: 20px;
  height: 20px;
}

.enfoque-card.benefit-card h3 {
  grid-column: auto;
  grid-row: auto;
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 1.35;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.service-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  color: var(--navy-900);
}

.service-section p {
  font-size: 1.04rem;
  margin-bottom: 14px;
}

.service-section-alt {
  background: var(--cream-100);
}

.service-list,
.service-steps {
  margin: 8px 0 18px;
  display: grid;
  gap: 10px;
}

.service-list li,
.service-steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.service-list li {
  position: relative;
  padding-left: 38px;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.24);
}

.service-list li::after {
  content: "✓";
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-steps {
  list-style: decimal;
  padding-left: 20px;
}

.service-steps li {
  padding-left: 14px;
}

.service-cta-row {
  margin-top: 22px;
}

.section-seo-visual {
  background: linear-gradient(180deg, #ffffff 0%, #faf7f0 100%);
}

.seo-section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}

.section-seo-visual .seo-copy p {
  max-width: 650px;
}

.section-seo-visual .seo-copy {
  order: 2;
}

.seo-checklist-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  order: 1;
}

.seo-checklist-title {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.section-seo-visual .seo-checklist-card .service-list {
  margin: 0;
  gap: 12px;
}

.section-seo-visual .seo-checklist-card .service-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px 14px 42px;
}

.section-tipos-web {
  background: linear-gradient(180deg, #faf7f0 0%, #ffffff 100%);
}

.tipos-web-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 38px;
  align-items: start;
}

.tipos-web-copy p {
  max-width: 650px;
}

.tipos-web-cards {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.tipos-web-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tipos-web-list li {
  min-height: 70px;
  display: flex;
  align-items: center;
}

.section-proceso-split {
  background: linear-gradient(180deg, #ffffff 0%, #faf7f0 100%);
}

.proceso-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 38px;
  align-items: start;
}

.proceso-steps-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  order: 1;
}

.proceso-steps-label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.section-proceso-split .service-steps {
  margin: 0;
  list-style: none;
  padding-left: 0;
  counter-reset: process-step;
  gap: 12px;
}

.section-proceso-split .service-steps li {
  position: relative;
  padding: 14px 16px 14px 56px;
  min-height: 58px;
  display: flex;
  align-items: center;
  counter-increment: process-step;
}

.section-proceso-split .service-steps li::before {
  content: counter(process-step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.2);
}

.proceso-copy {
  order: 2;
}

.proceso-copy p {
  max-width: 650px;
}

.section-elegirnos {
  background: linear-gradient(180deg, #faf7f0 0%, #ffffff 100%);
}

.elegirnos-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 38px;
  align-items: start;
}

.elegirnos-copy {
  order: 1;
}

.elegirnos-copy p {
  max-width: 650px;
}

.elegirnos-reasons-card {
  order: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.elegirnos-reasons-label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.elegirnos-list {
  margin: 0;
  gap: 12px;
}

.elegirnos-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
}

.section-auditoria-split {
  background: linear-gradient(180deg, #ffffff 0%, #faf7f0 100%);
}

.auditoria-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 38px;
  align-items: start;
}

.auditoria-list-card {
  order: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.auditoria-list-label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.auditoria-list {
  margin: 0;
  gap: 12px;
}

.auditoria-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
}

.auditoria-copy {
  order: 2;
}

.auditoria-copy p {
  max-width: 650px;
}

.section-next-level {
  background: linear-gradient(180deg, #faf7f0 0%, #ffffff 100%);
}

.next-level-head {
  margin-bottom: 18px;
}

.next-level-head h2 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.next-level-content {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.next-level-content p {
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.next-level-content a {
  color: var(--navy-800);
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 74, 0.55);
  text-underline-offset: 3px;
}

.next-level-content a:hover {
  color: var(--gold-600);
}

/* Service landing: FAQ accordion */
.section-service-faq {
  background: var(--cream-100);
}

.service-faq-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 40px;
}

.service-faq-title {
  margin-bottom: 0;
}

.service-faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.is-open {
  border-color: rgba(201, 162, 74, 0.45);
  box-shadow: var(--shadow);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-900);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.faq-trigger:hover {
  color: var(--navy-700);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: -2px;
  border-radius: var(--radius-sm);
}

.faq-trigger-text {
  flex: 1;
  min-width: 0;
}

.faq-chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-chevron::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -2px);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-panel-inner p {
  margin: 0;
  padding: 0 20px 20px 24px;
  margin-left: 20px;
  margin-right: 20px;
  border-left: 3px solid var(--gold-500);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Abogados landing: responsive city grid (before final CTA) */
.section-abogados-cities {
  background: var(--cream-100);
  padding-top: 72px;
  padding-bottom: 72px;
}

.abogados-cities-head {
  margin-bottom: 40px;
}

.abogados-cities-title {
  margin-bottom: 14px;
}

.abogados-cities-intro {
  margin-bottom: 0;
}

.abogados-cities-nav {
  margin: 0;
}

.abogados-cities-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 14px;
}

@media (min-width: 721px) {
  .abogados-cities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .abogados-cities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.abogados-cities-grid > li {
  display: flex;
}

.abogados-city-btn {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 0.94rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(11, 27, 58, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

a.abogados-city-btn:hover {
  color: var(--navy-900);
  border-color: rgba(201, 162, 74, 0.55);
  box-shadow: 0 8px 22px rgba(11, 27, 58, 0.08);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.98);
}

span.abogados-city-btn {
  cursor: default;
}

.abogados-city-btn--current {
  border-color: rgba(201, 162, 74, 0.72);
  box-shadow:
    0 0 0 1px rgba(201, 162, 74, 0.28),
    0 8px 22px rgba(11, 27, 58, 0.1);
  background: linear-gradient(180deg, #fffdf8 0%, var(--white) 100%);
  color: var(--navy-900);
}

a.abogados-city-btn:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* Firmas contables landing: city grid (premium buttons, before final CTA) */
.section-contadores-cities {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--white) 100%);
  padding-top: 72px;
  padding-bottom: 72px;
}

.contadores-cities-head {
  margin-bottom: 40px;
}

.contadores-cities-title {
  margin-bottom: 14px;
}

.contadores-cities-intro {
  margin-bottom: 0;
}

.contadores-cities-nav {
  margin: 0;
}

.contadores-cities-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
}

@media (min-width: 768px) {
  .contadores-cities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .contadores-cities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contadores-cities-grid > li {
  display: flex;
}

a.contadores-city-btn {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50px;
  padding: 12px 18px;
  font-size: 0.94rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid rgba(11, 27, 58, 0.12);
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgba(11, 27, 58, 0.06),
    0 4px 12px rgba(11, 27, 58, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

a.contadores-city-btn:hover {
  color: var(--navy-900);
  border-color: rgba(201, 162, 74, 0.65);
  box-shadow:
    0 4px 14px rgba(11, 27, 58, 0.1),
    0 12px 28px rgba(11, 27, 58, 0.06);
  transform: translateY(-2px);
  background: var(--white);
}

a.contadores-city-btn:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* City stub hero (abogados local pages) */
.section-city-hero {
  padding-bottom: 48px;
}

.city-hero-backlink a {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 74, 0.55);
  text-underline-offset: 3px;
}

.city-hero-backlink a:hover {
  color: var(--navy-900);
}

.city-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.service-hero-copy .city-hero-cta-row--start {
  justify-content: flex-start;
}

body.niche-contadores .hero-footer-band {
  background: linear-gradient(90deg, #163d2e, var(--gold-500));
}

body.niche-dental .hero-footer-band {
  background: linear-gradient(90deg, #1a5c52, #5ad59a);
}

body.niche-cirugia .hero-footer-band {
  background: linear-gradient(90deg, #2d1f3d, #8b5a6b);
}

body.niche-fertilidad .hero-footer-band {
  background: linear-gradient(90deg, #3a2d5c, var(--gold-500));
}

body.niche-inmobiliaria .hero-footer-band {
  background: linear-gradient(90deg, #4a3020, var(--gold-500));
}

body.niche-abogados .hero-footer-band {
  background: linear-gradient(90deg, var(--navy-900), var(--gold-500));
}

.section-city-hero .container.narrow > p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-final-city {
  padding-bottom: 48px;
}

.final-conversion-section {
  background: var(--white);
  padding-top: 22px;
}

.final-conversion-card {
  background: linear-gradient(130deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg);
  padding: 62px 34px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.final-conversion-card h2 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}

.final-conversion-card p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

.mobile-sticky-cta {
  display: none;
}

/* ============================================================
   16. Responsive — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .pain-grid,
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid::before {
    left: 20%;
    right: 20%;
    top: 52px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .solution-copy {
    position: static;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-portrait {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .seo-section-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tipos-web-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tipos-web-list {
    grid-template-columns: 1fr;
  }

  .proceso-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .proceso-copy {
    order: 1;
  }

  .proceso-steps-card {
    order: 2;
  }

  .elegirnos-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .auditoria-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .auditoria-copy {
    order: 1;
  }

  .auditoria-list-card {
    order: 2;
  }

  .section-seo-visual .seo-copy,
  .section-seo-visual .seo-checklist-card {
    order: initial;
  }

  .enfoque-benefits-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .enfoque-benefits-copy {
    max-width: none;
  }

  .enfoque-benefits-cards {
    grid-template-columns: 1fr;
  }

  .badge-google {
    left: 20px;
    top: 210px;
  }

  .badge-calls {
    right: 24px;
    top: 210px;
  }

  .badge-clients {
    right: 36px;
    bottom: -4px;
  }

  .seo-hero-visual-shell {
    min-height: 420px;
    padding-bottom: 48px;
  }

  .seo-hero-chip--serp {
    left: 6px;
    top: 248px;
  }

  .seo-hero-chip--local {
    right: 6px;
    top: 148px;
  }

  .seo-hero-chip--data {
    right: 12px;
    bottom: 10px;
  }

  .maps-hero-visual-shell {
    min-height: 420px;
    padding-bottom: 48px;
  }

  .maps-hero-chip--pin {
    left: 6px;
    top: 228px;
  }

  .maps-hero-chip--gbp {
    right: 6px;
    top: 138px;
  }

  .maps-hero-chip--pack {
    right: 12px;
    bottom: 10px;
  }

  .quick-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   17. Responsive — Mobile
   ============================================================ */
@media (max-width: 720px) {
  :root {
    --header-h: 84px;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 24px 24px 32px;
    box-shadow: 0 16px 30px rgba(11, 27, 58, 0.08);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-list a::after {
    display: none;
  }

  .nav-item-has-dropdown .nav-dropdown {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gold-400);
    border-radius: 0;
    padding: 0 0 4px 14px;
    margin: -6px 0 0;
  }

  .nav-item-has-dropdown .nav-dropdown a {
    padding: 12px 0 12px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-item-has-dropdown .nav-dropdown li:last-child a {
    border-bottom: none;
  }

  .nav-cta {
    margin: 18px 0 0;
    width: 100%;
  }

  .brand-logo {
    height: 72px;
  }

  /* Hero */
  .hero {
    padding: 56px 0 40px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-resultados-img {
    max-height: min(480px, 58vh);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .trust-strip {
    padding: 24px 0 28px;
  }

  .trust-marquee {
    padding: 0;
    border-radius: 0;
  }

  .trust-banner-img {
    width: 100%;
    height: auto;
  }

  /* Grids */
  .pain-grid,
  .services-grid,
  .industries-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    margin-bottom: 22px;
  }

  .process-grid::before {
    display: none;
  }

  .step-header {
    margin-bottom: 14px;
  }

  .process-final-line {
    font-size: 1rem;
  }

  .solution-list {
    grid-template-columns: 1fr;
  }

  /* Offer */
  .offer-card {
    padding: 56px 24px;
    border-radius: var(--radius);
  }

  .offer-mobile-break {
    display: block;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-landing .section {
    padding: 64px 0;
  }

  .service-hero {
    padding: 52px 0 42px;
  }

  .service-hero-copy h1 {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
  }

  .service-hero-copy p {
    font-size: 1rem;
  }

  .hero-trust-badges li {
    font-size: 0.8rem;
  }

  .mockup-card {
    padding: 0;
  }

  .seo-checklist-card {
    padding: 22px 18px;
  }

  .hero-preview-shell {
    padding: 6px 0 70px;
  }

  .hero-browser {
    width: 100%;
  }

  .hero-floating-badge {
    min-width: 160px;
    padding: 6px 9px 6px 6px;
    gap: 8px;
  }

  .hero-floating-badge p {
    font-size: 0.84rem;
  }

  .bubble-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .badge-google {
    left: 0;
    top: 170px;
  }

  .badge-calls {
    right: 0;
    top: 170px;
  }

  .badge-clients {
    right: 14px;
    bottom: 14px;
  }

  .seo-hero-visual-shell {
    min-height: 0;
    padding: 6px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .seo-hero-chip {
    position: static;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px 8px 8px;
  }

  .seo-hero-chip p {
    font-size: 0.82rem;
  }

  .seo-hero-chip-ico {
    width: 36px;
    height: 36px;
  }

  .seo-hero-chip-ico svg {
    width: 18px;
    height: 18px;
  }

  .seo-hero-result-title {
    font-size: 0.92rem;
  }

  .seo-hero-query-pill {
    font-size: 0.82rem;
  }

  .maps-hero-visual-shell {
    min-height: 0;
    padding: 6px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .maps-hero-chip {
    position: static;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px 8px 8px;
  }

  .maps-hero-chip p {
    font-size: 0.82rem;
  }

  .maps-hero-chip-ico {
    width: 36px;
    height: 36px;
  }

  .final-conversion-card {
    padding: 48px 24px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 120;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    touch-action: manipulation;
    min-height: 48px;
    border-radius: 999px;
    background: var(--gold-500);
    color: var(--navy-900);
    box-shadow: 0 14px 34px rgba(7, 20, 43, 0.28);
    font-weight: 700;
    font-size: 0.95rem;
  }

  .service-landing .site-footer {
    padding-bottom: 74px;
  }

  body:has(> .mobile-sticky-cta) .site-footer {
    padding-bottom: 74px;
  }

  .benefit-card {
    padding: 18px 16px;
  }

  .enfoque-card.benefit-card h3 {
    font-size: 0.95rem;
  }
}

/* ============================================================
   18. Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   19. Blog post template (blog-post-template.html)
   ============================================================ */
.blog-post-page {
  background: var(--white);
}

.blog-post {
  padding-bottom: 48px;
}

.blog-featured-wrap {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--white) 100%);
  padding: 28px 0 12px;
}

.blog-featured-figure {
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 0 24px;
}

.blog-featured-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: block;
  background: var(--navy-800);
}

.blog-post-header {
  padding: 32px 0 12px;
}

.blog-post-kicker {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.blog-breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.blog-breadcrumbs-list a {
  color: var(--navy-600);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.blog-breadcrumbs-list a:hover {
  color: var(--gold-600);
  border-bottom-color: rgba(200, 160, 89, 0.45);
}

.blog-breadcrumbs-list li:not(:last-child)::after {
  content: "\203A";
  margin-left: 0.35rem;
  color: var(--muted);
  font-weight: 400;
  text-decoration: none;
  opacity: 0.85;
}

.blog-breadcrumb-current {
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 100%;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-meta-item--category span {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cream-200);
  color: var(--navy-800);
  font-size: 0.8125rem;
  font-weight: 600;
}

.blog-meta-icon {
  flex-shrink: 0;
  opacity: 0.72;
  color: var(--navy-600);
}

.blog-post-summary {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.25em;
}

.blog-post-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.blog-post-body {
  /* Solo vertical: el padding horizontal lo aporta .container (misma clase en el div). */
  padding-top: 20px;
  padding-bottom: 40px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.blog-post-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin-top: 1.75em;
  margin-bottom: 0.5em;
  color: #c5a059;
  font-weight: 600;
}

.blog-post-body h3 {
  font-size: 1.15rem;
  margin-top: 1.5em;
}

.blog-post-body a {
  color: var(--navy-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-post-body a:hover {
  color: var(--gold-600);
}

.blog-post-list {
  list-style: disc;
  padding-left: 1.35em;
  margin: 0 0 1.25em;
  color: var(--ink-soft);
}

.blog-post-list li {
  margin-bottom: 0.4em;
}

.blog-faq {
  margin: 0 0 1.5em;
}

.blog-faq dt {
  font-weight: 700;
  color: var(--navy-900);
  margin: 1.15em 0 0.35em;
  font-size: 1.02rem;
}

.blog-faq dt:first-child {
  margin-top: 0;
}

.blog-faq dd {
  margin: 0 0 0.5em;
  padding: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.blog-post-footer {
  padding: 8px 0 32px;
}

.blog-author-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 26px;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.blog-author-avatar-wrap {
  flex-shrink: 0;
}

.blog-author-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.blog-author-text {
  min-width: 0;
}

.blog-author-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 0.2em;
}

.blog-author-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-600);
  margin: 0 0 0.75em;
}

.blog-author-bio {
  font-size: 0.95rem;
  margin: 0 0 1em;
  line-height: 1.65;
}

.blog-author-link-wrap {
  margin: 0;
}

.blog-author-link {
  display: inline-flex;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid var(--gold-500);
}

.blog-author-link:hover {
  color: var(--gold-600);
  border-bottom-color: var(--gold-600);
}

/* Blog: mobile (matches site nav breakpoint 720px) */
@media (max-width: 720px) {
  .blog-post {
    padding-bottom: 36px;
  }

  .blog-featured-wrap {
    padding: 16px 0 8px;
  }

  .blog-featured-figure {
    padding: 0 16px;
  }

  .blog-featured-img {
    border-radius: var(--radius);
  }

  .blog-post-header {
    padding: 20px 0 8px;
  }

  .blog-post-kicker {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .blog-breadcrumbs-list {
    margin-bottom: 12px;
    align-items: flex-start;
    row-gap: 6px;
    font-size: 0.78rem;
  }

  .blog-breadcrumbs-list li {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 100%;
  }

  .blog-breadcrumbs-list li[aria-current="page"] {
    flex: 1 1 100%;
    margin-top: 4px;
    padding-top: 2px;
  }

  .blog-breadcrumb-current {
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .blog-post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px 0;
    font-size: 0.8125rem;
  }

  .blog-meta-item {
    min-height: 28px;
  }

  .blog-meta-item--category {
    width: 100%;
  }

  .blog-meta-item--category span {
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  .blog-post-title {
    font-size: clamp(1.45rem, 6.5vw, 2.65rem);
    line-height: 1.14;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .blog-post-summary {
    font-size: 1rem;
    line-height: 1.72;
  }

  .blog-post-body {
    padding-top: 14px;
    padding-bottom: 28px;
    font-size: 1rem;
    line-height: 1.68;
    overflow-wrap: anywhere;
  }

  .blog-post-body h2 {
    font-size: clamp(1.18rem, 4.8vw, 1.65rem);
    line-height: 1.22;
    margin-top: 1.45em;
  }

  .blog-post-body h3 {
    font-size: 1.03rem;
  }

  .blog-post-list {
    padding-left: 1.2em;
  }

  .blog-post-list li {
    padding-left: 2px;
  }

  .blog-faq dt {
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .blog-faq dd {
    line-height: 1.62;
  }

  .blog-post-footer {
    padding: 4px 0 24px;
  }

  .blog-author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 18px;
    gap: 14px;
  }

  .blog-author-avatar {
    width: 80px;
    height: 80px;
  }

  .blog-author-name {
    font-size: 1.12rem;
  }

  .blog-author-bio {
    font-size: 0.92rem;
    text-align: left;
  }

  .blog-author-link {
    min-height: 44px;
    padding: 12px 8px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
  }

  .blog-author-link-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .blog-featured-figure {
    padding: 0 12px;
  }

  .blog-breadcrumbs-list {
    font-size: 0.75rem;
  }
}
