/* ===================== TOKENS ===================== */
:root {
    --ink: #0a1a26;
    --ink-2: #0e2438;
    --near-black: #0b0d10;
    --gold: var(--ink);
    --gold-light: #c7d0d6;
    --paper: #faf7f2;
    --paper-2: #f1ece3;
    --body: #3a372f;
    --gray: #7a766c;
    --line: rgba(10,26,38,.12);
    --line-light: rgba(255,255,255,.22);
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Montserrat', Arial, sans-serif;
    --text: 'Roboto', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, html { margin: 0; -webkit-font-smoothing: antialiased; }
body { font-family: var(--text); font-size: 16px; line-height: 1.75; color: var(--body); background: var(--paper); }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); font-weight: 700; letter-spacing: -.3px; color: var(--ink); line-height: 1.15; }
p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 22px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 1em; height: 1em; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ===================== TYPE HELPERS ===================== */
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); display: block; }
.eyebrow-center { justify-content: center; }
.eyebrow-white { color: var(--gold-light); }
.eyebrow-white::before { background: var(--gold-light); }
.eyebrow-white .num { color: var(--gold-light); }
.num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 15px; margin-right: 6px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* ===================== BUTTONS ===================== */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; padding: 17px 30px; border: 1px solid transparent; transition: all .3s ease; white-space: nowrap; }
.btn-gold { background: var(--paper); color: var(--near-black); border-color: var(--paper); }
.btn-gold:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ink:hover { background: transparent; color: var(--ink); }
.btn-line-light { border-color: var(--line-light); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--near-black); border-color: #fff; }
.btn + .btn { margin-left: 14px; }
@media (max-width: 560px) { .btn { padding: 15px 22px; } .btn + .btn { margin-left: 0; margin-top: 12px; } }

