/* ==========================================================
   Small Business Made Simple: styles
   Palette: navy, silver, gold highlights, with black and white.
   Patterns: microgrids_hellomart_3 (recolored, seamless weave)
             Geometry Grid Patterns (seamless 250px line tile).
   Hero: solid white text containers over the storefront photo.
   ========================================================== */

@font-face {
  font-family: "Rondova";
  src: url("../fonts/RONDOVA.woff") format("woff"),
       url("../fonts/RONDOVA.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Navy */
  --navy-950: #0a1222;
  --navy-900: #0f1a2e;
  --navy-800: #16233d;
  --navy-700: #1f3152;
  /* Silver */
  --silver-50: #f6f7f9;
  --silver-100: #eceef2;
  --silver-200: #dde1e7;
  --silver-300: #c4cad3;
  --silver-400: #aeb6c2;
  --silver-600: #6b7482;
  /* Gold */
  --gold: #c9a24a;
  --gold-light: #e2c47c;
  --gold-hover: #b48d36;
  --gold-text: #7f611c;   /* gold dark enough for small text on white and silver */
  /* Brushed-silver metal finish */
  --metal: linear-gradient(135deg, #f7f8fa 0%, #dde1e7 38%, #f1f3f6 55%, #c9ced7 100%);
  --metal-soft: linear-gradient(160deg, #f3f5f8 0%, #e3e7ec 60%, #d6dbe2 100%);
  /* Black & white */
  --black: #0b0b0d;
  --white: #ffffff;

  --text: #18202e;
  --muted: #545d6b;
  --line: var(--silver-200);
  --on-dark: #f3f5f8;
  --on-dark-muted: #a9b2c0;
  --error: #b3261e;

  /* Rondova everywhere (it ships in one weight; bold text is browser-emboldened) */
  --font-display: "Rondova", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Rondova", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sidebar-w: 264px;
  --bottombar-h: 68px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(10, 18, 34, .06), 0 18px 40px -18px rgba(10, 18, 34, .32);
  --gutter: clamp(16px, 4vw, 64px);
  --content-max: 1320px;

  /* Patterns */
  --tex-geo-silver: url("../img/geo-silver.svg");
  --tex-geo-navy: url("../img/geo-navy.svg");
  --tex-geo-gold: url("../img/geo-gold.svg");
  --tex-geo-white: url("../img/geo-white.svg");
  --geo-size: 64px; /* one repeat of the Geometry Grid pattern */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: .015em;
  /* Rondova has a single weight: never fake bold/italic, which smears the letterforms */
  font-synthesis: none;
  color: var(--text);
  background: var(--silver-100);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: normal; color: var(--navy-900); margin: 0 0 .5em; line-height: 1.15; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
input, select, textarea, button { font-synthesis: none; letter-spacing: .015em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy-900); color: var(--on-dark); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* ---------- Hero text containers: solid white rectangles over the photo ---------- */
.hero-panel {
  background: var(--white);
  border: 1px solid var(--silver-300);
  border-radius: 4px;
  box-shadow: 0 20px 44px -22px rgba(10, 18, 34, .45);
}

/* ---------- Pattern surfaces ---------- */
/* Plain black surfaces */
.tex-weave, .tex-black {
  background-color: var(--black);
}
/* Geometry Grid pattern: fine white lines, small scale */
/* Light: brushed silver with white geometry lines */
.tex-geo-light {
  background-color: var(--silver-200);
  background-image: var(--tex-geo-white), linear-gradient(160deg, #e7eaee 0%, #dadee4 60%, #d0d5dc 100%);
  background-size: var(--geo-size) var(--geo-size), auto;
  border-top: 1px solid var(--silver-300); border-bottom: 1px solid var(--silver-300);
}
/* Metallic silver panel with white geometry lines */
.tex-geo-metal {
  background-color: var(--silver-200);
  background-image: var(--tex-geo-white), linear-gradient(135deg, #e4e7ec 0%, #cfd4dc 45%, #e0e3e8 60%, #c3c9d2 100%);
  background-size: var(--geo-size) var(--geo-size), auto;
}
/* Dark: navy with softened white geometry lines */
.tex-geo-dark {
  background-color: var(--navy-900);
  background-image: linear-gradient(rgba(15, 26, 46, .86), rgba(15, 26, 46, .86)), var(--tex-geo-white);
  background-size: auto, var(--geo-size) var(--geo-size);
}

/* ---------- Buttons ---------- */
/* Quiet, flat buttons: solid navy (primary) and white (secondary) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none;
  padding: .9rem 1.4rem; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); }
.btn-ghost, .btn-gold { background: var(--white); color: var(--navy-900); border-color: var(--navy-900); }
.btn-ghost:hover, .btn-gold:hover { background: var(--silver-100); }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .6rem 1rem; font-size: .8rem; }
.btn-block { width: 100%; }

/* ---------- Brand ---------- */
/* Streamlined lockup: flat mark + left-aligned stack
   Small Business
   Made Simple | By J&P                                  */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.brand-mark {
  width: 44px; height: 44px; flex: none; display: block;
  --mark-bg: var(--gold); --mark-fg: var(--navy-900);
  border-radius: 10px;
}
.brand-name {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  gap: 2px; line-height: 1.12; white-space: nowrap;
}
.brand-name-top, .brand-name-sub { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .01em; }
.brand-name-line { display: flex; align-items: center; gap: 9px; }
.brand-name-sub { color: var(--gold-text); }
.brand-sep { width: 1px; height: .95em; background: currentColor; opacity: .4; }
.brand-name-by {
  font-size: .72rem; letter-spacing: .12em;
  color: var(--silver-600);
}
.nav-brand .brand-name-by { color: var(--silver-400); }
.footer-by { color: var(--gold-light); }

/* ---------- Mobile top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--silver-300);
  background: linear-gradient(180deg, rgba(247, 248, 250, .9), rgba(221, 225, 231, .88));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* ---------- Navigation (mobile: bottom bar) ---------- */
.site-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background-color: var(--black);
  color: var(--on-dark);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4);
}
.nav-brand, .nav-footer { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--bottombar-h); }
.nav-link {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-decoration: none; color: var(--silver-400); font-size: .7rem; font-weight: 500; letter-spacing: .03em;
  position: relative; transition: color .2s, background .2s;
}
.nav-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link.is-active::before {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px;
}
.nav-link-cta { color: var(--gold-light); }

/* ---------- Layout ---------- */
main { min-width: 0; }
.section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-sub { color: var(--muted); font-size: 1.06rem; }

/* ---------- Hero (home) ---------- */
.hero { padding: 16px; }
.hero-stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  padding: 58vw 14px 14px; box-shadow: var(--shadow), 0 0 0 6px var(--silver-200), 0 0 0 7px var(--silver-400);
  background: var(--silver-300);
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; z-index: -2;
}
.hero-stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 18, 34, 0) 35%, rgba(10, 18, 34, .4) 100%);
}
.hero-copy { padding: clamp(22px, 3.4vw, 40px); max-width: 560px; }
.hero-copy .eyebrow { color: var(--navy-800); }
.hero-copy .eyebrow::before { background: var(--navy-800); }
.hero h1 { margin-bottom: .45em; }
.lead { font-size: clamp(1.04rem, 1.35vw, 1.16rem); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.trust-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--navy-900); font-weight: 500; }
.trust-points li, .consult-perks li { display: flex; align-items: center; gap: 8px; }
.trust-points svg, .consult-perks svg {
  width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; background: var(--navy-900);
  fill: none; stroke: var(--gold-light); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.hero-chip {
  position: absolute; top: 16px; right: 16px;
  padding: 12px 16px; display: flex; flex-direction: column; gap: 1px; max-width: 230px;
  border-left: 3px solid var(--gold);
}
.hero-chip-label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-800); font-weight: 700; }
.hero-chip strong { font-family: var(--font-display); font-weight: normal; color: var(--navy-900); font-size: 1rem; line-height: 1.25; }
.hero-chip-sub { font-size: .76rem; color: var(--muted); }

