/* Del Toro Insurance — main stylesheet
   Brand: black, red, white; yellow only for focus + "handled elsewhere" markers.
   Type: Archivo (variable width). Condensed heavy for headlines, normal for body. */

:root {
  --ink: #000;
  --paper: #fff;
  --red: #c8102e;
  --red-deep: #9b0c23;
  --yellow: #ffc72c;
  --steel: #f1f2f4;
  --line: #d6d8dc;
  --text: #22252a;
  --muted: #5a606b;
  --on-ink-muted: #b9bdc4;
  --wa: #128c4a;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1.05rem, 1rem + .2vw, 1.15rem);
  --step-1: clamp(1.3rem, 1.2rem + .45vw, 1.55rem);
  --step-2: clamp(1.65rem, 1.45rem + .9vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.7rem + 1.9vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 5rem);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 68ch;
  --radius: 2px;
  --sticky-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  padding-bottom: var(--sticky-h);
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 .5em;
  font-stretch: 78%;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-stretch: 85%; letter-spacing: 0; }
h4 { font-size: var(--step-0); font-stretch: 100%; }
p, ul, ol { margin: 0 0 1em; }
p { text-wrap: pretty; }
.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--paper); padding: 10px 16px; clip: auto; width: auto; height: auto; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.dt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .65em 1.15em;
  font: 700 1rem/1.1 var(--font); font-stretch: 90%;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.dt-btn:hover { background: var(--ink); color: var(--paper); }
.dt-btn--quote { background: var(--red); border-color: var(--red); color: var(--paper); }
.dt-btn--quote:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--paper); }
.dt-btn--wa svg { color: var(--wa); }
.dt-btn--wa:hover svg { color: currentColor; }
.dt-btn--ghost { background: transparent; }
.is-dark .dt-btn--call, .is-dark .dt-btn--wa, .is-dark .dt-btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.is-dark .dt-btn--call:hover, .is-dark .dt-btn--wa:hover, .is-dark .dt-btn--ghost:hover { background: var(--paper); color: var(--ink); }
.is-dark .dt-btn--wa svg { color: #3fd07f; }
.dt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dt-phone-note { font-size: var(--step--1); color: var(--on-ink-muted); margin-top: .75em; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header__top { background: var(--ink); color: var(--paper); font-size: .85rem; }
.site-header__topbar { display: flex; justify-content: flex-end; align-items: center; gap: 20px; min-height: 34px; }
.header-phone { font-weight: 700; color: var(--paper); text-decoration: none; white-space: nowrap; }
.header-phone:hover, .header-link:hover { color: var(--yellow); }
.header-link { color: var(--on-ink-muted); text-decoration: none; font-weight: 600; }
.site-header__bar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand img { max-height: 52px; width: auto; }
.brand__text { font-weight: 900; font-stretch: 70%; font-size: 1.4rem; letter-spacing: .01em; line-height: 1; }
.site-nav { margin-left: auto; min-width: 0; overflow: hidden; }
.site-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 8px; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }
.header-quote { flex: 0 0 auto; white-space: nowrap; }
.lang-switch { display: flex; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.lang-switch a, .lang-switch span { padding: 6px 4px; text-decoration: none; color: var(--on-ink-muted); }
.lang-switch a:hover { color: var(--paper); }
.lang-switch [aria-current] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--red); }
.lang-switch .sep { color: #4a4e55; padding: 0 2px; }
.menu-toggle { display: none; }
@media (max-width: 1300px) {
  .site-header__bar { min-height: 60px; flex-wrap: wrap; gap: 10px; }
  .menu-toggle {
    display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 14px;
    font: 700 .95rem var(--font); background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius);
  }
  .site-nav { display: none; order: 5; flex-basis: 100%; margin: 0; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 0 16px; }
  .site-nav a { padding: 12px 0; font-size: 1.05rem; }
  .header-quote { display: none; }
}
/* Same collapsed menu when the full menu does not fit (set by theme.js; covers long Spanish labels and font fallbacks). */
.site-header.is-compact .site-header__bar { flex-wrap: wrap; gap: 10px; }
.site-header.is-compact .menu-toggle { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 14px; font: 700 .95rem var(--font); background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius); }
.site-header.is-compact .site-nav { display: none; order: 5; flex-basis: 100%; margin: 0; border-top: 1px solid var(--line); overflow: visible; }
.site-header.is-compact .site-nav.is-open { display: block; }
.site-header.is-compact .site-nav ul { flex-direction: column; padding: 8px 0 16px; }
.site-header.is-compact .site-nav a { padding: 12px 0; font-size: 1.05rem; }
.site-header.is-compact .header-quote { order: 3; }
.site-header.is-compact .menu-toggle { order: 2; }
@media (max-width: 1300px) { .site-nav { overflow: visible; } }
.paid-header .site-header__bar { justify-content: space-between; }
@media (max-width: 860px) { .site-header { position: relative; } .admin-bar .site-header { top: 0; } }