/* ===================== HEADER ===================== */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; padding: 30px 0; transition: all .4s ease; }
header.is-scrolled { padding: 18px 0; background: rgba(250,247,242,.96); backdrop-filter: blur(6px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-link img { height: 24px; width: auto; }
.logo-light { display: block; } .logo-dark { display: none; }
header.is-scrolled .logo-light { display: none; } header.is-scrolled .logo-dark { display: block; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav > li { position: relative; }
.main-nav > li > a { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; padding: 8px 0; position: relative; }
header.is-scrolled .main-nav > li > a { color: var(--ink); }
.main-nav > li > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: rgba(255,255,255,.85); transition: width .25s ease; }
header.is-scrolled .main-nav > li > a::after { background: var(--gold); }
.main-nav > li:hover > a::after { width: 100%; }
.dropdown-menu { position: absolute; top: 100%; left: -20px; min-width: 230px; background: var(--paper); border-top: 2px solid var(--gold); box-shadow: 0 20px 40px rgba(0,0,0,.15); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease; }
.main-nav li.has-dropdown:hover .dropdown-menu, .main-nav li.has-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu li a { display: block; padding: 10px 22px; font-family: var(--sans); font-size: 12px; letter-spacing: .5px; color: var(--ink); }
.dropdown-menu li a:hover { color: var(--gold); }
.nav-toggle { display: none; align-items: center; justify-content: center; background: none; border: 0; width: 44px; height: 44px; padding: 0; margin: -10px -10px -10px 0; cursor: pointer; position: relative; z-index: 1001; }
.nav-toggle .nav-toggle-box { display: block; position: relative; width: 24px; height: 18px; }
.nav-toggle-box span { display: block; position: absolute; left: 0; width: 24px; height: 2px; background: #fff; border-radius: 1px; transition: transform .3s ease, opacity .2s ease, background .3s ease; }
.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 8px; }
.nav-toggle-box span:nth-child(3) { top: 16px; }
header.is-scrolled .nav-toggle-box span { background: var(--ink); }
.nav-toggle.open .nav-toggle-box span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-toggle.open .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-box span:nth-child(3) { top: 8px; transform: rotate(-45deg); }
.nav-toggle.open .nav-toggle-box span { background: #fff !important; }
.nav-backdrop { display: none; }
@media (max-width: 991px) {
    .nav-toggle { display: flex; }
    .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 890; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
    .nav-backdrop.open { opacity: 1; visibility: visible; }
    .main-nav { position: fixed; top: 0; right: 0; z-index: 900; height: 100vh; width: min(360px, 86vw); background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; padding: 96px 40px 40px; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateX(100%); transition: transform .4s ease; }
    .main-nav.open { transform: translateX(0); }
    .main-nav > li { width: 100%; border-bottom: 1px solid var(--line-light); }
    .main-nav > li > a { color: #fff !important; display: block; padding: 16px 0; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; border-top: none; padding: 0 0 10px 12px; display: none; }
    .main-nav li.has-dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu li a { color: var(--gold-light); padding: 8px 0; }
}

/* ===================== HERO ===================== */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--near-black); display: flex; align-items: flex-end; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,12,16,.62) 0%, rgba(8,12,16,.05) 45%, rgba(8,12,16,.12) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 9vh; }
.hero h1 { color: #fff; font-family: var(--sans); font-size: clamp(30px, 5vw, 74px); font-weight: 700; letter-spacing: -.5px; line-height: 1.14; max-width: 19ch; margin-bottom: 26px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero p { color: rgba(255,255,255,.92); font-size: 22px; font-weight: 400; max-width: 46ch; margin-bottom: 34px; line-height: 1.5; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(28px, 8vw, 84px); }
  .hero p { font-size: 18px; }
  .hero-content { padding-top: 130px; }
}
.scroll-cue { position: absolute; z-index: 2; right: 32px; bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-family: var(--sans); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 767px) { .scroll-cue { display: none; } }

/* ===================== SECTION HELPERS ===================== */
section { position: relative; }
.pad { padding: 140px 0; }
.pad-sm { padding: 70px 0; }
.pad-tight { padding: 90px 0; }
@media (max-width: 900px) { .pad { padding: 90px 0; } .pad-tight { padding: 64px 0; } }
/* Collapse stacked pad when testimonials sit directly above FAQ */
section.pad:has(.testi-track) { padding-bottom: 48px; }
section.pad:has(.testi-track) + section.pad { padding-top: 48px; }
section.pad:has(.testi-track) .testi-google-cta { margin-top: 28px; }
@media (max-width: 900px) {
  section.pad:has(.testi-track) { padding-bottom: 36px; }
  section.pad:has(.testi-track) + section.pad { padding-top: 36px; }
}
.bg-ink { background: var(--ink); }
.bg-black { background: var(--near-black); }
.bg-paper-2 { background: var(--paper-2); }
.center { text-align: center; }

/* ===================== INTRO (asymmetric) ===================== */
.intro-grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 30px; } .intro-grid .divider { display: none; } }
.intro-grid .divider { background: var(--line); height: 100%; }
.intro-grid h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 600; letter-spacing: -.5px; }
.intro-grid .intro-copy p { font-size: 17px; color: var(--body); }

