/* Capital Catios — site styles
   Palette: warm cream, near-black, one cedar-orange accent. Serif display + Inter body. */
:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --sand: #ebe5da;
  --ink: #1a1614;
  --muted: #655c56;
  --accent: #2f6b45;
  --accent-light: #9fd1ad;
  --dark: #17241c;
  --dark-2: #223428;
  --on-dark: #f4f1ea;
  --on-dark-muted: rgba(244, 241, 234, 0.68);
  --line: rgba(26, 22, 20, 0.12);
  --line-dark: rgba(244, 241, 234, 0.14);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --gutter: 32px;
  --frame: 12px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, .serif { font-family: var(--serif); letter-spacing: -0.01em; }
h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; }
h3 { font-size: 26px; line-height: 1.15; }
.soft { color: var(--muted); }
.dark .soft, .on-dark .soft { color: var(--on-dark-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 120px 0; }
.section.tight-top { padding-top: 40px; }
.lead { color: var(--muted); font-size: 17px; }
.lead + .lead { margin-top: 14px; }

/* Eyebrow label with accent dot */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dark .eyebrow, .on-dark .eyebrow { color: var(--on-dark-muted); }
.dark .eyebrow::before, .hero .eyebrow::before { background: var(--accent-light); }

/* Section heading row */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.sec-head h2 { max-width: 640px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center p { max-width: 560px; }
.sec-head p { color: var(--muted); margin-top: 16px; max-width: 460px; }

/* Buttons: label + orange arrow chip */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 6px 6px 6px 18px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
  cursor: pointer; transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.btn .chip {
  flex: none; width: 36px; height: 36px; border-radius: 7px;
  background: var(--accent); color: #fff; display: grid; place-items: center;
}
.btn .chip svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.btn:hover .chip svg { transform: translateX(3px); }
.btn:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.16); }
.btn-plain { padding: 6px 18px; }
.btn-back .chip svg { transform: rotate(180deg); }
.btn-back:hover .chip svg { transform: rotate(180deg) translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Accessibility helpers */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .on-dark :focus-visible, .footer :focus-visible, .hero :focus-visible { outline-color: #fff; }

/* ---------- Header: floating white bar ---------- */
.header { position: fixed; top: 20px; left: 0; right: 0; z-index: 50; padding: 0 24px; pointer-events: none; }
.navbar {
  pointer-events: auto; position: relative;
  max-width: 1120px; height: 64px; margin: 0 auto; padding: 0 8px 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px);
  border-radius: 12px; box-shadow: 0 8px 30px rgba(26, 22, 20, 0.1);
}
.brand { display: flex; align-items: center; height: 100%; }
.brand img { width: auto; height: 42px; }
.nav-menu { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; gap: 30px; margin: 0 auto; }
.nav-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.current { color: var(--ink); }
.nav-links a.current::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-size: 15px; font-weight: 500; padding: 8px 0; }
.nav-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav-actions .btn { min-height: 48px; border: 0; }
.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 12px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero: full-bleed photo in a rounded frame ---------- */
.hero { padding: var(--frame); }
.hero-frame {
  position: relative; overflow: hidden; border-radius: 20px; color: #fff;
  min-height: min(calc(100vh - 2 * var(--frame)), 900px); min-height: min(calc(100svh - 2 * var(--frame)), 900px);
  display: flex; align-items: flex-end;
}
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 14, 12, 0.35) 0%, rgba(18, 14, 12, 0) 24%, rgba(18, 14, 12, 0.18) 45%, rgba(18, 14, 12, 0.86) 100%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter) 64px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: end;
}
.hero h1 { max-width: 760px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero-side p { font-size: 17px; color: rgba(255, 255, 255, 0.88); margin-bottom: 24px; max-width: 400px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.85); }

