/* =========================================================
   V Space Interiors: Home / Industry landing page
   Layout modelled on the Livspace landing page;
   brand (colours, logo, type) from vspaceinteriors.com
   ========================================================= */
:root {
  --olive: #2E3E1F;       /* V Space primary */
  --olive-2: #475c2c;
  --olive-deep: #1f2a14;
  --sage: #a3c48a;
  --gold: #c9a84c;        /* V Space accent */
  --gold-dark: #a8872f;
  --paper: #faf7f0;       /* light section */
  --sand: #f3eee3;        /* alt section */
  --ink: #1d2414;
  --text: #4a5240;
  --muted: #7b836f;
  --line: #e4dfd2;
  --white: #fff;
  --r: 4px;               /* Livspace uses near-square corners */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1280px, 100% - 160px); margin-inline: auto; }
.center { text-align: center; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Mode switching ---------- */
[data-mode="home"] .only-industry,
[data-mode="industry"] .only-home { display: none !important; }

/* ---------- Buttons (Livspace: square, uppercase, letter-spaced) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--r);
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--olive); color: #fff; }
.btn--dark:hover { background: var(--olive-2); }
.btn--light { background: #fff; color: var(--olive); }
.btn--light:hover { background: var(--gold); color: var(--olive-deep); }
.btn--outline { background: transparent; border-color: var(--olive); color: var(--olive); }
.btn--outline:hover { background: var(--olive); color: #fff; }
.btn--sm { padding: 12px 18px; font-size: .74rem; }
.btn--xs { padding: 11px 16px; font-size: .7rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 6px; }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { color: var(--olive); font-size: 1.35rem; font-weight: 700; letter-spacing: .14em; }
.brand__text small { color: var(--gold-dark); font-size: .62rem; font-weight: 600; letter-spacing: .42em; margin-top: 4px; }

/* ---------- Home / Industry switch ---------- */
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; isolation: isolate; border-radius: var(--r); }
.switch__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; background: none; font-weight: 600; white-space: nowrap; transition: color .3s var(--ease);
}
.switch__pill { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 3px; transition: transform .45s var(--ease); }
[data-mode="industry"] .switch__pill { transform: translateX(100%); }

.switch--sm { background: var(--sand); border: 1px solid var(--line); }
.switch--sm .switch__btn { padding: 8px 18px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); }
.switch--sm .switch__pill { background: var(--olive); }
[data-mode="home"] .switch--sm [data-set-mode="home"],
[data-mode="industry"] .switch--sm [data-set-mode="industry"] { color: #fff; }

.switch--lg { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.switch--lg .switch__btn { padding: 12px 26px; font-size: .9rem; color: #fff; }
.switch--lg .switch__pill { background: var(--gold); }
[data-mode="home"] .switch--lg [data-set-mode="home"],
[data-mode="industry"] .switch--lg [data-set-mode="industry"] { color: var(--olive-deep); }

/* ---------- 1. Hero ---------- */
.hero { position: relative; min-height: min(800px, calc(100vh - var(--header-h))); display: grid; place-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--olive-deep); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,26,12,.25) 0%, rgba(20,26,12,.45) 45%, rgba(20,26,12,.7) 100%); }
.hero__inner { display: grid; justify-items: center; gap: 26px; text-align: center; padding: 120px 0 90px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 500; max-width: 900px; line-height: 1.12; letter-spacing: -.025em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }

