/* Marles Austria – design system adapted from marles.com */

@font-face { font-family: "Petrov"; src: url("../fonts/petrov-200.otf") format("opentype"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Petrov"; src: url("../fonts/petrov-300.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Petrov"; src: url("../fonts/petrov-400.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Petrov"; src: url("../fonts/petrov-600.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Petrov"; src: url("../fonts/petrov-700.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --orange: #F58221;
  --orange-dark: #D96A10;
  --ink: #11181C;
  --muted: #5B6168;
  --line: #D4D4D4;
  --gray-50: #F7F7F7;
  --gray-100: #EFEFEF;
  --gray-200: #E5E5E5;
  --white: #FFFFFF;
  --black: #000000;
  --header-h: 92px;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Petrov", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.05; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 18px; font-weight: 400; margin-bottom: 12px; }
.display { font-size: clamp(40px, 6vw, 72px); font-weight: 300; letter-spacing: -0.01em; }
.display-sm { font-size: clamp(34px, 4.6vw, 60px); font-weight: 200; }
.lead { font-size: 18px; line-height: 1.6; max-width: 820px; }
.muted { color: var(--muted); }
.orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px; font-size: 14px; line-height: 20px;
  background: var(--white); color: var(--black);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--orange); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar {
  background: var(--ink); color: var(--white);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 24px; height: 36px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--orange); }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header__inner { height: 100%; display: flex; align-items: stretch; padding-left: var(--gutter); }
.header__logo { display: flex; align-items: center; margin-right: auto; }
.header__logo img { width: 64px; height: auto; }
.nav { display: flex; align-items: center; gap: 36px; padding-right: 40px; }
.nav a { font-size: 16px; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header__cta {
  display: flex; align-items: center; gap: 12px;
  padding: 0 36px; background: var(--gray-100);
  font-size: 16px; transition: background .2s, color .2s;
}
.header__cta:hover { background: var(--orange); color: var(--white); }
.header__cta::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg);
}
.burger { display: none; background: none; border: 0; padding: 0 var(--gutter); cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.header.open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header.open .burger span:nth-child(2) { opacity: 0; }
.header.open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: calc(100vh - var(--header-h) - 36px); min-height: 560px; max-height: 860px; overflow: hidden; background: var(--ink); }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero__caption {
  position: absolute; left: 0; bottom: 18%;
  max-width: min(760px, 92vw);
  padding: 36px var(--gutter) 40px;
  color: var(--white);
  background: rgba(17, 24, 28, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero__caption .eyebrow { font-size: 18px; margin-bottom: 14px; }
.hero__caption h1, .hero__caption h2 { font-size: clamp(40px, 6vw, 80px); font-weight: 300; }
.hero__badge {
  display: inline-block; margin-top: 18px; padding: 6px 14px;
  background: var(--orange); color: var(--ink); font-weight: 600; font-size: 18px;
}
.hero__cta { position: absolute; right: 0; bottom: 18%; transform: translateY(50%); }
.hero__cta .btn { padding: 30px 40px; font-size: 15px; }
.hero__dots { position: absolute; left: var(--gutter); bottom: 40px; display: flex; gap: 8px; z-index: 2; }
.hero__dots button {
  width: 56px; height: 2px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255,255,255,.4); position: relative; overflow: hidden;
}
.hero__dots button::before { content: ""; position: absolute; inset: -10px 0; } /* bigger hit area */
.hero__dots button span { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active span { animation: progress 7s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.bg-gray { background: var(--gray-200); }
.bg-light { background: var(--gray-100); }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.intro__offer { border-left: 2px solid var(--orange); padding-left: 28px; }
.intro__offer strong { font-weight: 600; }
.intro__offer .note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.intro__sign { margin-top: 24px; font-style: normal; color: var(--orange); font-size: 18px; }

/* Feature (full-bleed image with text box) */
.feature { position: relative; min-height: 800px; display: flex; align-items: flex-start; color: var(--white); overflow: hidden; }
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.1) 60%); z-index: 1; }
.feature__box { position: relative; z-index: 2; margin-top: 96px; max-width: 640px; padding: 40px var(--gutter); }
.feature__tag { display: inline-block; padding: 6px 12px; background: rgba(17,24,28,.75); font-size: 13px; margin-bottom: 20px; }
.feature__box p { margin-top: 22px; font-size: 18px; line-height: 1.6; }
.feature__aside {
  position: absolute; right: 0; bottom: 96px; z-index: 2;
  width: min(460px, 92vw); padding: 32px 36px;
  background: rgba(0,0,0,.82); color: var(--white);
}
.feature__aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature__aside li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.feature__aside li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--orange); }