/* ===================== FEATURE SPLITS ===================== */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 0; }
@media (max-width: 991px) { .feature { grid-template-columns: 1fr; } .feature-media-mobile-first { order: -1; } }
.feature-stretch { align-items: stretch; }
.feature-stretch .feature-media img { height: 100%; }
.feature-compact .feature-media img { height: 300px; }
/* Alternate splits: text left, image right (DOM still media then copy) */
.feature-reverse .feature-copy { order: 1; }
.feature-reverse .feature-media { order: 2; }
@media (max-width: 991px) {
  .feature-reverse .feature-media { order: -1; }
  .feature-reverse .feature-copy { order: 0; }
}
/* First post-hero intro: image matches text height, denser copy, less section air */
.feature-intro { align-items: stretch; }
.feature-intro .feature-media {
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.feature-intro .feature-media img {
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
}
.feature-intro .feature-copy { padding: 40px 48px; }
.feature-intro .feature-copy h2 { margin-bottom: 18px; }
.feature-intro .feature-item { padding: 12px 0; gap: 2px; }
.feature-intro .feature-item h3 { margin-bottom: 4px; }
.feature-intro .feature-item p { line-height: 1.45; }
@media (max-width: 991px) {
  .feature-intro .feature-copy { padding: 32px 28px; }
  .feature-intro .feature-media { padding: 20px; }
  .feature-intro .feature-media img { height: 320px; flex: none; }
}
@media (max-width: 767px) {
  .feature-intro .feature-media { padding: 16px; }
  .feature-intro .feature-media img { height: 280px; }
}
.pad-intro { padding: 56px 0; }
@media (max-width: 900px) { .pad-intro { padding: 40px 0; } }
.feature-media { position: relative; padding: 36px; }
.feature-media::before { content: none; display: none; }
.feature-media img { position: relative; z-index: 1; width: 100%; height: 560px; object-fit: cover; display: block; }
@media (max-width: 767px) { .feature-media { padding: 20px; } .feature-media img { height: 320px; } }
.feature-copy { padding: 56px 56px; }
@media (max-width: 991px) { .feature-copy { padding: 40px 28px; } }
.feature-copy h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 18px; }
.feature-copy p { line-height: 1.65; }
/* Compact feature rows: padding around media/copy + space between stacked sections */
.feature-compact .feature-media { padding: 40px; }
.feature-compact .feature-copy { padding: 48px 52px; }
.feature-compact .feature-copy h2 { margin-bottom: 16px; }
.feature-compact .feature-copy p { margin: 0; line-height: 1.65; }
section:has(> .feature.feature-compact) { padding: 36px 0; }
.container > .feature.feature-compact { margin-top: 40px; }
@media (max-width: 991px) {
  .feature-compact .feature-media { padding: 24px; }
  .feature-compact .feature-copy { padding: 28px 24px 40px; }
  section:has(> .feature.feature-compact) { padding: 24px 0; }
  .container > .feature.feature-compact { margin-top: 28px; }
}
.feature-list { border-top: 1px solid var(--line); }
.feature-item { display: grid; grid-template-columns: 44px 1fr; gap: 4px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.feature-item h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .3px; color: var(--ink); text-transform: uppercase; margin-bottom: 8px; }
.feature-item p { font-size: 15px; margin: 0; color: var(--gray); }
.tag-row { margin-top: 36px; padding-top: 30px; }
.tag-row .tag-label { display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 14px; }
.tag { display: inline-block; color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .5px; padding: 0; margin: 0 22px 8px 0; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

/* ===================== SMART HOME (cinematic) ===================== */
.cinema { background-image: url('../images/ha1.webp'); background-size: cover; background-position: center; position: relative; }
@media (min-width: 992px) { .cinema { background-attachment: fixed; } }
.cinema::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,16,.75), rgba(8,12,16,.55) 40%, rgba(8,12,16,.85)); }
.cinema .container { position: relative; z-index: 1; }
.cinema h2 { color: #fff; font-size: clamp(28px, 4vw, 50px); max-width: 14ch; margin: 0 auto 28px; }
.cinema p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 640px; margin: 0 auto 50px; }
.link-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-bottom: 50px; }
.link-row a, .link-row .quick-link { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 0 28px; border-left: 1px solid var(--line-light); display: flex; align-items: center; gap: 10px; }
.link-row > *:first-child { border-left: none; }
.link-row .icon { color: var(--gold-light); width: 18px; height: 18px; }
@media (max-width: 700px) { .link-row a, .link-row .quick-link { border-left: none; border-top: 1px solid var(--line-light); padding: 16px 0; width: 100%; justify-content: center; } .link-row > *:first-child { border-top: none; } }

/* ===================== SERVICE AREAS (editorial list) ===================== */
.areas-wrap { position: relative; }
.areas-bg-word { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--serif); font-weight: 700; font-size: clamp(90px, 18vw, 240px); color: var(--line); z-index: 0; white-space: nowrap; pointer-events: none; }
.areas-list { position: relative; z-index: 1; columns: 4; column-gap: 40px; max-width: 900px; margin: 0 auto; }
@media (max-width: 860px) { .areas-list { columns: 2; } }
.areas-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; break-inside: avoid; }
.areas-list a:hover { color: var(--gold); }