/* ---------- Breadcrumbs ---------- */
.dt-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: var(--step--1); }
.dt-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--on-ink-muted); }
.dt-crumbs a { color: inherit; }
.is-dark .dt-crumbs { color: var(--on-ink-muted); }

/* ---------- Hero (product / state / paid) ---------- */
.hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.hero h1 { color: var(--paper); max-width: 16ch; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 520px; }
.hero__text { padding: clamp(32px, 6vw, 80px) var(--gutter) clamp(32px, 6vw, 72px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); align-self: center; }
.hero__intro { font-size: var(--step-1); line-height: 1.45; color: #e9eaec; max-width: 40ch; margin-bottom: 1.4em; }
.hero__media { position: relative; background: #1b1d21; min-height: 280px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--red); z-index: 1; }
.hero--noimg .hero__grid { grid-template-columns: 1fr; min-height: 0; }
.hero--noimg .hero__media { display: none; }
.hero--noimg .hero__text { border-left: 0; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
  .hero__media::before { width: 100%; height: 6px; bottom: auto; top: auto; bottom: 0; }
}

/* ---------- Home hero with map ---------- */
.home-hero { background: var(--ink); color: var(--paper); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(36px, 6vw, 88px); align-items: start; }
.home-hero h1 { color: var(--paper); font-size: clamp(2.8rem, 1.6rem + 5vw, 6.2rem); font-stretch: 66%; line-height: .92; letter-spacing: -.015em; max-width: 9ch; }
.home-hero__intro { font-size: var(--step-1); color: #e9eaec; max-width: 34ch; line-height: 1.45; }
@media (max-width: 960px) { .home-hero__grid { grid-template-columns: 1fr; } }

/* ---------- State tile map (the signature element) ---------- */
.dt-map { color: inherit; }
.dt-map__head { display: grid; gap: 6px; margin-bottom: 18px; }
.dt-map__label { font-weight: 800; font-stretch: 80%; font-size: var(--step-1); }
.dt-map__select { font: 600 1rem var(--font); min-height: 48px; padding: 0 12px; border: 2px solid currentColor; border-radius: var(--radius); background: transparent; color: inherit; max-width: 360px; }
.is-dark .dt-map__select option { color: var(--ink); }
.dt-map__help { font-size: var(--step--1); color: var(--muted); margin: 0; }
.is-dark .dt-map__help { color: var(--on-ink-muted); }
.dt-map__body { display: grid; gap: 20px; }
.dt-map__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 4px; }
.dt-tile {
  aspect-ratio: 1; display: grid; place-items: center;
  font-weight: 800; font-stretch: 80%; font-size: clamp(.62rem, .45rem + .6vw, .95rem); letter-spacing: .02em;
  text-decoration: none; border-radius: var(--radius);
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  transition: background-color .12s, color .12s;
}
.dt-tile--off { background: transparent; color: #5f646d; border-color: var(--line); }
a.dt-tile:hover, a.dt-tile[aria-current] { background: var(--red); border-color: var(--red); color: var(--paper); }
a.dt-tile[aria-current] { box-shadow: 0 0 0 2px var(--yellow); }
.is-dark .dt-tile { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.is-dark .dt-tile--off { background: transparent; border-color: #3a3d43; color: #9a9fa8; }
.is-dark a.dt-tile:hover, .is-dark a.dt-tile[aria-current] { background: var(--red); border-color: var(--red); color: var(--paper); }
.dt-map__panel { background: var(--paper); color: var(--text); padding: 22px 24px; border-left: 6px solid var(--red); border-radius: var(--radius); }
.dt-map__panel:focus { outline: none; }
.dt-map:not(:where(.is-dark *)) .dt-map__panel { background: var(--steel); }
.page-body .dt-map__body { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .page-body .dt-map__body { grid-template-columns: 1fr; } }
.dt-panel__title { font-size: var(--step-1); }
.dt-panel__list { list-style: none; padding: 0; margin: 0 0 14px; columns: 2 220px; column-gap: 24px; }
.dt-panel__list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); }
.dt-panel__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.dt-panel__list a:hover { color: var(--red); }
.dt-panel__list--away a { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 10px; display: inline-block; }
.dt-panel__sub { font-weight: 700; margin: 6px 0 4px; font-size: var(--step--1); color: var(--muted); }
.dt-panel__phone { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.dt-panel__note { font-size: var(--step--1); color: var(--muted); }
.dt-panel__hub { font-weight: 700; }
.dt-dir { margin-top: 22px; }
.dt-dir__title { font-size: var(--step-0); font-stretch: 100%; }
.dt-dir ul { list-style: none; padding: 0; margin: 0; columns: 4 150px; column-gap: 18px; font-size: var(--step--1); }
.dt-dir li { padding: 3px 0; break-inside: avoid; }
.is-dark .dt-dir a { color: var(--paper); }
.is-dark .dt-dir { border-top: 1px solid #2c2f35; padding-top: 18px; }
.home-hero .dt-dir { display: none; } /* shown in full on the States page; still in DOM via noscript below */
.no-js .home-hero .dt-dir { display: block; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 104px); }
.section--steel { background: var(--steel); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3 { color: var(--paper); }
.section__head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.section__head p { font-size: var(--step-1); line-height: 1.45; color: var(--muted); }
.section--ink .section__head p { color: var(--on-ink-muted); }

/* ---------- Landing layout ---------- */
.landing { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 4vw, 64px); padding-block: clamp(40px, 6vw, 80px); align-items: start; }
.landing__aside { position: sticky; top: 110px; }
@media (max-width: 1020px) {
  .landing { grid-template-columns: 1fr; }
  .landing__aside { position: static; order: -1; }
}
.prose { max-width: var(--measure); }
.prose > * + h2 { margin-top: 1.6em; }
.prose h2 { font-size: var(--step-2); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--red); }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--step--1); margin: 1.2em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--ink); color: var(--paper); font-weight: 700; }
.prose blockquote, .prose .is-style-note { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--red); background: var(--steel); }
.prose .wp-block-group.is-style-note p:last-child { margin: 0; }

