/* =========================================================================
   Obklady Kučera — precizní obklady a dlažby, Karlovy Vary
   Art direction: cool stone neutrals + warm clay accent, precise geometric grid
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Cool stone neutrals */
  --ink:        #17191d;
  --stone-900:  #1e2127;
  --stone-800:  #2b2f37;
  --stone-700:  #3b4049;
  --stone-600:  #565c66;
  --stone-500:  #737a85;
  --stone-400:  #9aa1ab;
  --stone-300:  #c4c9cf;
  --stone-200:  #dfe2e6;
  --stone-150:  #e9ebee;
  --stone-100:  #f1f2f4;
  --stone-50:   #f7f8f9;
  --white:      #ffffff;

  /* Warm clay accent (ceramic reference) */
  --clay:       #b85c38;
  --clay-deep:  #9c4a2b;
  --clay-soft:  #cf7a56;
  --clay-tint:  rgba(184, 92, 56, 0.10);
  --clay-line:  rgba(184, 92, 56, 0.28);

  /* Semantic */
  --bg:         var(--white);
  --bg-alt:     var(--stone-50);
  --text:       var(--stone-800);
  --text-soft:  var(--stone-600);
  --heading:    var(--ink);
  --line:       var(--stone-200);
  --line-soft:  var(--stone-150);

  /* Type */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --radius-lg: 8px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  --shadow-sm: 0 1px 2px rgba(23,25,29,0.04), 0 2px 8px rgba(23,25,29,0.05);
  --shadow-md: 0 10px 30px -12px rgba(23,25,29,0.18);
  --shadow-lg: 0 30px 70px -30px rgba(23,25,29,0.32);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
p  { color: var(--text-soft); }
strong { color: var(--heading); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
section[id] { scroll-margin-top: 88px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--stone-300); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}
.kicker::before {
  content: ""; width: 26px; height: 1px; background: var(--clay-line);
}
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; font-size: 1.06rem; max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--ink); --_fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--_bg); color: var(--_fg);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translateX(4px); }
.btn--accent { --_bg: var(--clay); --_fg: var(--white); }
.btn--accent:hover { background: var(--clay-deep); }
.btn--ghost {
  --_bg: transparent; --_fg: var(--heading);
  border: 1px solid var(--stone-300);
}
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--light { --_bg: var(--white); --_fg: var(--ink); }
.btn--block { width: 100%; }

/* =========================================================================
   Header / Nav
   ========================================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 130;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; transition: height 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header.is-scrolled .header__inner { height: 68px; }

.brand { display: flex; align-items: center; gap: 0.7rem; z-index: 2; }
.brand__mark {
  width: 34px; height: 34px; flex: none;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 2px; padding: 3px;
  border: 1.5px solid currentColor; border-radius: 3px;
  color: var(--ink);
}
.brand__mark span { background: currentColor; border-radius: 1px; opacity: 0.9; }
.brand__mark span:nth-child(2) { background: var(--clay); opacity: 1; }
.brand__text { line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--heading); letter-spacing: -0.02em; }
.brand__tag  { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-500); font-weight: 600; }

/* header colors when hero is dark (top of page) */
.header:not(.is-scrolled) .brand__name { color: var(--white); }
.header:not(.is-scrolled) .brand__mark { color: var(--white); }
.header:not(.is-scrolled) .brand__tag { color: rgba(255,255,255,0.7); }
.header:not(.is-scrolled) .nav__link { color: rgba(255,255,255,0.82); }
.header:not(.is-scrolled) .nav__link:hover { color: var(--white); }
.header:not(.is-scrolled) .nav__phone { color: var(--white); }
.header:not(.is-scrolled) .burger span { background: var(--white); }

/* Menu open: header sits above the white overlay, so force dark marks */
.header.is-menu-open .brand__name,
.header.is-menu-open .brand__mark { color: var(--ink); }
.header.is-menu-open .brand__tag { color: var(--stone-500); }
.header.is-menu-open .burger span { background: var(--ink); }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__list { display: flex; align-items: center; gap: 1.9rem; }
.nav__link {
  position: relative; font-size: 0.92rem; font-weight: 500; color: var(--text);
  padding-block: 0.4rem; transition: color 0.25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--clay); transition: width 0.3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 1.1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.92rem; color: var(--heading); }
