/* ==========================================================================
   Ready Tech & Construction Inc. — Main stylesheet
   ========================================================================== */

/* --- 1. Design tokens ---------------------------------------------------- */
:root {
  --steel-950: #0b1220;
  --steel-900: #111c2e;
  --steel-800: #1b2a41;
  --steel-700: #2c3e58;
  --steel-500: #5b6f8c;
  --steel-400: #8296b1;
  --steel-300: #b3c1d3;
  --steel-200: #d9e1ec;
  --steel-100: #eef2f8;
  --steel-50:  #f7f9fc;

  --amber-600: #c2660a;
  --amber-500: #e8830f;
  --amber-400: #f59e2c;
  --amber-100: #fdf0dc;

  --teal-600: #0d7a75;
  --teal-500: #12a29b;
  --teal-100: #dff4f2;

  --white: #ffffff;
  --success: #17794f;
  --danger:  #b3261e;

  --bg: var(--white);
  --bg-alt: var(--steel-50);
  --bg-deep: var(--steel-950);
  --text: var(--steel-900);
  --text-soft: var(--steel-500);
  --line: var(--steel-200);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-head: "Barlow Condensed", "Inter", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Arial, sans-serif;

  --maxw: 1180px;
  --gutter: 20px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 3px rgba(11, 18, 32, .08);
  --shadow-md: 0 4px 12px rgba(11, 18, 32, .08), 0 2px 4px rgba(11, 18, 32, .06);
  --shadow-lg: 0 18px 40px rgba(11, 18, 32, .14), 0 4px 10px rgba(11, 18, 32, .07);

  --header-h: 76px;
}

/* --- 2. Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* `clip` (not `hidden`) contains the off-canvas drawer WITHOUT turning <html>
     into a scroll container — `hidden` here silently breaks position: sticky. */
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Horizontal containment is handled by `overflow-x: clip` on <html> above.
   It must NOT be `overflow-x: hidden` on <body>: that turns <body> into a
   scroll container and silently stops the sticky header from sticking.
   Browsers without `clip` support (Safari < 16) fall back to the old
   behaviour, trading sticky for no sideways scroll. */
@supports not (overflow-x: clip) {
  body { overflow-x: hidden; }
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--amber-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  color: var(--steel-950);
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- 3. Layout helpers --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: var(--steel-200); }
.section--deep h2, .section--deep h3 { color: var(--white); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 68ch; }
.mb-0 { margin-bottom: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--amber-500); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- 4. Section headings ------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: .75rem;
}
.section--deep .eyebrow { color: var(--amber-400); }

.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head.text-center { margin-inline: auto; }
.section-head p { color: var(--text-soft); font-size: 1.06rem; margin-bottom: 0; }
.section--deep .section-head p { color: var(--steel-300); }

.lead { font-size: 1.15rem; color: var(--text-soft); }

/* Inline icons: default size. Contextual rules (.card__icon svg, .pill svg, …)
   have higher specificity and override this where a different size is wanted. */
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: .97rem;
  letter-spacing: .01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease,
              border-color .2s ease, color .2s ease;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--amber-500); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--amber-600); box-shadow: var(--shadow-lg); }