/* ---------- 2. USP boxes ---------- */
.usp { background: var(--sand); padding: 32px 0; }
.usp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usp__box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 16px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.usp__box .ic { color: var(--gold-dark); width: 22px; height: 22px; margin-bottom: 4px; }
.usp__box strong { color: var(--ink); font-size: 1.3rem; font-weight: 500; }
.usp__box span { color: var(--muted); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- 3. Why trust ---------- */
.trust { padding: 60px 0 64px; text-align: center; }
.trust__title { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.trust__stats { display: flex; justify-content: center; gap: clamp(32px, 7vw, 90px); margin-top: 34px; flex-wrap: wrap; }
.trust__stats div { display: grid; gap: 4px; }
.trust__stats strong { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 400; color: var(--olive); letter-spacing: -.02em; line-height: 1; }
.trust__stats span { font-size: .9rem; color: var(--muted); }

/* ---------- Generic section ---------- */
.sec { padding: 72px 0; }
.sec--sand { background: var(--sand); }
.sec--tight { padding: 28px 0; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.sec__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.sec__head p { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.sec__head--sub { margin: 44px 0 20px; }
.sec__head--sub h3 { font-size: 1.15rem; }

/* ---------- Carousel ---------- */
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__track--offer, .carousel__track--loc { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
.carousel__track--quotes { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
.no-nav .carousel__foot--end { display: none; }
.carousel__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; }
.carousel__foot--end { justify-content: flex-end; }
.carousel__nav { display: flex; gap: 10px; }
.cbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--olive); display: grid; place-items: center; transition: background .2s, color .2s, opacity .2s; }
.cbtn:hover { background: var(--olive); color: #fff; }
.cbtn:disabled { opacity: .35; pointer-events: none; }
.cbtn .ic { width: 20px; height: 20px; }
.note { font-size: .78rem; color: var(--muted); }

/* ---------- 4. Tiles (Homes for every budget) ---------- */
.tile { position: relative; display: block; aspect-ratio: 9 / 16; max-height: 560px; overflow: hidden; border-radius: var(--r); background: var(--olive); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,20,9,.75)); }
.tile__tag { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 7px 10px; background: rgba(29,36,20,.75); color: #fff; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; }
.tile__name { position: absolute; z-index: 1; left: 14px; right: 64px; bottom: 16px; color: #fff; font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.tile__go { position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--olive); display: grid; place-items: center; transition: background .2s, color .2s; }
.tile:hover img { transform: scale(1.05); }
.tile:hover .tile__go { background: var(--gold); }

/* ---------- 5. Offering cards ---------- */
.ocard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 28px; }
.ocard h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 20px; }
.ocard h3 .ic { width: 22px; height: 22px; color: var(--olive); }
.ocard li { position: relative; padding-left: 18px; font-size: .92rem; color: var(--text); margin-bottom: 13px; }
.ocard li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.ocard b { color: var(--ink); font-weight: 600; }

/* ---------- 6. Partner logos ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 12px; }
.logos span { background: #fff; border: 1px solid var(--line); border-radius: var(--r); height: 84px; display: grid; place-items: center; padding: 14px 20px; }
.logos img { max-height: 50px; max-width: 100%; object-fit: contain; }

/* ---------- 7. Estimate (dark band) ---------- */
.estimate { background: var(--olive); color: rgba(255,255,255,.8); padding: 64px 0 72px; }
.estimate h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.estimate > .container > p { margin-top: 12px; font-size: .95rem; }
.estimate__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 38px; }
.ecard { background: #fff; border-radius: var(--r); padding: 26px 24px; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; }
.ecard__ic { width: 56px; height: 56px; background: var(--sand); color: var(--gold-dark); display: grid; place-items: center; border-radius: var(--r); }
.ecard__ic .ic { width: 24px; height: 24px; }
.ecard h3 { font-size: 1.45rem; }
.ecard p { color: var(--text); font-size: .9rem; margin: 8px 0 14px; }

/* ---------- 8. Locations ---------- */
.rating { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.rating .ic { width: 30px; height: 30px; color: var(--gold-dark); }
.rating span { display: grid; }
.rating strong { color: var(--ink); font-weight: 600; }
.rating small { color: var(--muted); }
.rating:hover { border-color: var(--olive); }
.loc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; }
.loc__top { position: relative; height: 150px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,168,76,.35), transparent 45%),
    linear-gradient(135deg, var(--olive-deep), var(--olive) 60%, var(--olive-2));
}
.loc__top::after { content: ""; position: absolute; right: 18px; bottom: 14px; width: 64px; height: 64px; opacity: .2;
  background: url("../assets/logo.webp") center / contain no-repeat; filter: grayscale(1) brightness(3); }