/* ===================== WHY US (numbered) ===================== */
.why-list { border-top: 1px solid var(--line); max-width: 940px; margin: 0 auto; }
.why-row { display: grid; grid-template-columns: 90px 1fr 2fr; gap: 30px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .why-row { grid-template-columns: 40px 1fr; } .why-row p { grid-column: 1 / -1; } }
.why-row .idx { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); }
.why-row h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--ink); }
.why-row p { margin: 0; font-size: 15px; color: var(--gray); }

/* ===================== LOGO MARQUEE ===================== */
.marquee-wrap { overflow: hidden; padding: 44px 0; background: var(--ink); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track img { height: 34px; width: auto; margin: 0 46px; filter: brightness(0) invert(1); opacity: .92; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== STATS ===================== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 50px 0; } }
.stats-row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .stats-row-3 { grid-template-columns: 1fr; gap: 40px 0; } }
.stat { text-align: center; padding: 0 20px; border-left: 1px solid var(--line-light); }
.stats-row > .stat:first-child { border-left: none; }
@media (max-width: 700px) { .stat:nth-child(odd) { border-left: none; } }
.stat-number { font-family: var(--serif); font-weight: 700; color: #fff; font-size: clamp(36px, 4vw, 56px); }
.stat-number span.gold { color: var(--gold); }
.stat-label { display: block; margin-top: 10px; font-family: var(--sans); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ===================== TESTIMONIALS (editorial carousel) ===================== */
.testi-track { display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { flex: 0 0 min(560px, 86vw); scroll-snap-align: start; }
.testi-card .quote-mark { font-family: var(--serif); font-style: italic; font-size: 70px; color: var(--gold); line-height: 1; margin-bottom: 10px; display: block; }
.testi-card p { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); line-height: 1.5; margin-bottom: 26px; }
.testi-meta { display: flex; align-items: center; gap: 14px; }
.testi-meta .stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.testi-name { font-family: var(--sans); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink); }
.testi-loc { font-size: 12px; color: var(--gray); }

/* ===================== CTA ===================== */
.cta-final h2 { color: #fff; font-size: clamp(30px, 4vw, 54px); max-width: 16ch; margin: 0 auto 40px; }

/* ===================== FOOTER ===================== */
footer { background: var(--near-black); padding: 70px 0 30px; color: rgba(255,255,255,.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-grid-4 { grid-template-columns: .8fr 1.1fr 1.3fr .8fr; }
.footer-explore-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 20px; }
@media (max-width: 991px) { .footer-grid-4 { grid-template-columns: 1fr 1fr; gap: 34px 40px; } }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } .footer-grid-4 { grid-template-columns: 1fr; } .footer-explore-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid img { height: 24px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-grid p { font-size: 14px; margin: 0 0 8px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-col-title { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 18px; display: block; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 12px; flex-wrap: wrap; gap: 14px; }
.social-icons { display: flex; gap: 16px; }
.social-icons .icon { width: 15px; height: 15px; }
.social-icons a:hover { color: var(--gold-light); }

/* ===================== WHATSAPP ===================== */
.wa-float { position: fixed; right: 26px; bottom: 26px; width: 54px; height: 54px; border-radius: 50%; background: #16be45; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.3); z-index: 998; color: #fff; }
.wa-float .icon { width: 26px; height: 26px; }

/* ===================== PILLARS (3-col cross-link cards) ===================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: 34px; } }
.pillar { border-top: 2px solid var(--gold); padding-top: 24px; }
.pillar h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.pillar p { font-size: 15px; color: var(--gray); margin-bottom: 16px; }
.pillar a.pillar-link { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* ===================== INFO ROWS (address/phone/hours blocks) ===================== */
.info-rows { margin: 30px 0; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.info-row:first-child { border-top: none; }
.info-row .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.info-row strong { display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }
.info-row span, .info-row a { font-size: 15px; color: var(--body); }

/* ===================== PRODUCT GRID (category cards) ===================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; } }
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
  .product-card-img { height: 140px; }
  .product-card-body { padding: 14px 2px 8px; }
  .product-card h3 { font-size: 12px; margin-bottom: 4px; }
  .product-card p { font-size: 12px; line-height: 1.45; }
}
.product-card { background: #fff; display: block; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-3px); }
.product-card-img { width: 100%; height: 220px; object-fit: cover; }
.product-card-body { padding: 22px 4px; }
.product-card h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--gray); margin: 0; }

/* Brand energizer comparison cards: full product shot + equal height columns */
.product-grid-models { align-items: stretch; }
.product-grid-models .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
}
.product-grid-models .product-card-img {
  height: 260px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 24px;
  box-sizing: border-box;
}
.product-grid-models .product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 20px 28px;
}
.product-grid-models .spec-highlights { margin-top: auto; padding-top: 8px; }
@media (max-width: 560px) {
  .product-grid-models { grid-template-columns: 1fr; }
  .product-grid-models .product-card-img { height: 200px; padding: 16px; }
}

/* Brand intro split under hero */
.feature-brand-intro .feature-media { padding: 28px; }
.feature-brand-intro .feature-media img { height: 380px; }
.feature-brand-intro .feature-copy { padding: 40px 48px; }
.feature-brand-intro .feature-copy h2 { margin-bottom: 16px; }
@media (max-width: 991px) {
  .feature-brand-intro .feature-copy { padding: 32px 28px; }
  .feature-brand-intro .feature-media { padding: 20px; }
  .feature-brand-intro .feature-media img { height: 300px; }
}

/* ===================== CHECKLIST ===================== */
.checklist { margin: 30px 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; font-size: 15px; color: var(--body); }
.checklist .icon { flex: none; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }

/* ===================== FAQ ACCORDION ===================== */
.faq-list { max-width: 860px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--gold); flex: none; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 4px 22px; font-size: 15px; color: var(--gray); max-width: 68ch; }

/* ===================== FORMS ===================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 20px; }
.form-field label.field-label { display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"], .form-field select, .form-field textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: #fff; font-family: var(--text); font-size: 15px; color: var(--body); border-radius: 2px; transition: border-color .2s ease; appearance: none;
}
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); }
.form-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 24px; }
.form-checks label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--body); }
.form-checks input { accent-color: var(--ink); }
.form-msg { display: none; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; border-radius: 2px; }
.form-msg.success { display: block; background: #eef7ee; color: #1e6b2e; border: 1px solid #bfe3c4; }
.form-msg.error { display: block; background: #fbeaea; color: #9a2626; border: 1px solid #f0c2c2; }
.form-submit { border: 0; cursor: pointer; }
.form-submit:disabled { opacity: .6; cursor: default; }

/* ===================== CONTACT PAGE ===================== */
.contact-bar-section {
  background: var(--ink);
  padding: 8px 0 0;
}
.contact-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: transparent;
  border: 0;
}
.contact-bar-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 48px 40px;
  color: inherit;
  text-decoration: none;
  border-right: 1px solid var(--line-light);
  transition: background .2s ease;
}
.contact-bar-item:last-child { border-right: 0; }
.contact-bar-item:hover { background: var(--ink-2); }
.contact-bar-item .icon {
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 4px;
  color: var(--gold-light);
  stroke-width: 1.8;
}
.contact-bar-item strong {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.contact-bar-item span {
  display: block;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255,255,255,.88);
  letter-spacing: .2px;
}
.contact-bar-hours {
  text-align: center;
  margin: 0;
  padding: 8px 22px 28px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  font-family: var(--sans);
  letter-spacing: .8px;
  text-transform: uppercase;
  background: transparent;
}
.contact-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
}
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 44px 40px;
  box-shadow: 0 18px 40px rgba(10, 26, 38, .06);
}
.contact-form-card h2 { margin-bottom: 10px; }
.contact-form-lead {
  color: var(--gray);
  font-size: 15px;
  margin: 0 0 28px;
  max-width: 42ch;
}
.contact-form-card .lead-form {
  margin-top: 0;
}
.contact-form-card .form-field input,
.contact-form-card .form-field select,
.contact-form-card .form-field textarea {
  background: var(--paper);
  border-color: rgba(10, 26, 38, .16);
}
.contact-form-card .form-field input:focus,
.contact-form-card .form-field select:focus,
.contact-form-card .form-field textarea:focus {
  background: #fff;
  border-color: var(--ink);
}
.contact-form-card .form-submit {
  margin-top: 8px;
  width: 100%;
  text-align: center;
}
.contact-map {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 991px) {
  .contact-split { grid-template-columns: 1fr; gap: 28px; }
  .contact-map { min-height: 360px; }
  .contact-form-card { padding: 36px 28px; }
  .contact-bar-item { padding: 36px 28px; }
  .contact-bar-item span { font-size: 16px; }
}
@media (max-width: 767px) {
  .contact-bar { grid-template-columns: 1fr; }
  .contact-bar-item {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
    padding: 28px 22px;
    gap: 16px;
  }
  .contact-bar-item:last-child { border-bottom: 0; }
  .contact-bar-item span { font-size: 16px; }
  .contact-form-card { padding: 28px 20px; }
  .contact-map { min-height: 280px; }
}