/* Fact strip under hero */
.facts { max-width: var(--container); margin: 0 auto; padding: 28px var(--gutter) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fact { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.fact .ico { flex: none; width: 40px; height: 40px; border-radius: 9px; background: var(--surface); display: grid; place-items: center; }
.ico svg { width: 20px; height: 20px; }

/* ---------- Split (text + photo) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split h2 { margin-bottom: 22px; }
.feature-list { margin: 36px 0; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; }
.feature-list h3 { font-size: 24px; margin-bottom: 4px; }
.feature-list p { color: var(--muted); font-size: 15px; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  padding: 10px; transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover { box-shadow: 0 18px 40px rgba(26, 22, 20, 0.1); transform: translateY(-3px); }
.service-card .media { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .media img { transform: scale(1.04); }
.service-card .body { padding: 22px 14px 12px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.more .chip { width: 28px; height: 28px; border-radius: 6px; background: var(--sand); display: grid; place-items: center; transition: background 0.25s, color 0.25s; }
.more .chip svg { width: 14px; height: 14px; }
.service-card:hover .more .chip { background: var(--accent); color: #fff; }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 99px; background: var(--sand); margin-bottom: 14px; }

/* ---------- Dark band (process + facts) ---------- */
.dark { background: var(--dark); color: var(--on-dark); }
.band { margin: 0 var(--frame); border-radius: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 72px; margin-bottom: 72px; border-bottom: 1px solid var(--line-dark); }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--on-dark-muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--dark-2); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.step img.crop-top { object-position: top; }
.step .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; aspect-ratio: 4 / 3; }
.step .pair figure { position: relative; margin: 0; min-width: 0; }
.step .pair img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 9px; }
.step .pair img.render { object-position: 52% 50%; }
.step .pair figcaption {
  position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 99px;
  background: rgba(23, 36, 28, 0.82); color: #fff; font-size: 11px; font-weight: 500; line-height: 1.4;
}
.step .txt { padding: 20px 10px 12px; }
.step .num { font-size: 13px; color: var(--on-dark-muted); font-weight: 500; }
.step h3 { margin: 8px 0 10px; }
.step p { color: var(--on-dark-muted); font-size: 15px; }

