/* ============================================================
   STEEL PLANT SPECIALITIES — SHARED DESIGN SYSTEM
   Primary: #eb3d00  Dark: #1a1a1a  White: #ffffff
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --red:        #eb3d00;
  --red-dark:   #c43200;
  --red-light:  #ff5520;
  --red-bg:     rgba(235,61,0,.07);
  --black:      #111111;
  --dark:       #1a1a1a;
  --mid:        #333333;
  --grey:       #666666;
  --light-grey: #999999;
  --light:      #f4f4f4;
  --border:     #e0e0e0;
  --white:      #ffffff;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12);
  --radius:     6px;
  --radius-lg:  12px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--dark); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── Typography ───────────────────────────────────────────── */
.section-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 38px); font-weight: 800;
  color: var(--dark); line-height: 1.15; margin-bottom: 16px; letter-spacing: -.5px;
}
.section-sub {
  font-size: 17px; color: var(--grey); max-width: 580px; line-height: 1.75;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  padding: 13px 28px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: all .2s ease; letter-spacing: .2px;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(235,61,0,.3); }
.btn-outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: var(--black); }
.btn-light { background: var(--white); color: var(--dark); border-color: var(--border); }
.btn-light:hover { border-color: var(--red); color: var(--red); }
.btn-lg { font-size: 15px; padding: 15px 36px; }
.btn-sm { font-size: 13px; padding: 9px 20px; }
.btn i { font-size: 12px; }