.btn--dark { background: var(--steel-900); color: #fff; }
.btn--dark:hover { background: var(--steel-800); }

.btn--ghost { background: transparent; color: var(--steel-900); border-color: var(--steel-300); }
.btn--ghost:hover { border-color: var(--steel-900); background: var(--steel-100); }

.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.45); }
.btn--light:hover { background: #fff; color: var(--steel-950); border-color: #fff; }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.04rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- 6. Header / navigation --------------------------------------------- */
.topbar {
  background: var(--steel-950);
  color: var(--steel-300);
  font-size: .86rem;
}
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 24px;
  min-height: 42px; padding-block: 6px;
}
.topbar a { color: var(--steel-200); text-decoration: none; }
.topbar a:hover { color: var(--amber-400); }
.topbar__list { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: flex; align-items: center; gap: 7px; margin: 0; min-width: 0; }
.topbar__list a { overflow-wrap: anywhere; }
.topbar__badge { color: var(--amber-400); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  /* No backdrop-filter here: it would make this element the containing block
     for the position:fixed mobile drawer nested inside it. */
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.32rem;
  text-transform: uppercase; color: var(--steel-950); letter-spacing: .01em;
}
.brand__name span { color: var(--amber-500); }
.brand__tag {
  font-size: .66rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 10px 14px; border-radius: 8px;
  color: var(--steel-800); font-weight: 550; font-size: .96rem; text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.nav__link:hover { background: var(--steel-100); color: var(--steel-950); text-decoration: none; }
.nav__link.is-active { color: var(--amber-600); background: var(--amber-100); }
.nav__cta { display: none; }   /* shown only inside the mobile drawer */

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: var(--steel-100); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bars { position: relative; width: 20px; height: 2px; background: var(--steel-900); border-radius: 2px; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--steel-900); border-radius: 2px; transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* --- 7. Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(140deg, var(--steel-950) 0%, var(--steel-800) 55%, #223a57 100%);
  background-color: var(--steel-900);
  color: var(--steel-200);
  overflow: hidden;
  padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/hero-blueprint.svg");
  background-size: cover; background-position: center right;
  opacity: .5; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 480px at 82% 12%, rgba(232,131,15,.26), transparent 62%),
              radial-gradient(760px 420px at 8% 88%, rgba(18,162,155,.22), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: grid; gap: 52px; align-items: center; }
.hero__title { color: #fff; margin-bottom: .35em; }
.hero__title em { font-style: normal; color: var(--amber-400); display: block; }
.hero__text { font-size: 1.16rem; color: var(--steel-200); max-width: 56ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: #fff;
}
.pill svg { width: 15px; height: 15px; flex: none; }

.hero__panel {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero__panel h3 { color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.hero__panel ul { list-style: none; padding: 0; margin: 0 0 22px; }
.hero__panel li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .96rem; color: var(--steel-200);
}
.hero__panel li:last-child { border-bottom: none; }
.hero__panel li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--amber-400); }

/* --- 8. Page hero (inner pages) ------------------------------------------ */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--steel-950), var(--steel-800));
  color: var(--steel-200);
  padding: clamp(52px, 7vw, 92px) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/pattern-grid.svg");
  opacity: .35;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 70ch; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { font-size: 1.1rem; color: var(--steel-300); margin-bottom: 0; }

.crumbs { font-size: .85rem; color: var(--steel-400); margin-bottom: 14px; }
.crumbs a { color: var(--steel-300); }
.crumbs a:hover { color: var(--amber-400); }
.crumbs span { margin-inline: 8px; opacity: .6; }

