/* Florida Gate Guys — site styles
   Colours and type are defined as custom properties below (see also src/config/site.mjs). */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); }

:root {
  --black: #070907;
  --charcoal: #1c201d;
  --charcoal-2: #262b27;
  --green-900: #18380e;
  --green-700: #285321;
  --green-500: #3d7a31;
  --red: #c92035;
  --red-700: #9f1728;
  --silver: #bfc6c1;
  --white: #ffffff;
  --soft: #f3f5f2;
  --ink: #161a17;
  --muted: #4d5650;
  --line: #dde3de;

  --font-head: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(7, 9, 7, .06), 0 2px 8px rgba(7, 9, 7, .06);
  --shadow: 0 10px 30px -12px rgba(7, 9, 7, .28), 0 2px 6px rgba(7, 9, 7, .06);
  --shadow-lg: 0 24px 50px -20px rgba(7, 9, 7, .45);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  background: var(--white); overflow-x: hidden; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--red-700); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; color: inherit; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
.h3 { font-size: 1.75rem; } .h4 { font-size: 1.45rem; } .h5 { font-size: 1.2rem; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .service-hero :focus-visible, .cta-banner :focus-visible, .mobile-menu :focus-visible, .lightbox :focus-visible, .notfound :focus-visible { outline-color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; }
.break-email { overflow-wrap: anywhere; word-break: break-word; }
.small { font-size: .94rem; color: var(--muted); }
.icon { width: 1.35em; height: 1.35em; flex: none; }
.icon-sm { width: 1.1em; height: 1.1em; }
.icon-xs { width: .9em; height: .9em; }
.no-js-only { display: none; }
.no-js .no-js-only { display: block; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--charcoal); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em;
  border-radius: 10px; border: 2px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn-red { --bg: var(--red); }
.btn-red:hover { --bg: var(--red-700); }
.btn-dark { --bg: var(--charcoal); }
.btn-dark:hover { --bg: var(--green-900); }
.btn-outline-light { --bg: rgba(255, 255, 255, .06); --bd: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { --bg: #fff; --fg: var(--black); --bd: #fff; }
.btn-outline { --bg: transparent; --fg: var(--charcoal); --bd: var(--charcoal); }
.btn-outline:hover { --bg: var(--charcoal); --fg: #fff; }
.btn-sm { min-height: 42px; padding: .5em 1em; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.stack { display: grid; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; color: var(--green-700); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 9, 7, .96); color: #fff; border-bottom: 1px solid rgba(191, 198, 193, .16); backdrop-filter: saturate(140%) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.brand:hover { color: #fff; }
.brand-mark svg { display: block; width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: .92; font-family: var(--font-head); text-transform: uppercase; }
.brand-top { font-size: .95rem; letter-spacing: .32em; color: var(--silver); font-weight: 600; }
.brand-bottom { font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; color: #fff; }
.brand-bottom::first-letter { color: inherit; }
.brand-plate { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 4px 10px; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset; }
.brand-plate picture { display: block; }
.brand-img { display: block; height: 54px; width: auto; }
.brand--footer .brand-bottom { font-size: 1.9rem; }
.brand--footer .brand-mark svg { width: 52px; height: 52px; }
.brand--footer .brand-img { height: 84px; }
.brand--footer .brand-plate { padding: 8px 14px; border-radius: 12px; }
@media (max-width: 900px) { .brand-img { height: 46px; } .brand--header .brand-plate { padding: 3px 8px; } }

.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav li { position: relative; display: flex; align-items: center; }
.primary-nav a { color: #e9ece9; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 10px 12px; border-radius: 8px; transition: color .2s, background-color .2s; }
.primary-nav > ul > li > a:hover, .primary-nav > ul > li > a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.primary-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 8px 8px 0 0; }
.sub-toggle { background: none; border: 0; color: #cfd5d0; padding: 8px 4px; margin-left: -8px; cursor: pointer; border-radius: 6px; display: inline-flex; }
.sub-toggle .icon { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 250px; list-style: none; margin: 0; padding: 8px;
  background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--red);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.submenu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: flex; align-items: center; gap: 10px; color: var(--ink); padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.submenu a .icon { color: var(--green-700); }
.submenu a:hover { background: var(--soft); color: var(--red-700); }
.submenu-all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.submenu-all a { color: var(--green-700); font-size: .95rem; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; white-space: nowrap; padding: 6px 4px; }
.header-phone .icon { color: var(--red); }
.header-phone:hover { color: var(--silver); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .05); cursor: pointer; align-items: center; justify-content: center; }
.menu-lines { display: grid; gap: 5px; width: 24px; }
.menu-lines span { display: block; height: 2.5px; background: #fff; border-radius: 2px; }

@media (max-width: 1240px) { .header-phone span { display: none; } .header-phone { padding: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; } }
@media (max-width: 1060px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-phone span { display: inline; }
  .header-phone { border: 0; padding: 6px 4px; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand-mark svg { width: 38px; height: 38px; }
  .brand-bottom { font-size: 1.32rem; }
  .brand-top { font-size: .8rem; }
  .header-phone span { display: none; }
  .header-phone { padding: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; }
  .header-quote { display: none; }
  .header-actions { gap: 8px; }
}
@media (max-width: 360px) { .brand-mark { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 150; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-backdrop { position: absolute; inset: 0; background: rgba(7, 9, 7, .6); opacity: 0; transition: opacity .25s; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--black); color: #fff;
  display: flex; flex-direction: column; overflow-y: auto; padding: 14px 20px 28px; transform: translateX(100%); transition: transform .3s var(--ease);
  border-left: 3px solid var(--red);
}
.mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.menu-close { width: 48px; height: 48px; border-radius: 10px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.m-nav { list-style: none; margin: 10px 0 18px; padding: 0; }
.m-nav > li { border-bottom: 1px solid rgba(255,255,255,.08); }
.m-nav a { display: flex; align-items: center; gap: 10px; min-height: 54px; color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; }
.m-nav a[aria-current="page"] { color: var(--silver); box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }
.m-row { display: flex; align-items: center; justify-content: space-between; }
.m-row a { flex: 1; }
.m-sub-toggle { width: 52px; height: 52px; background: rgba(255,255,255,.06); border: 0; color: #fff; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.m-sub-toggle .icon { transition: transform .2s; }
.m-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-submenu { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; border-left: 2px solid var(--green-700); }
.m-submenu a { font-family: var(--font-body); font-size: 1.08rem; min-height: 48px; color: #dfe4e0; }
.m-submenu .icon { color: var(--red); }
.mobile-menu-actions { display: grid; gap: 12px; margin-top: auto; }
.m-email { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--silver); text-decoration: none; font-weight: 600; padding: 8px 0; overflow-wrap: anywhere; text-align: center; }
body.menu-open { overflow: hidden; }

/* ---------- Service strip ---------- */
.service-strip { position: relative; display: flex; align-items: center; background: linear-gradient(90deg, var(--green-900), var(--green-700) 50%, var(--green-900)); color: #fff; border-bottom: 2px solid var(--red); min-height: 38px; }
.strip-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.strip-track { display: flex; width: max-content; animation: strip 42s linear infinite; }
.strip-group { display: flex; align-items: center; flex: none; }
.strip-item { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: .12em; text-transform: uppercase; padding: 0 18px; white-space: nowrap; }
.strip-dot { color: var(--red); font-size: 1.2rem; line-height: 1; filter: brightness(1.35); }
.service-strip.is-paused .strip-track { animation-play-state: paused; }
.strip-toggle { flex: none; width: 44px; height: 38px; border: 0; border-left: 1px solid rgba(255,255,255,.18); background: rgba(7,9,7,.35); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.strip-play { display: none; }
.service-strip.is-paused .strip-pause { display: none; }
.service-strip.is-paused .strip-play { display: inline-flex; }
.strip-pause, .strip-play { align-items: center; }
.strip-pause { display: inline-flex; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Decorative gate lines ---------- */
.gate-lines { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(191,198,193,.06) 0 2px, transparent 2px 46px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--black); overflow: hidden; min-height: min(86vh, 780px); display: flex; align-items: center; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; filter: brightness(1.08) contrast(1.04); transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; will-change: transform; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,9,7,.86) 0%, rgba(7,9,7,.66) 34%, rgba(7,9,7,.12) 62%, rgba(7,9,7,0) 78%), linear-gradient(0deg, rgba(7,9,7,.45), transparent 30%); }
.hero-lines { z-index: -1; width: 46%; opacity: .6; }
.hero-inner { padding-top: 70px; padding-bottom: 90px; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: .98; margin-bottom: .35em; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-text { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #e7ebe8; max-width: 540px; margin-bottom: 28px; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.hero-link:hover { color: var(--silver); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); margin: 0 0 12px; }
.eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.eyebrow .icon { color: var(--red); }
.eyebrow-light { color: var(--silver); }
.hero-anim { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.no-js .hero-anim { opacity: 1; transform: none; animation: none; }

@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: 52vh; min-height: 280px; max-height: 440px; }
  .hero-media img { object-position: 50% 58%; filter: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,9,7,0) 0%, rgba(7,9,7,0) 34%, rgba(7,9,7,.0) 40%, var(--black) 52vh); }
  .hero-lines { width: 100%; top: 40vh; }
  .hero-inner { padding-top: 26px; padding-bottom: 40px; margin-top: -34px; }
  .hero-copy .btn { flex: 1 1 100%; }
}

/* ---------- Quick contact ---------- */
.quick-contact { position: relative; z-index: 2; margin-top: -44px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; min-width: 0; }
.contact-card > span:last-child { min-width: 0; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); border-color: var(--silver); }
.contact-card-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--green-900); color: #fff; }
.contact-card:nth-child(3) .contact-card-icon { background: var(--red); }
.contact-card-label { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact-card-value { display: block; font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } .quick-contact { margin-top: 0; padding-top: 18px; background: var(--black); padding-bottom: 26px; } }
.side-card .contact-cards, .contact-split .contact-cards { grid-template-columns: 1fr; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 110px) 0; }
.section-light { background: #fff; }
.section-soft { background: var(--soft); }
.section-dark { background: radial-gradient(1200px 500px at 90% 0%, rgba(40,83,33,.35), transparent 60%), var(--charcoal); color: #fff; overflow: hidden; }
.section-dark p { color: #d5dbd6; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--green-700), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover::after { transform: scaleX(1); }
.service-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-body { position: relative; padding: 34px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-icon { position: absolute; top: -28px; left: 20px; width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--green-900); color: #fff; box-shadow: 0 8px 18px -8px rgba(7,9,7,.6); border: 3px solid #fff; transition: background-color .3s, transform .35s var(--ease); }
.service-card:hover .service-icon { background: var(--red); transform: rotate(-4deg) scale(1.05); }
.service-card h2, .service-card h3 { font-size: 1.65rem; margin-bottom: .35em; }
.service-card h2 a, .service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h2 a:hover, .service-card h3 a:hover { color: var(--red-700); }
.service-card p { color: var(--muted); flex: 1; }
.service-card-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.link-quote { font-weight: 700; color: var(--red-700); text-decoration: none; font-size: .96rem; }
.link-quote:hover { text-decoration: underline; }

/* ---------- Feature blocks ---------- */
.feature-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature--reverse .feature-media { order: 2; }
.feature-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; background: var(--charcoal); }
.feature-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-media:hover .feature-frame img { transform: scale(1.04); }
.feature-media { position: relative; }
.feature-media::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--red); border-radius: var(--radius); opacity: .5; z-index: -0; pointer-events: none; }
.feature--reverse .feature-media::before { inset: 18px 18px -18px -18px; border-color: var(--green-500); }
.feature-frame { z-index: 1; }
.feature-body p { font-size: 1.1rem; color: var(--muted); }
.section-dark .feature-body p { color: #d5dbd6; }
.section-dark .eyebrow { color: var(--silver); }
.tick-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { color: #fff; background: var(--green-700); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; margin-top: .15em; }
.section-dark .tick-list .icon { background: var(--red); }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature--reverse .feature-media { order: 0; }
  .feature-media::before { display: none; }
}

/* ---------- About teaser / values ---------- */
.about-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-points, .value-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.about-points li { background: rgba(255,255,255,.05); border: 1px solid rgba(191,198,193,.18); border-left: 4px solid var(--red); border-radius: var(--radius-sm); padding: 20px 22px; transition: transform .35s var(--ease), background-color .3s; }
.about-points li:hover { background: rgba(255,255,255,.08); }
.about-points h3, .value-grid h3 { font-size: 1.4rem; margin-bottom: .3em; }
.about-points p { margin: 0; }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-grid li { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--green-700); transition: transform .35s var(--ease), box-shadow .35s; }
.value-grid li:hover { box-shadow: var(--shadow); }
.value-grid p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .about-grid, .value-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.process-step { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 24px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.process-num { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; margin: -4px auto 14px; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--line); }
.process-step h3 { font-size: 1.5rem; }
.process-step p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-title { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 6px 0 22px; }
.gallery-page { padding-top: 40px; }
.gallery-intro { color: var(--muted, #4a524c); max-width: 62ch; margin: -8px 0 26px; }
.gallery-subhead { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 34px 0 16px; }
.gallery-subhead:first-of-type { margin-top: 8px; }
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.videos-section .video-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .videos-section .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid, .videos-section .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.video-figure { margin: 0; }
.video-el { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--charcoal); box-shadow: var(--shadow-sm); }
.video-caption { margin-top: 8px; font-weight: 700; font-size: .95rem; }
.videos-section .video-caption { color: #e7ebe8; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter-btn { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.filter-btn:hover { border-color: var(--charcoal); transform: translateY(-1px); }
.filter-btn[aria-pressed="true"] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); box-shadow: inset 0 -3px 0 var(--red); }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item[hidden] { display: none; }
.gallery-link { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); box-shadow: var(--shadow-sm); }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-link:hover img, .gallery-link:focus-visible img { transform: scale(1.06); }
.gallery-caption { position: absolute; left: 12px; bottom: 12px; background: rgba(7,9,7,.82); color: #fff; font-weight: 700; font-size: .92rem; padding: 6px 12px; border-radius: 8px; border-left: 3px solid var(--red); }

.lightbox { position: fixed; inset: 0; z-index: 180; background: rgba(7,9,7,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 72px 72px; }
.lightbox-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 10px; box-shadow: var(--shadow-lg); animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lightbox-figure figcaption { color: #fff; margin-top: 12px; font-weight: 700; text-align: center; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(28,32,29,.85); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: var(--red); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--silver); margin: 0; }
@media (max-width: 640px) {
  .lightbox-inner { padding: 64px 10px 96px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 124px); } .lb-next { right: calc(50% - 124px); }
  .lb-count { bottom: 30px; }
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { border-color: var(--silver); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 1.1rem; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-700); }
.faq-chevron { color: var(--red); transition: transform .3s var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 18px; color: var(--muted); }
.faq-item[open] .faq-answer { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.faq-answer p { margin: 0; }
.faq-page { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.faq-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-toc ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.faq-toc a { display: block; padding: 8px 16px; color: var(--ink); text-decoration: none; font-weight: 600; margin-left: -2px; border-left: 2px solid transparent; }
.faq-toc a:hover { border-left-color: var(--red); color: var(--red-700); }
.faq-group-title { display: flex; align-items: center; gap: 10px; font-size: 1.9rem; margin: 44px 0 16px; }
.faq-group-title:first-child { margin-top: 0; }
.faq-group-title .icon { color: var(--green-700); }
.faq-more { margin-top: 14px; }
@media (max-width: 860px) { .faq-page { grid-template-columns: 1fr; gap: 20px; } .faq-toc { position: static; } .faq-toc ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; } .faq-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; } }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; color: #fff; padding: clamp(52px, 6vw, 80px) 0; background: linear-gradient(115deg, var(--green-900) 0%, #0f240a 45%, var(--red-700) 140%); }
.cta-banner::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 2px solid rgba(255,255,255,.1); border-radius: 50%; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .2em; }
.cta-inner p { margin: 0; color: #dfe6df; max-width: 620px; font-size: 1.1rem; }

/* ---------- Contact section ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-split p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--black); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 80px); isolation: isolate; }
.page-hero--image { min-height: 380px; display: flex; align-items: flex-end; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.page-hero--image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,9,7,.86) 0%, rgba(7,9,7,.6) 45%, rgba(7,9,7,.15) 100%); }
.page-hero-inner { position: relative; }
.page-hero h1 { margin-bottom: .25em; }
.page-hero .lead { max-width: 680px; font-size: 1.18rem; color: #e1e6e2; }
.page-hero .btn-row { margin-top: 20px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .95rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; opacity: .55; }
.breadcrumbs a { color: var(--silver); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; }
.gallery-page .breadcrumbs a { color: var(--green-700); }
.gallery-page .breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Service detail ---------- */
.service-hero { position: relative; overflow: hidden; background: var(--black); color: #fff; display: grid; grid-template-columns: 1fr; isolation: isolate; }
.service-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: -2; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.service-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, rgba(7,9,7,.55) 22%, rgba(7,9,7,0) 55%); }
.service-hero .gate-lines { width: 50%; z-index: -1; }
.service-hero-inner { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); min-height: 460px; display: flex; flex-direction: column; justify-content: center; }
.service-hero-inner > * { max-width: 560px; }
.service-hero .lead { font-size: 1.2rem; color: #e1e6e2; }
@media (max-width: 900px) {
  .service-hero-media { position: relative; width: 100%; height: 44vh; min-height: 260px; max-height: 400px; }
  .service-hero-media::after { background: linear-gradient(180deg, rgba(7,9,7,0) 55%, var(--black)); }
  .service-hero-inner { min-height: 0; padding-top: 10px; }
  .service-hero .gate-lines { width: 100%; }
}
.service-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .service-body { grid-template-columns: 1fr; } }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.prose p { font-size: 1.1rem; }
.prose.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose.legal p { font-size: 1.05rem; }
.service-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.zoom-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--charcoal); box-shadow: var(--shadow-sm); }
.zoom-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.zoom-frame:hover img { transform: scale(1.06); }
.side-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.inquiry-card { background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.side-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.side-card .tick-list { margin-bottom: 16px; }
@media (max-width: 960px) { .side-card { position: static; } }
.related-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--charcoal); color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.related-card:hover img { transform: scale(1.05); }
.related-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 40px 16px 16px; background: linear-gradient(0deg, rgba(7,9,7,.88), rgba(7,9,7,0)); }
.related-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.related-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; flex: 1; }

/* ---------- About page ---------- */
.about-page { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .about-page { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form { background: #fff; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; margin: 0 0 20px; min-width: 0; }
.form legend { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; padding: 0 8px; margin-left: -8px; }
.form-intro { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } .form fieldset { padding: 18px 14px 4px; } }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .label-like { display: block; font-weight: 700; margin: 0 0 6px; }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--muted); font-size: .92em; }
.hint { font-size: .92rem; color: var(--muted); margin: -2px 0 8px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #c9d1cb; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23285321' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(40,83,33,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); box-shadow: 0 0 0 3px rgba(201,32,53,.12); }
.field-error { color: var(--red-700); font-weight: 600; font-size: .95rem; margin: 6px 0 0; }
.field-error:empty { display: none; }
.check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill { position: relative; display: inline-flex; }
.check-pill input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check-pill span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px; border: 1.5px solid #c9d1cb; border-radius: 999px; font-weight: 600; transition: all .2s; }
.check-pill input:checked + span { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.check-pill input:checked + span::before { content: '✓'; margin-right: 6px; }
.check-pill input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.field.has-error .check-pill span { border-color: var(--red); }
.field-check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.field-check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--green-700); }
.field-check label { font-weight: 400; margin: 0; }
.field-check .field-error { grid-column: 2; }
.cond-panel { background: var(--soft); border-style: dashed !important; }
.cond-panel[hidden] { display: none; }
.cond-panel legend { font-size: 1.25rem; }
.js .cond-panel { animation: faqIn .3s var(--ease); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.no-js .upload input[type="file"] { position: static; width: auto; height: auto; opacity: 1; }
.upload-drop { display: flex !important; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #b6c1b8; border-radius: var(--radius); cursor: pointer; background: var(--soft); transition: border-color .2s, background-color .2s; font-weight: 400 !important; }
.upload-drop:hover, .upload input:focus-visible + .upload-list, .upload-drop.drag { border-color: var(--green-700); background: #eaf0e9; }
.upload:focus-within .upload-drop { outline: 3px solid var(--red); outline-offset: 2px; }
.upload-drop .icon { width: 36px; height: 36px; color: var(--green-700); }
.upload-drop strong { display: block; }
.upload-drop .hint { display: block; margin: 2px 0 0; }
.upload-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.upload-list:empty { display: none; }
.upload-list li { position: relative; border-radius: 10px; overflow: hidden; background: var(--charcoal); aspect-ratio: 1; }
.upload-list img { width: 100%; height: 100%; object-fit: cover; }
.upload-list .up-meta { position: absolute; left: 0; right: 0; bottom: 0; font-size: .75rem; color: #fff; background: rgba(7,9,7,.75); padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-list button { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(7,9,7,.8); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.upload-list button:hover { background: var(--red); }
.form-note { background: #fff6f7; border-left: 4px solid var(--red); padding: 12px 16px; border-radius: 8px; color: var(--ink); font-weight: 600; }
.form [data-submit] { position: relative; min-width: 240px; }
.spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { opacity: .85; cursor: progress !important; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 10px; font-weight: 600; }
.form-status.ok { background: #e9f4e6; border: 1px solid #a9cf9f; color: #173d10; }
.form-status.err { background: #fff0f2; border: 1px solid #f0b4bd; color: #7d1020; }
.form-status:focus { outline: 3px solid var(--green-700); outline-offset: 2px; }
.form-fallback { margin-top: 14px; padding: 16px 18px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.form-aside .contact-cards { margin: 14px 0; }
.aside-email { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 12px; font-weight: 600; }
.mini-steps { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.mini-steps strong { color: var(--ink); display: block; }
.footer-contact.dark { color: var(--ink); }

/* ---------- Testimonials (hidden until genuine ones exist) ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.testimonial { margin: 0; background: var(--soft); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--green-700); }
.testimonial blockquote { margin: 0 0 10px; font-size: 1.1rem; }
.testimonial figcaption { font-weight: 700; }

/* ---------- 404 ---------- */
.notfound { position: relative; overflow: hidden; background: var(--black); color: #fff; padding: clamp(70px, 10vw, 140px) 0; text-align: center; }
.notfound-inner { position: relative; }
.nf-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 18vw, 11rem); line-height: .9; margin: 0; background: linear-gradient(180deg, #fff, var(--silver) 60%, #6c756f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .lead { color: #d5dbd6; font-size: 1.15rem; }
.notfound .btn-row { justify-content: center; margin: 24px 0; }
.nf-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.nf-links a { color: var(--silver); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--black); color: #cfd5d0; padding-top: 70px; border-top: 3px solid var(--red); overflow: hidden; }
.footer-bars { position: absolute; top: 0; right: 0; width: 40%; height: 100%; opacity: .5; background-image: repeating-linear-gradient(90deg, rgba(191,198,193,.05) 0 2px, transparent 2px 38px); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer-brand p { margin: 16px 0; max-width: 340px; }
.footer-h { font-size: 1.3rem; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-list, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-list a, .footer-contact a { color: #cfd5d0; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.footer-list a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.footer-contact li > span { min-width: 0; }
.footer-contact .icon { color: var(--red); margin-top: .2em; }
.footer-contact a { align-items: flex-start; min-width: 0; }
.footer-contact a span { overflow-wrap: anywhere; }
.footer-cta { margin-top: 16px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.07); color: #fff; }
.social a:hover { background: var(--red); color: #fff; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(191,198,193,.15); font-size: .95rem; }
.footer-bottom p { margin: 0; }
.legal-links { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.legal-links a { color: #cfd5d0; }
.legal-links a:hover { color: #fff; }
.site-credit { color: #cfd5d0; }
.site-credit a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.site-credit a:hover { color: var(--silver); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- Floating contact controls ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fa-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--charcoal); color: #fff; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(7,9,7,.55); transition: transform .25s var(--ease), background-color .2s, opacity .3s; }
.fa-btn:hover { transform: translateY(-3px); color: #fff; }
.fa-call { background: var(--green-700); }
.fa-quote { background: var(--red); }
.fa-email { background: var(--charcoal); }
.fa-top { background: #fff; color: var(--ink); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(10px); }
.fa-top:hover { color: var(--ink); }
.fa-top.show { opacity: 1; pointer-events: auto; transform: none; }
.fa-label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px); background: var(--black); color: #fff; font-size: .88rem; font-weight: 700; padding: 6px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.fa-btn:hover .fa-label, .fa-btn:focus-visible .fa-label { opacity: 1; transform: translateY(-50%); }
.no-js .fa-top { display: none; }
@media (max-width: 1024px) {
  body { padding-bottom: 72px; }
  .float-actions { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; align-items: stretch; background: var(--black); padding: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 20px -10px rgba(0,0,0,.5); border-top: 1px solid rgba(255,255,255,.1); }
  .fa-btn { width: auto; height: 52px; border-radius: 10px; box-shadow: none; gap: 8px; }
  .fa-call, .fa-quote { flex: 1 1 0; min-width: 0; margin-right: 8px; }
  .fa-email, .fa-top { width: 52px; flex: none; }
  .fa-email { margin-right: 8px; background: var(--charcoal-2); }
  .fa-top { opacity: 1; pointer-events: auto; transform: none; background: var(--charcoal-2); color: #fff; border: 0; }
  .fa-top:hover { color: #fff; }
  .fa-label { position: static; opacity: 1; transform: none; background: none; padding: 0; font-size: 1rem; }
  .fa-email .fa-label, .fa-top .fa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fa-call .fa-label, .fa-quote .fa-label { white-space: nowrap; }
  .fa-btn:hover .fa-label { transform: none; }
  .no-js .fa-top { display: none; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.tilt { transform-style: preserve-3d; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-anim { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
  .strip-track { animation: none; width: auto; }
  .strip-viewport { mask-image: none; -webkit-mask-image: none; }
  .strip-group { flex-wrap: wrap; justify-content: center; padding: 6px 0; }
  .strip-group[aria-hidden="true"], .strip-toggle { display: none; }
  .strip-track { justify-content: center; width: 100%; }
}
.reduced-motion .strip-track { animation: none; width: 100%; justify-content: center; }
.reduced-motion .strip-group { flex-wrap: wrap; justify-content: center; padding: 6px 0; }
.reduced-motion .strip-group[aria-hidden="true"], .reduced-motion .strip-toggle { display: none; }

@media (max-width: 440px) {
  .fa-call .icon, .fa-quote .icon { display: none; }
  .fa-btn { font-size: .98rem; }
  .fa-email, .fa-top { width: 48px; }
  .float-actions { padding-left: 6px; padding-right: 6px; }
  .fa-call, .fa-quote, .fa-email { margin-right: 6px; }
}
@media (max-width: 340px) { .fa-top { display: none; } .fa-email { margin-right: 0; } }

@media print { .site-header, .service-strip, .float-actions, .cta-banner { display: none; } }
@media (max-width: 520px) { .hero .eyebrow { font-size: .82rem; letter-spacing: .1em; } .hero .eyebrow::before { width: 18px; } }

/* =====================================================================
   Design Your Gate — navigation highlight, home banner, configurator
   ===================================================================== */
.nav-cta { display: inline-flex !important; align-items: center; gap: 6px; border: 1.5px solid rgba(191,198,193,.45); border-radius: 999px !important; padding: 8px 14px !important; color: #fff !important; background: linear-gradient(135deg, rgba(40,83,33,.9), rgba(24,56,14,.9)); box-shadow: none !important; white-space: nowrap; }
.nav-cta .icon { color: #ffb3bd; }
.nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--green-700) !important; border-color: #fff; }
.nav-cta-item { margin: 0 4px; }
@media (max-width: 1360px) { .header-phone span { display: none; } .header-phone { padding: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; } .primary-nav a { padding: 10px 9px; } }
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-phone span { display: inline; }
  .header-phone { border: 0; padding: 6px 4px; }
}
@media (max-width: 640px) { .header-phone span { display: none; } .header-phone { padding: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; } }
.m-nav-cta { color: #fff !important; }
.m-nav-cta .icon { color: var(--red); }
.m-badge { margin-left: auto; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--red); color: #fff; padding: 3px 8px; border-radius: 999px; }

.design-banner { position: relative; overflow: hidden; color: #fff; padding: clamp(56px, 7vw, 96px) 0; background: radial-gradient(900px 400px at 85% 50%, rgba(201,32,53,.22), transparent 60%), linear-gradient(120deg, var(--black), var(--green-900)); }
.design-banner-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.design-banner p { color: #d5dbd6; font-size: 1.1rem; }
.design-banner-preview { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.14); transition: transform .4s var(--ease); }
.design-banner-preview:hover { transform: translateY(-4px) scale(1.01); }
.design-banner-preview svg { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .design-banner-grid { grid-template-columns: 1fr; } }

.design-hero { position: relative; overflow: hidden; color: #fff; background: var(--black); isolation: isolate; padding: clamp(48px, 7vw, 100px) 0 clamp(52px, 7vw, 100px); min-height: 520px; display: flex; align-items: center; }
.design-hero-media { position: absolute; inset: 0; z-index: -2; }
.design-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.design-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,9,7,.9) 0%, rgba(7,9,7,.7) 42%, rgba(7,9,7,.15) 80%); }
.design-hero-inner > * { max-width: 680px; }
.design-hero .lead { font-size: 1.2rem; color: #e1e6e2; }
.design-hero .btn-row { margin-top: 22px; }
.design-hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #e1e6e2; font-weight: 600; }
.design-hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.design-hero-points .icon { color: #fff; background: var(--red); border-radius: 50%; padding: 2px; }
@media (max-width: 760px) { .design-hero::before { background: linear-gradient(180deg, rgba(7,9,7,.55), rgba(7,9,7,.88) 55%); } .design-hero { min-height: 0; } }

.cfg-section { background: var(--soft); padding-top: clamp(36px, 5vw, 64px); }
.cfg-progress { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 12px; box-shadow: var(--shadow-sm); margin-bottom: 22px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; }
.cfg-progress[hidden] { display: none; }
.cfg-progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cfg-progress-label { margin: 0 0 8px; font-size: 1.02rem; }
.cfg-progress-label strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--green-900); margin-right: 6px; }
.cfg-progress-pct { margin: 0; font-weight: 700; color: var(--red-700); }
.cfg-bar { height: 8px; border-radius: 99px; background: #e3e8e4; overflow: hidden; }
.cfg-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green-700), var(--red)); transition: width .45s var(--ease); }
.cfg-chips { list-style: none; display: flex; gap: 6px; margin: 12px 0 0; padding: 0 0 4px; overflow-x: auto; scrollbar-width: thin; }
.cfg-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.cfg-chip:disabled { opacity: .45; cursor: not-allowed; }
.cfg-chip-n { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); font-weight: 700; }
.cfg-chip.is-done .cfg-chip-n { background: var(--green-700); color: #fff; }
.cfg-chip[aria-current="step"] { border-color: var(--red); background: #fff6f7; }
.cfg-chip[aria-current="step"] .cfg-chip-n { background: var(--red); color: #fff; }
@media (max-width: 760px) { .cfg-chip-t { display: none; } .cfg-chip { padding: 4px; } .cfg-progress { top: calc(var(--header-h) + 4px); padding: 12px 14px 8px; } .cfg-progress-label strong { font-size: 1.15rem; } }

.cfg-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.cfg-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow-sm); min-width: 0; }
.cfg-form .cfg-step { border: 0; padding: 0; margin: 0 0 36px; }
.cfg-wizard .cfg-step { display: none; margin: 0; }
.cfg-wizard .cfg-step.is-active { display: block; }
.cfg-wizard.is-done .cfg-step { display: none; }
.enter-fwd { animation: cfgIn .4s var(--ease); }
.enter-back { animation: cfgInBack .4s var(--ease); }
@keyframes cfgIn { from { opacity: 0; transform: translateX(28px); } }
@keyframes cfgInBack { from { opacity: 0; transform: translateX(-28px); } }
.cfg-legend { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; padding: 0; margin-bottom: 8px; display: flex; flex-direction: column; gap: 2px; }
.cfg-legend:focus { outline: none; }
.cfg-legend:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.cfg-step-num { font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-700); font-weight: 600; }
.cfg-hint { color: var(--muted); margin: 0 0 18px; }
.cfg-question { font-weight: 700; font-size: 1.15rem; margin: 0 0 14px; }
.cfg-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.cfg-nav .btn { min-height: 52px; }
.no-js .js-only { display: none !important; }
.field-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .field-grid-3 { grid-template-columns: 1fr; } .cfg-nav .btn-dark { flex: 1; } }

.opt-grid { display: grid; gap: 14px; }
.opt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid-4 { grid-template-columns: repeat(4, 1fr); }
.opt-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .opt-grid-5 { grid-template-columns: repeat(3, 1fr); } .opt-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .opt-grid-3, .opt-grid-5, .opt-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.opt-grid.has-error .opt-body { border-color: var(--red); }
.opt-card { position: relative; display: block; cursor: pointer; }
.opt-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-body { display: flex; flex-direction: column; height: 100%; padding: 12px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease), background-color .2s; }
.opt-card:hover .opt-body { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b9c3bb; }
.opt-card input:checked + .opt-body { border-color: var(--green-700); background: #f4f9f2; box-shadow: 0 0 0 3px rgba(40,83,33,.15), var(--shadow); }
.opt-card input:focus-visible + .opt-body { outline: 3px solid var(--red); outline-offset: 3px; }
.opt-visual { display: block; border-radius: 10px; overflow: hidden; background: var(--soft); margin-bottom: 10px; }
.opt-visual svg { display: block; width: 100%; height: auto; }
.opt-title { font-weight: 700; font-size: 1.04rem; line-height: 1.25; }
.opt-text { font-size: .9rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.opt-check { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--green-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .25s var(--ease); box-shadow: 0 0 0 3px #fff; }
.opt-card input:checked ~ .opt-check { transform: scale(1); }
.opt-card--small .opt-title { font-size: .95rem; }
.opt-card--compact .opt-body { align-items: center; text-align: center; padding: 16px 10px; }
.opt-card--icon .opt-body { align-items: flex-start; padding: 16px; }
.opt-card--row .opt-body { flex-direction: row; align-items: center; gap: 10px; padding: 12px 40px 12px 12px; }
.opt-card--row .opt-icon { margin: 0; width: 40px; height: 40px; }
.opt-card--tile .opt-body { align-items: center; text-align: center; padding: 16px 8px; }
.opt-card--tile .opt-icon { margin-left: auto; margin-right: auto; }
.opt-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--soft); color: var(--green-700); margin-bottom: 10px; transition: background-color .2s, color .2s; }
.opt-icon .icon { width: 26px; height: 26px; }
.opt-card input:checked + .opt-body .opt-icon { background: var(--green-700); color: #fff; }
.mat-swatch { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.mat-steel { background: linear-gradient(135deg, #4b5056, #8b9097 45%, #5a5f65); }
.mat-aluminum { background: repeating-linear-gradient(90deg, #d9dde0 0 3px, #c3c8cc 3px 5px), #ccd1d4; }
.mat-wrought-iron { background: radial-gradient(circle at 50% 30%, transparent 9px, #23262a 10px, #23262a 13px, transparent 14px), repeating-linear-gradient(90deg, #23262a 0 4px, #e9ecea 4px 12px); }
.mat-wood-metal { background: linear-gradient(90deg, #1c201d 0 8px, transparent 8px calc(100% - 8px), #1c201d calc(100% - 8px)), repeating-linear-gradient(0deg, #9a5b32 0 7px, #84492a 7px 9px); }
.mat-other { background: conic-gradient(from 45deg, #285321, #6b4f33, #c92035, #bfc6c1, #285321); }

.swatch-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 6px; padding: 4px; border-radius: 14px; }
.swatch-row.has-error { box-shadow: 0 0 0 2px var(--red); }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; width: 84px; position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch-dot { width: 60px; height: 60px; border-radius: 50%; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12); transition: transform .2s var(--ease), box-shadow .2s; position: relative; }
.swatch-custom { background: conic-gradient(#c92035, #e0a33a, #3d7a31, #2b5c9e, #7a3d8f, #c92035); }
.swatch:hover .swatch-dot { transform: scale(1.06); }
.swatch input:checked + .swatch-dot { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--green-700); }
.swatch input:checked + .swatch-dot::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.4rem; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.swatch input:focus-visible + .swatch-dot { outline: 3px solid var(--red); outline-offset: 6px; }
.swatch-name { font-weight: 600; font-size: .92rem; text-align: center; }
.cfg-reveal[hidden] { display: none; }
.cfg-reveal { margin-top: 14px; }
.cfg-subpanel { margin-top: 22px; padding: 18px; border-radius: 14px; background: var(--soft); border: 1px dashed #b6c1b8; animation: faqIn .35s var(--ease); }
.measure-check { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 16px; border: 2px dashed #b6c1b8; border-radius: 14px; background: var(--soft); cursor: pointer; font-weight: 600; }
.measure-check .icon { color: var(--green-700); width: 28px; height: 28px; }
.measure-check input { width: 22px; height: 22px; accent-color: var(--green-700); flex: none; }
.measure-check:has(input:checked) { border-color: var(--green-700); background: #f4f9f2; }
.step-error:not(:empty) { margin-top: 12px; }
.btn-xl { min-height: 62px; font-size: 1.15rem; padding: .9em 1.8em; width: 100%; margin-top: 8px; }

.cfg-summary { position: sticky; top: calc(var(--header-h) + 150px); }
.cfg-summary-inner { background: var(--black); color: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--red); }
.cfg-summary .eyebrow { color: var(--silver); margin-bottom: 4px; }
.cfg-summary h2 { color: #fff; margin-bottom: 14px; }
.cfg-preview { border-radius: 12px; overflow: hidden; background: #f3f5f2; }
.cfg-preview svg { display: block; width: 100%; height: auto; }
.cfg-preview.pulse svg { animation: previewIn .45s var(--ease); }
@keyframes previewIn { from { opacity: .35; transform: scale(.985); } }
.cfg-preview-note { font-size: .8rem; color: #aab3ad; margin: 6px 0 12px; }
.cfg-sum-details summary { cursor: pointer; font-weight: 700; padding: 8px 0; list-style: none; display: flex; justify-content: space-between; }
.cfg-sum-details summary::-webkit-details-marker { display: none; }
.cfg-sum-details summary::after { content: '+'; color: var(--red); font-size: 1.3rem; line-height: 1; }
.cfg-sum-details[open] summary::after { content: '–'; }
.cfg-sum { margin: 0; display: grid; gap: 0; }
.cfg-sum > div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.cfg-sum dt { color: #aab3ad; }
.cfg-sum dd { margin: 0; font-weight: 600; color: #8d958f; overflow-wrap: anywhere; }
.cfg-sum dd.is-set { color: #fff; }
.cfg-price { margin-top: 16px; padding: 16px; border-radius: 12px; background: linear-gradient(135deg, rgba(40,83,33,.5), rgba(24,56,14,.3)); border: 1px solid rgba(191,198,193,.25); }
.cfg-price-title { margin: 0; font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; color: var(--silver); }
.cfg-price-value { margin: 4px 0 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; line-height: 1.15; }
.cfg-price-value.has-range { font-size: 1.9rem; }
.cfg-price-note { margin: 0; font-size: .85rem; color: #c4ccc6; line-height: 1.45; }
.cfg-price--inline { background: var(--soft); border-color: var(--line); margin: 6px 0 18px; }
.cfg-price--inline .cfg-price-title { color: var(--green-700); }
.cfg-price--inline .cfg-price-value { color: var(--ink); }
.cfg-price--inline .cfg-price-note { color: var(--muted); }
.cfg-call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 700; text-decoration: none; min-height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); }
.cfg-call:hover { background: rgba(255,255,255,.08); color: #fff; }
.cfg-done { text-align: center; padding: 20px 0 4px; }
.cfg-done[hidden] { display: none; }
.cfg-done-icon { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; background: var(--green-700); color: #fff; align-items: center; justify-content: center; animation: lbIn .4s var(--ease); }
.cfg-done-icon .icon { width: 38px; height: 38px; }
.cfg-restart { margin-top: 16px; }
.cfg-restart[hidden] { display: none; }
@media (max-width: 1023px) {
  .cfg-layout { grid-template-columns: 1fr; }
  .cfg-summary { position: static; order: -1; }
  .cfg-summary-inner { padding: 16px; display: grid; grid-template-columns: 1fr; }
  .cfg-preview { max-width: 520px; }
}
@media (max-width: 1023px) and (min-width: 640px) {
  .cfg-summary-inner { grid-template-columns: 240px 1fr; gap: 0 18px; align-items: start; }
  .cfg-summary-inner > .eyebrow, .cfg-summary-inner > h2 { grid-column: 1 / -1; }
  .cfg-preview { grid-row: span 3; }
  .cfg-preview-note { grid-column: 1; }
}
@media (max-width: 639px) { .cfg-summary .cfg-price:not(.cfg-price--inline) { display: none; } .cfg-preview-note { margin-bottom: 4px; } }
.primary-nav a { white-space: nowrap; }
@media (max-width: 1500px) { .header-phone span { display: none; } .header-phone { padding: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; } .primary-nav a { padding: 10px 8px; font-size: .98rem; } }
@media (max-width: 1180px) { .header-phone span { display: inline; } .header-phone { border: 0; padding: 6px 4px; } }
@media (max-width: 640px) { .header-phone span { display: none; } .header-phone { padding: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; } }
@media (max-width: 760px) { .cfg-progress { position: static; } .cfg-summary .eyebrow { display: none; } .cfg-summary h2 { font-size: 1.2rem; margin-bottom: 10px; } }
/* keep focused/scrolled-to fields clear of the sticky header + progress bar */
.cfg-form input, .cfg-form select, .cfg-form textarea, .cfg-form .opt-card, .cfg-legend { scroll-margin-top: 230px; scroll-margin-bottom: 100px; }
@media (max-width: 760px) { .cfg-form input, .cfg-form select, .cfg-form textarea, .cfg-form .opt-card, .cfg-legend { scroll-margin-top: 90px; } }
/* compact step chips: number only, title on the current step */
.cfg-chip:not([aria-current]) .cfg-chip-t { display: none; }
.cfg-chip:not([aria-current]) { padding: 4px; }
.cfg-chips { flex-wrap: wrap; overflow: visible; }
.cfg-chip[aria-current="step"] .cfg-chip-t { display: inline; }
@media (max-width: 760px) { .cfg-chip[aria-current="step"] .cfg-chip-t { display: none; } .cfg-chips { gap: 4px; } }
@media (max-width: 1023px) and (min-width: 640px) {
  .cfg-summary-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 22px; }
  .cfg-summary-inner > .eyebrow, .cfg-summary-inner > h2 { grid-column: 1 / -1; }
  .cfg-preview { grid-column: 1; grid-row: 3 / span 3; align-self: start; max-width: none; }
  .cfg-preview-note { grid-column: 1; grid-row: 6; }
  .cfg-sum-details { grid-column: 2; grid-row: 3; }
  .cfg-summary .cfg-price { grid-column: 2; grid-row: 4; }
  .cfg-call { grid-column: 2; grid-row: 5; }
}

/* Reference image upload (Design Your Gate, step 3) */
.ref-upload { margin-top: 26px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #f4f9f2, #fff6f7); border: 1px solid var(--line); }
.ref-upload-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.ref-upload-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--green-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ref-upload-icon .icon { width: 26px; height: 26px; }
.ref-upload-title { font-weight: 700; font-size: 1.08rem; margin: 0 0 4px; }
.ref-upload .hint { margin: 0; }
.ref-upload .field { margin-bottom: 0; }
.upload--reference .upload-drop { background: #fff; }
.cfg-sum-refs { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 0 4px; }
.cfg-sum-refs[hidden] { display: none; }
.cfg-sum-refs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid rgba(255,255,255,.25); }

/* Hero with the owner's project photo: on wide screens the photo sits on the right so the
   gate stays visible beside the headline. */
@media (min-width: 761px) {
  .page-home .hero-media { left: 40%; }
  .page-home .hero-media img { object-position: 50% 55%; }
  .page-home .hero-shade { background: linear-gradient(90deg, var(--black) 0%, var(--black) 38%, rgba(7,9,7,.55) 46%, rgba(7,9,7,0) 60%), linear-gradient(0deg, rgba(7,9,7,.35), transparent 30%); }
  .page-home .hero-copy { max-width: 560px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .page-home .hero-media { left: 30%; }
  .page-home .hero-shade { background: linear-gradient(90deg, var(--black) 0%, var(--black) 30%, rgba(7,9,7,.75) 45%, rgba(7,9,7,.15) 75%); }
}

/* ---------- Nationwide shipping ---------- */
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.hero-links .hero-link { margin-top: 0; }
.hero-ship { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; background: rgba(24, 56, 14, .85); border: 1px solid rgba(191, 198, 193, .35); padding: 7px 14px; border-radius: 999px; }
.hero-ship .icon { color: #fff; }
.hero-ship:hover { background: var(--green-900); color: #fff; border-color: #fff; }
.ship-banner { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 6vw, 84px) 0; background: radial-gradient(800px 360px at 12% 50%, rgba(201,32,53,.20), transparent 60%), linear-gradient(110deg, var(--green-900), var(--black)); }
.ship-banner--compact { padding: clamp(36px, 5vw, 56px) 0; }
.ship-banner-grid { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 48px); align-items: center; }
.ship-banner-icon { width: clamp(84px, 11vw, 140px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 2px solid rgba(191,198,193,.35); }
.ship-banner-icon .icon { width: 56%; height: 56%; color: #fff; stroke-width: 1.4; }
.ship-banner--compact .ship-banner-icon { width: clamp(64px, 8vw, 96px); }
.ship-banner h2 { margin: 6px 0 10px; }
.ship-banner p { color: #d5dbd6; font-size: 1.08rem; max-width: 62ch; }
@media (max-width: 640px) { .ship-banner-grid { grid-template-columns: 1fr; } .ship-banner-icon { width: 72px; } }
.ship-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .ship-intro { grid-template-columns: 1fr; } }
.ship-note { display: flex; gap: 10px; align-items: flex-start; background: var(--soft, #f1f4f1); border-left: 3px solid var(--red); padding: 12px 14px; border-radius: 8px; color: var(--ink); }
.ship-note .icon { flex: none; margin-top: 3px; color: var(--green-700); }
.ship-panel { margin-top: 14px; padding: 16px; border-radius: 12px; background: #f1f5f0; border: 1px solid #d8e2d6; }
.ship-panel[hidden] { display: none; }
.ship-panel-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; font-size: .95rem; color: var(--ink); }
.ship-panel-note .icon { flex: none; margin-top: 3px; color: var(--green-700); }
.delivery-fieldset legend { display: inline-flex; align-items: center; gap: 8px; }
.ship-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.submenu-ship a { border-top: 1px solid #e6ebe6; }
.process--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .process--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process--4 { grid-template-columns: 1fr; } }
