/* ==========================================================================
   CRANE BIN SOLUTIONS PTY LTD
   Design system — premium industrial inspection & compliance
   Palette, type and motifs per brand brief.
   ========================================================================== */

/* ---------- Design tokens --------------------------------------------- */
:root {
  /* Brand palette (exact, per brief) */
  --charcoal:      #222222;
  --charcoal-deep: #161616;
  --grey-mid:      #4A4A4A;
  --grey-light:    #F3F3F3;
  --white:         #FFFFFF;
  --yellow:        #F2E500;   /* industrial hero accent — matched to vehicle livery */
  --yellow-deep:   #d9cd00;

  /* Semantic */
  --ink:        var(--charcoal-deep);
  --body:       #3a3a3a;
  --muted:      #6d6d6d;
  --line:       #e4e4e4;
  --line-dark:  #2f2f2f;
  --surface:    var(--white);
  --surface-2:  var(--grey-light);

  /* Type */
  --f-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --f-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 900px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 18px 50px rgba(22,22,22,.10);
  --shadow-sm: 0 6px 20px rgba(22,22,22,.08);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ---------- Type ------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .4em;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.05rem; letter-spacing: .04em; }
p  { margin: 0 0 1.1rem; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--grey-mid); line-height: 1.6; }

.eyebrow {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey-mid);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--yellow-deep);
  display: inline-block;
}
.eyebrow.on-dark { color: #cfcfcf; }
.eyebrow.on-dark::before { background: var(--yellow); }

.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Layout helpers -------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }
section { padding-block: clamp(3.6rem, 8vw, 6.5rem); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-bottom: 0; }