/* --- 9. Cards ------------------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  height: 100%;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--steel-300); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 54px; height: 54px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--amber-100); color: var(--amber-600);
}
.card__icon svg { width: 27px; height: 27px; }
.card__icon--teal { background: var(--teal-100); color: var(--teal-600); }
.card__icon--steel { background: var(--steel-100); color: var(--steel-700); }

.card__list { list-style: none; padding: 0; margin: 18px 0 0; }
.card__list li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: .94rem; color: var(--text-soft);
}
.card__list li::before {
  content: ""; position: absolute; left: 6px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--amber-500);
}

/* --- 10. Stats ----------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 24px; }
.stat { padding: 26px 22px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.12); text-align: center; }
.stat__num {
  font-family: var(--font-head); font-size: clamp(2.1rem, 4.5vw, 2.9rem);
  font-weight: 700; color: var(--amber-400); line-height: 1; margin-bottom: 8px;
}
.stat__label { font-size: .88rem; color: var(--steel-300); letter-spacing: .03em; }
.stats--light .stat { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.stats--light .stat__num { color: var(--amber-600); }
.stats--light .stat__label { color: var(--text-soft); }

/* --- 11. Process steps --------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 26px;
         grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.step { position: relative; padding: 30px 26px 26px; background: #fff;
        border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
  color: var(--steel-200); line-height: 1; display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.18rem; }
.step p { font-size: .95rem; color: var(--text-soft); margin-bottom: 0; }

/* --- 12. Split feature --------------------------------------------------- */
.split { display: grid; gap: 52px; align-items: center;
         grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img, .split__media svg { width: 100%; display: block; }

.checklist { list-style: none; padding: 0; margin: 0 0 26px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2660a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checklist--light li::before { background-color: rgba(245,158,44,.18); }

/* --- 13. Projects -------------------------------------------------------- */
.project {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .25s ease;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project__media { aspect-ratio: 16 / 10; background: var(--steel-100); overflow: hidden; }
.project__media img, .project__media svg { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project__tag {
  align-self: flex-start; font-size: .73rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal-600); background: var(--teal-100);
  padding: 5px 11px; border-radius: 6px; margin-bottom: 13px;
}
.project__tag--amber { color: var(--amber-600); background: var(--amber-100); }
.project h3 { font-size: 1.24rem; margin-bottom: .4em; }
.project p { font-size: .94rem; color: var(--text-soft); margin-bottom: 16px; }
.project__meta {
  margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--text-soft); display: flex; gap: 8px; align-items: center;
}
.project__meta svg { width: 15px; height: 15px; color: var(--amber-500); flex: none; }

/* --- 14. Filter bar ------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 19px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--steel-700); font-family: var(--font-sans);
  font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--steel-400); }
.filter-btn.is-active { background: var(--steel-900); color: #fff; border-color: var(--steel-900); }

/* --- 15. Testimonials ---------------------------------------------------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber-500);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); height: 100%;
}
.quote p { font-size: 1.02rem; font-style: italic; color: var(--steel-800); }
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: 18px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--steel-800); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
}
.quote__name { font-weight: 650; font-size: .95rem; }
.quote__role { font-size: .84rem; color: var(--text-soft); }
.stars { color: var(--amber-500); letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }

/* --- 16. Accordion (FAQ) ------------------------------------------------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.accordion__item + .accordion__item { border-top: 1px solid var(--line); }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-sans); font-size: 1.03rem; font-weight: 620; color: var(--steel-900);
}
.accordion__btn:hover { background: var(--steel-50); }
.accordion__btn svg { width: 20px; height: 20px; flex: none; color: var(--amber-500); transition: transform .25s ease; }
.accordion__btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.accordion__panel { display: none; padding: 0 24px 22px; color: var(--text-soft); }
.accordion__panel.is-open { display: block; }
.accordion__panel p:last-child { margin-bottom: 0; }

/* --- 17. Forms ----------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 620; font-size: .92rem; margin-bottom: 7px; color: var(--steel-800); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--steel-50); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(232,131,15,.14);
}
.field textarea { resize: vertical; min-height: 140px; }
.field__hint { font-size: .83rem; color: var(--text-soft); margin-top: 6px; }
.field--row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.field--check { display: flex; gap: 11px; align-items: flex-start; }
.field--check input { width: auto; margin-top: 4px; flex: none; }
.field--check label { font-weight: 400; font-size: .9rem; color: var(--text-soft); margin: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note {
  display: none; padding: 15px 18px; border-radius: var(--radius);
  font-size: .95rem; margin-bottom: 22px;
}
.form-note.is-visible { display: block; }
.form-note--ok { background: #e8f6ef; color: var(--success); border: 1px solid #b6e0cd; }
.form-note--err { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c2; }

/* --- 18. Contact info blocks --------------------------------------------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 17px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: none; }
.info-list__icon {
  width: 46px; height: 46px; flex: none; border-radius: 11px;
  display: grid; place-items: center; background: var(--amber-100); color: var(--amber-600);
}
.info-list__icon svg { width: 22px; height: 22px; }
.info-list__label {
  font-size: .76rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 3px;
}
.info-list__value {
  font-size: 1.04rem; font-weight: 600; color: var(--steel-900);
  /* Long unbroken strings (the email address) must wrap, or they push the
     whole page wider than a narrow phone viewport. */
  overflow-wrap: anywhere;
}
.info-list li > span:last-child { min-width: 0; }
.info-list__value a { color: var(--steel-900); }
.info-list__value a:hover { color: var(--amber-600); }
.info-list__sub { font-size: .89rem; color: var(--text-soft); }

.map-embed {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); line-height: 0; background: var(--steel-100);
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* --- 19. CTA band -------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--amber-600), var(--amber-500) 55%, #d9720c);
  color: #fff; padding: clamp(48px, 7vw, 80px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/pattern-grid.svg"); opacity: .22;
}
.cta-band__inner {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 30px;
  align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.93); margin-bottom: 0; max-width: 54ch; }
