/* Akram Carpentry: landing page styles
   Tokens -> base -> layout -> components -> sections -> utilities
   Mobile-first; breakpoints at 640px, 900px and 1100px. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"),
       url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------ */
:root {
  /* colour */
  --ink:        #1f2230;   /* page background, charcoal */
  --ink-deep:   #171923;   /* stat bar, footer, floating card */
  --ink-raised: #282c3c;   /* inputs, accordion, panels */
  --rule:       #3a3f52;   /* dividers on dark */
  --gold:       #c9a46a;   /* wood accent, primary action */
  --gold-hi:    #dcbd8a;   /* gold hover */
  --gold-ink:   #1d1810;   /* text on gold */
  --white:      #ffffff;
  --muted:      #b8bbc7;   /* secondary text, 8.3:1 on --ink */
  --wa:         #25d366;
  --wa-hi:      #43e07f;
  --wa-ink:     #062e17;

  /* type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wide: 118%;            /* display width */
  --step--1: 0.875rem;
  --step-0:  1rem;
  --step-1:  1.125rem;
  --step-2:  clamp(1.3rem, 1.1rem + 0.9vw, 1.6rem);
  --step-3:  clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  --step-4:  clamp(2.15rem, 1.4rem + 3.6vw, 4.1rem);

  /* space and shape */
  --gutter: 20px;
  --wrap: 1200px;
  --radius-s: 6px;
  --radius-m: 10px;
  --header-h: 64px;
  --bar-h: 64px;
}

/* ------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 400 var(--step-0)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.08; font-stretch: var(--wide); letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--gold-ink); }

.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--solid { fill: currentColor; stroke: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--gold-ink); font-weight: 700; border-radius: var(--radius-s); text-decoration: none; }
.skip-link:focus { top: 10px; }

/* ------------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
.section--deep { background: var(--ink-deep); }

.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.section-head p { color: var(--muted); font-size: var(--step-1); max-width: 58ch; }

@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 76px; }
  body { padding-bottom: 0; }
  .section { padding-block: 104px; }
  .section-head--split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
  .section-head--split p { justify-self: end; }
}

/* ------------------------------------------------------------------
   4. Components
   ------------------------------------------------------------------ */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 24px;
  font: 700 var(--step-0)/1.1 var(--font); letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--radius-s);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--wa-hi); }