/* ── Tags / Pills ─────────────────────────────────────────── */
.tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px;
}
.tag-red   { background: var(--red); color: #fff; }
.tag-dark  { background: var(--dark); color: #fff; }
.tag-light { background: var(--light); color: var(--grey); }
.tag-outline { background: transparent; color: var(--red); border: 1px solid var(--red); }

/* ── Preview Banner ───────────────────────────────────────── */
.preview-notice {
  background: #fff3cd; color: #7d4e00; text-align: center;
  padding: 10px; font-size: 13px; font-weight: 500;
  border-bottom: 1px solid #f0c040; font-family: 'Inter', sans-serif;
}

/* ── Utility Bar ──────────────────────────────────────────── */
/* Reserve the header's height until components.js injects it, so the page doesn't jump down
   (layout shift) after first paint. Heights = utility bar 46 + navbar 91 (desktop), navbar 65 (mobile). */
body:not(.header-ready) { padding-top: 137px; }
@media (max-width: 768px) { body:not(.header-ready) { padding-top: 65px; } }

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10000; background: var(--red); color: #fff; padding: 10px 18px; border-radius: 4px; font-weight: 600; }
.skip-link:focus { top: 12px; }
#main-content:focus, [tabindex="-1"]:focus { outline: none; }

.utility-bar {
  background: var(--dark); color: #ccc; font-size: 12.5px; padding: 9px 0;
}
.utility-bar .container { display: flex; justify-content: flex-end; align-items: center; }
.utility-bar a { color: #ccc; transition: color .2s; }
.utility-bar a:hover { color: #fff; }
.utility-right { display: flex; gap: 10px; align-items: center; }
.utility-right a {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.utility-right a:hover { background: var(--red); color: #fff; }
.utility-right i { font-size: 12px; }
.utility-sep {
  width: 1px; height: 18px; background: rgba(255,255,255,.2); margin: 0 6px;
}
.utility-right a.utility-contact {
  width: auto; min-width: 28px; overflow: hidden; white-space: nowrap; max-width: 28px;
  transition: max-width .35s ease, padding .35s ease, gap .35s ease;
  gap: 0; padding-left: 0; padding-right: 0;
  border-radius: 14px; background: var(--red); color: #fff;
}
.utility-right a.utility-contact span {
  font-size: 11.5px; opacity: 0; width: 0; overflow: hidden;
  transition: opacity .25s ease, width .35s ease;
  pointer-events: none;
}
.utility-right a.utility-contact:hover span { width: auto; }
.utility-right a.utility-contact:hover {
  max-width: 280px; gap: 7px;
  padding-left: 10px; padding-right: 14px;
}
.utility-right a.utility-contact:hover span { opacity: 1; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  background: #fff; position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.nav-logo { display: flex; align-items: center; gap: 5px; }
.nav-logo-icon {
  width: 53px; height: 53px; background: var(--red); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-icon svg { width: 33px; height: 33px; fill: #fff; }
.nav-logo-img { height: 66px; width: auto; display: block; flex-shrink: 0; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong { display: block; font-size: 19px; font-weight: 800; color: var(--dark); }
.nav-logo-text span { font-size: 13px; color: var(--grey); font-weight: 500; letter-spacing: .4px; }
.nav-title-img { height: 66px; width: auto; display: block; flex-shrink: 0; }
.nav-links { display: flex; gap: 2px; align-items: center; margin-left: 15px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--grey);
  letter-spacing: .6px; text-transform: uppercase;
  padding: 10px 16px; border-radius: 4px; transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px;
  height: 2px; background: var(--red); border-radius: 1px;
  transform: scaleX(0); transition: transform .25s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ── Search ─────────────────────────────────────────────── */
.nav-search-btn {
  background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--mid); display: flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: color .2s, background .2s;
}
.nav-search-btn:hover { color: var(--red); background: var(--red-bg); }

.search-strip {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
  position: sticky; top: 90px; z-index: 99;
}
.search-strip.open { grid-template-rows: 1fr; }
.search-strip-wrap {
  overflow: hidden; min-height: 0;
  background: var(--dark);
}
.search-strip-inner {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.1); border-radius: 8px;
  padding: 12px 16px;
}
.search-strip-icon { color: rgba(255,255,255,.4); font-size: 16px; flex-shrink: 0; }
.search-strip-inner input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: 16px; font-family: Inter, sans-serif;
}
.search-strip-inner input::placeholder { color: rgba(255,255,255,.4); }
.search-clear-btn {
  background: none; border: none; cursor: pointer; padding: 4px;
  color: rgba(255,255,255,.4); flex-shrink: 0; display: flex; align-items: center;
  border-radius: 4px; transition: color .2s, background .2s;
  visibility: hidden;
}
.search-clear-btn:hover { color: #fff; background: rgba(255,255,255,.1); }

.search-results {
  margin-top: 8px; max-height: 320px; overflow-y: auto;
  border-radius: 8px;
}
.search-result-item {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  padding: 10px 16px; color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .15s;
}
.search-result-item:hover { background: rgba(255,255,255,.08); }
.search-result-type {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--red); background: rgba(235,61,0,.15);
  padding: 2px 8px; border-radius: 4px; flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
}
.search-result-title {
  font-size: 15px; font-weight: 600; color: #fff;
}
.search-result-desc {
  width: 100%; font-size: 13px; color: rgba(255,255,255,.5);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-no-results {
  padding: 12px 16px; color: rgba(255,255,255,.4); font-size: 14px;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  position: relative; padding: 48px 0 64px; overflow: hidden;
  background: var(--dark);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.7) 50%, rgba(10,10,10,.45) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb i { font-size: 9px; color: rgba(255,255,255,.3); }
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 900; color: #fff;
  line-height: 1.1; margin-bottom: 18px; letter-spacing: -1px; max-width: 700px;
}
.page-hero h1 span { color: var(--red); }
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,.75); max-width: 580px;
  line-height: 1.7; margin-bottom: 32px;
}
.page-hero-ctas { display: flex; gap: 14px; }

/* ── Card ─────────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .25s ease; position: relative;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--red); }
.card-body { padding: 28px 24px; }
.card-icon {
  width: 52px; height: 52px; background: var(--red-bg); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon i { font-size: 22px; color: var(--red); }
.card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.card p { font-size: 13.5px; color: var(--grey); line-height: 1.65; margin-bottom: 18px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--red); transition: gap .2s;
}
.card:hover .card-link { gap: 10px; }

/* ── Section divider line ─────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── CTA Strip ────────────────────────────────────────────── */
.cta-strip { background: var(--dark); padding: 72px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-strip h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-strip p { font-size: 16px; color: rgba(255,255,255,.55); max-width: 520px; }
.cta-strip-actions { display: flex; gap: 14px; flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: var(--black); color: rgba(255,255,255,.55); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand p { font-size: 13px; line-height: 1.75; margin: 16px 0 24px; color: rgba(255,255,255,.4); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.5); transition: all .2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-col h4, .footer-col .h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 13px; }
.footer-contact-item i { color: var(--red); margin-top: 3px; flex-shrink: 0; width: 14px; }
.footer-newsletter { margin-top: 24px; }
.footer-newsletter h5, .footer-newsletter .h5 { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.4); margin-bottom: 10px; letter-spacing: .5px; text-transform: uppercase; }
.newsletter-form { display: flex; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.newsletter-form input {
  flex: 1; background: rgba(255,255,255,.06); border: none;
  padding: 10px 14px; font-size: 13px; color: #fff;
  font-family: 'Inter', sans-serif; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.28); }
.newsletter-form button {
  background: var(--red); border: none; padding: 10px 16px;
  color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Inter', sans-serif; transition: background .2s;
}
.newsletter-form button:hover { background: var(--red-dark); }
.newsletter-form button:disabled { opacity: .6; cursor: progress; }
/* Newsletter forms: honeypot (off-screen), Turnstile slot, status message */
.nl-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nl-turnstile:not(:empty) { margin-top: 10px; }
.nl-status { margin-top: 10px; font-size: 12.5px; line-height: 1.5; }
.nl-status.nl-ok { color: #4ade80; }
.nl-status.nl-err { color: #fca5a5; }
.nl-note { margin-top: 10px; font-size: 11.5px; line-height: 1.55; color: rgba(255,255,255,.38); }
.nl-note a { color: rgba(255,255,255,.6); text-decoration: underline; }
.nl-note a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.28);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom a:hover { color: var(--red); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Cookie consent bar ───────────────────────────────────── */
.consent-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  background: var(--dark); color: rgba(255,255,255,.8); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08);
}
.consent-inner { max-width: 1100px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 20px; }
.consent-inner p { flex: 1; font-size: 13.5px; line-height: 1.55; margin: 0; }
.consent-inner p a { color: #fff; text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-actions .btn { padding: 9px 18px; font-size: 13px; }
@media (max-width: 640px) {
  .consent-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .consent-actions .btn { flex: 1; justify-content: center; }
}

/* ── Mono font helper ─────────────────────────────────────── */
.mono { font-family: 'IBM Plex Mono', monospace; }

/* ── Read Next (article pages) ────────────────────────────── */
.read-next-section { padding: 64px 0 96px; background: var(--light); border-top: 1px solid var(--border); }
.read-next-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--grey); margin-bottom: 16px;
}
.read-next-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: all .25s ease;
}
.read-next-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.1); transform: translateY(-3px); border-color: var(--red); }
.read-next-img { overflow: hidden; }
.read-next-img img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.read-next-content { padding: 24px 24px 24px 0; display: flex; flex-direction: column; justify-content: center; }
.read-next-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.read-next-content h3 { font-size: 17px; font-weight: 800; color: var(--dark); line-height: 1.35; margin-bottom: 10px; }
.read-next-excerpt { font-size: 14px; color: var(--grey); line-height: 1.7; margin-bottom: 14px; }
.read-next-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--red); transition: gap .2s; }
.read-next-link i { font-size: 11px; }
.read-next-card:hover .read-next-link { gap: 12px; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   Tablet  ≤ 1024px  |  Mobile ≤ 768px  |  Small ≤ 480px
   ============================================================ */

/* ── Tablet (≤ 1024px) ────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }

  /* CTA Strip */
  .cta-strip-inner { flex-direction: column; text-align: center; gap: 28px; }
  .cta-strip-actions { justify-content: center; }
  .cta-strip p { margin: 0 auto; }

  /* Page hero */
  .page-hero { padding: 36px 0 52px; }
  .page-hero p { font-size: 16px; }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  .utility-bar { display: none; }

  /* Nav panel contact block */
  .nav-panel-contact {
    margin-top: auto; padding: 16px 20px 20px;
    border-top: 1px solid rgba(255,255,255,.15);
    display: flex; flex-direction: column; gap: 0;
  }
  .nav-links .nav-panel-contact > a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0; color: rgba(255,255,255,.45); font-size: 11.5px;
    font-weight: 400; border-bottom: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
  }
  .nav-links .nav-panel-contact > a:last-of-type { border-bottom: none; }
  .nav-links .nav-panel-contact > a i { width: 16px; text-align: center; color: rgba(255,255,255,.5); font-size: 11px; }
  .nav-links .nav-panel-contact > a:hover { color: rgba(255,255,255,.8); }
  .nav-panel-social {
    display: flex; gap: 10px; padding-top: 14px; margin-top: 4px;
    border-top: 1px solid rgba(255,255,255,.15);
    justify-content: center;
  }
  .nav-links .nav-panel-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.15); display: flex;
    align-items: center; justify-content: center;
    color: #fff; font-size: 14px; text-decoration: none;
    transition: background .2s; padding: 0; border-bottom: none;
  }
  .nav-links .nav-panel-social a:hover { background: rgba(255,255,255,.3); }

  /* ── Navbar ─────────────────────────── */
  .navbar .container { height: 64px; position: relative; }
  .nav-logo-text { display: none; }
  .nav-title-img { display: none; }

  /* Overlay behind the panel */
  .nav-overlay {
    display: none; position: fixed; inset: 0; top: 64px;
    background: rgba(0,0,0,.45); z-index: 98;
  }
  .nav-overlay.open { display: block; }

  /* Slide-in panel — 75% width from the right */
  .nav-links {
    display: none;
    position: fixed; top: 64px; right: 0; bottom: 0;
    width: 75%;
    background: var(--red); flex-direction: column;
    padding: 0; gap: 0; z-index: 99;
    box-shadow: -4px 0 32px rgba(0,0,0,.25);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }

  /* Close button — absolute top-right of panel */
  .nav-panel-header {
    padding: 16px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
  .nav-panel-header span {
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255,255,255,.7);
  }
  .nav-close-btn {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.2); border: none; cursor: pointer;
    color: #fff; font-size: 16px; display: flex;
    align-items: center; justify-content: center; transition: background .2s;
  }
  .nav-close-btn:hover { background: rgba(255,255,255,.35); }

  /* Nav links inside panel */
  .nav-links a {
    padding: 16px 20px; font-size: 15px; border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    color: #fff; font-weight: 600;
    text-transform: none; letter-spacing: 0;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
  .nav-links a.active { background: rgba(255,255,255,.18); color: #fff; }
  .nav-links a.active::after { display: none; }

  .nav-cta .btn { display: none; }
  .search-strip { top: 64px; }

  /* Hamburger button */
  .nav-hamburger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 40px; height: 40px; cursor: pointer;
    background: none; border: none; padding: 8px; margin-left: 8px;
  }
  .nav-hamburger span {
    display: block; height: 2px; background: var(--dark);
    border-radius: 2px; transition: all .25s ease;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Page hero */
  .page-hero { padding: 28px 0 40px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 38px); }
  .page-hero p { font-size: 15px; }
  .page-hero-ctas { flex-direction: column; gap: 10px; }
  .page-hero-ctas .btn { width: 100%; justify-content: center; }

  /* Section headings */
  .section-sub { font-size: 15px; }
  .section-header { margin-bottom: 36px; }

  /* CTA strip */
  .cta-strip { padding: 48px 0; }
  .cta-strip-actions { flex-direction: column; width: 100%; }
  .cta-strip-actions .btn { width: 100%; justify-content: center; }

  /* Read Next */
  .read-next-section { padding: 40px 0 56px; }
  .read-next-card { grid-template-columns: 1fr; }
  .read-next-img img { min-height: 180px; }
  .read-next-content { padding: 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: 1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* ── Small Mobile (≤ 480px) ───────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .btn-lg { font-size: 14px; padding: 13px 24px; }
}

/* ── Desktop only: hide mobile-only elements ──────────────── */
@media (min-width: 769px) {
  .nav-hamburger { display: none; }
  .nav-panel-header { display: none; }
  .nav-panel-contact { display: none; }
  .nav-overlay { display: none !important; }
  .nav-links { display: flex !important; }
}
