/* Fasad Pro · fasadpro.ge */
:root {
  --bg: #15181d;
  --bg-2: #1a1e24;
  --panel: #20252c;
  --panel-2: #2d333c;
  --line: rgba(184, 192, 201, 0.14);
  --line-2: rgba(184, 192, 201, 0.26);
  --text: #eef1f4;
  --muted: #9aa3ad;
  --copper: #e07a34;
  --copper-2: #f29a55;
  --copper-ink: #15181d;
  --rail: #b8c0c9;
  --bad: #ff8f7a;

  --f-head: "Montserrat", "Noto Sans Georgian", system-ui, sans-serif;
  --f-body: "Noto Sans Georgian", "Montserrat", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --r: 14px;
  --gutter: 20px;
  --header: 64px;

  color-scheme: dark;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--copper); color: var(--copper-ink); }
:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--copper); color: var(--copper-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 24, 29, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.top[data-scrolled] { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: var(--header); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 30px; height: 30px; flex: none; }
.logo__word { font: 900 19px/1 "Montserrat", sans-serif; letter-spacing: 0.06em; }
.logo__word b { color: var(--copper); font-weight: 900; }
.nav { display: none; gap: 4px; margin-inline: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 150ms ease, background-color 150ms ease; }
.top__end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang {
  display: inline-grid; place-items: center; min-width: 44px; height: 40px; padding-inline: 10px;
  border: 1px solid var(--line-2); border-radius: 10px;
  font: 700 13px/1 "Montserrat", sans-serif; letter-spacing: 0.08em; text-decoration: none; color: var(--rail);
  transition: color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out);
}
.lang:active { transform: scale(0.96); }
@media (min-width: 980px) { .nav { display: flex; } .top__end { margin-left: 0; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15.5px; line-height: 1.2; text-decoration: none; cursor: pointer;
  user-select: none; -webkit-user-select: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 220ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 260ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--wa { background: var(--copper); color: var(--copper-ink); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 14px; border-radius: 10px; font-size: 14px; gap: 8px; }
.btn--sm .ico { width: 18px; height: 18px; }
.btn--block { width: 100%; }
@media (max-width: 420px) { .top .btn--sm span { display: none; } .top .btn--sm { padding: 0 11px; } }

@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
  .lang:hover { color: var(--text); border-color: var(--rail); }
  .btn--wa:hover { background: var(--copper-2); }
  .btn--ghost:hover { border-color: var(--rail); }
}

/* ---------- type ---------- */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--copper-2); font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em;
}
.eyebrow::before, .kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.75rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; margin-top: 18px; }
h1 em { font-style: normal; color: var(--copper); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem); font-weight: 900; line-height: 1.18; margin-top: 12px; }
h3 { font-size: 17px; font-weight: 700; line-height: 1.35; font-family: var(--f-body); }
.lead { color: var(--muted); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); margin-top: 16px; max-width: 56ch; }
:lang(ka) h1, :lang(ka) h2 { letter-spacing: 0; line-height: 1.22; }
:lang(ka) h1 { font-size: clamp(1.85rem, 1.1rem + 2.9vw, 3.25rem); }

/* ---------- hero ---------- */
.hero { padding: 28px 0 56px; position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 30% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 20%, rgba(224, 122, 52, 0.13), transparent 70%),
              radial-gradient(50% 60% at 0% 0%, rgba(45, 51, 60, 0.7), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hint { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 46ch; }
.hero__media { margin: 0; }
.hero__media .cmp__frame { aspect-ratio: 4 / 5; max-height: min(78vh, 660px); margin-inline: auto; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
}

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.facts li { padding: 18px 12px 0 18px; position: relative; color: var(--rail); font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.facts li::before { content: ""; position: absolute; left: 0; top: 25px; width: 8px; height: 8px; border-radius: 2px; background: var(--copper); }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
#why { padding-top: 24px; }
.sec--panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 40px; }
@media (min-width: 900px) { .sec { padding: 112px 0; } .head { margin-bottom: 56px; } }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(21, 24, 29, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--text);
  pointer-events: none;
}