.loc__tag { padding: 6px 10px; background: var(--gold); color: var(--olive-deep); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; }
.loc__tag--soon { background: #fff; }
.loc__top h3 { color: #fff; font-size: 1.6rem; }
.loc__body { padding: 18px 18px 8px; flex: 1; display: grid; align-content: start; gap: 14px; font-size: .9rem; }
.loc__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
.loc__meta .ic { color: var(--gold-dark); }
.loc .btn { margin: 12px 14px 14px; width: auto; }

/* ---------- 9. Journey ---------- */
.journey { text-align: center; padding: 64px 0 56px; }
.journey h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 40px 0 34px; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; border-top: 1px dashed #b9b19f; }
.steps li { position: relative; display: grid; justify-items: center; gap: 6px; padding: 0 8px; }
.steps__ic { width: 50px; height: 50px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; margin-bottom: 8px; box-shadow: 0 0 0 6px var(--sand); }
.steps__ic .ic { width: 22px; height: 22px; }
.steps strong { color: var(--ink); font-weight: 500; font-size: 1.08rem; }
.steps small { color: var(--muted); font-size: .8rem; }

/* ---------- 10. Split banner ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); border-radius: var(--r); overflow: hidden; }
.split__img { min-height: 360px; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__text { padding: 48px 80px; display: grid; align-content: center; justify-items: start; gap: 14px; }
.split__text h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.split__text p { font-size: .95rem; margin-bottom: 10px; max-width: 460px; }

/* ---------- 11. Founder ---------- */
.founder { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.kicker { color: var(--gold-dark); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.founder h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); max-width: 520px; }
.founder h2 em { font-style: italic; color: var(--gold-dark); }
.founder__text > p:not(.kicker):not(.founder__sign) { margin-top: 16px; max-width: 620px; }
.founder__sign { margin-top: 16px; font-size: .92rem; }
.founder__sign strong { color: var(--ink); }
.founder__stats { display: flex; gap: 44px; margin-top: 26px; }
.founder__stats div { display: grid; gap: 2px; }
.founder__stats strong { font-size: 1.6rem; font-weight: 400; color: var(--gold-dark); }
.founder__stats span { font-size: .84rem; color: var(--ink); }
.founder__img { justify-self: center; width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), 0 30px 60px -30px rgba(0,0,0,.4); }
.founder__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }

/* ---------- 12. Testimonials ---------- */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 24px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }
.quote blockquote { margin: 0; font-size: 1.05rem; font-style: italic; color: var(--ink); line-height: 1.55; flex: 1; }
.quote figcaption { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); display: grid; gap: 4px; }
.quote figcaption small { font-size: .72rem; letter-spacing: .02em; text-transform: none; color: var(--muted); }

/* ---------- 13. Talk ---------- */
.talk { background: var(--sand); padding: 64px 0; text-align: center; }
.talk h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.talk p { margin: 12px auto 22px; max-width: 420px; color: var(--muted); }
.talk__btns { display: flex; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--olive-deep); color: rgba(255,255,255,.78); padding: 26px 0 28px; font-size: .8rem; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__fine { margin-top: 14px; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer__fine a:hover { color: var(--gold); }
.social { display: flex; gap: 8px; }
.social a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, color .2s; }
.social a:hover { background: var(--gold); color: var(--olive-deep); }
.social svg { width: 15px; height: 15px; fill: currentColor; }
.social a[aria-label="Instagram"] svg { fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Floating WhatsApp ("Chat with us") ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px 10px 12px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 600; font-size: .88rem;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.35); transition: transform .25s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-2px); }

.mobile-bar { display: none; }

/* ---------- Modal + form ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,20,9,.6); opacity: 0; transition: opacity .3s; }
.modal__dialog {
  position: relative; width: min(880px, 100%); max-height: calc(100dvh - 40px); overflow: auto;
  display: grid; grid-template-columns: .8fr 1.2fr; background: #fff; border-radius: var(--r);
  opacity: 0; transform: translateY(20px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.modal.is-open { visibility: visible; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
body.modal-open { overflow: hidden; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sand); color: var(--olive); display: grid; place-items: center; }
.modal__side { position: relative; min-height: 100%; }
.modal__side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,26,12,.92) 15%, rgba(20,26,12,.15) 70%); }
.modal__side-text { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 26px; color: #fff; display: grid; gap: 14px; }
.modal__side-text img { border-radius: 6px; }
.modal__side-text ul { display: grid; gap: 6px; font-size: .88rem; }
.modal__side-text li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }
.modal__body { padding: 34px 32px 26px; }
.modal__body h2 { font-size: 1.6rem; padding-right: 36px; }
.modal__sub { color: var(--muted); font-size: .9rem; margin: 6px 0 20px; }

.lead-form { display: grid; gap: 14px; }
.field-group { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .phone-input {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--r);
  padding: 0 12px; font: inherit; font-size: .92rem; color: var(--ink); background: #fff; transition: border-color .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232E3E1F' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.field input:focus, .field select:focus, .phone-input:focus-within { outline: none; border-color: var(--olive); }
.phone-input { display: flex; align-items: center; padding: 0; overflow: hidden; }
.phone-input span { padding: 0 10px; height: 100%; display: grid; place-items: center; background: var(--sand); color: var(--olive); font-weight: 600; border-right: 1px solid var(--line); }
.phone-input input { border: 0; height: 100%; min-width: 0; }
.field.has-error input, .field.has-error select, .field.has-error .phone-input { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: .74rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: .84rem; font-weight: 500; color: var(--ink); transition: all .2s; }
.chip:hover { border-color: var(--olive); }
.chip.is-active { background: var(--olive); border-color: var(--olive); color: #fff; }
.check { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--text); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--olive); }
.form-note { font-size: .72rem; color: var(--muted); text-align: center; }
.thanks { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 20px 0; }
.thanks__ic { width: 60px; height: 60px; border-radius: 50%; background: var(--sand); color: var(--olive); display: grid; place-items: center; }
.thanks__ic .ic { width: 28px; height: 28px; stroke-width: 2.6; }
.thanks h3 { font-size: 1.5rem; }
.thanks p { color: var(--muted); margin-bottom: 8px; }

/* ---------- Reveal on scroll ---------- */
.reveal:not(.is-in) { opacity: 0; }
.reveal.is-in { animation: rise .7s var(--ease) backwards; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .container { width: min(1280px, 100% - 64px); }
  .split__text { padding: 40px; }
}