.bg-light { background: var(--grey-light); }
.bg-charcoal { background: var(--charcoal); color: #d7d7d7; }
.bg-deep { background: var(--charcoal-deep); color: #d7d7d7; }
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4,
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4 { color: #fff; }
.bg-charcoal .lead, .bg-deep .lead { color: #b3b3b3; }
.bg-charcoal .muted, .bg-deep .muted { color: #9a9a9a; }

/* ---------- Hexagon / technical motifs -------------------------------- */
.hex-field {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 0l24 14v28L28 56 4 42V14z M28 56l24 14v28' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 56px 96px;
  pointer-events: none;
}
.hex-accent {
  width: 46px; height: 52px;
  display: grid; place-items: center;
  color: var(--charcoal-deep);
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: 0 0 auto;
}
.hex-accent svg { width: 22px; height: 22px; }
.hex-accent.ghost { background: rgba(242,229,0,.14); color: var(--yellow); }

/* ---------- Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--f-body);
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: transform .12s var(--ease), background .18s, color .18s, border-color .18s;
  text-transform: uppercase;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--charcoal-deep); }
.btn-primary:hover { background: #fff; }
.btn-dark { background: var(--charcoal-deep); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--ink); border-color: #cfcfcf; }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
/* Refined secondary (glass) button on dark backgrounds + tighter header CTAs */
.btn-outline-light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }
.nav-cta .btn { padding: .58rem 1.1rem; font-size: .88rem; }

/* ---------- Header ----------------------------------------------------- */
.topbar { background: var(--charcoal-deep); color: #cfcfcf; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: #cfcfcf; }
.topbar a:hover { color: var(--yellow); }
.topbar .tb-right { display: flex; gap: 1.4rem; align-items: center; }
.topbar strong { color: #fff; }
.topbar .tb-portal { background: var(--yellow); color: var(--charcoal-deep); padding: .12rem .6rem; border-radius: 3px; font-weight: 700; }
.topbar .tb-portal:hover { background: #fff; color: var(--charcoal-deep); }
@media (max-width: 992px) { .topbar .tb-left { display: none; } }
@media (max-width: 600px) { .topbar .tb-right a[href^="mailto"] { display: none; } .topbar .tb-right { gap: .8rem; } }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 82px; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; max-width: none; display: block; flex-shrink: 0; }
.site-header .wrap { max-width: 1320px; }
.site-header .nav { min-height: 86px; gap: 1rem; flex-wrap: nowrap; }
.nav-links > li > a { padding: .5rem .8rem; font-size: .92rem; white-space: nowrap; }
@media (max-width: 620px) { .brand-logo { height: 38px; } }
.brand .logo { flex: 0 0 auto; }
.brand-name { font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: 1.35rem; line-height: .95; color: var(--ink); letter-spacing: .01em; }
.brand-name small { display: block; font-family: var(--f-body); font-weight: 600; font-size: .58rem;
  letter-spacing: .2em; color: var(--grey-mid); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a { display: block; padding: .6rem .75rem; font-weight: 600; font-size: .92rem;
  color: var(--charcoal); border-radius: var(--radius); transition: color .15s, background .15s; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--ink); background: var(--grey-light); }
.nav-cta { display: flex; align-items: center; gap: .7rem; }

.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Dropdown (Services) */
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s var(--ease); }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: .6rem .8rem; border-radius: var(--radius); font-size: .9rem; font-weight: 600; color: var(--charcoal); }
.drop a:hover { background: var(--grey-light); }
.drop a span { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }

/* ---------- Hero ------------------------------------------------------- */
.hero { position: relative; background: var(--charcoal-deep); color: #fff; overflow: hidden; }
.hero .hex-field { opacity: .8; }
.hero::after { content: ""; position: absolute; right: -8%; top: -20%; width: 46%; height: 140%;
  background: radial-gradient(closest-side, rgba(242,229,0,.16), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem; align-items: center; padding-top: clamp(1.4rem, 3.5vw, 2.6rem); padding-bottom: clamp(2.8rem, 6vw, 4.5rem); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--yellow); }
.hero .lead { color: #c4c4c4; max-width: 46ch; margin-top: .4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }
.hero-figure { position: relative; aspect-ratio: 4/4.4; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid #2c2c2c; background: linear-gradient(160deg, #262626, #191919); box-shadow: var(--shadow); }
.hero-figure .ph { position: absolute; inset: 0; display: grid; place-content: center; gap: .6rem; text-align: center; color: #5f5f5f; }
.hero-figure .ph svg { width: 64px; height: 64px; margin-inline: auto; color: #4a4a4a; }
.hero-figure .ph small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-figure .corner { position: absolute; bottom: 0; left: 0; background: var(--yellow); color: var(--charcoal-deep);
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: .95rem; padding: .5rem 1rem;
  letter-spacing: .04em; }

/* Full-width fleet banner hero */
.hero .wrap.hero-inner { display: block; grid-template-columns: none; }
.hero-inner .lead { max-width: 62ch; }
.hero-banner { position: relative; width: 100%; height: clamp(220px, 32vw, 440px); overflow: hidden; border-top: 3px solid var(--yellow); }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.hero-banner-badge { position: absolute; left: 0; bottom: 0; background: var(--yellow); color: var(--charcoal-deep);
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; padding: .28rem .7rem; }

/* Real photo frames (service pages) */
.img-fill { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.1; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.img-fill img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Colourful photo band under page titles */
.page-photo { width: 100%; aspect-ratio: 2.2 / 1; max-height: 620px; overflow: hidden; border-top: 3px solid var(--yellow); background: var(--charcoal-deep); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* placeholder utility (marked, for imagery to be supplied) */
.img-ph { position: relative; display: grid; place-content: center; gap: .5rem; text-align: center;
  background: repeating-linear-gradient(45deg, #ededed, #ededed 12px, #e6e6e6 12px, #e6e6e6 24px);
  color: #9a9a9a; border: 1px dashed #c8c8c8; border-radius: var(--radius); min-height: 200px; }
.img-ph svg { width: 40px; height: 40px; opacity: .6; margin-inline: auto; }
.img-ph small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.bg-charcoal .img-ph, .bg-deep .img-ph { background: repeating-linear-gradient(45deg,#242424,#242424 12px,#1f1f1f 12px,#1f1f1f 24px); border-color:#333; color:#666; }

/* ---------- Trust strip ------------------------------------------------ */
.trust { background: var(--charcoal); color: #d0d0d0; border-top: 3px solid var(--yellow); }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.1rem 1.3rem;
  align-items: center; padding-block: 1.3rem; }
.trust .item { display: flex; align-items: center; justify-content: center; text-align: center; gap: .5rem; font-weight: 600; font-size: .88rem; }
.trust .item svg { width: 18px; height: 18px; color: var(--yellow); flex: 0 0 auto; }

/* ---------- Cards / grids ---------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.9rem; display: flex; flex-direction: column; transition: transform .16s var(--ease), box-shadow .2s, border-color .2s; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--yellow); transition: width .25s var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d4d4d4; }
.service-card:hover::before { width: 100%; }
.service-card .hex-accent { margin-bottom: 1.2rem; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { font-size: .96rem; color: var(--muted); margin-bottom: 1.3rem; }
.service-card .more { margin-top: auto; font-family: var(--f-body); font-weight: 700; font-size: .86rem;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.service-card .more svg { width: 16px; transition: transform .15s; }
.service-card:hover .more svg { transform: translateX(4px); }

/* Industry tiles */
.ind-tile { position: relative; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/2.4; display: flex; align-items: flex-end; padding: 1.2rem; background: #202020; transition: border-color .2s, transform .16s; }
.ind-tile:hover { transform: translateY(-4px); border-color: var(--yellow); }
.ind-tile .ind-name { font-family: var(--f-display); text-transform: uppercase; font-weight: 700; color: #fff;
  font-size: 1.15rem; line-height: 1; z-index: 2; }
.ind-tile .ind-ico { position: absolute; top: 1rem; right: 1rem; color: rgba(242,229,0,.6); }
.ind-tile .ind-ico svg { width: 30px; height: 30px; }

/* Feature list w/ hex bullets */
.feat { display: flex; gap: 1rem; }
.feat .hex-accent { width: 42px; height: 48px; }
.feat h4 { margin: .3rem 0 .25rem; font-size: 1.02rem; text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-weight: 700; color: var(--ink); }
.bg-charcoal .feat h4, .bg-deep .feat h4 { color: #fff; }
.feat p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Asset management feature (portal-suggestive) --------------- */
.assetpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.dash { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.dash .dash-top { background: var(--charcoal-deep); color: #fff; padding: .85rem 1.1rem; display: flex; align-items: center; gap: .6rem; font-size: .82rem; }
.dash .dot { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.dash .dot.y { background: var(--yellow); }
.dash .dash-body { padding: 1.1rem; display: grid; gap: .7rem; }
.dash-row { display: grid; grid-template-columns: 34px 1fr auto; gap: .8rem; align-items: center; padding: .7rem .8rem;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: .85rem; }
.dash-row .qr { width: 34px; height: 34px; border-radius: 4px; background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%23161616'/%3E%3Cg fill='%23F2E500'%3E%3Crect x='10' y='10' width='24' height='24'/%3E%3Crect x='66' y='10' width='24' height='24'/%3E%3Crect x='10' y='66' width='24' height='24'/%3E%3Crect x='44' y='44' width='12' height='12'/%3E%3Crect x='66' y='66' width='10' height='10'/%3E%3Crect x='80' y='66' width='10' height='10'/%3E%3Crect x='66' y='80' width='10' height='10'/%3E%3C/g%3E%3C/svg%3E") center/cover; }
.dash-row .meta strong { display: block; color: var(--ink); font-family: var(--f-body); }
.dash-row .meta span { color: var(--muted); font-size: .78rem; }
.pill { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .25rem .6rem; border-radius: 999px; }
.pill.pass { background: #e7f5ec; color: #1c8a4a; }
.pill.due { background: #fdf6d8; color: #8a6d00; }
.pill.defect { background: #fbe6e6; color: #b33636; }

/* ---------- How it works (process) ------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step .n { font-family: var(--f-display); font-weight: 700; font-size: 2.4rem; color: var(--yellow-deep); line-height: 1; }
.step h4 { margin: .5rem 0 .3rem; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; }
.step p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- CTA band --------------------------------------------------- */
.cta { position: relative; background: var(--charcoal-deep); color: #fff; overflow: hidden; }
.cta .hex-field { opacity: .7; }
.cta .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 1.6rem 2.5rem; align-items: center; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { margin: 0; color: #b7b7b7; }
.cta .actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ----------------------------------------------------- */
.site-footer { background: var(--charcoal-deep); color: #9d9d9d; padding-top: 3.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.site-footer h4 { color: #fff; font-family: var(--f-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #9d9d9d; }
.site-footer a:hover { color: var(--yellow); }
.fnav { list-style: none; padding: 0; margin: 0; }
.fnav li { margin-bottom: .55rem; font-size: .92rem; }
.footer-brand p { font-size: .92rem; max-width: 36ch; }
.footer-brand .brand-name { color: #fff; }
.footer-bottom { border-top: 1px solid #2b2b2b; margin-top: 3rem; padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .82rem; color: #7a7a7a; }
.footer-bottom a { color: #7a7a7a; }

/* ---------- Page hero (inner pages) ------------------------------------ */
.page-hero { position: relative; background: var(--charcoal-deep); color: #fff; overflow: hidden; }
.page-hero .hex-field { opacity: .7; }
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(1.4rem, 3vw, 2.2rem); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: #b7b7b7; max-width: 62ch; margin-bottom: 0; }
.crumbs { font-size: .82rem; color: #8f8f8f; margin-bottom: 1.1rem; letter-spacing: .02em; }
.crumbs a:hover { color: var(--yellow); }

/* ---------- Notes / callouts ------------------------------------------ */
.note { background: #fdfbe2; border: 1px solid #ece4a6; border-left: 4px solid var(--yellow-deep);
  border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .92rem; color: #5f5a2e; }
.placeholder-note { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #b08900; }

/* ---------- Utilities -------------------------------------------------- */
.stack > * + * { margin-top: 1.1rem; }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Responsive ------------------------------------------------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { max-width: 480px; }
  .assetpanel { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Collapse the (long) primary nav to the hamburger before it can crowd the CTAs */
@media (max-width: 1300px) {
  .nav-cta .btn-outline { display: none; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { gap: .5rem; }
}
@media (max-width: 860px) {
  .g3, .g4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .topbar .tb-left { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta .wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust .wrap { justify-content: flex-start; }
}

/* ---------- Mobile menu ------------------------------------------------ */
.mobile-menu { display: none; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1.4rem; }
.mobile-menu a { display: block; padding: .8rem .2rem; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--charcoal); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 1rem; }

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

/* ---------- Forms ------------------------------------------------------ */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem .95rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #cfcfcf; border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--yellow-deep); box-shadow: 0 0 0 3px rgba(242,229,0,.25); outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .8rem; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.contact-item { display: flex; gap: .9rem; margin-bottom: 1.4rem; }
.contact-item .hex-accent { width: 40px; height: 46px; }
.contact-item h4 { margin: .2rem 0 .15rem; font-family: var(--f-body); font-weight: 700; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.contact-item a, .contact-item span { color: var(--muted); }
.calendly-embed { border: 1px dashed #cfcfcf; border-radius: var(--radius-lg); background: var(--grey-light);
  min-height: 380px; display: grid; place-content: center; text-align: center; gap: .6rem; padding: 2rem; color: var(--muted); }
.calendly-embed svg { width: 44px; height: 44px; margin-inline: auto; color: var(--slate); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- Focus states (a11y) ---------------------------------------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--yellow-deep); outline-offset: 2px; border-radius: 2px;
}
