/* =====================================================
   Ottawa Zain Construction — site styles
   Palette derived from logo (orange + charcoal)
   ===================================================== */

:root {
  --orange: #f39c12;
  --orange-600: #e08a05;
  --orange-100: #fef3e0;
  --ink: #111418;
  --ink-2: #1c2128;
  --ink-3: #2a313a;
  --muted: #5a6472;
  --muted-2: #8a93a1;
  --line: #e8eaef;
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --bg-warm: #faf6ef;
  --shadow-sm: 0 1px 2px rgba(17, 20, 24, 0.05), 0 1px 3px rgba(17, 20, 24, 0.06);
  --shadow-md: 0 6px 24px rgba(17, 20, 24, 0.08), 0 2px 6px rgba(17, 20, 24, 0.04);
  --shadow-lg: 0 24px 60px rgba(17, 20, 24, 0.18), 0 8px 18px rgba(17, 20, 24, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
input, textarea, select { font-size: 16px; } /* prevent iOS zoom on focus */
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== TYPOGRAPHY ============== */
.section__title {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  color: var(--ink);
}
.section__lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
  margin: 0;
}
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__head .section__lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(243,156,18,0.2);
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 18px rgba(17,20,24,0.18);
}
.btn--primary:hover { background: var(--orange); box-shadow: 0 10px 24px rgba(243,156,18,0.35); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.hero__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero__cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============== TOPBAR ============== */
.topbar {
  background: var(--ink);
  color: #d8dde6;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner {
  display: flex; align-items: center; gap: 14px;
  height: 38px; flex-wrap: wrap;
}
.topbar__sep { color: rgba(255,255,255,0.25); }
.topbar__phone {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--orange);
}
.topbar__phone:hover { color: #fff; }

/* ============== NAV ============== */
.nav {
  position: relative;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.nav__brand { display: flex; align-items: center; }
.nav__brand img {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.25s var(--ease);
}
.nav__brand:hover img { transform: scale(1.04); }
.nav__menu {
  display: flex; gap: 28px;
  margin-left: auto;
}
.nav__menu a {
  font-size: 15px; font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__menu a:hover { color: var(--orange-600); }
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 11px 20px; font-size: 14px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-soft);
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 760px);
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s var(--ease) forwards;
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(17,20,24,0.92) 0%, rgba(17,20,24,0.72) 45%, rgba(17,20,24,0.35) 75%, rgba(17,20,24,0.55) 100%),
    radial-gradient(ellipse at 20% 30%, rgba(243,156,18,0.18), transparent 50%);
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__inner { padding: 80px 24px; }
.hero__copy { max-width: 720px; }
.hero__copy .eyebrow {
  background: rgba(255,255,255,0.1);
  color: #ffd58a;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.hero__copy .eyebrow__dot { background: var(--orange); box-shadow: 0 0 0 4px rgba(243,156,18,0.3); }
.hero__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 18px 0 24px;
}
.hero__title-accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
}
.hero__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero__lead strong { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  list-style: none; padding: 0; margin: 0;
  font-size: 14px; color: rgba(255,255,255,0.85);
}
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { color: var(--orange); }

/* ============== STATS ============== */
.stats {
  background: var(--ink);
  color: #fff;
  padding: 4px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 36px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat__num {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--orange);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

/* ============== ABOUT ============== */
.about {
  padding: 110px 0;
  background: var(--bg);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 960 / 696;
  background: var(--bg-warm);
}
.about__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(17,20,24,0.18) 100%);
  pointer-events: none;
}
.about__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
.about__copy p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; }
.about__copy strong { color: var(--ink); }
.about__signoff {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.about__signoff strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px; display: block;
}
.about__signoff span { font-size: 13.5px; color: var(--muted); }

/* ============== SERVICES ============== */
.services {
  padding: 110px 0;
  background: var(--bg-soft);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0;
  height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange-100);
  color: var(--orange-600);
  border-radius: 14px;
  margin-bottom: 18px;
}
.service h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 21px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.service p { color: var(--muted); font-size: 15px; margin: 0; }
.service--cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.service--cta::before { background: var(--orange); transform: scaleX(1); }
.service--cta h3 { color: #fff; }
.service--cta p { color: rgba(255,255,255,0.75); margin-bottom: 18px; }
.service--cta .btn--primary { background: var(--orange); color: var(--ink); }
.service--cta .btn--primary:hover { background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(255,255,255,0.2); }

/* ============== PROJECTS / GALLERY ============== */
.projects {
  padding: 110px 0;
  background: var(--bg);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--ink);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(17,20,24,0.92) 100%);
  color: #fff;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}