.btn--line { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--dark { background: var(--ink-deep); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn--lg { min-height: 60px; padding: 16px 28px; font-size: var(--step-1); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.actions .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .actions .btn { flex: 0 0 auto; } }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo__name { font-weight: 800; font-stretch: 125%; font-size: 1.05rem; line-height: 1; letter-spacing: 0.01em; }
.logo__sub { display: block; margin-top: 3px; font-size: 0.72rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; }

/* ------------------------------------------------------------------
   5. Sections
   ------------------------------------------------------------------ */

/* 5.1 Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 25, 35, .94);
  border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.site-nav { display: none; }
.header-contact { display: flex; align-items: center; gap: 8px; }
.header-contact .btn { min-height: 44px; padding: 10px 14px; font-size: var(--step--1); }
.header-phone { display: none; }
.header-contact .btn-label { display: none; }

@media (min-width: 560px) { .header-contact .btn-label { display: inline; } }
@media (min-width: 1100px) {
  .site-nav { display: flex; gap: 28px; }
  .site-nav a { position: relative; padding-block: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--muted); transition: color .15s; }
  .site-nav a:hover { color: var(--white); }
  .site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
  .site-nav a:hover::after { transform: scaleX(1); }
  .header-phone { display: grid; text-align: right; text-decoration: none; line-height: 1.15; margin-right: 8px; }
  .header-phone small { font-size: 0.8rem; color: var(--muted); }
  .header-phone strong { font-size: 1.25rem; font-stretch: 112%; letter-spacing: 0.01em; }
  .header-phone:hover strong { color: var(--gold-hi); }
  .header-contact .btn--gold { display: none; }
  .header-contact .btn { min-height: 48px; padding: 12px 18px; font-size: var(--step-0); }
}

/* 5.2 Hero: text left, framed photo right on a gold panel */
.hero { position: relative; overflow: hidden; padding-block: 48px 56px; }
.hero__grid { display: grid; gap: 48px; }
.hero__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--gold); font-weight: 700; font-size: var(--step--1); letter-spacing: 0.02em; }
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.hero h1 { font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.025em; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { margin-top: 24px; max-width: 52ch; color: var(--muted); font-size: var(--step-1); line-height: 1.65; }
.hero .actions { margin-top: 32px; }
.hero__proof { display: grid; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule); }
.hero__proof li { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.hero__proof .icon { color: var(--gold); width: 22px; height: 22px; }

.hero__media { position: relative; }
.hero__photo { position: relative; z-index: 1; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-raised); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__card {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  margin: -44px 16px 0; padding: 18px 22px;
  background: var(--ink-deep); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  text-decoration: none; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.hero__card .icon { width: 30px; height: 30px; color: var(--gold); }
.hero__card small { display: block; color: var(--muted); font-size: var(--step--1); }
.hero__card strong { display: block; font-size: clamp(1.35rem, 1rem + 1.6vw, 1.9rem); font-stretch: 115%; letter-spacing: 0.01em; line-height: 1.1; }
.hero__card:hover strong { color: var(--gold-hi); }

@media (min-width: 640px) {
  .hero__proof { grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; }
}
@media (min-width: 900px) {
  .hero { padding-block: 88px; }
  .hero::before {               /* the gold panel behind the photo */
    content: ""; position: absolute; top: 0; bottom: 0; right: 0;
    width: max(27vw, calc((100vw - var(--wrap)) / 2 + 300px));
    background: var(--gold);
  }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
  .hero__photo { aspect-ratio: 4 / 5; }
  .hero__card { position: absolute; left: -64px; bottom: 56px; margin: 0; }
}

/* 5.3 Stat bar */
.stats { background: var(--ink-deep); border-top: 1px solid var(--rule); }
.stats__list { display: grid; grid-template-columns: 1fr 1fr; }
.stats__item { display: flex; align-items: center; gap: 14px; padding: 22px 12px 22px 0; color: var(--muted); font-size: var(--step--1); line-height: 1.35; }
.stats__item:nth-child(odd) { padding-right: 16px; }
.stats__item:nth-child(n+3) { border-top: 1px solid var(--rule); }
.stats__item b { color: var(--white); font-weight: 700; }
.stats__item .icon { width: 30px; height: 30px; color: var(--gold); }
.stats__num { font-size: 2.6rem; line-height: 1; font-weight: 800; font-stretch: 125%; color: var(--gold); }
@media (min-width: 900px) {
  .stats__list { grid-template-columns: repeat(4, 1fr); }
  .stats__item { padding: 30px 24px; font-size: var(--step-0); border-top: 0 !important; }
  .stats__item:first-child { padding-left: 0; }
  .stats__item + .stats__item { border-left: 1px solid var(--rule); }
  .stats__num { font-size: 3.2rem; }
}

/* 5.4 Services */
.services { display: grid; border-top: 1px solid var(--rule); }
.service { display: grid; grid-template-columns: 44px 1fr; align-content: start; gap: 6px 18px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.service .icon { grid-row: span 3; width: 40px; height: 40px; color: var(--gold); stroke-width: 1.5; }
.service p { color: var(--muted); }
.service__link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding-block: 4px; color: var(--gold); font-weight: 700; text-decoration: none; }
.service__link .icon { grid-row: auto; width: 18px; height: 18px; stroke-width: 2; }
.service__link:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 700px) {
  .services { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
@media (min-width: 1100px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .service { grid-template-columns: 1fr; padding: 32px 0 30px; }
  .service .icon { grid-row: auto; margin-bottom: 10px; }
}

/* 5.5 Why choose us */
.why { display: grid; gap: 48px; }
.why__media { position: relative; padding: 0 16px 16px 0; }
.why__media::before { content: ""; position: absolute; inset: 16px 0 0 16px; background: var(--gold); border-radius: var(--radius-s); }
.why__media img { position: relative; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius-s); }
.why__list { display: grid; gap: 26px; margin-top: 32px; }
.why__list li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; }
.why__list .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--gold); margin-top: 1px; }
.why__list p { color: var(--muted); }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }
@media (min-width: 900px) {
  .why { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
  .why__media { padding: 0 24px 24px 0; }
  .why__media::before { inset: 24px 0 0 24px; }
}

/* 5.6 How it works: a real sequence, so it is numbered */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; padding-bottom: 32px; counter-increment: step; }
.step::before {
  content: counter(step); grid-row: span 2;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold); font-weight: 800; font-size: 1.4rem; font-stretch: 125%;
  background: var(--ink);
  position: relative; z-index: 1;
}
.step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--rule); }
.step h3 { align-self: end; font-size: var(--step-2); }
.step p { color: var(--muted); max-width: 40ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { grid-template-columns: 1fr; align-content: start; padding-bottom: 0; }
  .step h3 { align-self: auto; }
  .step::before { grid-row: auto; margin-bottom: 18px; }
  .step:not(:last-child)::after { left: 72px; right: -24px; top: 27px; bottom: auto; width: auto; height: 2px; }
}