/* ---------- Stats (black weave) ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); color: var(--on-dark);
  margin: 20px var(--gutter) 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--silver-400); border-top: 2px solid var(--gold);
}
.stat { padding: 26px 20px; border-right: 1px solid rgba(174, 182, 194, .25); border-bottom: 1px solid rgba(174, 182, 194, .25); }
.stat strong { display: block; font-family: var(--font-display); font-weight: normal; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--gold-light); line-height: 1.1; margin-bottom: 6px; }
.stat span { font-size: .88rem; color: var(--silver-300); }

/* ---------- Services ---------- */
#services { margin-top: clamp(40px, 6vw, 72px); }
.services-grid { display: grid; gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--silver-300); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
/* Brushed-silver band with navy geometry lines, navy medallion, gold icon */
.service-icon {
  height: 150px; display: grid; place-items: center; color: var(--gold-light); position: relative;
  background-color: var(--silver-200);
  background-image: var(--tex-geo-white), linear-gradient(135deg, #e4e7ec 0%, #cfd4dc 45%, #e0e3e8 60%, #c3c9d2 100%);
  background-size: var(--geo-size) var(--geo-size), auto;
  border-bottom: 1px solid var(--silver-400);
}
.service-icon::after {
  content: ""; position: absolute; width: 100px; height: 100px; border-radius: 50%;
  background: var(--navy-900); border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .7), 0 0 0 7px var(--silver-400), 0 14px 24px -12px rgba(10, 18, 34, .6);
}
.service-icon svg { width: 50px; height: 50px; fill: currentColor; position: relative; z-index: 1; transition: transform .5s; }
.service-card:hover .service-icon svg { transform: scale(1.08); }
.service-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.service-num { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.service-body p { color: var(--muted); font-size: .96rem; }
.service-list { list-style: none; padding: 0; margin: 0 0 24px; font-size: .92rem; display: grid; gap: 7px; }
.service-list li { padding-left: 20px; position: relative; }
.service-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--silver-400); }
.service-link { margin-top: auto; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--navy-900); display: inline-flex; gap: 6px; }
.service-link span { color: var(--gold); transition: transform .2s; }
.service-link:hover span { transform: translateX(4px); }
.service-link:hover { color: var(--gold-text); }
.service-card-cta {
  justify-content: center; border-color: var(--black); border-top: 2px solid var(--gold);
  background-color: var(--black);
}
.service-card-cta .service-num { color: var(--gold-light); }
.service-card-cta h3 { color: var(--white); font-size: 1.55rem; }
.service-card-cta p { color: var(--silver-400); }
.service-card-cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Process (navy weave) ---------- */
.section-dark { color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold-light); }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.process-steps li {
  padding: 30px 28px; border-radius: var(--radius);
  background: rgba(10, 18, 34, .84); border: 1px solid rgba(196, 202, 211, .45);
  border-top: 3px solid var(--silver-300);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 20px;
  background: rgba(201, 162, 74, .08);
}
.process-steps p { color: var(--on-dark-muted); font-size: .96rem; margin: 0; }