/* ---------- Reviews ---------- */
.slider { max-width: 1060px; margin: 0 auto; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; background: var(--surface); border-radius: 20px; padding: 14px;
  display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.slide .quote-body { padding: 24px 40px 24px 0; }
.stars { color: #d99a1e; font-size: 18px; letter-spacing: 3px; line-height: 1; margin-bottom: 22px; }
.slide blockquote { margin: 0; font-size: 17px; line-height: 1.7; }
.slide blockquote.big { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.author { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.author .name { font-weight: 600; }
.author .role { font-size: 14px; color: var(--muted); }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; }
.slider-nav button {
  width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; color: var(--ink); display: grid; place-items: center; transition: border-color 0.2s, background 0.2s;
}
.slider-nav button svg { width: 18px; height: 18px; }
.slider-nav .prev svg { transform: rotate(180deg); }
.slider-nav button:hover { border-color: var(--ink); }
.slider-count { font-size: 14px; color: var(--muted); min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- Home gallery preview ---------- */
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.preview-grid figure { margin: 0; }
.preview-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.preview-grid figure:nth-child(even) { margin-top: 48px; }
.preview-grid figcaption { padding: 14px 4px 0; font-size: 15px; color: var(--muted); }
.preview-grid figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); line-height: 1.2; margin-bottom: 2px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro p { color: var(--muted); margin-bottom: 28px; max-width: 380px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border-radius: 12px; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 24px; min-height: 48px;
  font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 7px; background: var(--sand);
  display: grid; place-items: center; font-size: 20px; font-weight: 400; line-height: 1; transition: transform 0.25s, background 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-item .answer { padding: 0 24px 24px; color: var(--muted); }
.faq-item .answer p + p { margin-top: 8px; }

/* ---------- Closing call to action ---------- */
.cta-section { padding: 0 var(--frame) 120px; }
.cta-card {
  max-width: calc(var(--container) + 2 * 24px); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 12px;
  padding: 12px; border-radius: 20px;
}
.cta-copy { padding: 44px 40px; }
.cta-copy h2 { margin-bottom: 18px; }
.cta-copy p { color: var(--on-dark-muted); margin-bottom: 30px; max-width: 420px; }
.cta-media img { width: 100%; border-radius: 12px; }

/* ---------- Footer ---------- */
.footer { margin: 0 var(--frame) var(--frame); border-radius: 20px; padding: 80px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-logo { width: 124px; filter: brightness(0) invert(1); margin: -18px 0 4px -10px; }
.footer-tag { color: var(--on-dark-muted); max-width: 300px; margin-bottom: 26px; }
.footer h2 { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--on-dark-muted); margin-bottom: 16px; }
.footer li { font-size: 15px; }
.footer li a, .footer li span { display: inline-block; padding: 5px 0; }
.footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 14px; color: var(--on-dark-muted); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 180px 0 72px; text-align: center; }
.page-hero h1 { max-width: 980px; margin: 0 auto; }
.page-hero p { max-width: 620px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }
.page-hero .btn-row { justify-content: center; margin-top: 32px; }
.page-hero .hero-icon { width: 48px; margin: 0 auto 20px; }

/* About */
.photo-card { background: var(--surface); border-radius: var(--radius); padding: 10px; }
.photo-card img { border-radius: 10px; width: 100%; }
.story h2 { margin-bottom: 8px; }
.story .sub { font-size: 18px; font-weight: 500; margin-bottom: 20px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { background: var(--surface); border-radius: var(--radius); padding: 28px 26px 30px; }
.value-card .num { font-size: 13px; font-weight: 500; color: var(--muted); }
.value-card .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; margin: 22px 0 40px; }
.value-card h3 { font-size: 24px; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--muted); }

/* Service detail */
.detail-hero { padding: 170px 0 40px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.detail-grid h1 { font-size: clamp(44px, 5.4vw, 76px); margin-bottom: 22px; }
.detail-grid .lead { margin-bottom: 30px; max-width: 480px; }
.detail-grid .photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.prose { max-width: 760px; margin: 0 auto; }
.prose .intro { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.prose h2 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 12px; }
.prose h3 { font-family: var(--sans); font-size: 19px; font-weight: 500; line-height: 1.5; color: var(--muted); margin-bottom: 28px; }
.prose p { color: var(--muted); margin-bottom: 14px; font-size: 17px; }
.prose p.strong { color: var(--ink); font-weight: 600; margin-top: 28px; }
.prose ul { margin: 0 0 28px; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 30px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose .btn { margin-top: 28px; }

/* Contact */
.contact { padding: 170px 0 80px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: 72px; align-items: start; }
.contact h1 { margin-bottom: 20px; }
.contact .lead { max-width: 440px; }
.contact-list { margin-top: 44px; display: grid; gap: 10px; max-width: 440px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; background: var(--surface); border-radius: 12px; padding: 14px; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; }
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.contact-list a, .contact-list span.v { font-weight: 500; display: inline-block; padding: 2px 0; }
.contact-list a { padding: 10px 0; margin: -8px 0; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form-card { background: var(--surface); border-radius: 20px; padding: 32px 28px 24px; text-align: center; overflow-wrap: anywhere; scroll-margin-top: 110px; }
.form-card h2 { font-size: 34px; margin-bottom: 20px; }
.quote-form { width: 100%; height: 580px; border-radius: 12px; overflow: hidden; }
.form-card .fallback { font-size: 14px; color: var(--muted); margin-top: 18px; }
.form-card .fallback a { text-decoration: underline; }
.form-card button { max-width: 100% !important; height: auto !important; min-height: 48px; white-space: normal !important; }
.map-frame { margin: 0 var(--frame) 100px; border-radius: 20px; overflow: hidden; }
.map-frame img { width: 100%; height: 520px; object-fit: cover; }

/* ---------- Gallery page ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.filter {
  cursor: pointer; min-height: 44px; padding: 8px 20px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 500; font-size: 15px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.photo-grid { columns: 3; column-gap: 16px; }
.photo-item { position: relative; display: block; break-inside: avoid; margin-bottom: 16px; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.photo-item[hidden] { display: none; }
.photo-item img { width: 100%; transition: transform 0.6s ease; }
.photo-item:hover img { transform: scale(1.04); }
.photo-item .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 14px;
  color: #fff; font-size: 14px; line-height: 1.4; font-weight: 500;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}
.lightbox { border: 0; padding: 0; background: transparent; color: #fff; width: 100vw; height: 100vh; max-width: none; max-height: none; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox::backdrop { background: rgba(20, 16, 14, 0.94); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 10px; }
.lightbox figcaption { font-size: 16px; text-align: center; padding: 0 12px; }
.lightbox button {
  width: 48px; height: 48px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.25); cursor: pointer; justify-self: center;
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 22px; line-height: 1; transition: background 0.2s, color 0.2s;
}
.lightbox button:hover { background: #fff; color: var(--ink); }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; font-size: 26px; z-index: 2; }

/* ---------- Mobile call / quote bar ---------- */
.mobile-bar { display: none; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 22px; }
  .nav-phone { display: none; }
  .steps, .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --gutter: 28px; }
  .section { padding: 88px 0; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--surface); border-radius: 12px; padding: 20px;
    flex-direction: column; align-items: stretch; gap: 16px; box-shadow: 0 20px 40px rgba(26, 22, 20, 0.15);
  }
  .nav-open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; gap: 2px; margin: 0; }
  .nav-links a { font-size: 17px; padding: 10px 0; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-phone { display: block; }
  .nav-actions .btn { justify-content: space-between; border: 1px solid var(--line); }

  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding-bottom: 44px; }
  .facts { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .split, .detail-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split .photo, .detail-grid .photo { aspect-ratio: 4 / 3.4; }
  .faq-intro { position: static; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .slide { grid-template-columns: 240px 1fr; gap: 32px; }
  .slide .quote-body { padding: 12px 20px 12px 0; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid figure:nth-child(even) { margin-top: 0; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-copy { padding: 32px 22px 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .photo-grid { columns: 2; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head.center { align-items: center; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; --frame: 8px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .header { top: 10px; padding: 0 10px; }
  .navbar { height: 60px; }
  .brand img { height: 38px; }
  .nav-menu { top: 68px; }
  h3 { font-size: 24px; }
  .hero-frame { min-height: 640px; }
  .hero-frame::after { background: linear-gradient(180deg, rgba(18, 14, 12, 0.3) 0%, rgba(18, 14, 12, 0.55) 30%, rgba(18, 14, 12, 0.88) 100%); }
  .hero-inner { padding-bottom: 28px; }
  .hero-side p { font-size: 16px; }
  .facts { grid-template-columns: 1fr; gap: 12px; padding-top: 20px; }
  .card-grid, .steps, .value-grid { grid-template-columns: 1fr; }
  .stats { padding-bottom: 48px; margin-bottom: 48px; }
  .slide { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .slide img { aspect-ratio: 4 / 3; }
  .slide .quote-body { padding: 18px 12px 12px; }
  .preview-grid { gap: 10px; }
  .page-hero { padding: 132px 0 48px; }
  .page-hero p { font-size: 16px; }
  .detail-hero, .contact { padding-top: 132px; }
  .faq-item summary { font-size: 16px; padding: 18px; }
  .faq-item .answer { padding: 0 18px 20px; }
  .cta-section { padding-bottom: 72px; }
  .footer { padding: 56px 0 calc(100px + env(safe-area-inset-bottom, 0px)); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .photo-grid { column-gap: 8px; }
  .photo-item { margin-bottom: 8px; border-radius: 10px; }
  .photo-item .caption { font-size: 12px; padding: 30px 10px 8px; }
  .form-card { padding: 24px 10px 18px; }
  .quote-form { height: 540px; }
  .map-frame { margin-bottom: 72px; }
  .map-frame img { height: 320px; }
  .lightbox[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-column: 1; padding: 0 12px; }
  .lightbox figure img { max-height: calc(100vh - 200px); }
  .lightbox .lb-prev, .lightbox .lb-next { position: absolute; bottom: 24px; }
  .lightbox .lb-prev { left: calc(50% - 60px); }
  .lightbox .lb-next { right: calc(50% - 60px); }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px);
    box-shadow: 0 -6px 24px rgba(26, 22, 20, 0.12);
  }
  .mobile-bar .btn { justify-content: center; padding: 6px 12px; }
}

/* ---------- Hero: two photos side by side on wide screens, so neither is heavily cropped ---------- */
.hero-frame > img.hero-b { display: none; }
@media (min-width: 961px) {
  .hero-frame > img.hero-b { display: block; right: auto; width: 50%; object-position: center 0%; }
  .hero-frame > img.hero-a { left: 50%; width: 50%; object-position: center 70%; }
  .hero-frame > img.hero-a { border-left: 4px solid var(--bg); }
}
/* ---------- About: team photos ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.team figure { margin: 0; }
.team figure:nth-child(2) { margin-top: 36px; }
.team img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; }
.team figcaption { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-top: 12px; text-align: center; }
@media (max-width: 600px) {
  .team { gap: 8px; }
  .team figure:nth-child(2) { margin-top: 20px; }
  .team figcaption { font-size: 17px; }
}

/* ---------- Accessories (dropdown list, same style as the FAQ) ---------- */
.acc-answer { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; }
.acc-answer img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (max-width: 600px) {
  .acc-answer { grid-template-columns: 1fr; gap: 12px; }
}