/* why */
.why { display: grid; gap: 40px; align-items: start; }
.why__media { position: relative; border-radius: var(--r); overflow: hidden; max-width: 460px; background: var(--panel); }
.why__media img { width: 100%; aspect-ratio: 8 / 11; object-fit: cover; }
.why__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 13px; color: var(--rail); background: linear-gradient(transparent, rgba(21, 24, 29, 0.92)); }
.why__list { display: grid; gap: 4px; margin-top: 32px; }
.why__list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.why__n { font: 700 13px/1.9 "Montserrat", sans-serif; color: var(--copper); min-width: 22px; }
.why__list p { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (min-width: 700px) { .why__list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1000px) { .why { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } .why__media { position: sticky; top: calc(var(--header) + 24px); } }

/* services */
.services { display: grid; gap: 14px; }
.card {
  position: relative; padding: 26px 24px 28px; border-radius: var(--r);
  background: var(--panel); border: 1px solid var(--line);
}
.card__n { display: block; font: 900 14px/1 "Montserrat", sans-serif; color: var(--copper); letter-spacing: 0.06em; margin-bottom: 36px; }
.card p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.card::after { content: ""; position: absolute; left: 24px; top: 48px; width: 28px; height: 2px; background: var(--line-2); }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(4, 1fr); } }

/* ---------- compare (on site / visualisation) ---------- */
.cmp__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--panel); isolation: isolate; }
.cmp__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 380ms ease, filter 380ms ease, transform 600ms var(--ease-out);
}
.cmp__img--viz { opacity: 0; transform: scale(1.03); }
.cmp[data-state="viz"] .cmp__img--viz { opacity: 1; transform: none; }
.cmp.is-switching .cmp__img { filter: blur(8px); }
.cmp .badge { transition: opacity 200ms ease; }
.cmp .badge--viz, .cmp[data-state="viz"] .badge--now { opacity: 0; }
.cmp[data-state="viz"] .badge--viz { opacity: 1; }
.cmp__frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 1; pointer-events: none; background: linear-gradient(transparent, rgba(21, 24, 29, 0.55)); }

.seg {
  position: absolute; left: 50%; bottom: 12px; z-index: 3; transform: translateX(-50%);
  display: grid; grid-template-columns: 1fr 1fr; padding: 4px; width: max-content; max-width: calc(100% - 24px);
  border-radius: 999px; background: rgba(21, 24, 29, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.seg__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--copper);
  transition: transform 260ms var(--ease-out);
}
.cmp[data-state="viz"] .seg__pill { transform: translateX(100%); }
.seg button {
  position: relative; z-index: 1; min-height: 34px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--rail);
  transition: color 200ms ease, transform 160ms var(--ease-out);
}
.seg button[aria-pressed="true"] { color: var(--copper-ink); }
.seg button:active { transform: scale(0.96); }

/* projects */
.projects { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.project__name { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--text); }
.project__name span { font: 700 12px/1 "Montserrat", sans-serif; color: var(--copper); }
.next {
  aspect-ratio: 4 / 5; padding: 28px; border-radius: var(--r);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%); border: 1px solid var(--line);
}
.next__icon .mark { width: 44px; height: 44px; margin-bottom: auto; }
.next__icon { margin-bottom: auto; }
.next h3 { font-size: 22px; font-weight: 900; }
.next p { color: var(--muted); font-size: 15px; }
.next .btn { align-self: flex-start; margin-top: 8px; }
.note { margin-top: 28px; color: var(--muted); font-size: 13.5px; max-width: 70ch; padding-left: 14px; border-left: 2px solid var(--copper); }