/* ---------- About ---------- */
.about { display: grid; gap: 48px; align-items: center; }
.about-panel {
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(18px, 4vw, 40px);
  border: 1px solid var(--silver-400);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 18px);
}
.about-tile {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 28px;
  padding: clamp(18px, 3vw, 26px); border-radius: var(--radius); min-height: 150px; color: var(--gold-light);
  background: var(--navy-950); border: 1px solid rgba(174, 182, 194, .28);
}
.about-tile svg { width: 42px; height: 42px; fill: currentColor; }
.about-tile span { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; }
.about-copy > p { color: var(--muted); }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.values li {
  padding: 16px 20px 16px 22px; background: var(--metal-soft); border: 1px solid var(--silver-300); border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm); font-size: .96rem; color: var(--muted);
}
.values strong { color: var(--navy-900); }

/* ---------- Consult ---------- */
.consult { display: grid; gap: 40px; align-items: start; }
.consult-intro > p { color: var(--muted); font-size: 1.06rem; }
.consult-perks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; font-weight: 500; }
.contact-alt { padding-top: 24px; border-top: 1px solid var(--silver-300); display: flex; flex-direction: column; gap: 4px; }
.contact-alt p { margin: 0 0 4px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-alt a { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-900); text-decoration: none; overflow-wrap: anywhere; }
.contact-alt a:hover { color: var(--gold-text); }