/* ===================== SIDE INFO CARD ===================== */
.side-card { background: var(--ink); color: #fff; padding: 44px; }
.side-card h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.side-card .info-row strong { color: rgba(255,255,255,.6); }
.side-card .info-row a, .side-card .info-row span { color: #fff; }
.side-card .info-row { border-top-color: var(--line-light); }
.side-card .icon { color: var(--gold-light); }

/* youtube lite-embed facade */
.yt-facade { position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; background: #000; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.yt-facade:hover img { transform: scale(1.03); }
.yt-facade .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(8,12,16,.55); border: 1px solid rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.yt-facade:hover .play-btn { background: rgba(255,255,255,.92); border-color: #fff; transform: translate(-50%,-50%) scale(1.06); }
/* CSS triangle so empty .play-btn still shows a play icon */
.yt-facade .play-btn::before {
  content: "";
  display: block;
  width: 0; height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  transition: border-color .25s ease;
}
.yt-facade:hover .play-btn::before { border-left-color: var(--ink); }
.yt-facade .play-btn > * { display: none; } /* avoid double icons when SVG is present */
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) {
  .yt-facade .play-btn { width: 48px; height: 48px; }
  .yt-facade .play-btn::before { margin-left: 3px; border-width: 7px 0 7px 12px; }
}

.map-facade { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; background: #000; border: 0; display: block; width: 100%; padding: 0; min-height: 320px; }
.map-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.map-facade:hover img { transform: scale(1.03); }
.map-facade .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(8,12,16,.55); border: 1px solid rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.map-facade:hover .play-btn { background: rgba(255,255,255,.92); border-color: #fff; transform: translate(-50%,-50%) scale(1.06); }
.map-facade .play-btn::before {
  content: "";
  display: block;
  width: 0; height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  transition: border-color .25s ease;
}
.map-facade:hover .play-btn::before { border-left-color: var(--ink); }
.map-facade .play-btn > * { display: none; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) {
  .map-facade .play-btn { width: 48px; height: 48px; }
  .map-facade .play-btn::before { margin-left: 3px; border-width: 7px 0 7px 12px; }
}

/* portfolio jump submenu */
.portfolio-jump {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}
.portfolio-jump-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  text-align: center;
}
.portfolio-jump-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.portfolio-jump-nav a {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 13px;
  color: #fff;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.portfolio-jump-nav a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.85); }
@media (max-width: 767px) {
  .portfolio-jump { top: 56px; padding: 14px 0; }
  .portfolio-jump-nav { gap: 8px 18px; }
  .portfolio-jump-nav a { font-size: 12px; }
}

/* portfolio gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.gallery-grid img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-grid a { display: block; overflow: hidden; }
.gallery-grid a:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
  .gallery-grid img { height: 200px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 24px; }
  .gallery-grid img { height: 120px; }
}

/* video thumbnail grids */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
}

/* When product-grid holds only video facades, stack to 1 col on small phones */
@media (max-width: 560px) {
  .product-grid:has(> .yt-facade) { grid-template-columns: 1fr; gap: 12px; }
}

/* product spec cards (energizer/model comparisons) */
.spec-meta { list-style: none; margin: 20px 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 13px; }
.spec-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.spec-meta li:last-child { border-bottom: none; }
.spec-meta strong { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--gray); }
.spec-meta span { color: var(--ink); font-weight: 600; }
.spec-highlights { margin: 0; padding-left: 0; list-style: none; font-size: 14px; color: var(--gray); }
.spec-highlights li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.spec-highlights li::before { content: "\2014"; position: absolute; left: 0; color: var(--gold); }

/* specs comparison table */
.specs-table-wrap { overflow-x: auto; margin-top: 40px; -webkit-overflow-scrolling: touch; }
.specs-table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; }
.specs-table th, .specs-table td { padding: 16px 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.specs-table th { background: var(--ink); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
.specs-table tbody tr:nth-child(even) { background: var(--paper-2); }
.specs-table td:first-child { font-weight: 600; color: var(--ink); }

/* support / process hover cards */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 10px; }
.support-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 40px 30px; text-align: center; transition: all .25s ease; }
.support-card .icon { width: 30px; height: 30px; color: var(--gold); margin: 0 auto 20px; display: block; }
.support-card h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.support-card p { font-size: 14px; color: var(--gray); margin: 0; }
.support-card a { color: var(--ink); font-weight: 600; }
.support-card:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-4px); }
.support-card:hover .icon { color: var(--gold-light); }
.support-card:hover h3, .support-card:hover p, .support-card:hover a { color: #fff; }

/* 4-col icon feature grid (dark bg) */
.icon-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; margin-top: 10px; }
.icon-feats .icon { width: 30px; height: 30px; color: var(--gold-light); margin: 0 auto 18px; display: block; }
.icon-feats h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #fff; margin-bottom: 10px; }
.icon-feats p { font-size: 14px; color: rgba(255,255,255,.72); margin: 0; }
.icon-feats-3 { grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.icon-feats-ink h3 { color: var(--ink); }
.icon-feats-ink p { color: var(--gray); }
.icon-feats-ink .icon { color: var(--gold); }

/* small brand logo above hero h1 */
.hero-content .brand-hero-logo { position: static; inset: auto; height: 36px; width: auto; max-width: 160px; object-fit: contain; margin: 0 auto 26px; display: block; filter: brightness(0) invert(1); opacity: .95; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } .icon-feats { grid-template-columns: repeat(2, 1fr); } .icon-feats-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .icon-feats { grid-template-columns: 1fr; } .icon-feats-3 { grid-template-columns: 1fr; } }

