/* =========================================================================
   Amazing Glazing — Design System
   Palette from owner's reference: corporate navy + royal blue
   ========================================================================= */

:root {
  --navy:       #16223D;
  --navy-deep:  #0E1729;
  --blue:       #2F6FE0;
  --blue-dark:  #245BC0;
  --steel:      #5B8FD9;
  --ice:        #EEF2F8;
  --ice-line:   #DCE4F0;
  --text:       #1F2A37;
  --muted:      #5C6B7A;
  --white:      #FFFFFF;

  --radius:     14px;
  --radius-sm:  10px;
  --shadow:     0 18px 40px rgba(22, 34, 61, 0.12);
  --shadow-sm:  0 6px 18px rgba(22, 34, 61, 0.10);
  --container:  1180px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Clip horizontal overflow (e.g. the off-canvas mobile menu) without breaking
   the sticky header — `clip` does not create a scroll container like `hidden`. */
html, body { overflow-x: clip; max-width: 100%; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.18; color: var(--navy); font-weight: 800; letter-spacing: -0.01em; }

.container { width: 92%; max-width: var(--container); margin: 0 auto; }

.icon    { width: 28px; height: 28px; }
.icon-sm { width: 18px; height: 18px; flex: none; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: 0.96rem;
  padding: 13px 26px; border-radius: 50px; border: 0; cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn .icon, .btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--blue); }
.btn-accent:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 700; font-size: 0.92rem;
}
.link-more svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* ---- Header / Nav ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(14, 23, 41, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: padding 0.25s var(--ease), background 0.25s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.site-header.shrink .header-inner { padding: 8px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 46px; width: 46px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25); background: var(--white);
}
.brand-text { color: var(--white); font-weight: 800; font-size: 1.18rem; letter-spacing: 0.01em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a {
  color: rgba(255,255,255,0.82); font-weight: 600; font-size: 0.95rem;
  position: relative; padding: 4px 0; transition: color 0.2s;
}
.main-nav > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--blue); transition: width 0.25s var(--ease);
}
.main-nav > a:hover, .main-nav > a.is-active { color: var(--white); }
.main-nav > a:hover::after, .main-nav > a.is-active::after { width: 100%; }
.nav-cta { color: #fff; margin-left: 4px; }
.nav-cta::after { display: none; }

/* ---- Nav dropdown ---- */
.nav-dd { position: relative; }
.nav-dd-toggle {
  background: none; border: 0; cursor: pointer; font: inherit;
  color: rgba(255,255,255,0.82); font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 0;
}
.nav-dd-toggle svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.nav-dd-toggle:hover, .nav-dd-toggle.is-active, .nav-dd:hover .nav-dd-toggle,
.nav-dd:focus-within .nav-dd-toggle { color: #fff; }
.nav-dd:hover .nav-dd-toggle svg, .nav-dd:focus-within .nav-dd-toggle svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff; border: 1px solid var(--ice-line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; min-width: 230px;
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 250;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px);
}
.nav-dd-menu a {
  display: block; padding: 11px 14px; border-radius: 8px;
  color: var(--navy); font-weight: 600; font-size: 0.92rem;
}
.nav-dd-menu a::after { display: none; }
.nav-dd-menu a:hover { background: var(--ice); color: var(--blue); }

.nav-toggle, .nav-close {
  display: none; background: transparent; border: 0; color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 30px; height: 30px; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #1d3566);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("/images/hero.svg");
  background-size: cover; background-position: center;
  opacity: 0.28; mix-blend-mode: luminosity; z-index: 0;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55; z-index: 1;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(11,18,33,0.94) 0%, rgba(14,23,41,0.78) 42%, rgba(22,34,61,0.40) 75%, rgba(29,53,102,0.20) 100%),
    linear-gradient(to top, rgba(11,18,33,0.75), transparent 38%);
}
.hero-inner { position: relative; z-index: 2; padding: 140px 0 180px; max-width: 760px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(47, 111, 224, 0.22); border: 1px solid rgba(91, 143, 217, 0.45);
  color: #d4e4ff; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 8px 18px; border-radius: 50px; margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  color: var(--white); font-size: clamp(2.6rem, 6vw, 4.3rem);
  line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 22px; font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(100deg, #8fc0ff, var(--steel));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.24rem; color: rgba(255,255,255,0.9); max-width: 580px; margin-bottom: 38px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn { padding: 15px 32px; font-size: 1rem; }

/* ---- Floating service cards (overlap hero) ---------------------------- */
.feature-cards { position: relative; z-index: 5; margin-top: -80px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--ice-line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(22,34,61,0.18); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--steel)); color: var(--white);
  margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }

