/* ==========================================================
   SZÉCSI BURKOLÓ — Premium Architectural UI
   Visual / UX layer only. DOM hooks and behavior stay intact.
   ========================================================== */

:root {
  --bg: #0d0e0f;
  --bg-deep: #08090a;
  --surface: #141618;
  --surface-2: #1a1c1f;
  --surface-3: #212429;
  --paper: #f1eee7;
  --paper-2: #e9e4da;
  --white: #f8f6f1;
  --ink: #151617;
  --text: #ece9e2;
  --muted: #a8a49b;
  --muted-dark: #6e6a63;
  --line: rgba(235, 226, 210, .12);
  --line-strong: rgba(235, 226, 210, .22);
  --accent: #c8ad7f;
  --accent-strong: #dbc49a;
  --accent-soft: rgba(200, 173, 127, .12);
  --danger: #d98b7f;
  --success: #93ad91;
  --shadow-sm: 0 10px 30px rgba(0,0,0,.16);
  --shadow-md: 0 24px 70px rgba(0,0,0,.26);
  --shadow-lg: 0 38px 110px rgba(0,0,0,.38);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1320px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open,
body.lightbox-open { overflow: hidden; }

::selection { background: var(--accent); color: var(--ink); }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  color: inherit;
  font-family: Inter, system-ui, sans-serif;
  text-wrap: balance;
}
h1, h2 { letter-spacing: -.045em; }
h3 { letter-spacing: -.025em; }
p { text-wrap: pretty; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(88px, 8.5vw, 144px) 0;
  background: var(--bg);
}
.section-white { background: var(--paper); color: var(--ink); }
.section-warm { background: var(--paper-2); color: var(--ink); }
.section-dark { background: var(--bg-deep); color: var(--text); }
.section-quote {
  background:
    linear-gradient(rgba(13,14,15,.91), rgba(13,14,15,.96)),
    radial-gradient(circle at 15% 18%, rgba(200,173,127,.11), transparent 34%),
    var(--bg);
}

.section-tag,
.eyebrow,
.service-kicker,
.contact-card-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.section-tag::before,
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .75;
}

