/* Electric Gate Solutions - built by PixelBay */

@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --brass: #c9a24a;        /* fills, rules, icons */
  --brass-dark: #b08a35;
  --brass-soft: #f6efdf;
  --brass-text: #86671f;   /* brass for small text on light backgrounds (AA) */
  --brass-light: #dcbd70;  /* brass for text on dark backgrounds */
  --ink: #1b1b1b;
  --ink-2: #242424;
  --ink-3: #333;
  --text: #3d3a35;
  --muted: #676259;
  --line: #e7e2d8;
  --stone: #f4f1eb;
  --white: #fff;
  --r: 8px;
  --wrap: 1200px;
  --head: "Marcellus", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(27,27,27,.05), 0 10px 30px rgba(27,27,27,.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.68; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol.crumbs { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.55rem); }
h3 { font-size: 1.28rem; }
h1 em, h2 em { font-style: normal; color: var(--brass-text); }
.ic { width: 24px; height: 24px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); z-index: 200; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass-dark); outline-offset: 2px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--text); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brass); }
.center .eyebrow::after, .section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--brass); }

.ic-box { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--r); background: var(--brass-soft); color: var(--brass-text); flex: none; }
.ic-box .ic { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--body); font-weight: 700; font-size: .97rem; line-height: 1; padding: 15px 22px; border-radius: var(--r); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn-lg { padding: 18px 26px; font-size: 1.02rem; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--brass); color: var(--ink); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn-wa { background: #0f7a41; color: #fff; }
.btn-wa:hover { background: #0b5f32; color: #fff; }
.link-arrow, .link-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--brass); padding-bottom: 2px; }
.link-btn { background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; font-weight: 700; cursor: pointer; padding: 0 0 2px; }
.link-arrow .ic, .link-btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic, .link-btn:hover .ic { transform: translateX(4px); }