/* Gate motors hub: right-aligned hero variant */
.hero-content.align-right { text-align: right; }
.hero-content.align-right h1, .hero-content.align-right p { margin-left: auto; }

/* Picker cards: image w/ overlay caption, copy + btn below */
.picker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 50px; }
.picker-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; display: block; margin-bottom: 26px; }
.picker-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.picker-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,12,16,.72) 0%, rgba(8,12,16,.05) 55%); }
.picker-card-media:hover img { transform: scale(1.04); }
.picker-card-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.picker-card-tag { display: block; color: var(--gold-light); font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.picker-card-overlay h3 { color: #fff; font-family: var(--sans); font-size: 22px; font-weight: 700; margin: 0; }
.picker-card p { font-size: 15px; color: var(--gray); margin-bottom: 20px; }
@media (max-width: 860px) { .picker-grid { grid-template-columns: 1fr; gap: 44px; } }

/* Compare cards: image top, eyebrow caption, h3, copy, btn */
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin: 50px 0; }
.compare-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; margin-bottom: 22px; }
.compare-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-card .eyebrow { margin-bottom: 10px; }
.compare-card h3 { font-family: var(--sans); font-size: 24px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 14px; }
.compare-card p { font-size: 15px; color: var(--gray); margin-bottom: 20px; }
@media (max-width: 860px) { .compare-grid { grid-template-columns: 1fr; gap: 44px; } }