.consult-form {
  background: linear-gradient(180deg, var(--white) 0%, var(--silver-50) 100%);
  border: 1px solid var(--silver-400); border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow);
  position: relative; display: grid; gap: 18px;
}
.form-row { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: .88rem; font-weight: 700; color: var(--navy-900); padding: 0; }
.field legend { margin-bottom: 10px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--silver-100);
  border: 1px solid var(--silver-300); border-radius: var(--radius-sm); padding: .8rem .95rem; width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s, transform .2s;
}
/* Hover: field lifts slightly, brightens to white, and picks up a navy edge */
.field input:hover, .field select:hover, .field textarea:hover {
  background: var(--white); border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -10px rgba(10, 18, 34, .35);
}
@media (prefers-reduced-motion: reduce) {
  .field input:hover, .field select:hover, .field textarea:hover { transform: none; }
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: var(--white); box-shadow: 0 0 0 3px rgba(201, 162, 74, .3); }
.field.has-error input, .field.has-error .chips { border-color: var(--error); }
.error { color: var(--error); font-size: .82rem; }
.error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border-radius: var(--radius-sm); }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .55rem .95rem; border: 1px solid var(--silver-300); border-radius: 999px;
  font-size: .86rem; background: var(--metal-soft); transition: all .2s; user-select: none;
}
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); box-shadow: inset 0 -2px 0 var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.form-fine { font-size: .82rem; color: var(--muted); text-align: center; margin: 0; }

.form-success {
  position: absolute; inset: 0; background: var(--white); border-radius: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px;
}
.form-success[hidden] { display: none; }
.form-success svg { width: 64px; height: 64px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.form-success p { color: var(--muted); max-width: 340px; }

/* ---------- Footer (black) ---------- */
.site-footer {
  padding: 36px var(--gutter); border-top: 2px solid var(--gold);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: .86rem; color: var(--silver-400);
}
.site-footer p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); color: var(--white); }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-contact a { color: var(--silver-200); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--gold-light); }

/* ==========================================================
   Hover states for every container
   Small containers lift; large ones (form, About panel) glow
   without moving so nothing shifts while people use them.
   ========================================================== */
.hero-panel, .stat, .service-card, .process-steps li, .about-panel, .about-tile,
.values li, .consult-form, .nav-footer, .stats {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

/* Lift + deeper shadow */
.hero-copy:hover, .hero-chip:hover, .service-card:hover, .about-tile:hover, .values li:hover, .nav-footer:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px -22px rgba(10, 18, 34, .5);
}
.hero-copy:hover, .service-card:hover, .values li:hover { border-color: var(--silver-400); }
.hero-chip:hover { border-color: var(--silver-400); border-left-color: var(--gold); }
.values li:hover { border-left-color: var(--gold); }
.about-tile:hover { border-color: var(--gold); }

/* Dark step cards: lift and pick up a gold top edge */
.process-steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 202, 211, .7); border-top-color: var(--gold);
  box-shadow: 0 26px 48px -22px rgba(0, 0, 0, .7);
}

/* Stats bar: each figure brightens on hover */
.stat:hover { background-color: rgba(255, 255, 255, .06); }
.stats:hover { box-shadow: 0 26px 48px -22px rgba(10, 18, 34, .55); }

/* Large containers: glow only */
.consult-form:hover { border-color: var(--navy-700); border-top-color: var(--gold); box-shadow: 0 30px 60px -24px rgba(10, 18, 34, .45); }
.about-panel:hover { border-color: var(--navy-700); box-shadow: 0 30px 60px -24px rgba(10, 18, 34, .45); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy:hover, .hero-chip:hover, .service-card:hover, .about-tile:hover,
  .values li:hover, .nav-footer:hover, .process-steps li:hover { transform: none; }
}

