/* EDN Private Patrol — site styles
   Color rules (from the accessibility audit):
   - Bright gold #C9A227 ONLY on navy / near-black backgrounds.
   - Deep gold #866A12 for gold text/accents on light backgrounds.
   - Steel #5B6573 ONLY on light backgrounds; light steel #A9B3C1 on dark.
   - Gold buttons use navy text. */

:root {
  --navy: #0B1A33;
  --navy-2: #12254A;
  --ink: #0E1116;
  --gold: #C9A227;
  --gold-deep: #866A12;
  --steel: #5B6573;
  --steel-light: #A9B3C1;
  --off: #F5F6F8;
  --white: #FFFFFF;
  --line: #DDE1E7;
  --text: #1B2330;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 26, 51, 0.10);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  padding-bottom: 64px; /* room for mobile bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 10px; top: 10px; }

/* Placeholder values from site.json still marked TODO */
.todo { background: #FFF3C4; color: #5A4500; padding: 0 4px; border-radius: 3px; font-size: .92em; }
.on-dark .todo, .site-footer .todo, .hero .todo { background: #3B3210; color: #FFE58A; }

/* Section label with gold rule */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  font-size: .95rem; color: var(--gold-deep); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D9B43A; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-mark {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em;
  background: var(--gold); color: var(--navy); padding: 2px 9px; border-radius: 6px;
}
.brand-text { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .1em; }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.nav-lang a { color: var(--steel-light); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { display: none; color: var(--white); text-decoration: none; font-weight: 600; }
.header-phone:hover { color: var(--gold); }
.header-actions .btn { display: none; }
.menu-toggle { background: none; border: 0; width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 24px; height: 2px; background: var(--white); position: relative; transition: transform .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; } .menu-icon::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { background: var(--navy); padding: 8px 20px 24px; border-top: 1px solid rgba(255,255,255,.08); }
.mobile-menu ul { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-menu li a { display: block; padding: 14px 0; color: var(--white); text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }

@media (min-width: 1200px) {
  .main-nav { display: block; }
  .header-actions { margin-left: 8px; }
  .header-actions .btn { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (min-width: 1200px) { .header-phone { display: inline; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-off { background: var(--off); }
.on-dark { background: var(--ink); color: #E8ECF2; }
.on-dark.navy { background: var(--navy); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark a:not(.btn) { color: var(--gold); }
.on-dark .muted { color: var(--steel-light); }
.muted { color: var(--steel); }
.lead { font-size: 1.2rem; max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    linear-gradient(100deg, rgba(11,26,51,.96) 0%, rgba(11,26,51,.86) 45%, rgba(11,26,51,.55) 100%),
    var(--hero-image, none) center/cover no-repeat,
    radial-gradient(1200px 500px at 85% 20%, #1D3A6E 0%, transparent 60%),
    var(--navy);
}
.hero::after { /* subtle grain/lines texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 14px);
}
.hero-inner { position: relative; z-index: 1; padding: 84px 20px 64px; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lead { color: #DCE3EC; margin-bottom: 28px; }
.hero-sub { padding: 64px 20px 48px; }
.hero-sub h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 20ch; }
@media (min-width: 900px) { .hero-inner { padding: 120px 20px 96px; } .hero-sub { padding: 88px 20px 64px; } }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding: 0; list-style: none; font-size: .95rem; color: #DCE3EC; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Two doors ---------- */
.doors { display: grid; gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
@media (min-width: 800px) { .doors { grid-template-columns: 1fr 1fr; } }
.door {
  display: block; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; text-decoration: none; color: var(--text); border-top: 4px solid var(--gold-deep);
  transition: transform .15s ease, box-shadow .15s ease;
}
.door:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(11,26,51,.16); color: var(--text); }
.door h2 { font-size: 2rem; margin-bottom: .3em; }
.door p { color: var(--steel); }
.door .door-link { font-weight: 600; color: var(--navy); }
.door .door-link::after { content: " →"; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: var(--text); display: block; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--gold-deep); transform: translateY(-2px); color: var(--text); }
.card-link .more { color: var(--navy); font-weight: 600; }
.card-link .more::after { content: " →"; }
.on-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.on-dark .icon { background: rgba(201,162,39,.14); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 26px 26px 26px 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--gold-deep); border-bottom: 2.5px solid var(--gold-deep); transform: rotate(-45deg); }
.on-dark .checks li::before { border-color: var(--gold); }

/* Factor list (pricing) */
.factors { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .factors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .factors { grid-template-columns: repeat(3, 1fr); } }
.factors li { background: var(--white); border-left: 4px solid var(--gold-deep); padding: 16px 18px; border-radius: 6px; }
.factors strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); }

/* City chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 500; }
.on-dark .chips li { background: transparent; border-color: rgba(255,255,255,.2); }

/* Split layout */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } .split.reverse > :first-child { order: 2; } }

/* Photo placeholder (until real photos exist) */
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy) 0%, #1D3A6E 100%);
  display: grid; place-items: center; color: var(--steel-light); text-align: center; padding: 20px;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-label { font-size: .9rem; border: 1px dashed rgba(169,179,193,.6); padding: 10px 14px; border-radius: 8px; max-width: 26ch; }

/* Map */
.map-card { background: var(--navy); border-radius: var(--radius); padding: 24px; color: var(--white); }
.map-card svg { width: 100%; height: auto; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--white); padding: 56px 0; }
.cta-band .container { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: var(--white); margin: 0 0 .3em; }
.cta-band p { color: #DCE3EC; margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; font-size: 1.08rem; position: relative; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; color: var(--gold-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 12px; margin: 0; color: var(--text); }

/* Notice box */
.note { background: var(--off); border-left: 4px solid var(--gold-deep); padding: 16px 20px; border-radius: 6px; font-size: .98rem; }
.on-dark .note { background: rgba(255,255,255,.05); border-left-color: var(--gold); }

/* Table */
.table-wrap { overflow-x: auto; }
table.simple { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
table.simple th, table.simple td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.simple th { background: var(--navy); color: var(--white); font-weight: 600; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 4px solid var(--gold-deep); }
@media (min-width: 700px) { .form-card { padding: 36px; } }
.form-progress { display: flex; gap: 8px; margin-bottom: 22px; font-size: .9rem; color: var(--steel); }
.form-progress span { flex: 1; padding-top: 8px; border-top: 4px solid var(--line); }
.form-progress span.active { border-top-color: var(--gold-deep); color: var(--navy); font-weight: 600; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field .hint { font-weight: 400; color: var(--steel); font-size: .92rem; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=date], .field input[type=time], .field input[type=number], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--text);
  border: 1.5px solid #B9C1CC; border-radius: 8px; background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(201,162,39,.45); outline-offset: 0; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .choices.cols-3 { grid-template-columns: repeat(3, 1fr); } .choices.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border: 1.5px solid #B9C1CC; border-radius: 8px; font-weight: 500; }
.choice input:checked + span { border-color: var(--navy); background: #EEF2F8; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-weight: 500; }
.form-status.error { color: #9B1C1C; }
.form-success { text-align: center; padding: 10px 0; }
.form-success h3 { font-size: 1.9rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.form-legal { font-size: .88rem; color: var(--steel); margin-top: 14px; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D1DC; padding: 56px 0 24px; font-size: .97rem; }
.site-footer a { color: #E8ECF2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.brand-footer { margin-bottom: 16px; }
.license-block { line-height: 1.7; }
.license-block a { color: var(--gold) !important; text-decoration: underline !important; }
.footer-small { font-size: .88rem; color: var(--steel-light); }
.footer-heading { font-family: var(--font-head); color: var(--white); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; font-size: .9rem; color: var(--steel-light); }
.footer-bottom p { margin: 0; }

/* ---------- Mobile bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--navy); border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 58px; color: var(--white); text-decoration: none; font-weight: 600; }
.mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.12); }
.mobile-bar .mobile-bar-quote { background: var(--gold); color: var(--navy); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Validation */
.field [aria-invalid="true"] { border-color: #9B1C1C !important; box-shadow: 0 0 0 1px #9B1C1C; }
.choice input[aria-invalid="true"] + span { border-color: #9B1C1C; }

/* Fixes after browser review */
.hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }
.main-nav a, .brand-text, .header-phone, .header-actions .btn { white-space: nowrap; }
.main-nav ul { gap: 18px; }
.choices.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choices.cols-2 { grid-template-columns: repeat(2, 1fr); }
.choice span { justify-content: center; text-align: center; line-height: 1.25; padding: 10px 8px; }
.header-inner { gap: 20px; }
.main-nav ul { gap: 16px; }
.main-nav a { font-size: .95rem; }
@media (min-width: 1200px) { .header-phone { display: none; } }
@media (min-width: 1440px) { .header-phone { display: inline; } }
html[lang="es"] .main-nav a { font-size: .9rem; }

/* Area contacts */
.contact-areas { display: grid; gap: 18px; }
.contact-area p { margin: 0; }
.contact-area-label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; color: var(--gold-deep); font-weight: 600; }
.on-dark .contact-area-label { color: var(--gold); }
.contact-area-name { font-weight: 600; color: var(--navy); font-size: 1.1rem; }
.on-dark .contact-area-name { color: var(--white); }

/* ---------- Real photos (owner's photos, Nov 2026) ---------- */
/* Hero with a photo: full-bleed behind the text on phones, right half on desktop. */
.hero-has-photo { background: var(--navy); }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,26,51,.74) 0%, rgba(11,26,51,.86) 55%, rgba(11,26,51,.95) 100%);
}
.hero-has-photo::after { z-index: 1; }
.hero-has-photo .hero-inner { z-index: 2; }
@media (min-width: 900px) {
  .hero-photo { left: auto; width: 50%; }
  .hero-has-photo::before {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 50%, rgba(11,26,51,.72) 58%, rgba(11,26,51,.18) 76%, rgba(11,26,51,.05) 100%);
  }
}
/* Photos in content sections */
.photo picture { position: absolute; inset: 0; }
.photo-real { box-shadow: var(--shadow); background: var(--navy); }
.photo-tall { aspect-ratio: 4 / 3; }
.photo-tall img { object-position: 50% 22%; }
@media (min-width: 900px) { .photo-tall { aspect-ratio: 4 / 5; } }
/* Badge emblem next to the wordmark */
.brand-badge { height: 44px; width: auto; flex: none; }
.brand-footer .brand-badge { height: 56px; }
@media (max-width: 374px) { .site-header .brand-badge { display: none; } }
/* Licensing block with the badge */
.license-row { display: flex; gap: 32px; align-items: flex-start; }
.license-badge img { width: 114px; height: auto; }
@media (max-width: 599px) { .license-row { flex-direction: column; gap: 16px; } .license-badge img { width: 86px; } }
.narrow { max-width: 760px; }

/* Longer hero headline (home page) */
.hero h1.h1-long { max-width: 22ch; font-size: clamp(2.2rem, 5vw, 3.6rem); }
/* Header with the eight-item menu (Farms, Construction, Business, Events...).
   1200-1439px: menu + Get a Quote only. 1440px and up: the header row is wider
   than the page column so the badge and phone number fit beside the menu. */
@media (min-width: 1200px) and (max-width: 1439px) {
  .site-header .brand-badge { display: none; }
  html[lang="es"] .nav-lang { display: none; }
}
@media (min-width: 1440px) {
  .site-header .header-inner { max-width: 1440px; padding: 0 32px; }
}
/* Small phones: keep the badge, wordmark and menu button on one line */
@media (max-width: 479px) { .site-header .brand-text { font-size: 1.1rem; letter-spacing: .07em; } }
@media (max-width: 389px) { .site-header .brand-text { font-size: 1rem; letter-spacing: .05em; } }
@media (max-width: 359px) { .site-header .brand-text { font-size: .95rem; letter-spacing: .04em; } .site-header .brand-mark { font-size: 1.2rem; padding: 2px 7px; } .site-header .header-inner { gap: 12px; } }
/* Home hero with photo: keep the headline, buttons and trust list left of the photo */
@media (min-width: 900px) {
  .hero-has-photo .hero-inner > * { max-width: min(600px, calc(50vw - 40px)); }
  .hero-has-photo h1.h1-long { max-width: min(22ch, 600px, calc(50vw - 40px)); font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
}