/* ---------- Quote form ---------- */
.dt-form { background: var(--paper); border: 2px solid var(--ink); border-top: 8px solid var(--red); padding: 22px 22px 16px; border-radius: var(--radius); }
.dt-form__title { font-size: var(--step-2); }
.dt-form__note, .dt-form__consent, .dt-form__lang { font-size: var(--step--1); color: var(--muted); }
.dt-form__lang { background: #fff8e1; border-left: 4px solid var(--yellow); padding: 8px 10px; color: var(--text); }
.dt-form__frame { min-height: 360px; position: relative; }
.dt-form__loading { color: var(--muted); font-size: var(--step--1); }
.dt-form--wide { max-width: 760px; margin-inline: auto; }

/* ---------- Coverage index (ruled list) ---------- */
.dt-index { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.dt-index__item a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.dt-index__name { font-size: var(--step-2); font-weight: 800; font-stretch: 75%; line-height: 1.05; }
.dt-index__item a:hover .dt-index__name { color: var(--red); }
.dt-index__item a:hover { box-shadow: inset 6px 0 0 var(--red); padding-left: 16px; }
.dt-index__away { font-size: var(--step--1); font-weight: 600; padding: 2px 8px; background: var(--yellow); color: var(--ink); white-space: nowrap; }
.section--ink .dt-index { border-color: var(--paper); }
.section--ink .dt-index__item a { color: var(--paper); border-color: #2c2f35; }

/* ---------- Route cards ---------- */
.dt-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border: 2px solid var(--ink); }
.dt-route { padding: clamp(22px, 3vw, 36px); }
.dt-route + .dt-route { border-left: 2px solid var(--ink); }
@media (max-width: 680px) { .dt-route + .dt-route { border-left: 0; border-top: 2px solid var(--ink); } }
.dt-route h3 { font-size: var(--step-2); font-stretch: 78%; }
.dt-route ul { columns: 2 160px; padding-left: 1.1em; font-size: var(--step--1); }
.dt-route--myagent { box-shadow: inset 0 6px 0 var(--yellow); }
.dt-route--regional { box-shadow: inset 0 6px 0 var(--red); }

/* ---------- Product states ---------- */
.dt-pstates { margin-top: 2.4em; }
.dt-pstates h2 { font-size: var(--step-2); }
.dt-pstates ul { list-style: none; padding: 0; columns: 3 160px; column-gap: 20px; }
.dt-pstates li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.dt-pstates a { color: var(--ink); font-weight: 600; text-decoration: none; }
.dt-pstates a:hover { color: var(--red); }

/* ---------- FAQ ---------- */
.dt-faq { margin-top: 2.4em; max-width: var(--measure); }
.dt-faq h2 { font-size: var(--step-2); }
.dt-faq__item { border-top: 1px solid var(--line); }
.dt-faq__item:last-child { border-bottom: 1px solid var(--line); }
.dt-faq__item summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; list-style: none; position: relative; }
.dt-faq__item summary::-webkit-details-marker { display: none; }
.dt-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--red); line-height: 1; }
.dt-faq__item[open] summary::after { content: "–"; }
.dt-faq__item p { padding-bottom: 14px; margin: 0; }