.gallery__item:hover figcaption { transform: translateY(0); }
.gallery__tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
  background: rgba(243,156,18,0.15);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
}
.gallery__item h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px; font-weight: 600; margin: 0;
  letter-spacing: -0.01em;
}

/* ============== BEFORE / AFTER ============== */
.ba {
  padding: 110px 0;
  background: var(--bg-soft);
}
.ba__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.ba__row:last-of-type { margin-bottom: 0; }
.ba__row--reverse { grid-template-columns: 1fr 1.3fr; }
.ba__row--reverse .ba-slider { order: 2; }
.ba__row--reverse .ba__copy { order: 1; }

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: none;
  background: var(--ink);
  --pos: 50%;
}
.ba-slider__after,
.ba-slider__before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ba-slider__after img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ba-slider__before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-slider__before img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.ba-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 44px;
  margin-left: -22px;
  display: flex; align-items: center; justify-content: center;
  cursor: ew-resize;
  background: transparent;
  z-index: 3;
}
.ba-slider__handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17,20,24,0.15), 0 0 24px rgba(0,0,0,0.4);
}
.ba-slider__handle svg {
  position: relative;
  width: 44px; height: 44px;
  padding: 11px;
  background: #fff;
  color: var(--ink);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3), 0 0 0 1px rgba(17,20,24,0.08);
  transition: transform 0.2s var(--ease);
}
.ba-slider__handle:hover svg,
.ba-slider__handle:focus-visible svg { transform: scale(1.08); }
.ba-slider__handle:focus-visible {
  outline: 0;
}
.ba-slider__handle:focus-visible svg {
  box-shadow: 0 8px 22px rgba(0,0,0,0.3), 0 0 0 4px var(--orange);
}

.ba-slider__tag {
  position: absolute;
  top: 18px;
  padding: 6px 12px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.ba-slider__tag--before {
  left: 18px;
  background: rgba(17,20,24,0.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.ba-slider__tag--after {
  right: 18px;
  background: var(--orange);
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.08);
}

.ba__copy h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 12px 0 14px;
  line-height: 1.15;
}
.ba__step {
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 6px 12px;
  border-radius: 999px;
}
.ba__copy p { color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.ba__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ba__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--ink-2);
}
.ba__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.ba__note {
  margin-top: 56px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* ============== PROCESS ============== */
.process {
  padding: 110px 0;
  background: var(--bg-warm);
  position: relative;
}
.process__steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process__step {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px 32px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.process__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.process__num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  display: inline-block;
  padding: 4px 10px;
  background: var(--orange-100);
  border-radius: 6px;
  margin-bottom: 18px;
}
.process__step h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 19px; font-weight: 700; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.process__step p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* ============== CTA BANNER ============== */
.cta-banner {
  padding: 32px 0;
  background: var(--bg);
}
.cta-banner__inner {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 72px 32px 76px;
  text-align: center;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(243,156,18,0.32), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(243,156,18,0.18), transparent 55%);
}
.cta-banner__inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.cta-banner__inner > * { position: relative; z-index: 1; }
.cta-banner__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffd58a;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  margin-bottom: 22px;
}
.cta-banner__eyebrow svg { color: var(--orange); }
.cta-banner__inner h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cta-banner__inner p {
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  max-width: 56ch;
  line-height: 1.55;
}
.cta-banner__actions {
  display: inline-flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}
.cta-banner__inner .btn--primary { background: var(--orange); color: var(--ink); }
.cta-banner__inner .btn--primary:hover { background: #fff; color: var(--ink); }
.cta-banner__inner .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-banner__inner .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============== INFO (service area + faq) ============== */
.info { padding: 110px 0; background: var(--bg); }
.info__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}
.info__lead { color: var(--muted); margin: 0 0 28px; }
.info__note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--orange-100);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.areas__col + .areas__col {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.areas__heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin: 0 0 14px;
}
.areas ul { list-style: none; padding: 0; margin: 0; }
.areas li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.areas li:hover { color: var(--orange-600); padding-left: 4px; }
.areas li svg {
  color: var(--orange);
  flex-shrink: 0;
}