/* ==========================================================
   Breakpoints
   ========================================================== */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .services-grid, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; }
  .stat:last-child { border-right: 0; }
  .hero { padding: 20px var(--gutter) 0; }
  .hero-stage { padding: 42vw 24px 24px; }
}

@media (max-width: 380px) {
  .topbar .brand-name-top, .topbar .brand-name-sub { font-size: .92rem; }
  .topbar .brand-name-by { font-size: .6rem; }
  .topbar .brand-mark { width: 38px; height: 38px; }
  .nav-link span { font-size: .65rem; }
  .hero-chip { display: none; }
}

/* Small & medium screens: show the full storefront photo above the text panel */
@media (max-width: 1023.98px) {
  .hero-stage { padding: 0 0 12px; background: var(--metal-soft); }
  .hero-photo { position: relative; inset: auto; height: auto; aspect-ratio: 3 / 2; }
  .hero-stage::after { display: none; }
  .hero-copy { margin: -56px 12px 0; position: relative; max-width: none; }
  .hero-chip { top: 12px; right: 12px; }
}

/* Large screens: sidebar navigation on the left */
@media (min-width: 1024px) {
  body { padding-bottom: 0; padding-left: var(--sidebar-w); }
  .topbar { display: none; }

  .site-nav {
    top: 0; right: auto; bottom: 0; width: var(--sidebar-w);
    display: flex; flex-direction: column; padding: 32px 22px; box-shadow: none;
    border-right: 3px solid var(--silver-300);
    box-shadow: inset -1px 0 0 var(--silver-400);
  }
  .nav-brand { padding-bottom: 24px !important; border-bottom: 1px solid rgba(196, 202, 211, .18); }
  .nav-link { color: var(--silver-300); }
  .nav-brand { display: flex; color: var(--white); margin-bottom: 48px; padding: 0 8px; }
  .nav-brand .brand-name-sub { color: var(--gold-light); }
  .nav-list { display: flex; flex-direction: column; gap: 4px; height: auto; }
  .nav-link {
    flex-direction: row; justify-content: flex-start; gap: 14px; padding: 12px 14px;
    font-size: .94rem; border-radius: var(--radius-sm);
  }
  .nav-link:hover { background: rgba(255,255,255,.05); }
  .nav-link.is-active { background: var(--metal); color: var(--navy-900); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px -8px rgba(0, 0, 0, .5); }
  .nav-link.is-active svg { color: var(--navy-900) !important; }
  .nav-link.is-active::before { top: 10px; bottom: 10px; left: 0; right: auto; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
  .nav-link.is-active svg { color: var(--gold-light); }
  .nav-link-cta { color: var(--silver-300); }

  .nav-footer { display: block; margin-top: auto; padding: 18px; border-radius: var(--radius); background: var(--metal); border: 1px solid var(--silver-400); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
  .nav-note { font-size: .8rem; color: var(--navy-800); text-align: center; margin: 12px 0 0; line-height: 1.5; font-weight: 500; }

  .hero { padding: 28px var(--gutter) 0; }
  .hero-stage { min-height: min(86vh, 780px); padding: 48px; display: flex; align-items: flex-end; }
  .hero-stage::after { background: linear-gradient(90deg, rgba(10, 18, 34, .3) 0%, rgba(10, 18, 34, 0) 55%); }
  .hero-chip { top: auto; bottom: 48px; right: 48px; padding: 16px 20px; max-width: 260px; }
  .hero-chip strong { font-size: 1.08rem; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .about { grid-template-columns: 1fr 1fr; gap: 72px; }
  .consult { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .consult-intro { position: sticky; top: 48px; }
}

@media (min-width: 1440px) {
  .section, .hero { max-width: var(--content-max); margin-inline: auto; }
  .hero { padding-inline: var(--gutter); }
  .stats { margin-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter))); }
  .section-bleed, .site-footer { max-width: none; padding-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter))); }
}