.cta-band .btn--light { border-color: #fff; background: #fff; color: var(--amber-600); }
.cta-band .btn--light:hover { background: var(--steel-950); color: #fff; border-color: var(--steel-950); }
.cta-band .btn--outline { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.cta-band .btn--outline:hover { background: rgba(255,255,255,.16); border-color: #fff; }

/* --- 20. Footer ---------------------------------------------------------- */
.site-footer { background: var(--steel-950); color: var(--steel-300); font-size: .95rem; }
.site-footer a { color: var(--steel-300); text-decoration: none; }
.site-footer a:hover { color: var(--amber-400); text-decoration: none; }
.footer__main {
  display: grid; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 44px;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}
.footer__col h4 {
  color: #fff; font-family: var(--font-sans); font-size: .82rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 11px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: var(--steel-400); }
.footer__about { margin: 20px 0 0; color: var(--steel-400); font-size: .92rem; max-width: 34ch; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 13px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact svg { width: 19px; height: 19px; flex: none; color: var(--amber-400); margin-top: 3px; }
.footer-contact strong { display: block; color: #fff; font-weight: 600; font-size: .98rem; }
.footer-contact span { font-size: .88rem; color: var(--steel-400); }
.footer-contact a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.footer-contact li > span { min-width: 0; }

.social { display: flex; gap: 11px; margin-top: 22px; }
.social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: var(--steel-200); transition: all .18s ease;
}
.social a:hover { background: var(--amber-500); border-color: var(--amber-500); color: #fff; }
.social svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  align-items: center; justify-content: space-between;
  font-size: .86rem; color: var(--steel-400);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }

/* --- 21. Floating mobile call bar ---------------------------------------- */
.callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--steel-950); border-top: 1px solid rgba(255,255,255,.12);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -4px 18px rgba(11,18,32,.24);
}
.callbar .btn { flex: 1; padding: 12px 10px; font-size: .92rem; }

/* --- 22. Install / PWA prompt -------------------------------------------- */
.install-banner {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 130;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 16px 18px;
  align-items: center; gap: 16px; max-width: 520px; margin-inline: auto;
}
.install-banner.is-visible { display: flex; }
.install-banner__icon { width: 44px; height: 44px; flex: none; border-radius: 11px; }
.install-banner__text { flex: 1; min-width: 0; }
.install-banner__text strong { display: block; font-size: .98rem; }
.install-banner__text span { font-size: .85rem; color: var(--text-soft); }
.install-banner__close {
  background: none; border: none; cursor: pointer; color: var(--text-soft);
  font-size: 1.5rem; line-height: 1; padding: 4px 8px;
}

/* --- 23. Utility / misc -------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.notice {
  background: var(--amber-100); border: 1px solid #f6d9ae; border-left: 4px solid var(--amber-500);
  border-radius: var(--radius); padding: 18px 22px; font-size: .95rem; color: var(--steel-800);
}
.notice strong { color: var(--steel-950); }

.legal-body { max-width: 78ch; }
.legal-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 2em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.15rem; margin-top: 1.6em; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: var(--steel-50); font-weight: 650; font-size: .82rem;
                letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
table.data tr:last-child td { border-bottom: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* --- 24. Responsive ------------------------------------------------------ */
@media (min-width: 981px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  /* Closed: removed from layout entirely. A drawer parked off-screen with a
     transform still counts toward scrollable overflow and makes every page
     scroll sideways on a phone — display:none is the only reliable cure. */
  .nav {
    display: none;
    position: fixed; top: 0; right: 0; bottom: 0; width: min(330px, 86vw);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: calc(var(--header-h) + 20px) 20px 32px;
    box-shadow: -10px 0 34px rgba(11,18,32,.18);
    overflow-y: auto; z-index: 110;
  }
  .nav.is-open {
    display: flex;
    animation: nav-slide-in .28s cubic-bezier(.4, 0, .2, 1);
  }
  @keyframes nav-slide-in {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }
  .nav__link { padding: 14px 16px; font-size: 1.04rem; border-radius: 10px; }
  .nav__cta { display: inline-flex; margin-top: 14px; }
  .header-cta .btn { display: none; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(11,18,32,.5);
    opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s; z-index: 105;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 66px; }
  .callbar { display: flex; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__list { justify-content: center; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .install-banner { bottom: 80px; }
  .map-embed iframe { height: 320px; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .callbar .btn { width: auto; }
  .card, .step { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- 25. Print ----------------------------------------------------------- */
@media print {
  .topbar, .site-header, .callbar, .cta-band, .install-banner, .nav-backdrop { display: none !important; }
  body { font-size: 12pt; color: #000; padding-bottom: 0; }
  .site-footer { background: none; color: #000; border-top: 1px solid #000; }
  .site-footer a, .footer-contact a, .footer-contact strong { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