.nav__phone svg { width: 16px; height: 16px; color: var(--clay); }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; position: relative; z-index: 120;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s; }
.burger.is-open span { background: var(--ink); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--white);
  padding: 6rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu__list a {
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem;
  color: var(--heading); padding-block: 0.55rem; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: baseline; gap: 0.8rem;
}
.mobile-menu__list a span { font-family: var(--font-body); font-size: 0.8rem; color: var(--clay); font-weight: 600; }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.4rem; }
.mobile-menu__foot a { font-weight: 600; color: var(--heading); }
.mobile-menu__foot span { color: var(--stone-500); font-size: 0.9rem; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  padding-top: 120px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,22,26,0.55) 0%, rgba(20,22,26,0.15) 35%, rgba(20,22,26,0.65) 100%),
    linear-gradient(90deg, rgba(20,22,26,0.6) 0%, rgba(20,22,26,0.05) 55%);
}
/* animated tile-grid overlay */
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  display: grid; opacity: 0.55;
  grid-template-columns: repeat(var(--cols, 8), 1fr);
  grid-template-rows: repeat(var(--rows, 5), 1fr);
}
.hero__grid i {
  border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.hero__grid i.lit::after {
  content: ""; position: absolute; inset: 0;
  background: var(--clay); opacity: 0; mix-blend-mode: overlay;
  animation: cellPulse 4.5s var(--ease) infinite;
}
@keyframes cellPulse { 0%,100%{opacity:0;} 50%{opacity:0.5;} }

.hero__content { position: relative; max-width: 60rem; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 1.6rem;
}
.hero__kicker::before { content:""; width: 34px; height: 1px; background: var(--clay); }
.hero h1 { color: var(--white); text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--clay-soft); }
.hero__lead {
  color: rgba(255,255,255,0.86); font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 38rem; margin-top: 1.6rem; line-height: 1.55;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.16);
}
.hero__meta div span { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--white); line-height: 1; }
.hero__meta div small { font-size: 0.82rem; color: rgba(255,255,255,0.7); letter-spacing: 0.02em; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(3rem,7vw,6rem);
  writing-mode: vertical-rl; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 1rem;
}
.hero__scroll::after { content:""; width: 1px; height: 54px; background: linear-gradient(rgba(255,255,255,0.6), transparent); animation: scrollLine 2.4s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{transform:scaleY(0.4);transform-origin:top;} 50%{transform:scaleY(1);} }
@media (max-width: 900px){ .hero__scroll{ display:none; } }

/* =========================================================================
   Reveal animation utility
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: 0.08s; }
.reveal[data-delay="2"]{ transition-delay: 0.16s; }
.reveal[data-delay="3"]{ transition-delay: 0.24s; }
.reveal[data-delay="4"]{ transition-delay: 0.32s; }

/* =========================================================================
   Services
   ========================================================================= */
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.service {
  background: var(--white); padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1rem;
  position: relative; transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  isolation: isolate;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--clay); transition: width 0.45s var(--ease); z-index: 1;
}
.service:hover { background: var(--stone-50); }
.service:hover::before { width: 100%; }
.service__icon {
  width: 52px; height: 52px; color: var(--clay);
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.service:hover .service__icon { border-color: var(--clay-line); transform: translateY(-3px); }
.service__icon svg { width: 26px; height: 26px; }
.service__num { position: absolute; top: 1.6rem; right: 1.8rem; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--stone-300); }
.service h3 { margin-top: 0.4rem; }
.service p { font-size: 0.95rem; }
.service__more { margin-top: auto; font-weight: 600; font-size: 0.88rem; color: var(--heading); display: inline-flex; align-items: center; gap: 0.4rem; }
.service__more svg { width: 15px; height: 15px; color: var(--clay); transition: transform 0.3s; }
.service:hover .service__more svg { transform: translateX(4px); }

/* =========================================================================
   Gallery
   ========================================================================= */
.gallery__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 20vw, 240px);
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.gcard {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  cursor: pointer; background: var(--stone-200);
}
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gcard:hover img { transform: scale(1.06); }
.gcard::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,22,26,0.72) 100%);
  opacity: 0.45; transition: opacity 0.4s;
}
.gcard:hover::after { opacity: 1; }
.gcard__cap {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.05rem; z-index: 2;
  transform: translateY(6px); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.4s;
}
.gcard:hover .gcard__cap { transform: none; opacity: 1; }
.gcard__cap strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.gcard__cap span { color: rgba(255,255,255,0.75); font-size: 0.82rem; }
.gcard__tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--white); background: rgba(20,22,26,0.42); backdrop-filter: blur(6px);
  padding: 0.3rem 0.6rem; border-radius: 999px;
}
/* explicit spans */
.g-a { grid-column: span 6; grid-row: span 2; }
.g-b { grid-column: span 3; grid-row: span 1; }
.g-c { grid-column: span 3; grid-row: span 1; }
.g-d { grid-column: span 3; grid-row: span 2; }
.g-e { grid-column: span 3; grid-row: span 2; }
.g-f { grid-column: span 4; grid-row: span 1; }
.g-g { grid-column: span 4; grid-row: span 1; }
.g-h { grid-column: span 4; grid-row: span 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(15,16,19,0.94); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 4vw;
  opacity: 0; transition: opacity 0.3s;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 4vw; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; color: var(--white); width: 52px; height: 52px;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}