.faq { display: flex; flex-direction: column; gap: 0; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600; font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px; font-weight: 600;
  color: var(--orange);
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq__item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ============== CONTACT ============== */
.contact {
  padding: 110px 0;
  background: var(--bg-soft);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact__methods {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 18px;
}
.contact__methods li {
  display: flex; gap: 14px; align-items: flex-start;
}
.contact__icon {
  width: 42px; height: 42px;
  background: var(--orange-100);
  color: var(--orange-600);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__methods strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.contact__methods a { color: var(--ink-2); font-weight: 500; }
.contact__methods a:hover { color: var(--orange-600); }
.contact__methods span { color: var(--muted); font-size: 15px; }

.contact__form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.field-row .field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(243,156,18,0.15);
}
.field textarea { resize: vertical; }
.contact__small {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.contact__small a { color: var(--orange-600); font-weight: 600; }

/* ============== FOOTER ============== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
  padding: 72px 24px 48px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__logo {
  height: 70px;
  width: auto;
  display: block;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
}
.footer__brand p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.6); max-width: 36ch; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px; font-weight: 600;
  color: #fff;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 16px;
}
.footer__cols ul { list-style: none; padding: 0; margin: 0; }
.footer__cols li { margin-bottom: 10px; font-size: 14.5px; }
.footer__cols a { color: rgba(255,255,255,0.7); transition: color 0.2s var(--ease); }
.footer__cols a:hover { color: var(--orange); }
.footer__base {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__base-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding: 22px 24px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ============== FLOATING CALL ============== */
.float-call {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 60;
  display: none;
  align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--orange);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(243,156,18,0.45);
  transition: transform 0.2s var(--ease);
}
.float-call:hover { transform: translateY(-2px); }

/* ============== LIGHTBOX ============== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.is-active {
  opacity: 1;
  visibility: visible;
}
.lightbox__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 88vh;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.35s var(--ease);
}
.lightbox.is-active .lightbox__img {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.lightbox__caption {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  text-align: center;
  margin: 18px 0 0;
  max-width: 60ch;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 5;
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.08);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 5;
}
.lightbox__nav:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-50%) scale(1.06);
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

/* ============== REVEAL ANIMATION ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; transform: none; }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .info__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { aspect-ratio: 960/696; max-height: 520px; }
  .ba__row, .ba__row--reverse { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .ba__row--reverse .ba-slider, .ba__row--reverse .ba__copy { order: initial; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }

  .topbar { font-size: 12.5px; }
  .topbar__inner {
    height: auto;
    padding: 8px 18px;
    gap: 10px;
    justify-content: center;
  }
  .topbar__item:nth-child(3) { display: none; }
  .topbar__sep:nth-of-type(2) { display: none; }
  .topbar__phone { margin-left: 0; }

  .nav__inner { height: 64px; gap: 12px; }
  .nav__brand img { height: 40px; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 18px 20px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__menu a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 16px; min-height: 44px; }
  .nav__menu a::after { display: none; }
  .nav__menu a:last-child { border-bottom: 0; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; margin-left: auto; }

  .hero { min-height: 0; }
  .hero__inner { padding: 56px 18px 72px; }
  .hero__title { font-size: clamp(34px, 9vw, 56px); }
  .hero__lead { font-size: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .hero__badges { gap: 12px 18px; font-size: 13px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat__num { font-size: clamp(34px, 10vw, 48px); }

  .about, .services, .projects, .ba, .process, .info, .contact { padding: 64px 0; }
  .section__head { margin-bottom: 40px; }
  .services__grid { grid-template-columns: 1fr; gap: 14px; }
  .service { padding: 26px 22px; }
  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .gallery__item { aspect-ratio: 4/3; }
  .process__steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact__form { padding: 24px 18px; }
  .cta-banner { padding: 16px 0; }
  .cta-banner__inner { padding: 44px 22px 48px; border-radius: var(--radius); }
  .cta-banner__inner h2 { font-size: clamp(24px, 6vw, 32px); }
  .cta-banner__actions { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
  .cta-banner__actions .btn { width: 100%; }
  .areas { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .areas__col + .areas__col { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 16px; }

  .ba-slider__handle { width: 56px; margin-left: -28px; }
  .ba-slider__handle svg { width: 48px; height: 48px; padding: 12px; }
  .ba-slider__tag { font-size: 10px; padding: 5px 10px; top: 14px; }
  .ba-slider__tag--before { left: 14px; }
  .ba-slider__tag--after { right: 14px; }

  .footer__inner { padding: 56px 18px 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__base-inner { padding: 18px; text-align: center; justify-content: center; }
  .float-call {
    display: inline-flex;
    bottom: max(18px, env(safe-area-inset-bottom));
    right: max(18px, env(safe-area-inset-right));
    padding: 12px 16px;
    font-size: 14px;
  }

  .lightbox__close { top: 14px; right: 14px; width: 44px; height: 44px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .lightbox__counter { bottom: 14px; }
  .lightbox__caption { font-size: 13.5px; padding: 0 18px; }
}

@media (max-width: 420px) {
  .footer__cols { grid-template-columns: 1fr; }
  .topbar__item { display: none; }
  .topbar__sep { display: none; }
  .topbar__phone { margin: 0 auto; }
  .hero__title { font-size: clamp(30px, 9.5vw, 44px); }
  .stat { padding: 22px 8px; }
  .stat__label { font-size: 12px; }
}