/* 5.7 Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gallery__item { margin: 0; min-width: 0; }
.gallery__item:first-child { grid-column: span 2; }
.gallery__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius-s); overflow: hidden; background: var(--ink-raised); cursor: zoom-in; color: var(--white); font: inherit; aspect-ratio: 4 / 3; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__btn figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px; text-align: left; font-weight: 700; font-size: var(--step--1); background: linear-gradient(transparent, rgba(10,11,16,.82)); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery__item:first-child .gallery__btn { aspect-ratio: auto; }
  .gallery__item:first-child .gallery__btn img { position: absolute; inset: 0; }
  .gallery__btn figcaption { padding: 36px 16px 14px; font-size: var(--step-0); }
}

.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(12,13,19,.95); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox__img { max-width: min(92vw, 1200px); max-height: 78vh; object-fit: contain; border-radius: var(--radius-s); }
.lightbox__cap { margin-top: 14px; padding-inline: 64px; font-weight: 600; text-align: center; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: var(--gold); color: var(--gold-ink); }
.lightbox__btn .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* 5.8 Reviews (hidden until real reviews are added in main.js) */
.reviews { display: grid; gap: 16px; }
.review { margin: 0; padding: 28px 26px; background: var(--ink-raised); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius-s) var(--radius-s); }
.review__stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.review__stars .icon { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 18px; font-size: var(--step-1); line-height: 1.55; }
.review figcaption { font-weight: 700; }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: var(--step--1); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* 5.9 Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--rule); border-radius: 999px; font-weight: 600; }
.areas .icon { width: 16px; height: 16px; color: var(--gold); }
.areas-note { margin-top: 28px; font-size: var(--step-1); }
.areas-note a { color: var(--gold); font-weight: 700; text-underline-offset: 4px; }

/* 5.10 FAQ */
.faq-layout { display: grid; gap: 40px; }
.faq-aside p { color: var(--muted); margin-top: 14px; max-width: 42ch; }
.faq-aside .actions { margin-top: 28px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--ink-raised); border-radius: var(--radius-s); border: 1px solid transparent; }
.faq details[open] { border-color: var(--rule); }
.faq summary { position: relative; padding: 20px 56px 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: var(--step-1); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq__answer { padding: 0 22px 22px; color: var(--muted); max-width: 64ch; }
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* 5.11 Map */
.map { display: grid; gap: 0; border-radius: var(--radius-s); overflow: hidden; background: var(--ink-raised); }
.map__frame { min-height: 320px; background: var(--ink-raised); }
.map__frame iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.map__info { padding: 28px 24px; display: grid; gap: 18px; align-content: start; }
.map__info h3 { font-size: var(--step-2); }
.map__lines { display: grid; gap: 12px; }
.map__lines li { display: flex; gap: 12px; align-items: flex-start; }
.map__lines .icon { color: var(--gold); margin-top: 3px; }
.map__lines a { text-decoration: none; font-weight: 600; }
.map__lines a:hover { color: var(--gold-hi); }
.map__info .actions { margin-top: 8px; }
.map__info .actions .btn { flex: 1 1 100%; }
@media (min-width: 900px) {
  .map { grid-template-columns: 1.6fr 1fr; }
  .map__frame, .map__frame iframe { min-height: 460px; }
  .map__info { padding: 40px 36px; align-content: center; }
}

/* 5.12 Contact */
.contact { display: grid; gap: 40px; }
.contact__intro p { color: var(--muted); margin-top: 14px; max-width: 46ch; }
.contact__intro .actions { flex-direction: column; align-items: stretch; margin-top: 28px; }
.contact__intro .actions .btn { flex: none; }
.form { display: grid; gap: 18px; padding: 26px 22px; background: var(--ink-raised); border-radius: var(--radius-s); }
.form__title { font-size: var(--step-2); }
.form__hint { color: var(--muted); font-size: var(--step--1); margin-top: -8px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: var(--step--1); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  font: 500 var(--step-0)/1.4 var(--font); color: var(--white);
  background: var(--ink); border: 1.5px solid var(--rule); border-radius: var(--radius-s);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a46a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,106,.25); }