.lightbox__close { top: 3vw; right: 3vw; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.14); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 2vw; }
.lightbox__nav.next { right: 2vw; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox svg { width: 22px; height: 22px; }

/* =========================================================================
   Before / After
   ========================================================================= */
.ba {
  position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 74vh;
  border-radius: var(--radius-lg); overflow: hidden; user-select: none;
  cursor: ew-resize; box-shadow: var(--shadow-md); background: var(--stone-200);
  touch-action: pan-y;
}
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; }
.ba__after { z-index: 1; }
.ba__before { z-index: 2; width: 50%; overflow: hidden; border-right: 2px solid var(--white); }
.ba__before img { width: 100vw; max-width: none; }
.ba__label {
  position: absolute; bottom: 1.1rem; z-index: 3;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  color: var(--white); background: rgba(20,22,26,0.5); backdrop-filter: blur(6px);
  padding: 0.35rem 0.75rem; border-radius: 999px; pointer-events: none;
}
.ba__label.before { left: 1.1rem; }
.ba__label.after { right: 1.1rem; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4;
  width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none;
}
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-md);
  display: grid; place-items: center; color: var(--ink);
}
.ba__grip svg { width: 22px; height: 22px; }
.ba-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ba-copy .stat-row { display: flex; gap: 2rem; margin-top: 1.8rem; }
.ba-copy .stat-row div span { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--white); display: block; line-height: 1; }
.ba-copy .stat-row div small { font-size: 0.82rem; color: var(--stone-400); }
.ba-hint { margin-top: 1.4rem; font-size: 0.85rem; color: var(--stone-400); display: inline-flex; align-items: center; gap: 0.5rem; }
.ba-hint svg { width: 18px; height: 18px; color: var(--clay-soft); }

/* =========================================================================
   Process
   ========================================================================= */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.step { position: relative; }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  color: var(--clay); letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem;
}
.step__num::after { content:""; flex: 1; height: 1px; background: var(--line); }
.step__dot { width: 12px; height: 12px; border: 2px solid var(--clay); border-radius: 2px; transform: rotate(45deg); flex: none; }
.step h3 { margin-bottom: 0.6rem; }
.step p { font-size: 0.95rem; }

/* =========================================================================
   About
   ========================================================================= */
.about { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; right: -1.2rem; bottom: -1.2rem;
  background: var(--ink); color: var(--white); padding: 1.4rem 1.6rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); max-width: 15rem;
}
.about__badge strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--white); display: block; line-height: 1; }
.about__badge small { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.about__frame { position: absolute; inset: -14px -14px auto auto; width: 55%; height: 55%; border: 1px solid var(--clay-line); border-radius: var(--radius-lg); z-index: -1; }
.about__sig { margin-top: 1.8rem; display: flex; align-items: center; gap: 1rem; }
.about__sig strong { font-family: var(--font-display); font-size: 1.05rem; }
.about__sig span { font-size: 0.88rem; color: var(--stone-500); }
.about blockquote {
  border-left: 2px solid var(--clay); padding-left: 1.2rem; margin: 1.8rem 0;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--heading);
  font-weight: 500; line-height: 1.4; font-style: italic;
}
.about ul.checks { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.about ul.checks li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text); }
.about ul.checks svg { width: 20px; height: 20px; color: var(--clay); flex: none; margin-top: 2px; }

/* =========================================================================
   Stats band
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem,3vw,2.5rem); }
.stat { text-align: left; }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--white); line-height: 1; letter-spacing: -0.03em; }
.stat__value .suffix { color: var(--clay-soft); }
.stat__label { margin-top: 0.7rem; color: var(--stone-400); font-size: 0.95rem; }
.stat + .stat { position: relative; }

/* =========================================================================
   Reviews
   ========================================================================= */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.review__stars { display: flex; gap: 3px; color: var(--clay); }