.section-heading { max-width: 850px; margin: 0 0 58px; }
.section-heading h2,
.about-copy h2,
.quote-copy h2,
.calculator-copy h2,
.faq-copy h2,
.section-contact h2 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.2vw, 4.35rem);
  font-weight: 600;
  line-height: 1.02;
}
.section-heading p,
.section-heading-light p,
.lead,
.contact-lead {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}
.section-white .section-heading p,
.section-warm .section-heading p,
.section-warm .lead,
.section-white .lead { color: #6b6861; }
.section-heading-light { color: var(--text); }
.section-heading-light p { color: var(--muted); }

/* Accessibility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(9,10,11,.68);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(9,10,11,.92);
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.nav-shell {
  width: min(calc(100% - 48px), var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(200,173,127,.56);
  color: var(--accent-strong);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-text { font-size: .93rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.brand-sub { margin-top: 5px; color: var(--muted); font-size: .67rem; letter-spacing: .08em; }
.main-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-menu a {
  position: relative;
  color: #dedbd4;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .045em;
  text-decoration: none;
  transition: color .25s ease;
}
.main-menu > li > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--ease);
}
.main-menu > li > a:hover,
.main-menu > li > a:focus-visible { color: #fff; }
.main-menu > li > a:hover::after,
.main-menu > li > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 19px;
  border: 1px solid rgba(200,173,127,.58);
  border-radius: var(--radius-sm);
  color: var(--accent-strong) !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease !important;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--ink) !important; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle span { width: 19px; height: 1px; background: currentColor; transition: .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .065em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .22s var(--ease), background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(200,173,127,.14);
}
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); box-shadow: 0 20px 52px rgba(200,173,127,.2); }
.btn-ghost {
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.23);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.38); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: #292b2d; border-color: #292b2d; }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: rgba(21,22,23,.28); }
.btn-outline-dark:hover { background: rgba(21,22,23,.055); border-color: rgba(21,22,23,.5); }
.section-quote .btn-outline-dark,
.section-dark .btn-outline-dark { color: var(--text); border-color: var(--line-strong); }
.section-quote .btn-outline-dark:hover,
.section-dark .btn-outline-dark:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.34); }
.btn-full { width: 100%; }
.text-link,
.text-button {
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color .2s ease, border-color .2s ease;
}
.text-link:hover,
.text-button:hover { color: var(--accent); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #090a0b;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,.02)),
    url('../images/hero.webp');
  background-size: cover;
  background-position: center 56%;
  transform: scale(1.015);
  transition: transform 7s ease-out;
}
.hero.is-visible .hero-bg { transform: scale(1.035); }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,9,.34) 0%, rgba(7,8,9,.46) 36%, rgba(7,8,9,.94) 100%),
    linear-gradient(90deg, rgba(7,8,9,.74) 0%, rgba(7,8,9,.34) 58%, rgba(7,8,9,.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 100px);
  padding-bottom: clamp(72px, 8vw, 118px);
}
.hero-content .eyebrow { margin-bottom: 24px; }
.hero h1 {
  max-width: 1120px;
  margin: 0 0 28px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 7.1rem);
  font-weight: 560;
  line-height: .96;
}
.hero h1 em {
  display: inline-block;
  color: var(--accent-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}
.hero-lead {
  max-width: 780px;
  margin-bottom: 34px;
  color: #c9c6be;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 870px;
  margin-bottom: 34px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.hero-proof span {
  display: flex;
  gap: 7px;
  padding: 13px 24px 13px 0;
  margin-right: 24px;
  color: #b9b6ae;
  font-size: .81rem;
  letter-spacing: .01em;
}
.hero-proof strong { color: var(--white); font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-microcopy { max-width: 680px; margin: 17px 0 0; color: #8d8a83; font-size: .78rem; }

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #101214;
}
.trust-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-strip-grid > div { padding: 28px 36px; border-right: 1px solid var(--line); }
.trust-strip-grid > div:first-child { padding-left: 0; }
.trust-strip-grid > div:last-child { border-right: 0; padding-right: 0; }
.trust-strip strong { display: block; margin-bottom: 7px; color: var(--text); font-size: .92rem; }
.trust-strip span { display: block; color: var(--muted); font-size: .78rem; line-height: 1.55; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
}
.about-visual { position: relative; min-height: 680px; }
.about-photo {
  position: absolute;
  inset: 0 9% 0 0;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(10,10,10,.04), rgba(10,10,10,.18)),
    url('../images/portrait.webp') center/cover no-repeat,
    linear-gradient(145deg, #28292a, #121314);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.about-badge {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(245px, 52%);
  padding: 25px 28px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(200,173,127,.22);
  box-shadow: var(--shadow-md);
}
.about-badge span { display: block; margin-bottom: 9px; color: var(--accent); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.about-badge strong { display: block; font-size: 1.06rem; line-height: 1.38; letter-spacing: -.01em; }
.about-copy > p { max-width: 720px; color: #5f5c55; }
.about-copy .lead { color: #393a3b; }
.about-points { margin: 36px 0 34px; border-top: 1px solid rgba(21,22,23,.13); }
.about-points > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(21,22,23,.13);
}
.about-points > div > span { color: #8c7a5d; font-size: .72rem; font-weight: 750; letter-spacing: .12em; }
.about-points p { margin: 0; color: #68645c; font-size: .91rem; line-height: 1.58; }
.about-points strong { color: var(--ink); }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }

/* Services */
.service-grid { display: grid; gap: 18px; }
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 55px rgba(0,0,0,.14);
  transition: transform .3s var(--ease), border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-2px); border-color: rgba(200,173,127,.24); box-shadow: var(--shadow-md); }
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--accent);
  opacity: .62;
}
.service-top {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  gap: 24px;
  padding: clamp(26px, 4vw, 42px) clamp(24px, 4vw, 46px) 26px;
}
.service-number { color: #6f6c65; font-size: .73rem; font-weight: 700; letter-spacing: .14em; }
.service-kicker { margin-bottom: 9px; font-size: .64rem; }
.service-top h3 { margin-bottom: 10px; color: var(--white); font-size: clamp(1.6rem, 2.5vw, 2.35rem); font-weight: 600; }
.service-top p { max-width: 780px; margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.service-details { border-top: 1px solid var(--line); }
.service-details summary {
  position: relative;
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 17px 70px 17px clamp(24px, 4vw, 46px);
  color: #d9d6cf;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .02em;
  cursor: pointer;
  list-style: none;
  transition: background .25s ease, color .25s ease;
}
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::after {
  content: "+";
  position: absolute;
  right: clamp(24px, 4vw, 46px);
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform .28s var(--ease);
}
.service-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.service-details summary:hover { background: rgba(255,255,255,.025); color: var(--white); }
.service-detail-body {
  padding: 8px clamp(24px, 4vw, 46px) clamp(30px, 4vw, 46px) calc(clamp(24px, 4vw, 46px) + 96px);
  animation: detailsIn .28s var(--ease) both;
}
@keyframes detailsIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.service-detail-body h4 { margin-bottom: 9px; color: var(--accent-strong); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.service-detail-body p,
.service-detail-body li { color: #aaa79f; font-size: .9rem; }
.detail-block { max-width: 860px; margin-bottom: 26px; }
.detail-block p { margin-bottom: 0; }
.detail-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 42px; }
.detail-columns ul { margin: 0; padding-left: 18px; }
.detail-columns li + li { margin-top: 7px; }
.detail-columns strong { color: #d6d2ca; }
.detail-warning {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: rgba(200,173,127,.07);
  color: #c1bdb5;
  font-size: .88rem;
}
.detail-warning strong { color: var(--accent-strong); }
.section-cta-card {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 32px clamp(24px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #101214;
}
.section-cta-card .section-tag { margin-bottom: 8px; }
.section-cta-card h3 { margin-bottom: 6px; color: var(--white); font-size: clamp(1.3rem, 2vw, 1.8rem); }
.section-cta-card p { max-width: 710px; margin-bottom: 0; color: var(--muted); font-size: .9rem; }

/* Process */
.process-grid {
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-grid li {
  min-height: 280px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.process-grid li:hover { background: rgba(255,255,255,.018); }
.process-grid li > span { display: block; margin-bottom: 55px; color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.process-grid h3 { margin-bottom: 11px; color: var(--text); font-size: 1.17rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.68; }

/* Quote */
.quote-layout {
  display: grid;
  grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr);
  gap: clamp(50px, 8vw, 112px);
  align-items: start;
}
.quote-copy { position: sticky; top: calc(var(--header-h) + 36px); }
.quote-copy .lead { color: #b5b1a8; }
.quote-benefits { margin: 34px 0; border-top: 1px solid var(--line); }
.quote-benefits > div { display: grid; grid-template-columns: 30px 1fr; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.quote-benefits > div > span { color: var(--accent); font-size: .9rem; }
.quote-benefits p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.58; }
.quote-benefits strong { color: var(--text); }
.quote-alt-contact { display: grid; gap: 7px; padding-top: 4px; }
.quote-alt-contact > span { margin-bottom: 3px; color: #7f7c75; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.quote-alt-contact a { width: fit-content; color: #d6d2ca; font-size: .88rem; font-weight: 600; text-decoration: none; }
.quote-alt-contact a:hover { color: var(--accent); }
.quote-card {
  min-width: 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 12px);
  border: 1px solid rgba(235,226,210,.14);
  border-radius: var(--radius-lg);
  background: #f0ede6;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 22px clamp(22px, 4vw, 38px);
  border-bottom: 1px solid rgba(21,22,23,.1);
  background: #e8e4dc;
}
.progress-step {
  min-width: 60px;
  display: grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #8b877f;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.progress-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #bbb5aa;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
  transition: .2s ease;
}
.progress-step small { font-size: .68rem; font-weight: 650; }
.progress-step.is-active { color: var(--ink); }
.progress-step.is-active span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.progress-step.is-complete span { border-color: #88785e; background: #88785e; color: #fff; }
.progress-line { height: 1px; background: #cac4b9; }
#quote-form { padding: clamp(26px, 4.5vw, 48px); }
.form-step-heading { margin-bottom: 30px; }
.form-step-heading > span { display: block; margin-bottom: 8px; color: #9a8563; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.form-step-heading h3 { margin-bottom: 7px; font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 650; }
.form-step-heading p { margin: 0; color: #747069; font-size: .86rem; }
.form-step[hidden] { display: none !important; }
.form-step.is-active { animation: formIn .3s var(--ease) both; }
@keyframes formIn { from { opacity: .3; transform: translateX(7px); } to { opacity: 1; transform: translateX(0); } }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin: 0 0 23px; padding: 0; border: 0; }
.choice-wide { grid-column: 1 / -1; }
.choice-card { position: relative; min-width: 0; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card > span {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  border: 1px solid #ccc6bb;
  border-radius: 9px;
  background: rgba(255,255,255,.25);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.choice-card:hover > span { border-color: #a79b87; background: rgba(255,255,255,.55); }
.choice-card input:checked + span { border-color: #8a7450; background: #fff; box-shadow: inset 0 0 0 1px #8a7450, 0 8px 22px rgba(31,29,24,.08); transform: translateY(-1px); }
.choice-card input:focus-visible + span { outline: 2px solid #8a7450; outline-offset: 3px; }
.choice-card strong { color: var(--ink); font-size: .9rem; }
.choice-card small { margin-top: 4px; color: #7b776e; font-size: .73rem; }

.form-grid { display: grid; gap: 16px; margin-bottom: 20px; }
.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; min-width: 0; color: var(--ink); }
.field > span { font-size: .76rem; font-weight: 650; color: #4d4a45; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #c8c1b6;
  border-radius: 8px;
  background: rgba(255,255,255,.62);
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 142px; resize: vertical; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: #9a958b; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: #8f7854; background: #fff; box-shadow: 0 0 0 3px rgba(143,120,84,.11); }
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid { border-color: #ad5f55; box-shadow: 0 0 0 3px rgba(173,95,85,.09); }
.field-help { color: #8b867c; font-size: .7rem; }
.field-error { margin: -12px 0 16px; color: #9f534b; font-size: .74rem; font-weight: 650; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.upload-block { margin-top: 25px; padding-top: 24px; border-top: 1px solid #d2ccc1; }
.upload-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.upload-heading strong { display: block; margin-bottom: 3px; font-size: .86rem; }
.upload-heading span { display: block; color: #817c72; font-size: .7rem; }
.upload-count { white-space: nowrap; color: #7c694a !important; font-weight: 700; }
.dropzone {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px dashed #a9a195;
  border-radius: 10px;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.dropzone:hover,
.dropzone.is-dragover { border-color: #836f4e; background: rgba(255,255,255,.58); }
.dropzone.is-dragover { transform: scale(.995); }
.dropzone[aria-busy="true"] { pointer-events: none; opacity: .68; }
.dropzone-icon { display: block; color: #8a7450; font-size: 1.8rem; font-weight: 300; line-height: 1; }
.dropzone strong { margin-top: 9px; font-size: .84rem; }
.dropzone small { margin-top: 4px; color: #817c72; font-size: .71rem; }
.image-previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.image-preview { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 7px; background: #d7d1c8; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(8,9,10,.78);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.upload-note { margin: 10px 0 0; color: #858076; font-size: .68rem; line-height: 1.55; }
.consent-row { display: grid; grid-template-columns: 21px 1fr; gap: 10px; align-items: flex-start; margin: 24px 0; color: #625e57; font-size: .75rem; line-height: 1.6; }
.consent-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #806c4b; }
.consent-row a { color: var(--ink); font-weight: 650; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-actions-end { justify-content: flex-end; }
.form-footnote { margin: 15px 0 0; color: #8b867c; font-size: .66rem; line-height: 1.55; }
.form-status { min-height: 0; margin-top: 12px; color: #8f4f47; font-size: .78rem; font-weight: 600; }
.form-status:empty { display: none; }
.submit-summary {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #d0c9bd;
  border-radius: 8px;
  background: rgba(255,255,255,.28);
  color: #5a564f;
  font-size: .75rem;
}
.submit-summary:empty { display: none; }
.submit-summary strong { color: var(--ink); }
.btn-submit.is-loading { pointer-events: none; opacity: .78; }
.btn-submit:disabled { cursor: wait; }
.button-loader {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0,0,0,.25);
  border-top-color: #111;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
.btn-submit.is-loading .button-loader { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { padding: clamp(40px, 6vw, 68px); text-align: center; }
.form-success[hidden] { display: none !important; }
.success-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid #978263; border-radius: 50%; color: #806d4e; font-size: 1.3rem; }
.form-success h3 { margin-bottom: 10px; font-size: 2rem; }
.form-success p { color: #767168; }
.form-success > strong { display: inline-block; margin: 8px 0 28px; padding: 9px 13px; border: 1px solid #c9c2b6; border-radius: 6px; background: rgba(255,255,255,.46); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }

/* Portfolio */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gallery-filters button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(21,22,23,.18);
  border-radius: 7px;
  background: transparent;
  color: #68645d;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 650;
  transition: .2s ease;
}
.gallery-filters button:hover,
.gallery-filters button.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  grid-column: span 4;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: #d7d2c9;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(17,18,19,.08);
}
.gallery-item:nth-child(7n+1),
.gallery-item:nth-child(7n+5) { grid-column: span 8; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .4s ease; }
.gallery-item:hover img { transform: scale(1.018); filter: contrast(1.02); }
.gallery-item::after {
  content: "Megnyitás";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border-radius: 5px;
  background: rgba(10,11,12,.78);
  color: #fff;
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .06em;
  opacity: 0;
  transform: translateY(4px);
  transition: .25s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery-item-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(7,8,9,.78));
  color: white;
  pointer-events: none;
}
.gallery-item-meta strong { display: block; font-size: .82rem; }
.gallery-item-meta span { color: #d0ccc4; font-size: .68rem; }
.gallery-status { grid-column: 1/-1; min-height: 220px; display: grid; place-items: center; align-content: center; gap: 12px; color: #777269; }
.loader { width: 26px; height: 26px; border: 2px solid rgba(21,22,23,.16); border-top-color: var(--ink); border-radius: 50%; animation: spin .85s linear infinite; }
.gallery-cta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border-top: 1px solid rgba(21,22,23,.17);
  border-bottom: 1px solid rgba(21,22,23,.17);
}
.gallery-cta strong { display: block; margin-bottom: 3px; font-size: .95rem; }
.gallery-cta span { color: #777269; font-size: .82rem; }

/* Calculator */
.calculator-layout { display: grid; grid-template-columns: minmax(310px,.72fr) minmax(0,1.28fr); gap: clamp(40px, 7vw, 90px); align-items: start; }
.calculator-copy { position: sticky; top: calc(var(--header-h) + 36px); }
.calculator-copy > p { color: var(--muted); }
.calculator-points { margin: 28px 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.calculator-points li { position: relative; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); color: #b8b4ac; font-size: .84rem; }
.calculator-points li::before { content: ""; position: absolute; left: 0; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.calculator-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.calculator-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.calculator-card[aria-busy="true"]::after {
  content: "Kalkulátor betöltése…";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(48,42,36,.88);
  color: #fffaf2;
  font-size: .7rem;
  font-weight: 650;
}
.calculator-placeholder { min-height: 620px; display: grid; place-items: center; align-content: center; padding: 42px; text-align: center; }
.calculator-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 24px; border: 1px solid rgba(200,173,127,.36); color: var(--accent); font-family: Georgia, serif; font-size: 1.8rem; }
.calculator-placeholder strong { margin-bottom: 8px; color: var(--text); font-size: 1.05rem; }
.calculator-placeholder p { max-width: 460px; margin: 0; color: var(--muted); font-size: .83rem; }
.calculator-card iframe { width: 100%; height: min(980px, 78vh); min-height: 720px; display: block; border: 0; background: #fff; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(260px,.64fr) minmax(0,1.36fr); gap: clamp(50px, 8vw, 110px); }
.faq-copy > p { color: #6b675f; }
.faq-list { border-top: 1px solid rgba(21,22,23,.16); }
.faq-list details { border-bottom: 1px solid rgba(21,22,23,.16); }
.faq-list summary { position: relative; padding: 22px 54px 22px 0; color: var(--ink); font-size: .95rem; font-weight: 650; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: #8c7959; font-size: 1.4rem; font-weight: 300; transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { max-width: 760px; margin: -3px 50px 23px 0; color: #6d6961; font-size: .86rem; animation: detailsIn .24s ease both; }

/* Contact */
.section-contact { background: #0a0b0c; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(310px,.8fr); gap: clamp(50px, 8vw, 110px); align-items: center; }
.contact-lead { color: var(--muted); }
.contact-channels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 36px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-channels a { min-width: 0; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s ease; }
.contact-channels a:hover { background: rgba(255,255,255,.025); }
.contact-channels span { display: block; margin-bottom: 6px; color: #77746d; font-size: .66rem; letter-spacing: .11em; text-transform: uppercase; }
.contact-channels strong { display: block; overflow-wrap: anywhere; color: var(--text); font-size: .9rem; }
.contact-card { padding: clamp(28px,4vw,44px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-md); }
.contact-card-label { margin-bottom: 12px; font-size: .65rem; }
.contact-card h3 { margin-bottom: 14px; color: var(--white); font-size: 1.65rem; }
.contact-card p { margin-bottom: 26px; color: var(--muted); font-size: .85rem; }
.contact-secondary { display: block; margin-top: 15px; color: #88857d; font-size: .74rem; text-align: center; text-decoration: none; }
.contact-secondary:hover { color: var(--accent); }

/* Footer */
.site-footer { padding: 62px 0 28px; border-top: 1px solid var(--line); background: #070809; color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 50px; padding-bottom: 45px; }
.footer-main > div:first-child p { max-width: 420px; margin: 20px 0 0; color: #77746d; font-size: .78rem; }
.footer-main > div:not(:first-child) { display: grid; align-content: start; gap: 8px; }
.footer-main > div:not(:first-child) > strong { margin-bottom: 5px; color: #d2cec6; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-main a:not(.brand) { color: #85827b; font-size: .77rem; text-decoration: none; }
.footer-main a:hover { color: var(--accent); }
.footer-brand { width: fit-content; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: #66635d; font-size: .69rem; }
.footer-bottom a { color: #88857e; text-decoration: none; }

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) 72px;
  align-items: center;
  padding: 36px;
  background: rgba(5,6,7,.96);
  backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none !important; }
.lightbox figure { margin: 0; min-width: 0; display: grid; place-items: center; }
.lightbox img { max-width: min(1500px, 100%); max-height: calc(100vh - 130px); object-fit: contain; box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.lightbox figcaption { margin-top: 13px; color: #aaa79f; font-size: .74rem; text-align: center; }
.lightbox-close,
.lightbox-nav { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.025); color: #eeeae2; cursor: pointer; transition: .2s ease; }
.lightbox-close:hover,
.lightbox-nav:hover { border-color: rgba(200,173,127,.5); color: var(--accent-strong); background: rgba(200,173,127,.05); }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; }
.lightbox-nav { width: 52px; height: 70px; border-radius: 8px; font-size: 2rem; font-weight: 300; }
.lightbox-prev { justify-self: start; }
.lightbox-next { justify-self: end; }

/* Reveal motion */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .main-menu { gap: 17px; }
  .main-menu a { font-size: .76rem; }
  .about-grid { grid-template-columns: .78fr 1.22fr; gap: 54px; }
  .about-visual { min-height: 590px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .quote-layout,
  .calculator-layout { grid-template-columns: 1fr; gap: 52px; }
  .quote-copy,
  .calculator-copy { position: static; }
  .quote-copy { max-width: 800px; }
  .calculator-copy { max-width: 820px; }
  .calculator-card { min-height: 560px; }
  .calculator-placeholder { min-height: 560px; }
}

@media (max-width: 820px) {
  .container, .nav-shell { width: min(calc(100% - 32px), var(--container)); }
  .menu-toggle { display: grid; }
  .main-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 16px 110px;
    background: rgba(8,9,10,.98);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s ease;
    overflow-y: auto;
  }
  .main-menu.is-open { transform: translateX(0); visibility: visible; }
  .main-menu li { border-bottom: 1px solid var(--line); }
  .main-menu a { min-height: 56px; display: flex; align-items: center; padding: 0 6px; font-size: .92rem; }
  .main-menu > li > a::after { display: none; }
  .main-menu .nav-cta { min-height: 54px; justify-content: center; margin-top: 18px; border-color: var(--accent); background: var(--accent); color: var(--ink) !important; }

  .hero { min-height: 860px; }
  .hero-content { padding-top: 150px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(2.75rem, 9.2vw, 5.2rem); }
  .hero-proof { display: grid; grid-template-columns: 1fr; border-bottom: 0; }
  .hero-proof span { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }

  .trust-strip-grid { grid-template-columns: 1fr; }
  .trust-strip-grid > div,
  .trust-strip-grid > div:first-child,
  .trust-strip-grid > div:last-child { padding: 19px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip-grid > div:last-child { border-bottom: 0; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 540px; }
  .about-photo { right: 6%; }
  .service-detail-body { padding-left: clamp(24px, 4vw, 46px); }
  .detail-columns { grid-template-columns: 1fr; gap: 20px; }
  .section-cta-card { align-items: flex-start; flex-direction: column; }

  .gallery { grid-template-columns: repeat(2,1fr); }
  .gallery-item,
  .gallery-item:nth-child(7n+1),
  .gallery-item:nth-child(7n+5) { grid-column: auto; aspect-ratio: 4/3; }
  .gallery-item:nth-child(5n+1) { grid-column: 1/-1; aspect-ratio: 16/9; }

  .faq-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1/-1; }

  .mobile-action-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: .82fr 1fr 1.18fr;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-strong);
    background: rgba(8,9,10,.96);
    backdrop-filter: blur(12px);
  }
  .mobile-action-bar a { min-width: 0; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 6px; padding-inline: 6px; border-radius: 7px; color: #ddd9d1; font-size: clamp(.66rem, 2.8vw, .78rem); font-weight: 700; text-decoration: none; white-space: nowrap; }
  .mobile-action-primary { background: var(--accent); color: var(--ink) !important; }
  body { padding-bottom: calc(67px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  .container, .nav-shell { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2,
  .about-copy h2,
  .quote-copy h2,
  .calculator-copy h2,
  .faq-copy h2,
  .section-contact h2 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .section-tag, .eyebrow { font-size: .65rem; letter-spacing: .14em; }
  .eyebrow::before, .section-tag::before { width: 24px; }

  .brand-sub { display: none; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-text { font-size: .84rem; }
  .hero { min-height: 800px; }
  .hero-bg { background-position: 60% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,8,9,.46) 0%, rgba(7,8,9,.56) 36%, rgba(7,8,9,.97) 100%); }
  .hero-content { padding-top: 125px; padding-bottom: 58px; }
  .hero h1 { margin-bottom: 21px; font-size: clamp(2.55rem, 12vw, 4rem); line-height: .98; }
  .hero-lead { margin-bottom: 26px; font-size: 1rem; line-height: 1.62; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-microcopy { font-size: .72rem; }

  .about-visual { min-height: 480px; }
  .about-photo { inset: 0 5% 0 0; }
  .about-badge { bottom: 28px; width: min(225px, 68%); padding: 20px; }
  .about-points > div { grid-template-columns: 38px 1fr; }
  .about-actions { align-items: flex-start; flex-direction: column; gap: 18px; }

  .service-top { grid-template-columns: 42px 1fr; gap: 12px; padding-left: 20px; padding-right: 20px; }
  .service-details summary { padding-left: 20px; padding-right: 56px; }
  .service-details summary::after { right: 20px; }
  .service-detail-body { padding-left: 20px; padding-right: 20px; }
  .section-cta-card { padding: 25px 21px; }
  .section-cta-card .btn { width: 100%; }

  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 0; padding: 26px 24px; }
  .process-grid li > span { margin-bottom: 28px; }

  .quote-card { border-radius: 14px; }
  .form-progress { gap: 5px; padding: 15px 16px; }
  .progress-step { min-width: 44px; min-height: 44px; grid-template-columns: 28px; justify-content: center; }
  .progress-step small { display: none; }
  #quote-form { padding: 27px 20px 24px; }
  .choice-grid, .two-cols { grid-template-columns: 1fr; }
  .choice-wide { grid-column: auto; }
  .choice-card > span { min-height: 76px; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .form-actions-end { flex-direction: column; }
  .image-previews { grid-template-columns: repeat(2,1fr); }
  .image-preview button { width: 44px; height: 44px; }
  .upload-heading { flex-direction: column; gap: 6px; }

  .gallery { grid-template-columns: 1fr; gap: 10px; }
  .gallery-item,
  .gallery-item:nth-child(5n+1) { grid-column: auto; aspect-ratio: 4/3; }
  .gallery-cta { align-items: flex-start; flex-direction: column; padding: 22px 0; }
  .gallery-cta .btn { width: 100%; }

  .calculator-actions { flex-direction: column; }
  .calculator-actions .btn { width: 100%; }
  .calculator-card,
  .calculator-placeholder { min-height: 340px; }
  .calculator-card iframe { min-height: 760px; height: 82vh; }

  .contact-channels { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }

  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 18px; }
  .lightbox-nav { position: absolute; top: 50%; width: 46px; height: 58px; z-index: 2; background: rgba(7,8,9,.68); }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 13px; right: 13px; }
  .lightbox img { max-height: calc(100vh - 120px); }
}

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

/* Compatibility with the preserved production JavaScript */
.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 38px 16px 14px;
  background: linear-gradient(transparent, rgba(7,8,9,.82));
  color: #fff;
  pointer-events: none;
  text-align: left;
}
.gallery-caption strong { display: block; font-size: .82rem; font-weight: 650; }
.gallery-caption span { display: block; margin-top: 2px; color: #d0ccc4; font-size: .68rem; }
.gallery-filter { appearance: none; }
.image-preview > small {
  position: absolute;
  inset: auto 6px 6px 6px;
  z-index: 2;
  overflow: hidden;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(10,11,12,.72);
  color: #f2efe8;
  font-size: .58rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}
.form-status.is-error { color: #9f534b; }
.form-status.is-success { color: #617a60; }

/* ==========================================================
   PEARL / CHAMPAGNE REFINEMENT — requested visual revision
   Structure and functional hooks remain unchanged.
   ========================================================== */
:root {
  --bg: #ece3d7;
  --bg-deep: #e1d5c7;
  --surface: #f8f4ee;
  --surface-2: #f1e9df;
  --surface-3: #e8ddcf;
  --paper: #fbf8f3;
  --paper-2: #f2e9dd;
  --white: #fffdf9;
  --ink: #302a24;
  --text: #302a24;
  --muted: #756d64;
  --muted-dark: #625b53;
  --line: rgba(82, 68, 53, .13);
  --line-strong: rgba(82, 68, 53, .22);
  --accent: #a98b64;
  --accent-strong: #8e7150;
  --accent-soft: rgba(169, 139, 100, .12);
  --shadow-sm: 0 10px 30px rgba(78, 61, 43, .08);
  --shadow-md: 0 22px 58px rgba(78, 61, 43, .11);
  --shadow-lg: 0 32px 86px rgba(78, 61, 43, .14);
}

body {
  background: #ece3d7;
  color: var(--text);
}

::selection { background: #cdb99b; color: #2d2823; }

.section {
  background: #ece3d7;
  color: var(--text);
}
.section-white { background: #fbf8f3; color: var(--ink); }
.section-warm { background: #f2e9dd; color: var(--ink); }
.section-dark {
  background: #e6dbcd;
  color: var(--ink);
}
.section-quote {
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.58), transparent 34%),
    #eadfD1;
  color: var(--ink);
}
.section-heading-light { color: var(--ink); }
.section-heading-light p,
.section-heading p,
.section-warm .section-heading p,
.section-white .section-heading p,
.section-warm .lead,
.section-white .lead,
.lead,
.contact-lead { color: var(--muted); }

/* Header — pearl glass rather than anthracite */
.site-header {
  background: rgba(244, 237, 227, .78);
  border-bottom-color: rgba(83, 68, 52, .08);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
}
.site-header.is-scrolled {
  background: rgba(247, 241, 233, .95);
  border-color: rgba(83, 68, 52, .14);
  box-shadow: 0 10px 34px rgba(73, 57, 40, .08);
}
.brand { color: var(--ink); }
.brand-mark { border-color: rgba(142,113,80,.48); color: #806548; }
.brand-sub { color: #786f65; }
.main-menu a { color: #4d463f; }
.main-menu > li > a:hover,
.main-menu > li > a:focus-visible { color: #211e1a; }
.nav-cta {
  border-color: rgba(97,79,59,.42);
  color: #4b4035 !important;
  background: rgba(255,255,255,.2);
}
.nav-cta:hover { background: #4b4035; border-color: #4b4035; color: #fffaf2 !important; }
.menu-toggle { border-color: rgba(83,68,52,.22); color: var(--ink); }

/* Buttons */
.btn-primary {
  background: #4d4339;
  border-color: #4d4339;
  color: #fffaf2;
  box-shadow: 0 14px 34px rgba(75, 60, 45, .14);
}
.btn-primary:hover { background: #3e362f; border-color: #3e362f; box-shadow: 0 18px 42px rgba(75,60,45,.18); }
.btn-dark { background: #4d4339; color: #fffaf2; border-color: #4d4339; }
.btn-dark:hover { background: #3e362f; border-color: #3e362f; }
.btn-outline-dark { color: #4a4036; border-color: rgba(74,64,54,.34); }
.btn-outline-dark:hover { background: rgba(74,64,54,.06); border-color: rgba(74,64,54,.56); }
.section-quote .btn-outline-dark,
.section-dark .btn-outline-dark { color: #4a4036; border-color: rgba(74,64,54,.34); }
.section-quote .btn-outline-dark:hover,
.section-dark .btn-outline-dark:hover { background: rgba(74,64,54,.06); border-color: rgba(74,64,54,.56); }
.text-link, .text-button { color: #5a4b3d; }

/* Hero — warm architectural veil, dark readable typography */
.hero { background: #ded0bd; }
.hero-bg {
  background-image:
    linear-gradient(90deg, rgba(244,236,225,.18), rgba(244,236,225,.05)),
    url('../images/hero.webp');
  filter: saturate(.82) contrast(.94) brightness(1.04);
}
.hero-shade {
  background:
    linear-gradient(180deg, rgba(238,228,214,.58) 0%, rgba(238,228,214,.66) 42%, rgba(231,218,201,.94) 100%),
    linear-gradient(90deg, rgba(245,237,226,.88) 0%, rgba(238,226,211,.64) 55%, rgba(230,215,197,.44) 100%);
}
.hero h1 { color: #2d2823; text-shadow: 0 1px 0 rgba(255,255,255,.32); }
.hero h1 em { color: #6c543b; }
.hero-lead { color: #5e574f; }
.hero-proof {
  border-top-color: rgba(79,65,51,.18);
  border-bottom-color: rgba(79,65,51,.18);
}
.hero-proof span { color: #655d55; }
.hero-proof strong { color: #2f2a25; }
.hero-microcopy { color: #6b635a; }
.hero .eyebrow { color: #765f45; }
.btn-ghost {
  background: rgba(255,253,249,.34);
  border-color: rgba(67,57,48,.28);
  color: #3d3731;
}
.btn-ghost:hover { background: rgba(255,253,249,.65); border-color: rgba(67,57,48,.46); }
.hero-actions .btn-quiet { opacity: .84; }

/* Trust strip */
.trust-strip {
  background: #e5d8c8;
  border-top-color: rgba(83,68,52,.12);
  border-bottom-color: rgba(83,68,52,.12);
}
.trust-strip-grid > div { border-right-color: rgba(83,68,52,.12); }
.trust-strip strong { color: #39322c; }
.trust-strip span { color: #71685e; }

/* About */
.about-badge { background: #5a4d40; color: #fffaf2; }
.about-badge span { color: #dcc7a7; }
.about-points > div { border-bottom-color: rgba(72,60,48,.13); }

/* Service cards */
.service-card {
  border-color: rgba(87,71,54,.13);
  background: #f8f4ee;
  box-shadow: 0 14px 42px rgba(84,66,47,.07);
}
.service-card:hover { border-color: rgba(142,113,80,.3); box-shadow: 0 18px 48px rgba(84,66,47,.11); }
.service-number { color: #8c806f; }
.service-top h3 { color: #302a24; }
.service-top p { color: #71685f; }
.service-details { border-top-color: rgba(87,71,54,.13); }
.service-details summary { color: #4f473f; }
.service-details summary:hover { background: rgba(169,139,100,.06); color: #2d2823; }
.service-detail-body h4 { color: #7d6245; }
.service-detail-body p,
.service-detail-body li { color: #6d655c; }
.detail-columns strong { color: #3e3832; }
.detail-warning { background: rgba(169,139,100,.10); color: #62594f; }
.detail-warning strong { color: #72593f; }
.section-cta-card {
  border-color: rgba(87,71,54,.14);
  background: #e4d8ca;
  box-shadow: 0 14px 40px rgba(80,62,43,.06);
}
.section-cta-card h3 { color: #302a24; }
.section-cta-card p { color: #6f665c; }

/* Process */
.process-grid { border-top-color: rgba(82,68,53,.14); border-left-color: rgba(82,68,53,.14); }
.process-grid li { border-right-color: rgba(82,68,53,.14); border-bottom-color: rgba(82,68,53,.14); }
.process-grid li:hover { background: rgba(255,255,255,.18); }
.process-grid h3 { color: #342e29; }
.process-grid p { color: #71685e; }

/* Quote — warm pearl focus area */
.quote-copy .lead { color: #6d645b; }
.quote-benefits { border-top-color: rgba(82,68,53,.14); }
.quote-benefits > div { border-bottom-color: rgba(82,68,53,.14); }
.quote-benefits p { color: #71685e; }
.quote-benefits strong { color: #342e29; }
.quote-alt-contact > span { color: #81766a; }
.quote-alt-contact a { color: #4d4339; }
.quote-route {
  margin: 28px 0 8px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid rgba(102,82,61,.16);
  border-radius: 12px;
  background: rgba(255,253,249,.36);
}
.quote-route strong { display: block; margin-bottom: 4px; color: #3c342d; font-size: .88rem; }
.quote-route span { display: block; color: #746a60; font-size: .78rem; line-height: 1.55; }
.quote-card {
  border-color: rgba(103,84,64,.14);
  background: #fbf7f0;
  box-shadow: 0 28px 70px rgba(76,58,40,.12);
}
.form-progress { background: #eee5d8; }

/* Portfolio */
.gallery-item { box-shadow: 0 8px 24px rgba(75,58,42,.09); background: #ded2c2; }
.gallery-item::after { background: rgba(67,55,43,.78); }
.gallery-filters button { border-color: rgba(68,57,47,.2); color: #675e55; }
.gallery-filters button:hover,
.gallery-filters button.is-active { border-color: #4d4339; background: #4d4339; color: #fffaf2; }
.gallery-cta { border-top-color: rgba(82,68,53,.15); border-bottom-color: rgba(82,68,53,.15); }
.gallery-cta span { color: #746c63; }

/* Calculator — no dark island */
.calculator-copy > p { color: #6e655c; }
.calculator-points { border-top-color: rgba(82,68,53,.14); }
.calculator-points li { border-bottom-color: rgba(82,68,53,.14); color: #6d645b; }
.calculator-card {
  border-color: rgba(93,75,57,.16);
  background: #f8f3eb;
  box-shadow: 0 24px 62px rgba(76,58,40,.10);
}
.calculator-icon { border-color: rgba(142,113,80,.34); color: #8a6e4e; }
.calculator-placeholder strong { color: #332d27; }
.calculator-placeholder p { color: #756c63; }

/* FAQ */
.faq-copy > p { color: #71685f; }
.faq-list { border-top-color: rgba(82,68,53,.16); }
.faq-list details { border-bottom-color: rgba(82,68,53,.16); }
.faq-list summary { color: #332d27; }
.faq-list summary::after { color: #8a6d4e; }
.faq-list details p { color: #6e665d; }

/* Contact and footer remain strong, but no near-black field */
.section-contact {
  background: #ded0bf;
  color: #302a24;
}
.section-contact .section-tag { color: #806548; }
.section-contact h2 { color: #302a24; }
.contact-lead { color: #6e655b; }
.contact-channels { border-top-color: rgba(82,68,53,.16); border-left-color: rgba(82,68,53,.16); }
.contact-channels a { border-right-color: rgba(82,68,53,.16); border-bottom-color: rgba(82,68,53,.16); }
.contact-channels a:hover { background: rgba(255,255,255,.2); }
.contact-channels span { color: #82776b; }
.contact-channels strong { color: #3a332d; }
.contact-card {
  border-color: rgba(91,73,54,.16);
  background: #f3eadf;
  box-shadow: 0 20px 52px rgba(76,58,40,.09);
}
.contact-card h3 { color: #312b25; }
.contact-card p { color: #6e655c; }
.contact-secondary { color: #6c635a; }
.site-footer {
  background: #d3c3b0;
  color: #62594f;
  border-top-color: rgba(82,68,53,.15);
}
.footer-main > div:first-child p { color: #6b6259; }
.footer-main > div:not(:first-child) > strong { color: #443b33; }
.footer-main a:not(.brand) { color: #62594f; }
.footer-bottom { border-top-color: rgba(82,68,53,.15); color: #70665c; }
.footer-bottom a { color: #5b5148; }

/* Mobile */
@media (max-width: 920px) {
  .main-menu { background: rgba(247,241,233,.985); }
  .main-menu li { border-bottom-color: rgba(82,68,53,.12); }
  .main-menu .nav-cta { border-color: #4d4339; background: #4d4339; color: #fffaf2 !important; }
  .mobile-action-bar {
    border-top-color: rgba(82,68,53,.16);
    background: rgba(242,233,221,.97);
  }
  .mobile-action-bar > a { color: #4d4339; }
  .mobile-action-primary { background: #4d4339; color: #fffaf2 !important; }
}
@media (max-width: 720px) {
  .quote-route { grid-template-columns: 1fr; }
  .quote-route .btn { width: 100%; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