@media (max-width: 960px) {
  .carousel__track { grid-auto-columns: calc((100% - 2 * 16px) / 2.6); gap: 16px; }
  .carousel__track--offer, .carousel__track--loc, .carousel__track--quotes { grid-auto-columns: calc((100% - 16px) / 1.8); }
  .estimate__grid { grid-template-columns: 1fr; gap: 14px; max-width: 560px; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 360px; margin-inline: auto; text-align: left; }
  .steps::before { top: 10px; bottom: 30px; left: 25px; right: auto; border-top: 0; border-left: 1px dashed #b9b19f; }
  .steps li { grid-template-columns: 50px 1fr; justify-items: start; column-gap: 18px; row-gap: 0; padding: 0 0 22px; }
  .steps__ic { grid-row: span 2; margin: 0; }
  .steps strong { align-self: end; }
  .split { grid-template-columns: 1fr; }
  .split__img { min-height: 240px; height: 260px; }
  .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder__img { width: 260px; grid-row: 1; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .container { width: calc(100% - 32px); }
  .brand img { width: 34px; height: 34px; }
  .brand__text strong { font-size: 1.05rem; }
  .brand__text small { font-size: .52rem; letter-spacing: .34em; }
  .header__inner > .btn { display: none; }
  .switch--sm .switch__btn { padding: 7px 10px; font-size: .68rem; }
  .switch--sm .switch__btn .ic { display: none; }

  .hero { min-height: 560px; }
  .hero__inner { padding: 80px 0 60px; gap: 22px; }
  .hero h1 { font-size: 2rem; }
  .switch--lg { width: 100%; }
  .switch--lg .switch__btn { padding: 12px 8px; font-size: .84rem; }

  .usp { padding: 20px 0; }
  .usp__grid { gap: 8px; }
  .usp__box { padding: 14px 6px; }
  .usp__box strong { font-size: 1rem; }
  .usp__box span { font-size: .56rem; letter-spacing: .1em; }

  .trust { padding: 44px 0; }
  .trust__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 10px; }

  .sec { padding: 52px 0; }
  .sec--tight { padding: 16px 0; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .carousel__track { grid-auto-columns: 72%; gap: 12px; }
  .carousel__track--offer, .carousel__track--loc, .carousel__track--quotes { grid-auto-columns: 86%; }
  .carousel__foot { flex-direction: column; align-items: flex-start; }
  .carousel__foot--end { align-items: flex-end; }
  .tile__name { font-size: 1.15rem; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logos span { height: 64px; padding: 10px; }
  .logos img { max-height: 36px; }
  .ecard { grid-template-columns: 48px 1fr; padding: 20px 18px; }
  .ecard__ic { width: 48px; height: 48px; }
  .ecard h3 { font-size: 1.25rem; }
  .split__text { padding: 28px 22px; }
  .founder__stats { gap: 26px; }
  .talk__btns .btn { flex: 1; max-width: 170px; }
  .footer { padding-bottom: 90px; }
  .footer__row { flex-direction: column; align-items: flex-start; }

  .modal { padding: 0; align-items: end; }
  .modal__dialog { grid-template-columns: 1fr; max-height: 94dvh; transform: translateY(100%); border-radius: 12px 12px 0 0; }
  .modal__side { display: none; }
  .modal__body { padding: 28px 18px 22px; }
  .modal__body h2 { font-size: 1.35rem; }
  .field-row { grid-template-columns: 1fr; }

  .mobile-bar {
    display: grid; grid-template-columns: auto 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar__call { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 48px; border: 1px solid var(--olive); border-radius: var(--r); color: var(--olive); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-bar__cta { height: 48px; border: 0; border-radius: var(--r); background: var(--olive); color: #fff; font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
  .wa-float { bottom: 82px; right: 14px; padding: 12px; }
  .wa-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal:not(.is-in) { opacity: 1; }
}