/* ---------- Guides ---------- */
.dt-guides { margin-top: 2.4em; }
.dt-guides h2 { font-size: var(--step-2); }
.dt-guides ul { list-style: none; padding: 0; }
.dt-guides li { padding: 14px 0; border-top: 1px solid var(--line); }
.dt-guides li a { font-weight: 700; font-size: var(--step-1); color: var(--ink); text-decoration: none; font-stretch: 88%; }
.dt-guides li a:hover { color: var(--red); }
.dt-guides li p { margin: 4px 0 0; color: var(--muted); font-size: var(--step--1); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.post-card { border-top: 4px solid var(--ink); padding-top: 14px; }
.post-card__img { aspect-ratio: 3 / 2; background: var(--steel); margin-bottom: 14px; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-size: var(--step-1); margin-bottom: .35em; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--red); }
.post-card p { color: var(--muted); font-size: var(--step--1); }
.post-card__meta { font-size: var(--step--1); color: var(--muted); }

/* ---------- Photo slot ---------- */
.dt-photo { margin: 0; }
.dt-photo img { width: 100%; height: 100%; object-fit: cover; }
.dt-photo__frame { overflow: hidden; background: #1b1d21; position: relative; }
.dt-photo__frame--empty { display: grid; place-items: end start; padding: 14px; color: var(--on-ink-muted); font-size: var(--step--1); background: repeating-linear-gradient(135deg, #16181b 0 14px, #1d2024 14px 28px); }
.dt-photo__frame--empty span { border-left: 4px solid var(--red); padding-left: 8px; max-width: 32ch; }
.dt-photo figcaption { font-size: var(--step--1); color: var(--muted); padding-top: 8px; }

/* ---------- Feature split ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.feature--flip > :first-child { order: 2; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature--flip > :first-child { order: 0; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }

/* Gutenberg core blocks inside templates */
.wp-block-columns { gap: clamp(20px, 4vw, 56px); }
.wp-block-group.is-style-band { background: var(--steel); padding: clamp(20px, 3vw, 36px); }
.wp-block-separator { border: 0; border-top: 2px solid var(--ink); margin: 2em 0; }
.has-text-align-center { text-align: center; }
.alignwide { max-width: var(--wrap); margin-inline: auto; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--red); color: var(--paper); padding-block: clamp(40px, 6vw, 80px); }
.final-cta h2 { color: var(--paper); max-width: 18ch; }
.final-cta .dt-btn--quote { background: var(--ink); border-color: var(--ink); }
.final-cta .dt-btn--quote:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.final-cta .dt-btn--call, .final-cta .dt-btn--wa { background: transparent; color: var(--paper); border-color: var(--paper); }
.final-cta .dt-btn--wa svg { color: var(--paper); }
.final-cta .dt-btn--call:hover, .final-cta .dt-btn--wa:hover { background: var(--paper); color: var(--red-deep); }
.final-cta__grid { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.final-cta p { color: #ffe3e7; max-width: 52ch; }

/* ---------- Disclaimer ---------- */
.disclaimer { font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2.4em; max-width: var(--measure); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: 56px 32px; font-size: var(--step--1); }
.site-footer a { color: var(--paper); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--paper); font-size: var(--step-1); font-stretch: 85%; }
.site-footer ul { list-style: none; padding: 0; margin: 0; columns: 2 140px; }
.site-footer li { padding: 4px 0; break-inside: avoid; }
.site-footer__brand .brand__text { color: var(--paper); }
.site-footer__legal { border-top: 1px solid #2c2f35; margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 860px) {
  :root { --sticky-h: 64px; }
  .sticky-cta {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
    position: fixed; left: 0; bottom: 0; z-index: 60;
    /* leave the bottom-right corner free for the respond.io chat launcher */
    right: 0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .dt-chat-on .sticky-cta { right: 84px; border-right: 1px solid var(--line); }
  .sticky-cta .dt-actions { display: contents; }
  .sticky-cta .dt-btn { min-height: 46px; padding: 0 6px; font-size: .92rem; }
  .sticky-cta .dt-actions--sticky > .dt-btn--quote { order: 3; }
  .sticky-cta .dt-actions--sticky > .dt-btn--call { order: 1; }
  .sticky-cta .dt-actions--sticky > .dt-btn--wa { order: 2; }
}

/* ---------- Consent ---------- */
.dt-consent {
  position: fixed; z-index: 70; left: 16px; right: 16px; bottom: calc(16px + var(--sticky-h));
  max-width: 560px; background: var(--ink); color: var(--paper); padding: 16px 18px; border-left: 6px solid var(--yellow);
  font-size: var(--step--1);
}
.dt-consent a { color: var(--paper); }
.dt-consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dt-consent .dt-btn--ghost { color: var(--paper); border-color: var(--paper); }

/* ---------- Editor flag ---------- */
.dt-editor-flag { background: var(--yellow); color: var(--ink); font-size: .85rem; padding: 6px var(--gutter); font-weight: 600; }

/* ---------- Paid ---------- */
.paid-hero .hero__grid { grid-template-columns: minmax(0, 1fr) 440px; }
.paid-hero .hero__form { padding: clamp(24px, 4vw, 48px) var(--gutter); background: var(--paper); color: var(--text); align-self: stretch; }
.paid-hero .hero__form .dt-form { border: 0; padding: 0; }
@media (max-width: 960px) { .paid-hero .hero__grid { grid-template-columns: 1fr; } }
.paid-points { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.paid-points li { padding-left: 22px; position: relative; color: #e9eaec; }
.paid-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--red); }
.paid-trust { font-size: var(--step--1); color: var(--on-ink-muted); }

/* ---------- Article ---------- */
.article-head { padding-block: clamp(40px, 6vw, 72px) 24px; }
.article-head h1 { font-size: var(--step-3); max-width: 22ch; }
.article-meta { color: var(--muted); font-size: var(--step--1); }
.article-img { margin-bottom: 32px; aspect-ratio: 21 / 9; overflow: hidden; background: var(--steel); }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 72px); padding-bottom: 72px; }
@media (max-width: 1020px) { .article-body { grid-template-columns: 1fr; } }
.article-aside .dt-form { position: sticky; top: 110px; }

/* ---------- Simple page / legal ---------- */
.page-head { background: var(--ink); color: var(--paper); padding-block: clamp(36px, 5vw, 64px); }
.page-head h1 { color: var(--paper); font-size: var(--step-3); max-width: 20ch; }
.page-head p { color: #e9eaec; font-size: var(--step-1); max-width: 52ch; margin: 0; }
.page-body { padding-block: clamp(36px, 5vw, 72px); }
.legal-review { background: #fff8e1; border-left: 4px solid var(--yellow); padding: 12px 16px; font-size: var(--step--1); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--ink); color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .sticky-cta, .dt-consent, .final-cta, .dt-form, .site-footer { display: none !important; }
}
.prose--wide { max-width: none; }
.dt-related { margin-top: 2.4em; }
.dt-related h2 { font-size: var(--step-2); }
.home-content > .wp-block-group { margin: 0; }
.home-content .wrap { max-width: var(--wrap); }
.site-footer__legal p a + a { margin-left: 14px; }

/* link groups produced as lists */
.dt-links { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.dt-links li { margin: 0; }
.dt-links a { font-weight: 700; }
.dt-links li::marker { content: none; }
/* paid page bullets */
.paid-body ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.paid-body li { padding-left: 22px; position: relative; color: #e9eaec; }
.paid-body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--red); }
.feature__col > :last-child { margin-bottom: 0; }
.section .gallery { margin-bottom: 1.4em; }
html, body { overflow-x: clip; }

.landing__main > section, .landing__main > .dt-pstates { margin-top: 2.4em; }
.landing__main > section h2 { font-size: var(--step-2); }

/* WCAG 2.5.8 target size for standalone links */
.dt-crumbs a, .site-footer li a, .site-footer__legal a, .home-more a, .dt-dir a, .header-link { display: inline-block; min-height: 24px; padding-block: 2px; }