/* House lines / cards */
.houses__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.tabs { display: flex; gap: 0; margin-top: 48px; border-bottom: 1px solid var(--line); }
.tabs button {
  background: none; border: 0; padding: 14px 24px; font: inherit; font-size: 16px; cursor: pointer;
  color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button.is-active { color: var(--ink); border-color: var(--orange); }
.house-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.house-grid[hidden] { display: none; }
.house-grid--2 { grid-template-columns: repeat(2, 1fr); }
.house-card { position: relative; display: block; overflow: hidden; background: var(--white); }
.house-card__img { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.house-grid--2 .house-card__img { aspect-ratio: 16 / 10; }
.house-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.house-card:hover .house-card__img img { transform: scale(1.05); }
.house-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.6)); }
.house-card__name { position: absolute; left: 24px; bottom: 20px; z-index: 1; color: var(--white); font-size: 30px; font-weight: 300; }
.house-card__label { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 4px 10px; background: var(--orange); color: var(--white); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.house-card__body { padding: 20px 24px 26px; }
.house-card__body p { font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.5em; }
.house-card__body .link-arrow { margin-top: 16px; }
.houses__more { display: flex; justify-content: flex-end; margin-top: 40px; }

/* Stats over photo */
.stats { position: relative; min-height: 860px; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.stats > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stats::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.2) 45%, rgba(0,0,0,.7)); z-index: 1; }
.stats > * { position: relative; z-index: 2; }
.stats__top { padding-top: 96px; display: flex; justify-content: space-between; gap: 32px; }
.stats__top img { width: 120px; filter: brightness(0) invert(1); }
.stats__box { padding: 32px 40px 36px; margin-left: -40px; background: rgba(17, 24, 28, .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
@media (max-width: 960px) { .stats__box { margin-left: 0; padding: 24px; } }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-bottom: 72px; }
.stat__num { font-size: clamp(44px, 5vw, 64px); font-weight: 200; line-height: 1; margin: 18px 0 10px; }
.stat p { font-size: 17px; max-width: 300px; }
.stat img { width: 48px; height: 48px; }

/* Benefits on orange wood */
.benefits { background: var(--orange) url("../img/wood-orange.png") center / cover; color: var(--white); }
.benefits__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.benefits__title { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.benefits__title .display { color: rgba(255,255,255,.9); }
.benefits__title .display b { font-weight: 300; color: var(--white); display: block; }
.benefit { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px dashed rgba(255,255,255,.55); }
.benefit:first-child { padding-top: 0; }
.benefit:last-child { border-bottom: 0; }
.benefit img { width: 48px; height: 48px; }
.benefit h3 { font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.benefit p { font-size: 16px; line-height: 1.6; max-width: 560px; }

/* Referral split */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--gray-100); }
.split__img { background: #E5DCD7; display: flex; align-items: center; }
.split__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.split__text { padding: clamp(40px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.split__text p { margin-top: 20px; font-size: 17px; line-height: 1.6; }
.split__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Testimonials */
.refs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.refs__head .lead { margin-top: 24px; }
.carousel { position: relative; margin-top: 56px; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.ref-card {
  scroll-snap-align: start; background: var(--white); padding: 32px 32px 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 320px;
  transition: box-shadow .25s;
}
.ref-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.ref-card__quote { font-size: 18px; line-height: 1.55; }
.ref-card__quote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--orange); margin-bottom: 8px; }
.ref-card__who { font-size: 14px; color: var(--muted); border-top: 1px solid var(--gray-200); padding-top: 16px; }
.carousel__nav { display: flex; gap: 8px; }
.carousel__nav button {
  width: 56px; height: 56px; border: 0; cursor: pointer; background: var(--black); color: var(--white);
  font-size: 18px; transition: background .2s;
}
.carousel__nav button:hover { background: var(--orange); }

/* Certifications */
.certs { padding: 64px 0; border-top: 1px solid var(--gray-200); }
.certs__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.certs__row img { height: 64px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.certs__row img:hover { filter: none; opacity: 1; }

/* CTA */
/* ---------- Inquiry section ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inquire { background: var(--orange) url("../img/wood-orange.png") center / cover; padding: clamp(64px, 8vw, 120px) 0; }
.inquire__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.inquire__aside { color: var(--white); position: sticky; top: calc(var(--header-h) + 32px); }
.inquire__aside .eyebrow { color: rgba(255,255,255,.85); }
.inquire__title { font-size: clamp(36px, 4.4vw, 56px); font-weight: 300; line-height: 1.05; }
.inquire__lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.92); max-width: 460px; }
.inquire__contact { list-style: none; padding: 0; margin: 36px 0 0; display: grid; border-top: 1px solid rgba(255,255,255,.4); }
.inquire__contact li { border-bottom: 1px solid rgba(255,255,255,.4); }
.inquire__contact a { display: flex; align-items: center; gap: 16px; padding: 18px 0; transition: padding .2s; }
.inquire__contact a:hover { padding-left: 6px; }
.inquire__contact .ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--white); color: var(--orange); }
.inquire__contact svg, .option__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.inquire__contact small { display: block; font-size: 13px; color: rgba(255,255,255,.8); }
.inquire__contact span:last-child { font-size: 19px; }
.inquire__visit { margin: 36px 0 0; display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; background: rgba(17,24,28,.88); color: var(--white); }
.inquire__visit img { width: 140px; height: 100%; min-height: 128px; object-fit: cover; }
.inquire__visit figcaption { padding: 16px 20px 16px 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.8); }
.inquire__visit strong { display: block; font-size: 17px; font-weight: 400; color: var(--white); margin-bottom: 4px; }
.inquire__badge { display: inline-block; margin-top: 10px; padding: 3px 8px; background: var(--orange); color: var(--ink); font-size: 12px; }

/* Card (pattern from the marles.com inquiry page) */
.form-card { background: var(--white); padding: clamp(24px, 3.6vw, 48px); box-shadow: 0 30px 60px -20px rgba(17,24,28,.35); }
.form-card__head { padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.form-card__head h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 400; line-height: 1.05; }
.form-card__head p { font-size: 13px; color: var(--muted); }
.req { color: var(--orange); }

.inquiry__group { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; display: grid; gap: 18px; }
.inquiry__group legend { padding: 0; margin-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; width: 100%; }
.inquiry__group legend::after { content: ""; flex: 1; height: 1px; background: var(--gray-200); }
.inquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.inquiry__grid--name { grid-template-columns: 110px 1fr 1fr; }
.inquiry__grid--plz { grid-template-columns: 140px 1fr; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--black); }
.field__wrap { position: relative; }
.field__icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #9CA3AF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.field__wrap input { padding-left: 42px; }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  width: 100%; height: 48px; padding: 0 14px;
  background: var(--white); border: 0; border-radius: 6px;
  box-shadow: inset 0 0 0 1px #D1D5DB, 0 1px 2px rgba(0,0,0,.05);
  transition: box-shadow .15s;
}
.field textarea { height: auto; min-height: 112px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field textarea::placeholder { color: #9CA3AF; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px #9CA3AF, 0 1px 2px rgba(0,0,0,.05); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--orange), 0 0 0 4px rgba(245,130,33,.15); }
.field.is-invalid input { box-shadow: inset 0 0 0 1.5px #C2410C; background: #FFFAF6; }
.field__msg { font-size: 13px; color: #C2410C; }

/* Option tiles */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; cursor: pointer; border-radius: 6px; box-shadow: inset 0 0 0 1px #D1D5DB; transition: box-shadow .15s, background .15s; }
.option:hover { box-shadow: inset 0 0 0 1px #9CA3AF; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option::after { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #D1D5DB; background: var(--white) no-repeat center / 12px; transition: background-color .15s, box-shadow .15s; }
.option__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gray-100); color: var(--ink); transition: background .15s, color .15s; }
.option__text { font-size: 13px; line-height: 1.5; color: var(--muted); padding-right: 20px; }
.option__text strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.option:has(input:checked) { box-shadow: inset 0 0 0 2px var(--orange); background: #FFF8F1; }
.option:has(input:checked)::after { background-color: var(--orange); box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.option:has(input:checked) .option__ico { background: var(--orange); color: var(--white); }
.option:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Toggle switches (pattern from marles.com) */
.toggles { display: grid; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.toggle { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 44px; height: 24px; margin: 0; cursor: pointer; }
.toggle__track { width: 44px; height: 24px; border-radius: 999px; background: #E4E4E7; position: relative; transition: background .2s; }
.toggle__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.toggle input:checked + .toggle__track { background: var(--orange); }
.toggle input:checked + .toggle__track::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__track { outline: 2px solid var(--orange); outline-offset: 2px; }
.toggle__text { font-size: 13px; line-height: 1.55; color: var(--muted); padding-top: 2px; }
.toggle__text strong { color: var(--ink); font-weight: 600; }

/* Submit */
.submit {
  margin-top: 32px; width: 100%; height: 64px; border: 0; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--orange); color: var(--white); font: inherit; font-size: 17px;
  transition: background .2s;
}
.submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.submit:hover { background: var(--ink); }
.submit:hover svg { transform: translateX(4px); }
.submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.submit[disabled] { opacity: .6; cursor: wait; }
.inquiry__legal { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.inquiry__legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.inquiry__error { margin-top: 16px; padding: 12px 16px; border-radius: 6px; background: #FFF4ED; color: #C2410C; font-size: 14px; }
.inquiry__success { text-align: center; padding: 72px 16px; }
.inquiry__check { width: 64px; height: 64px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); }
.inquiry__check svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.inquiry__success h3 { font-size: 32px; font-weight: 400; }
.inquiry__success p { margin-top: 10px; color: var(--muted); }

/* Footer */
.footer { background: var(--black); color: var(--white); padding: 96px 0 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; }
.footer h4 { font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.footer p, .footer li { line-height: 1.8; color: rgba(255,255,255,.82); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer a:hover { color: var(--orange); }
.footer__logo { width: 72px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 14px; margin-top: 20px; }
.footer__social img { width: 22px; height: 22px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); font-size: 13px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__slide img { transition: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 24px; padding-right: 24px; }
  .house-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .header__logo img { width: 52px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 24px var(--gutter);
    background: var(--white); transform: translateX(100%); transition: transform .3s ease;
  }
  .header.open .nav { transform: none; }
  .nav a { font-size: 24px; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--gray-200); }
  .nav a::after { display: none; }
  .nav .nav__cta { display: inline-flex; margin-top: 24px; width: auto; border: 0; font-size: 16px; padding: 18px 28px; }
  .intro__grid, .benefits__grid, .split, .inquire__grid { grid-template-columns: 1fr; }
  .benefits__title, .inquire__aside { position: static; }
  .stats__grid { grid-template-columns: 1fr; gap: 36px; }
  .stats__top img { display: none; }
  .feature { min-height: 0; flex-direction: column; }
  .feature__box { margin-top: 64px; }
  .feature__aside { position: relative; bottom: auto; margin: 200px 0 0 auto; }
}
@media (min-width: 961px) { .nav .nav__cta { display: none; } }
@media (max-width: 640px) {
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .hero { min-height: 600px; }
  .hero__caption { bottom: 120px; padding: 24px 16px 28px; }
  .hero__cta { left: 0; right: 0; bottom: 0; transform: none; }
  .hero__cta .btn { width: 100%; justify-content: space-between; padding: 22px 16px; }
  .hero__dots { bottom: 84px; }
  .house-grid, .house-grid--2 { grid-template-columns: 1fr; }
  .house-card__img { aspect-ratio: 4 / 3; }
  .carousel__track { grid-auto-columns: 88%; }
  .tabs { overflow-x: auto; }
  .tabs button { padding: 12px 16px; white-space: nowrap; }
  .footer__grid { grid-template-columns: 1fr; }
  .certs__row { justify-content: center; }
  .certs__row img { height: 48px; }
  .inquiry__grid, .options { grid-template-columns: 1fr; }
  .inquiry__grid--name { grid-template-columns: 90px 1fr; }
  .inquiry__grid--name > :nth-child(3) { grid-column: 1 / -1; }
  .inquiry__grid--plz { grid-template-columns: 110px 1fr; }
  .inquire__visit { grid-template-columns: 100px 1fr; }
  .inquire__visit img { width: 100px; }
  .feature__aside { margin-top: 120px; }
}