/* Closing callout box */
.callout-box { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 60px 50px; text-align: center; margin-top: 20px; }
.callout-box .eyebrow { justify-content: center; }
.callout-box h3 { font-family: var(--sans); font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.callout-box p { font-size: 16px; color: var(--gray); max-width: 60ch; margin: 0 auto 30px; }
.callout-box .btn { margin: 0 8px 10px; }
.callout-box .footnote { font-size: 14px; color: var(--gray); margin-top: 24px; margin-bottom: 0; }
@media (max-width: 560px) { .callout-box { padding: 44px 24px; } }

/* ===================== BLOG ===================== */
.blog-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 10px; }
.blog-filter-btn { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 12px 22px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: all .2s ease; }
.blog-filter-btn:hover { border-color: var(--ink); }
.blog-filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.blog-featured { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; background: #fff; }
.blog-featured-media { display: block; overflow: hidden; }
.blog-featured-media img { width: 100%; height: 420px; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-featured-media:hover img { transform: scale(1.03); }
.blog-featured-body { padding: 28px 32px; }
@media (max-width: 900px) { .blog-featured { grid-template-columns: 1fr; } .blog-featured-media img { height: 300px; } }

.blog-badge { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 5px 12px; margin-bottom: 16px; }
.blog-featured-body h2 { font-family: var(--sans); font-weight: 700; margin-bottom: 18px; }
.blog-featured-body h2 a { color: var(--ink); }
.blog-featured-body h2 a:hover { color: var(--gold); }
.blog-featured-body p { color: var(--gray); font-size: 16px; margin-bottom: 24px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.blog-card-date { font-size: 12px; color: var(--gray); font-family: var(--sans); letter-spacing: .3px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #fff; }
.blog-card-media { display: block; overflow: hidden; }
.blog-card-media img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { padding: 22px 22px 24px; }
.blog-card-title { font-family: var(--sans); font-size: 17px; font-weight: 700; margin: 0 0 10px; line-height: 1.35; }
.blog-card-title a { color: var(--ink); }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 14px; color: var(--gray); margin: 0; }
.blog-card-meta a { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* ===================== BLOG ARTICLE ===================== */
.blog-article-wrap { max-width: 760px; margin: 0 auto; }
.blog-article-top { margin-bottom: 36px; overflow: hidden; }
.blog-article-top img { width: 100%; height: auto; display: block; }
.blog-article-meta { font-family: var(--sans); font-size: 13px; color: var(--gray); margin: 18px 0 36px; letter-spacing: .3px; }
.article-title { font-family: var(--sans); font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.25; color: var(--ink); margin: 18px 0 10px; letter-spacing: -.3px; }
.blog-article-body { font-family: var(--text); font-size: 17px; line-height: 1.8; color: var(--body); }
.blog-article-body p { margin: 0 0 22px; }
.blog-article-body h2 { font-family: var(--sans); font-weight: 700; font-size: 24px; color: var(--ink); margin: 46px 0 18px; letter-spacing: -.2px; }
.blog-article-body strong { color: var(--ink); font-weight: 600; }
.blog-article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line); }
.blog-article-body a:hover { text-decoration-color: var(--ink); }
.blog-article-body ul { list-style: disc; margin: 0 0 22px 22px; padding: 0; }
.blog-article-body ul li { margin-bottom: 8px; }
.blog-cta-box { background: var(--ink); color: #fff; padding: 40px; margin: 46px 0; }
.blog-cta-box h3 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.blog-cta-box p { color: var(--gold-light); margin-bottom: 24px; }
.blog-cta-box .btn { margin: 0 12px 12px 0; }
.blog-article-related { font-family: var(--sans); font-size: 13px; color: var(--gray); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.blog-article-related a { color: var(--ink); border-bottom: 1px solid var(--line); }
.blog-article-related a:hover { color: var(--gold); }
.blog-article-body .blog-cta-box a { color: #fff; text-decoration: none; }
.blog-article-body .blog-cta-box a:hover { text-decoration: none; }