.form .btn { width: 100%; }
.field :is(input, select, textarea):user-invalid { border-color: #e5675a; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; padding: 34px 32px; }
  .form > :is(.form__title, .form__hint, .field--full, .btn) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .contact { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
}

/* 5.13 Urgency band */
.urgent { background: var(--gold); color: var(--gold-ink); padding-block: 56px; }
.urgent__inner { display: grid; gap: 24px; }
.urgent h2 { font-size: var(--step-3); }
.urgent p { font-size: var(--step-1); margin-top: 10px; max-width: 48ch; }
.urgent .actions { margin-top: 0; }
@media (min-width: 900px) {
  .urgent { padding-block: 64px; }
  .urgent__inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
}

/* 5.14 Footer */
.site-footer { background: var(--ink-deep); color: var(--muted); padding-block: 56px 28px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 36px; }
.site-footer h2 { font-size: var(--step-0); font-stretch: 112%; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.footer-list { display: grid; gap: 9px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--gold-hi); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 3px; }
.footer-brand .logo { color: var(--white); margin-bottom: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: var(--step--1); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; } }

/* 5.15 Mobile call bar */
.call-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom); background: var(--ink-deep);
  box-shadow: 0 -10px 30px rgba(0,0,0,.4);
  transition: transform .35s cubic-bezier(.16,1,.3,1), visibility .35s;
}
/* Hidden while the hero's own Call/WhatsApp buttons are on screen (set in main.js) */
.call-bar[data-hidden] { transform: translateY(110%); visibility: hidden; box-shadow: none; }
.call-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bar-h); font-weight: 800; font-size: var(--step-1); text-decoration: none; }
.call-bar .icon { width: 22px; height: 22px; }
.call-bar__call { background: var(--gold); color: var(--gold-ink); }
.call-bar__wa { background: var(--wa); color: var(--wa-ink); }
@media (min-width: 900px) { .call-bar { display: none; } }

/* ------------------------------------------------------------------
   6. Preferences
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  .site-header, .call-bar, .map, .form { display: none; }
  body { background: #fff; color: #000; padding: 0; }
}

/* ------------------------------------------------------------------
   7. Real-project media: hero slideshow, previous-work page
   ------------------------------------------------------------------ */
.slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s cubic-bezier(.16,1,.3,1); }
.slides img.is-active { opacity: 1; }
.slides__toggle { position: absolute; z-index: 2; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(12,13,19,.55); cursor: pointer; }
.slides__toggle span { width: 12px; height: 14px; border-inline: 4px solid var(--white); }
.slides__toggle[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 13px solid var(--white); border-block: 8px solid transparent; margin-left: 3px; }
.slides__toggle:hover { background: var(--gold); }
.slides__toggle:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

.gallery-more { margin-top: 28px; text-align: center; }

.page-hero h1 { font-size: var(--step-4); line-height: 1.05; letter-spacing: -0.025em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 44px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: transparent; color: var(--white); font: inherit; font-weight: 600; font-size: var(--step--1); cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.gallery--all .gallery__item:first-child { grid-column: auto; grid-row: auto; }
.gallery--all .gallery__item:first-child .gallery__btn { aspect-ratio: 4 / 3; }
.gallery--all .gallery__item:first-child .gallery__btn img { position: static; }
.gallery__item[hidden] { display: none; }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.video { margin: 0; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 474 / 850; object-fit: cover; border-radius: var(--radius-s); background: var(--ink-raised); }
.video figcaption { margin-top: 10px; font-weight: 600; }