.review__stars svg { width: 18px; height: 18px; }
.review p { color: var(--text); font-size: 1.02rem; line-height: 1.6; flex: 1; }
.review__mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--stone-200); height: 1.2rem; }
.review__author { display: flex; align-items: center; gap: 0.9rem; padding-top: 0.5rem; border-top: 1px solid var(--line-soft); }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--stone-100);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--clay); flex: none;
}
.review__author strong { display: block; font-size: 0.98rem; }
.review__author span { font-size: 0.85rem; color: var(--stone-500); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--heading);
}
.faq__icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content:""; position: absolute; top: 50%; left: 50%; background: var(--clay);
  transition: transform 0.35s var(--ease);
}
.faq__icon::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq__icon::after  { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height 0.4s var(--ease); }
.faq__a p { padding-bottom: 1.5rem; padding-right: 2rem; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact__row { display: flex; gap: 1rem; align-items: flex-start; }
.contact__row .ic {
  width: 46px; height: 46px; flex: none; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--clay);
}
.contact__row .ic svg { width: 22px; height: 22px; }
.contact__row h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--stone-500); font-weight: 600; margin-bottom: 0.2rem; }
.contact__row a, .contact__row p { color: var(--heading); font-weight: 500; font-size: 1.05rem; }
.contact__row a:hover { color: var(--clay); }
.map { margin-top: 0.5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(0.3) contrast(1.02); }

/* Form */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3.5vw, 2.8rem); box-shadow: var(--shadow-sm); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--heading); }
.field label .req { color: var(--clay); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--heading);
  padding: 0.85rem 1rem; border: 1px solid var(--stone-300); border-radius: var(--radius);
  background: var(--white); transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23565c66' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay-tint); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: #c0392b; }
.field__err { font-size: 0.78rem; color: #c0392b; display: none; }
.field.is-error .field__err { display: block; }
.form__foot { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.form__note { font-size: 0.8rem; color: var(--stone-500); display: flex; gap: 0.5rem; align-items: flex-start; }
.form__note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--clay); }
.form__success {
  display: none; text-align: center; padding: 2rem 1rem;
}
.form__success.is-visible { display: block; animation: fadeUp 0.6s var(--ease-out); }
.form__success .check {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%;
  background: var(--clay-tint); color: var(--clay); display: grid; place-items: center;
}
.form__success .check svg { width: 32px; height: 32px; }
.form__success h3 { margin-bottom: 0.5rem; }
@keyframes fadeUp { from{opacity:0; transform:translateY(16px);} to{opacity:1;transform:none;} }
.is-hidden { display: none !important; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--ink); color: var(--stone-400); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .brand__name { color: var(--white); }
.footer .brand__mark { color: var(--white); }
.footer .brand__tag { color: rgba(255,255,255,0.55); }
.footer__about { margin-top: 1.4rem; font-size: 0.95rem; max-width: 24rem; line-height: 1.6; }
.footer h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1.2rem; font-weight: 700; }
.footer__col a, .footer__col p { color: var(--stone-400); font-size: 0.95rem; display: block; padding-block: 0.3rem; transition: color 0.25s; }
.footer__col a:hover { color: var(--white); }
.footer__hours span { color: var(--white); font-weight: 600; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; font-size: 0.85rem; }
.footer__bottom span { color: var(--stone-500); }
.footer__bottom .ico-note { color: var(--stone-500); }

/* =========================================================================
   Sticky mobile CTA
   ========================================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 0.6rem; padding: 0.7rem var(--gutter);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(120%); transition: transform 0.4s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; padding-block: 0.85rem; }

/* =========================================================================
   Section divider (tile grid motif line)
   ========================================================================= */
.tilerule { height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 22px, transparent 22px 44px); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .nav__list, .nav__actions .nav__phone { display: none; }
  .burger { display: flex; }
  .nav__actions { gap: 0.7rem; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 34rem; }
  .ba-wrap { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 26rem; }
  .faq-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
}
@media (max-width: 768px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  /* gallery -> simpler */
  .gallery__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 44vw; }
  .g-a { grid-column: span 6; grid-row: span 2; }
  .g-b, .g-c { grid-column: span 3; grid-row: span 1; }
  .g-d, .g-e { grid-column: span 3; grid-row: span 2; }
  .g-f, .g-g, .g-h { grid-column: span 3; grid-row: span 1; }
  .about__badge { right: 0.6rem; bottom: -0.8rem; padding: 1.1rem 1.2rem; }
}
@media (max-width: 640px) {
  /* header CTA is redundant with the in-hero and sticky CTAs on small screens */
  .nav__actions .btn { display: none; }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.4rem 2rem; }
  .gallery__grid { grid-auto-rows: 52vw; }
  .g-a { grid-row: span 2; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