/* ---- Sections --------------------------------------------------------- */
.section { padding: 88px 0; }
.section.alt { background: var(--ice); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark h2, .section.dark h3 { color: var(--white); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .eyebrow {
  color: var(--blue); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em;
  text-transform: uppercase; display: block; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section.dark .section-head p { color: rgba(255,255,255,0.78); }

/* ---- Two-column About / Expertise ------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img, .split-media .media-box {
  border-radius: var(--radius); box-shadow: var(--shadow); width: 100%;
  aspect-ratio: 4 / 3; object-fit: cover;
  background: linear-gradient(135deg, var(--steel), var(--navy));
}
.split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.split .eyebrow { color: var(--blue); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.split p { color: var(--muted); margin-bottom: 16px; }

.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 8px; }
.expertise-item { display: flex; gap: 14px; }
.expertise-item .e-icon {
  width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--ice); color: var(--blue); border: 1px solid var(--ice-line);
}
.expertise-item .e-icon svg { width: 22px; height: 22px; }
.expertise-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.expertise-item p { font-size: 0.9rem; margin: 0; }

/* ---- Generic card grid ------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.info-card {
  background: var(--white); border: 1px solid var(--ice-line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.section.alt .info-card { background: var(--white); }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.info-card .c-icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ice); color: var(--blue); margin-bottom: 16px;
}
.info-card.on-dark { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.info-card.on-dark h3 { color: var(--white); }
.info-card.on-dark .c-icon { background: rgba(47,111,224,0.2); color: #bcd4ff; }
.info-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 0.94rem; }
.info-card.on-dark p { color: rgba(255,255,255,0.72); }

/* ---- Stats ------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 2.6rem; font-weight: 800; color: var(--white); }
.stat .label { color: rgba(255,255,255,0.72); font-size: 0.92rem; }

/* ---- Gallery ---------------------------------------------------------- */
.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  background: var(--white); border: 1px solid var(--ice-line); color: var(--text);
  padding: 9px 22px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; background: var(--ice); box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .g-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px;
  background: linear-gradient(to top, rgba(14,23,41,0.8), transparent 60%);
  color: var(--white); opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .g-overlay { opacity: 1; }
.g-overlay .g-cat { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--steel); font-weight: 700; }
.gallery-empty { text-align: center; color: var(--muted); padding: 50px 0; grid-column: 1 / -1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(8,14,26,0.92);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 22px; right: 26px; background: transparent; border: 0; color: #fff; cursor: pointer; }
.lightbox-close svg { width: 34px; height: 34px; }

/* ---- News cards ------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.news-card {
  background: var(--white); border: 1px solid var(--ice-line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.news-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--steel), var(--navy)); object-fit: cover; width: 100%; }
.news-body { padding: 22px 24px; }
.news-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--blue); background: var(--ice); padding: 4px 12px;
  border-radius: 50px; margin-bottom: 12px;
}
.news-body h3 { font-size: 1.14rem; margin-bottom: 8px; }
.news-body .date { color: var(--muted); font-size: 0.84rem; margin-bottom: 10px; }
.news-body p { color: var(--muted); font-size: 0.94rem; }

/* ---- CTA band --------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: var(--white);
  text-align: center; padding: 70px 0;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 540px; margin: 0 auto 28px; }

/* ---- Forms ------------------------------------------------------------ */
.form-wrap { background: var(--white); border: 1px solid var(--ice-line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--ice-line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.96rem; color: var(--text); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,224,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: 0.95rem; }
.alert-success { background: #e7f6ee; color: #176c3a; border: 1px solid #b6e3c8; }
.alert-error { background: #fdecec; color: #a52828; border: 1px solid #f3c4c4; }

/* ---- Page hero (inner pages) ----------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, #3a5d9a 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: var(--white); padding: 78px 0; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background: radial-gradient(circle at 80% -20%, rgba(91,143,217,0.45), transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: var(--steel); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }

/* ---- Contact details list -------------------------------------------- */
.contact-cards { display: grid; gap: 16px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .cl-icon { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--ice); color: var(--blue); }
.contact-line h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-line p, .contact-line a { color: var(--muted); font-size: 0.95rem; }
.map-box { aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--ice); border: 1px solid var(--ice-line); display: grid; place-items: center; color: var(--muted); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr; gap: 36px; padding: 64px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { height: 44px; width: 44px; border-radius: 50%; background: #fff; }
.footer-brand span { color: var(--white); font-weight: 800; font-size: 1.15rem; }
.footer-blurb { font-size: 0.94rem; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-contact svg { color: var(--steel); }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
.legal-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.85rem; }
.legal-links a { color: rgba(255,255,255,0.7); }
.legal-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; font-size: 0.82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-managed a { color: var(--steel); font-weight: 600; }
.footer-managed a:hover { color: var(--white); }
.footer-admin { color: rgba(255,255,255,0.45); }
.footer-admin:hover { color: var(--white); }

/* ---- Cookie banner ---- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400;
  max-width: 760px; margin: 0 auto;
  background: var(--navy); color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 0.9rem; flex-wrap: wrap;
}
.cookie-bar a { color: var(--steel); font-weight: 600; }
.cookie-bar[hidden] { display: none; }

/* ---- Legal pages ------------------------------------------------------ */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal a { color: var(--blue); font-weight: 600; }
.legal-note { background: var(--ice); border: 1px solid var(--ice-line); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--text) !important; font-size: 0.92rem; }
.legal-updated { font-size: 0.85rem; color: var(--muted); margin-top: 30px; font-style: italic; }

/* ---- Scroll reveal animation -----------------------------------------
   Hidden state only applies when JS is active (html.js), so visitors without
   JavaScript still see all content. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-cards { margin-top: -40px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw);
    background: var(--navy-deep); flex-direction: column; align-items: flex-start;
    padding: 80px 30px 30px; gap: 18px; transform: translateX(100%);
    visibility: hidden; overflow-y: auto;
    transition: transform 0.3s var(--ease), visibility 0s 0.3s;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform 0.3s var(--ease); }
  .nav-close { display: block; position: absolute; top: 22px; right: 22px; }
  .nav-cta { margin-top: 10px; }

  /* Dropdown becomes an inline expanded list inside the mobile menu */
  .nav-dd { width: 100%; }
  .nav-dd-toggle { width: 100%; justify-content: flex-start; font-size: 1rem; padding: 0; cursor: default; }
  .nav-dd-toggle svg { display: none; }
  .nav-dd-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: 0; box-shadow: none; padding: 8px 0 0 14px; min-width: 0;
  }
  .nav-dd-menu a { color: rgba(255,255,255,0.7); padding: 7px 0; }
  .nav-dd-menu a:hover { background: transparent; color: #fff; }
}

@media (max-width: 540px) {
  .brand-text { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-wrap { padding: 24px; }
}

/* ---- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