@media (max-width: 639px) {
  .projects {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .projects::-webkit-scrollbar { display: none; }
  .project { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 1040px) { .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* materials */
.mats { display: grid; gap: 40px; }
.mats__img { position: relative; margin: 32px 0 0; border-radius: var(--r); overflow: hidden; max-width: 420px; }
.mats__img img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.mats__list li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.mats__list li:last-child { border-bottom: 1px solid var(--line); }
.mats__list h3 { font-size: 18px; }
.mats__list p { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) {
  .mats { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
  .mats__list li { grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: baseline; padding: 26px 0; }
}

/* process */
.steps { display: grid; gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 30px 56px; }
.steps li::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps__n {
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2);
  font: 900 14px/1 "Montserrat", sans-serif; color: var(--copper-2);
}
.steps h3 { padding-top: 6px; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 46ch; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
  .steps li { padding: 56px 0 0; }
  .steps li::before { left: 48px; right: -12px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .steps li:nth-child(4)::before { display: none; }
}

/* faq */
.faq { display: grid; gap: 32px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-weight: 700; font-size: 17px; line-height: 1.4;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 8px; border: 1px solid var(--line-2); transition: transform 220ms var(--ease-out), background-color 200ms ease, border-color 200ms ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--copper-2); }
.faq__icon::after { transform: rotate(90deg); }
details[open] .faq__icon { transform: rotate(45deg); border-color: var(--copper); }
.faq__list details p { color: var(--muted); padding: 0 48px 24px 0; max-width: 64ch; }
.faq__list details::details-content { height: 0; overflow: clip; transition: height 260ms var(--ease-out), content-visibility 260ms allow-discrete; }
.faq__list details[open]::details-content { height: auto; }
@media (min-width: 900px) { .faq { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }

/* contact */
.contact { display: grid; gap: 40px; align-items: start; }
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.direct a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; padding: 6px 0; }
.direct a .ico { color: var(--copper-2); }
.form { display: grid; gap: 18px; padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 500; color: var(--rail); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line-2); font-size: 16px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6f7781; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(224, 122, 52, 0.22); }
.field em { display: none; font-style: normal; font-size: 13px; color: var(--bad); }
.field.is-bad input { border-color: var(--bad); }
.field.is-bad em { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; color: var(--rail);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out);
}
.chip input:checked + span { background: rgba(224, 122, 52, 0.14); border-color: var(--copper); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--copper-2); outline-offset: 2px; }
.chip:active span { transform: scale(0.97); }
.form__note { font-size: 13px; color: var(--muted); text-align: center; margin-top: -4px; }
@media (min-width: 900px) { .contact { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } .form { padding: 32px; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); background: var(--bg-2); }
.foot__in { display: grid; gap: 28px; }
.foot__in p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 40ch; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: start; }
.foot__links a { color: var(--rail); text-decoration: none; font-size: 14.5px; padding: 4px 0; transition: color 150ms ease; }
.foot__base { margin-top: 36px; color: #8f98a2; font-size: 13px; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover, .direct a:hover { color: var(--copper-2); } }
@media (min-width: 900px) { .foot { padding-bottom: 48px; } .foot__in { grid-template-columns: 1fr auto; } }

/* mobile WhatsApp dock */
.dock {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 14px;
  background: var(--copper); color: var(--copper-ink); font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 300ms var(--ease-out), opacity 200ms ease;
}
.dock:active { transform: scale(0.98); }
.dock[data-hidden] { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- reveal on scroll (only with JS) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* hero: CSS-only entrance so first paint (LCP) never waits for JS */
.js .hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: heroIn 700ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
.js .hero .hero__media[data-reveal] { animation: heroMedia 900ms var(--ease-out) both; animation-delay: 120ms; }
@keyframes heroIn { from { opacity: 0.001; transform: translateY(16px); } }
@keyframes heroMedia { from { transform: translateY(16px) scale(0.98); clip-path: inset(6% 0 0 0 round var(--r)); } to { clip-path: inset(0 0 0 0 round var(--r)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; clip-path: none; transition: opacity 300ms ease; }
  .js .hero [data-reveal], .js .hero .hero__media[data-reveal] { animation: none; opacity: 1; }
  .cmp__img, .cmp__img--viz { transform: none !important; filter: none !important; transition: opacity 250ms ease; }
  .seg__pill, .faq__icon, .dock { transition-duration: 0ms; }
  .faq__list details::details-content { transition: none; }
}

/* ---------- hover & active states (pointer devices only) ---------- */
.nav { position: relative; }
.nav a { position: relative; z-index: 1; }
.nav__pill {
  position: absolute; left: 0; top: 50%; height: 36px; margin-top: -18px; width: 0;
  border-radius: 8px; background: rgba(224, 122, 52, 0.13); box-shadow: inset 0 0 0 1px rgba(224, 122, 52, 0.38);
  opacity: 0; pointer-events: none;
  transition: transform 380ms var(--ease-out), width 380ms var(--ease-out), opacity 200ms ease;
}
.nav[data-active] .nav__pill { opacity: 1; }
.nav a[aria-current="true"] { color: var(--copper-2); }

.btn .ico { transition: transform 320ms var(--ease-out); }
.btn--wa::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.42) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--text); transform: scaleY(0); transform-origin: bottom;
  transition: transform 300ms var(--ease-out);
}
.card { transition: transform 300ms var(--ease-out), border-color 250ms ease, background-color 250ms ease; }
.card::after { transform-origin: left; transition: transform 350ms var(--ease-out), background-color 250ms ease; }
.project .cmp__frame { transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.next { transition: border-color 250ms ease, transform 300ms var(--ease-out); }
.steps__n { transition: background-color 200ms ease, color 200ms ease, transform 300ms var(--ease-out); }
.faq__list summary { transition: color 200ms ease; }
.faq__icon { transition: transform 520ms var(--ease-out), background-color 200ms ease, border-color 200ms ease; }
.chip span { transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .nav a:hover { background: none; }
  .btn--wa:hover { background: var(--copper-2); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(224, 122, 52, 0.75); }
  .btn--wa:hover::after { transform: translateX(120%); transition: transform 800ms var(--ease-out); }
  .btn:hover .ico { transform: rotate(-12deg) scale(1.12); }
  .btn--ghost:hover { color: var(--bg); border-color: var(--text); transform: translateY(-2px); }
  .btn--ghost:hover::before { transform: scaleY(1); }
  .lang:hover { color: var(--copper-2); border-color: var(--copper); transform: translateY(-1px); }

  .card:hover { transform: translateY(-4px); border-color: rgba(224, 122, 52, 0.45); background: #232931; }
  .card:hover::after { transform: scaleX(2.2); background: var(--copper); }
  .project:hover .cmp__frame { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8); }
  .next:hover { border-color: rgba(224, 122, 52, 0.5); }
  .seg button[aria-pressed="false"]:hover { color: var(--text); }
  .chip:hover span { border-color: var(--rail); color: var(--text); }
  .steps li:hover .steps__n { background: var(--copper); color: var(--copper-ink); transform: rotate(-6deg) scale(1.06); }

  .faq__list summary:hover { color: var(--copper-2); }
  .faq__list summary:hover .faq__icon { transform: rotate(180deg); border-color: var(--copper); background: rgba(224, 122, 52, 0.12); }
  .faq__list details[open] summary:hover .faq__icon { transform: rotate(225deg); }
}
/* press always wins over hover lift */
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn--wa:active { box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .lang:hover, .card:hover, .project:hover .cmp__frame, .steps li:hover .steps__n { transform: none !important; }
  .btn:hover .ico { transform: none; }
  .btn--wa::after { display: none; }
  .faq__list summary:hover .faq__icon { transform: none; }
  .faq__list details[open] summary:hover .faq__icon, details[open] .faq__icon { transform: rotate(45deg); }
  .nav__pill { transition: opacity 200ms ease; }
}

/* ---------- footer: contact & social chips with icons ---------- */
.foot__side { display: grid; gap: 14px; align-content: start; }
.foot__label { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social li:first-child { grid-column: 1 / -1; }
.social__a {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 7px 16px 7px 7px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 700;
  transition: transform 220ms var(--ease-out), border-color 200ms ease, background-color 200ms ease, box-shadow 260ms ease;
}
.social__i {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px;
  background: rgba(224, 122, 52, 0.12); border: 1px solid rgba(224, 122, 52, 0.28); color: var(--copper-2);
  transition: transform 320ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.social__i .ico { width: 20px; height: 20px; }
.social__a--phone { font-family: "Montserrat", sans-serif; font-size: 16px; letter-spacing: 0.02em; }
.social__a--phone .social__i { background: var(--copper); border-color: var(--copper); color: var(--copper-ink); }
.social__a:active { transform: scale(0.97); }
.foot__lang { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 0; color: var(--rail); font-size: 14px; text-decoration: none; transition: color 150ms ease; }
.foot__lang .ico { width: 18px; height: 18px; color: var(--copper-2); }
@media (min-width: 640px) { .social { grid-template-columns: repeat(3, auto); } .social li:first-child { grid-column: 1 / -1; justify-self: start; } }
@media (min-width: 900px) { .foot__side { justify-items: start; } .social { grid-template-columns: repeat(4, auto); } }
@media (hover: hover) and (pointer: fine) {
  .social__a:hover { transform: translateY(-2px); border-color: rgba(224, 122, 52, 0.55); background: #232931; box-shadow: 0 12px 28px -14px rgba(224, 122, 52, 0.55); }
  .social__a:hover .social__i { background: var(--copper); border-color: var(--copper); color: var(--copper-ink); transform: rotate(-8deg) scale(1.06); }
  .social__a--phone:hover .social__i { background: var(--copper-2); }
  .foot__lang:hover { color: var(--copper-2); }
}
@media (prefers-reduced-motion: reduce) { .social__a:hover, .social__a:hover .social__i { transform: none; } }
.foot__base .privacy-link { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(184, 192, 201, 0.4); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .foot__base .privacy-link:hover { color: var(--copper-2); } }