/* ---------- Decorative railings ---------- */
.bars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bars svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; }
.bars-hero { color: var(--brass); opacity: .14; left: auto; width: 55%; }
.bars-head { color: var(--brass); opacity: .12; }
.bars-cta { color: var(--brass); opacity: .16; }
.bars-foot { color: #fff; opacity: .04; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand .logo { width: 230px; height: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; color: var(--ink); font-weight: 600; text-decoration: none; border-radius: var(--r); }
.nav > ul > li > a .ic { width: 16px; height: 16px; transition: transform .2s; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current] { color: var(--brass-text); }
.nav > ul > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.nav .sub { position: absolute; top: 100%; left: -10px; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .has-sub:hover > a .ic { transform: rotate(180deg); }
.nav .sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 6px; font-weight: 600; font-size: .95rem; }
.nav .sub a .ic { width: 20px; height: 20px; color: var(--brass-dark); }
.nav .sub a:hover { background: var(--stone); }
.nav .sub a[aria-current] { background: var(--ink); color: #fff; }
.nav .sub a[aria-current] .ic { color: var(--brass); }
.nav .sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav .sub-all a { justify-content: space-between; color: var(--brass-text); }
.nav .sub-all a .ic { width: 18px; height: 18px; color: currentColor; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.phone-link { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.15; }
.phone-link > .ic { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brass-soft); color: var(--brass-text); }
.phone-link small { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.phone-link:hover { color: var(--brass-text); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--r); align-items: center; justify-content: center; cursor: pointer; }

/* Mobile menu */
.mnav { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.mnav.open { visibility: visible; }
.mnav-bg { position: absolute; inset: 0; background: rgba(27,27,27,.5); opacity: 0; transition: opacity .25s; }
.mnav.open .mnav-bg { opacity: 1; }
.mnav-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; }
.mnav.open .mnav-panel { transform: none; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mnav-head .logo { width: 170px; }
.mnav-close { width: 44px; height: 44px; border-radius: var(--r); background: var(--stone); border: 0; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mnav ul { padding: 10px 12px; }
.mnav li a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--head); font-size: 1.15rem; padding: 11px 10px; border-radius: var(--r); }
.mnav li a:hover, .mnav li a[aria-current] { background: var(--stone); color: var(--brass-text); }
.mnav li.sub-item a { font-family: var(--body); font-size: .98rem; font-weight: 600; padding: 9px 10px 9px 20px; color: var(--text); }
.mnav li.sub-item .ic { width: 20px; height: 20px; color: var(--brass-dark); }
.mnav li.sub-item a[aria-current] { background: var(--ink); color: #fff; }
.mnav li.sub-item a[aria-current] .ic { color: var(--brass); }
.mnav-foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.mnav-social, .c-social { display: flex; gap: 10px; }
.mnav-social { justify-content: center; padding-top: 6px; }
.mnav-social a, .c-social a { width: 44px; height: 44px; border-radius: var(--r); background: var(--stone); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.mnav-social a:hover, .c-social a:hover { background: var(--ink); color: var(--brass); }
.c-social { margin: -8px 0 24px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.bg-stone { background: var(--stone); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.split-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.split-head h2 { margin: 0; }
.center-cta { text-align: center; margin-top: 40px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--stone) 100%); padding: 72px 0 96px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 34em; margin-bottom: 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.ticks-inline { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.ticks-inline li { display: flex; align-items: center; gap: 8px; }
.ticks-inline .ic { width: 20px; height: 20px; color: var(--brass-dark); stroke-width: 2.4; }
.hero-photo { position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--brass); border-radius: var(--r); }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r); box-shadow: 0 24px 60px rgba(27,27,27,.18); }
.hero-card { position: absolute; left: -28px; bottom: 34px; display: flex; align-items: center; gap: 14px; background: #fff; padding: 16px 22px 16px 16px; border-radius: var(--r); box-shadow: var(--shadow); line-height: 1.25; }
.hero-card .ic-box { background: var(--ink); color: var(--brass); }
.hero-card strong { display: block; font-family: var(--head); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.hero-card small { color: var(--muted); font-size: .88rem; }

/* ---------- Brand band ---------- */
.brand-band { background: var(--ink); color: #c9c5bd; padding: 22px 0; }
.brand-band .wrap { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.bb-label { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); }
.brands { display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: center; }
.brands span { font-family: var(--head); font-size: 1.15rem; color: #fff; letter-spacing: .04em; }
.split .brands, .bg-stone .brands { justify-content: flex-start; gap: 10px; }
.split .brands span, .bg-stone .brands span { font-size: 1rem; background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 8px 14px; border-radius: 6px; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 26px; text-decoration: none; color: var(--text); transition: border-color .25s, box-shadow .25s, transform .25s; overflow: hidden; }
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.svc-card:hover::after { transform: none; }
.svc-card .ic-box { margin-bottom: 22px; }
.svc-card:hover .ic-box { background: var(--ink); color: var(--brass); }
.svc-card h3 { margin-bottom: .4em; }
.svc-card p { font-size: .97rem; color: var(--muted); flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; color: var(--ink); }
.more .ic { width: 18px; height: 18px; color: var(--brass-dark); transition: transform .2s; }
.svc-card:hover .more .ic { transform: translateX(4px); }
.bg-stone .svc-card { border-color: transparent; }
.svc-card.svc-dark { background: var(--ink); border-color: var(--ink); color: #c9c5bd; }
.svc-dark h3, .svc-dark .more { color: #fff; }
.svc-dark p { color: #c9c5bd; }
.svc-dark .ic-box, .svc-dark:hover .ic-box { background: var(--brass); color: var(--ink); }
.svc-dark .more .ic { color: var(--brass); }

/* ---------- Split / photo stack ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.photo-stack { position: relative; padding: 0 0 34px 34px; }
.photo-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; background: repeating-linear-gradient(90deg, var(--brass) 0 2px, transparent 2px 18px); opacity: .45; border-radius: var(--r); }
.ps-main { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); box-shadow: 0 20px 50px rgba(27,27,27,.15); }
.ps-badge { position: absolute; right: -14px; bottom: 6px; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #d6d2ca; padding: 18px 22px; border-radius: var(--r); line-height: 1.2; font-size: .88rem; border-bottom: 3px solid var(--brass); }
.ps-badge strong { font-family: var(--head); font-weight: 400; font-size: 2.2rem; color: var(--brass-light); line-height: 1; }
.feature-list { display: grid; gap: 22px; margin: 30px 0 34px; }
.feature-list > div { display: flex; gap: 18px; align-items: flex-start; }
.feature-list .ic-box { background: #fff; }
.feature-list h3 { font-size: 1.12rem; margin-bottom: .2em; }
.feature-list p { margin: 0; color: var(--muted); font-size: .97rem; }
.small-h { font-size: 1.15rem; margin-bottom: 16px; }

/* ---------- Gallery (masonry) ---------- */
.gallery { columns: 3 300px; column-gap: 16px; }
.g-item { position: relative; display: block; margin: 0 0 16px; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: var(--stone); }
.g-item img { width: 100%; transition: transform .5s ease; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(27,27,27,.55)); opacity: 0; transition: opacity .3s; }
.g-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 42px; height: 42px; border-radius: var(--r); background: var(--brass); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.g-zoom .ic { width: 20px; height: 20px; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.04); }
.g-item:hover::after, .g-item:focus-visible::after, .g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
.gallery-home { columns: 3 260px; }
.gallery-mini { columns: 3 160px; column-gap: 10px; margin-bottom: 14px; }
.gallery-mini .g-item { margin-bottom: 10px; }
.strip { margin: 2.2em 0 1em; }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.strip-head h2 { margin: 0; }
.prose .strip-head h2 { margin: 0; }
.strip-nav { display: flex; gap: 8px; flex: none; }
.strip-btn { width: 44px; height: 44px; border-radius: var(--r); border: 1.5px solid var(--ink); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.strip-btn .ic { width: 20px; height: 20px; }
.strip-btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.strip-btn:disabled { opacity: .3; cursor: default; }
.strip.no-scroll .strip-nav { display: none; }
.strip-track { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track .g-item { flex: 0 0 calc((100% - 28px) / 2.5); margin: 0; aspect-ratio: 4 / 3; scroll-snap-align: start; }
.strip-track .g-item img { width: 100%; height: 100%; object-fit: cover; }
.section .strip-track .g-item { flex-basis: calc((100% - 42px) / 3.4); }
.section > .wrap > .strip { margin-top: 0; }
.strip-more { margin-top: 28px; }
.gal-more { text-align: center; color: var(--muted); margin: 26px 0 0; }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(17,17,17,.96); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(17,17,17,.96); }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; padding: 70px 90px 30px; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-count { font-size: .9rem; letter-spacing: .12em; color: var(--brass-light); }
.lb-btn { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s; }
.lb-btn:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.lb-x { top: 16px; right: 16px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: #fff; border-radius: var(--r); padding: 32px 30px 28px; display: flex; flex-direction: column; border: 1px solid var(--line); position: relative; }
.bg-stone .review { border-color: transparent; }
.review::before { content: "\201C"; position: absolute; top: 6px; right: 24px; font-family: var(--head); font-size: 5.5rem; line-height: 1; color: var(--brass); opacity: .35; }
.stars { display: flex; gap: 3px; color: var(--brass); margin-bottom: 16px; }
.stars .ic { width: 19px; height: 19px; fill: currentColor; stroke-width: 1; }
.review blockquote { margin: 0 0 24px; flex: 1; color: var(--text); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; align-self: stretch; }
/* All reviews show the same length: long ones end in ... (full text is still in the page for Google and screen readers) */
.review figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; line-height: 1.3; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--brass-light); display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 1.2rem; flex: none; }
.review cite { display: block; font-style: normal; font-weight: 700; color: var(--ink); }
.review small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .85rem; }
.review small .ic { width: 16px; height: 16px; color: #1b5fc6; }
.center-cta .btn .ic { color: inherit; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid > div:first-child p { color: var(--muted); }
.faq-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--brass); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--ink); font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.tog { width: 34px; height: 34px; border-radius: 6px; background: var(--stone); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .25s, background .2s; }
.tog .ic { width: 18px; height: 18px; }
.faq details[open] .tog { transform: rotate(180deg); background: var(--brass); }
.ans { padding: 0 22px 6px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #c9c5bd; padding: 76px 0; }
.cta .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 34em; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page head ---------- */
.page-head { position: relative; overflow: hidden; background: var(--stone); padding: 54px 0 64px; border-bottom: 1px solid var(--line); }
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 16em; margin-bottom: .35em; }
.page-head p { max-width: 40em; font-size: 1.1rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; margin-bottom: 20px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--brass-dark); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Service page ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.group { background: var(--stone); border-radius: var(--r); padding: 22px 22px 8px; border-top: 3px solid var(--brass); }
.group h3 { font-size: 1.12rem; }
.group p { font-size: .96rem; color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 26px 0; }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.ticks .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--brass); color: var(--ink); stroke-width: 3; margin-top: 2px; }
.note { background: var(--brass-soft); border-left: 3px solid var(--brass); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; margin: 28px 0; color: var(--ink); }
.sidebar { position: sticky; top: 108px; display: grid; gap: 20px; }
.side-card { border-radius: var(--r); padding: 28px; }
.side-cta { position: relative; overflow: hidden; background: var(--ink); color: #c9c5bd; display: grid; gap: 12px; }
.side-cta h3 { color: #fff; font-size: 1.5rem; margin: 0; }
.side-cta p { margin: 0 0 4px; font-size: .97rem; }
.phone-big { display: flex; align-items: center; gap: 10px; color: var(--brass-light); font-family: var(--head); font-size: 1.6rem; text-decoration: none; margin-bottom: 6px; }
.phone-big .ic { width: 26px; height: 26px; }
.phone-big:hover { color: #fff; }
.side-mob { margin: -10px 0 6px !important; font-size: .92rem !important; }
.side-mob a { color: #fff; font-weight: 700; text-decoration: none; }
.side-mob a:hover { color: var(--brass-light); }
.side-nav { background: var(--stone); padding: 24px 18px; }
.side-nav h3 { padding: 0 10px; font-size: 1.15rem; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.side-nav a .ic { width: 20px; height: 20px; color: var(--brass-dark); }
.side-nav a:hover { background: #fff; }
.side-nav a[aria-current] { background: var(--ink); color: #fff; }
.side-nav a[aria-current] .ic { color: var(--brass); }

/* ---------- About ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-grid.three { grid-template-columns: repeat(3, 1fr); }
.why { background: #fff; border-radius: var(--r); padding: 30px 26px; }
.why .ic-box { margin-bottom: 20px; }
.why h3 { font-size: 1.18rem; }
.why p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-info > p { color: var(--muted); }
.c-list { display: grid; gap: 14px; margin: 28px 0; }
.c-list li { display: flex; align-items: center; gap: 16px; background: var(--stone); border-radius: var(--r); padding: 16px 18px; line-height: 1.3; }
.c-list .ic-box { background: var(--ink); color: var(--brass); width: 48px; height: 48px; }
.c-list small { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 3px; }
.c-list a, .c-list strong { color: var(--ink); font-weight: 700; text-decoration: none; word-break: break-word; }
.c-list a:hover { color: var(--brass-text); }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.4em; }
.legal h2:first-child { margin-top: 0; }

/* ---------- 404 ---------- */
.nf { padding: 80px 0 100px; }
.nf-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.nf h1 { font-size: clamp(2rem, 4vw, 3rem); }
.nf .lead { margin-bottom: 30px; }
.nf-num { font-family: var(--head); font-size: 120px; fill: var(--ink); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 36px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.65rem; margin-bottom: .2em; }
.form-card .sub { color: var(--muted); margin-bottom: 24px; font-size: .98rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid.one { grid-template-columns: 1fr; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .86rem; color: var(--ink); }
.field label .req { color: var(--brass-text); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--stone); border: 1.5px solid transparent; border-radius: var(--r); padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f8a80; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brass-dark); box-shadow: 0 0 0 4px rgba(201,162,74,.18); }
.field .sel { position: relative; }
.field .sel select { padding-right: 50px; cursor: pointer; }
.field .sel::after { content: ""; position: absolute; right: 9px; top: 50%; width: 30px; height: 30px; transform: translateY(-50%); border-radius: 6px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a24a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / 16px no-repeat; pointer-events: none; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #c0392b; background: #fff; }
.field .err { color: #b02a1c; font-size: .84rem; font-weight: 700; display: none; }
.field.bad .err { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Privacy toggle (square pill) */
.agree { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; cursor: pointer; user-select: none; }
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill { position: relative; width: 54px; height: 28px; border-radius: 6px; background: #d6d0c4; flex: none; transition: background .2s; }
.pill::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.agree input:checked + .pill { background: var(--ink); }
.agree input:checked + .pill::after { transform: translateX(26px); background: var(--brass); }
.agree input:focus-visible + .pill { outline: 2px solid var(--brass-dark); outline-offset: 2px; }
.agree-text { font-size: .92rem; color: var(--text); line-height: 1.4; }
.agree-err { display: none; color: #b02a1c; font-size: .84rem; font-weight: 700; margin: 4px 0 0 68px; }
.agree-wrap.bad .agree-err { display: block; }
.agree-wrap.bad .pill { box-shadow: 0 0 0 2px #c0392b; }
.form-msg { margin-top: 16px; padding: 12px 16px; border-radius: var(--r); font-weight: 600; font-size: .95rem; }
.form-msg.error { background: #fbeceb; color: #8f2318; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-foot small { color: var(--muted); }
.form-done { display: none; text-align: center; padding: 30px 10px; }
.done-ic { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; background: var(--ink); color: var(--brass); margin-bottom: 18px; }
.done-ic .ic { width: 30px; height: 30px; stroke-width: 2.6; }
.form-done h3 { font-size: 1.6rem; }
.form-done p { color: var(--muted); max-width: 28em; margin: 0 auto; }
.is-done .form-body { display: none; }
.is-done .form-done { display: block; }

/* Callback dialog */
.dlg { border: 0; padding: 0; border-radius: var(--r); width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--text); }
.dlg::backdrop { background: rgba(27,27,27,.6); backdrop-filter: blur(2px); }
.dlg[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dlg-head { background: var(--ink); color: #c9c5bd; padding: 26px 28px 22px; position: relative; border-bottom: 3px solid var(--brass); }
.dlg-head h2 { color: #fff; font-size: 1.65rem; margin-bottom: .2em; }
.dlg-head p { margin: 0; font-size: .95rem; }
.dlg-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: var(--r); border: 0; background: rgba(255,255,255,.1); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.dlg-x:hover { background: var(--brass); color: var(--ink); }
.dlg .form-card { border: 0; box-shadow: none; border-radius: 0; padding: 26px 28px 28px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: #b5b1a9; font-size: .96rem; padding-top: 76px; }
.footer .wrap { position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .9fr .8fr 1.1fr; gap: 48px; padding-bottom: 56px; }
.footer .logo { width: 230px; margin-bottom: 22px; }
.footer h3 { color: #fff; font-size: 1.2rem; margin-bottom: 18px; }
.footer ul { display: grid; gap: 9px; }
.footer a { color: #b5b1a9; text-decoration: none; }
.footer a:hover { color: var(--brass-light); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 44px; height: 44px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.foot-social a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.foot-contact li { display: flex; gap: 10px; align-items: center; }
.foot-contact .ic { width: 20px; height: 20px; color: var(--brass); }
.foot-contact a { word-break: break-word; }
.footer .btn-brass { margin-top: 20px; }
.footer .btn-brass:hover { background: #fff; }
.foot-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .88rem; }
.foot-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.built a { color: var(--brass-light); }
.callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header-cta .phone-link { display: none; }
  .header-cta { margin-left: auto; }
  .burger { display: inline-flex; margin-left: 0; }
  .why-grid, .why-grid.three, .svc-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .section .strip-track .g-item { flex-basis: calc((100% - 14px) / 2.2); }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .hero-grid, .split, .faq-grid, .svc-layout, .contact-grid, .nf-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { margin-right: 22px; }
  .hero-card { left: 14px; bottom: 14px; }
  .bars-hero { width: 100%; }
  .reviews { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .review blockquote { -webkit-line-clamp: 6; line-clamp: 6; }
  .sidebar { position: static; }
  .split .photo-stack { order: -1; }
  .nf-art { max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { padding: 0 18px; }
  .header .wrap { min-height: 70px; gap: 12px; }
  .brand .logo { width: 180px; }
  .header-cta .btn { display: none; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 34px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hero-photo::before { inset: 14px -14px -14px 14px; }
  .hero-photo { margin-right: 14px; }
  .photo-stack { padding: 0 0 24px 20px; }
  .ps-badge { right: 0; }
  .groups, .ticks.two, .fgrid, .why-grid, .why-grid.three, .svc-grid, .foot-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-foot .btn { width: 100%; }
  .agree-err { margin-left: 0; }
  .cta { padding: 60px 0; }
  .cta-btns, .cta-btns .btn, .faq-cta .btn { width: 100%; }
  .foot-grid { gap: 36px; }
  .callbar { display: grid; grid-template-columns: 1fr 1.25fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; padding: 8px; gap: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.12); border-top: 1px solid var(--line); }
  .callbar .btn { padding: 14px 6px; gap: 6px; font-size: .9rem; }
  .callbar .btn .ic { width: 17px; height: 17px; }
  .lb-stage { padding: 64px 10px 80px; }
  .strip-track .g-item, .section .strip-track .g-item { flex-basis: 80%; }
  .strip-btn { width: 40px; height: 40px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
}

@media print {
  .header, .mnav, .footer, .callbar, .cta, .dlg, .lightbox, .sidebar, .skip, .bars { display: none !important; }
  body { padding: 0; }
}

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