/* =========================================================
   TGH Mühendislik — style.css
   ========================================================= */

:root {
  --ink: #16181c;
  --ink-2: #1f2228;
  --ink-3: #2a2e36;
  --concrete: #f4f2ed;
  --concrete-2: #ebe8e1;
  --paper: #ffffff;
  --text: #2b2f36;
  --muted: #6b7079;
  --muted-light: #a5aab3;
  --line: #e2ded5;
  --line-dark: #333842;
  --accent: #04c6fc;
  --accent-2: #0083b0;
  --accent-soft: rgba(4, 198, 252, .14);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 24, 28, .05), 0 8px 24px rgba(22, 24, 28, .07);
  --shadow-lg: 0 20px 50px rgba(22, 24, 28, .14);

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Manrope", system-ui, sans-serif;

  --header-h: 76px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

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

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -.02em;
}
p { margin: 0 0 1em; }
address { font-style: normal; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.hl { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
}
.eyebrow .dot { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font: 700 .95rem/1.2 var(--font-body);
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 22px rgba(4, 198, 252, .32); }
.btn-accent:hover { background: #3dd5ff; box-shadow: 0 12px 28px rgba(4, 198, 252, .42); }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.is-scrolled {
  background: rgba(22, 24, 28, .92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }
.brand--footer img { height: auto; width: 230px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav ul a {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: .94rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  border-radius: 8px;
  transition: color .2s ease;
}
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: 10px 18px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 96px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(4, 198, 252, .14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(80, 110, 160, .14), transparent 60%),
    var(--ink);
  color: #d5d8de;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 24px;
}
.hero .lead {
  max-width: 540px;
  font-size: 1.1rem;
  color: #b9bdc6;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; font-weight: 600; color: #e6e8ec; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; }
.blueprint { width: 100%; height: auto; }
.blueprint * { vector-effect: non-scaling-stroke; }
.bp-line, .bp-frame, .bp-hatch, .bp-panel, .bp-wire, .bp-wire-flow, .bp-device, .bp-lamp, .bp-spots, .bp-spot-cones, .bp-kitchen, .bp-tiles, .bp-dim {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bp-line { stroke: rgba(255, 255, 255, .55); stroke-width: 2; }
.bp-hatch { stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; }
.bp-frame { stroke: #fff; stroke-width: 2.5; }
.bp-panel { stroke: #fff; stroke-width: 2; }
.bp-panel > rect:first-child { fill: rgba(255, 255, 255, .06); }
.bp-wire { stroke: rgba(4, 198, 252, .35); stroke-width: 2.5; }
.bp-wire-flow { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 6 14; }
.bp-device { stroke: #fff; stroke-width: 1.6; }
.bp-device rect { fill: rgba(255, 255, 255, .06); }
.bp-device circle { fill: #fff; stroke: none; }
.bp-lamp { stroke: #fff; stroke-width: 2; }
.bp-lamp path { fill: #2a2e36; }
.bp-spots { stroke: #fff; stroke-width: 1.6; }
.bp-spot-cones { fill: rgba(4, 198, 252, .14); stroke: none; }
.bp-kitchen { stroke: rgba(150, 190, 255, .75); stroke-width: 1.8; }
.bp-kitchen rect { fill: rgba(150, 190, 255, .06); }
.bp-tiles { stroke: rgba(255, 255, 255, .28); stroke-width: 1.2; }
.bp-accent-fill { fill: var(--accent); }
.bp-line-dark { stroke: none; }
.bp-dim { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.bp-dim text { fill: rgba(255, 255, 255, .5); stroke: none; font: 600 11px var(--font-head); letter-spacing: .08em; text-anchor: middle; }

/* drawing animation */
.bp-frame > *, .bp-wire path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 1.6s ease forwards;
}
.bp-wire path { stroke-dasharray: 500; stroke-dashoffset: 500; animation-delay: 1s; animation-duration: 1.2s; }
.bp-panel, .bp-accent-fill, .bp-bolt, .bp-device, .bp-lamp, .bp-spots, .bp-kitchen, .bp-tiles, .bp-dim, .bp-wire-flow {
  opacity: 0;
  animation: fade .8s ease forwards;
}
.bp-panel, .bp-accent-fill, .bp-bolt { animation-delay: .6s; }
.bp-lamp, .bp-device { animation-delay: 1.1s; }
.bp-kitchen, .bp-tiles { animation-delay: 1.4s; }
.bp-spots { animation-delay: 1.8s; }
.bp-dim { animation-delay: 2s; }
.bp-wire-flow { animation: fade .6s ease 2.2s forwards, flow 1.4s linear 2.2s infinite; }
.bp-glow, .bp-cone { opacity: 0; animation: light-on .5s steps(2) 2.3s forwards, flicker 6s ease-in-out 3s infinite; }
.bp-spot-cones path { opacity: 0; animation: fade .4s ease forwards; }
.bp-spot-cones path:nth-child(1) { animation-delay: 2.5s; }
.bp-spot-cones path:nth-child(2) { animation-delay: 2.7s; }
.bp-spot-cones path:nth-child(3) { animation-delay: 2.9s; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes light-on { 0% { opacity: 0; } 50% { opacity: .5; } 100% { opacity: 1; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }

.hero-badge {
  position: absolute;
  left: 8%; bottom: -22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(31, 34, 40, .85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: rise .8s ease 2.4s forwards;
}
.hero-badge svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
.hero-badge strong { display: block; color: #fff; font-size: .95rem; }
.hero-badge span { font-size: .82rem; color: var(--muted-light); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Strip ---------- */
.strip { background: var(--ink-2); border-top: 1px solid var(--line-dark); color: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  border-left: 1px solid var(--line-dark);
}
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item svg { width: 28px; height: 28px; color: var(--accent); flex: none; }
.strip-item strong { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.strip-item span { font-size: .86rem; color: var(--muted-light); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-dark { background: var(--ink); color: #b9bdc6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-tint { background: var(--concrete-2); }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-head--left { text-align: left; margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1.12fr 1.12fr 1fr; gap: 24px; align-items: start; }
.service-card {
  position: relative;
  padding: 40px 34px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured { background: var(--ink); border-color: var(--ink); color: #b9bdc6; }
.service-card--featured h3 { color: #fff; }
.service-card--featured::before { transform: scaleX(1); }
.service-card--highlight { border: 2px solid rgba(4, 198, 252, .55); }
.service-card--highlight::before { transform: scaleX(1); }

.service-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.service-card--featured .service-icon { color: var(--accent); }
.service-icon svg { width: 28px; height: 28px; }
.service-no {
  position: absolute;
  top: 30px; right: 32px;
  font: 700 2.6rem/1 var(--font-head);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
}
.service-card--featured .service-no { -webkit-text-stroke-color: var(--line-dark); }
.service-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.service-card > p { color: var(--muted); margin-bottom: 24px; }
.service-card--featured > p { color: #a5aab3; }

.ticks li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-top: 1px dashed var(--line);
  font-weight: 600;
  font-size: .95rem;
}
.service-card--featured .ticks li { border-color: var(--line-dark); color: #e6e8ec; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%230083b0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

.secondary-service {
  margin-top: 24px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: 1.5px dashed #cfc9bd;
  border-radius: var(--radius-lg);
}
.secondary-service .service-icon { margin: 0; flex: none; width: 52px; height: 52px; background: var(--concrete-2); color: var(--muted); }
.secondary-copy { flex: 1; min-width: 0; }
.secondary-copy h3 { font-size: 1.15rem; margin-bottom: 4px; }
.secondary-copy p { margin: 0; font-size: .94rem; color: var(--muted); }
.chips--compact { flex: none; flex-wrap: nowrap; justify-content: flex-end; }

.subservices {
  margin-top: 24px;
  padding: 32px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 28px;
}
.subservices-title { flex: none; margin: 0; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 7px 14px;
  font-size: .88rem;
  font-weight: 600;
  background: var(--concrete);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color .2s ease, border-color .2s ease;
}
.chips li:hover { background: var(--accent-soft); border-color: rgba(4, 198, 252, .4); }
.chips .chip-hot { background: var(--accent-soft); border-color: rgba(4, 198, 252, .45); color: #005f80; }
.chips .chip-hot::before { content: "⚡"; margin-right: 4px; font-size: .8em; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.about-copy p { font-size: 1.05rem; }
.about-copy .btn { margin-top: 12px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value {
  padding: 30px 28px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  transition: border-color .3s ease, transform .3s ease;
}
.value:hover { border-color: rgba(4, 198, 252, .5); transform: translateY(-4px); }
.value:nth-child(even) { transform: translateY(32px); }
.value:nth-child(even):hover { transform: translateY(28px); }
.value svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; }
.value h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value p { margin: 0; font-size: .94rem; color: #9ea3ad; }

/* ---------- Steps ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px);
  opacity: .6;
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step-no {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin: 0 auto 22px;
  font: 700 1.3rem var(--font-head);
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--concrete), 0 10px 24px rgba(4, 198, 252, .35);
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.area {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.area:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.area-art {
  aspect-ratio: 4 / 3;
  background-color: var(--ink);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  position: relative;
}
.area-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.area-art--electric { background-image: url("../img/area-electric.svg"); }
.area-art--interior { background-image: url("../img/area-interior.svg"); background-color: #23262d; }
.area-art--shop { background-image: url("../img/area-shop.svg"); background-color: #262320; }
.area-art--apartment { background-image: url("../img/area-apartment.svg"); background-color: #1c2230; }
.area-body { padding: 22px 24px 26px; }
.area-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.area-body p { margin: 0; font-size: .92rem; color: var(--muted); }

.service-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 44px 0 0;
  text-align: center;
  color: var(--muted);
}
.service-area svg { width: 20px; height: 20px; color: var(--accent-2); flex: none; }
.service-area strong { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 40%),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(22, 24, 28, .05) 22px 44px),
    var(--accent);
  padding: 64px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 8px; }
.cta-inner p { margin: 0; color: rgba(22, 24, 28, .75); font-weight: 600; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-wrap .section-head .btn { margin-top: 8px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: rgba(4, 198, 252, .55); box-shadow: var(--shadow); }
.faq summary {
  position: relative;
  padding: 22px 64px 22px 26px;
  font: 600 1.06rem/1.4 var(--font-head);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 28px; height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--concrete) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%2316181c' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s ease, background-color .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq details p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 32px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.ci-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}
.ci-icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 2px; }
.contact-list a, .contact-list address { color: #fff; font-size: 1.08rem; font-weight: 600; line-height: 1.5; }
.contact-list a:hover { color: var(--accent); }

.map {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  aspect-ratio: 16 / 9;
  background: var(--ink-2);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--accent); }
.map-link:hover { text-decoration: underline; }

.contact-form {
  padding: 40px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.contact-form h3 { color: var(--ink); font-size: 1.6rem; margin-bottom: 6px; }
.form-note { color: var(--muted); font-size: .94rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font: 500 1rem var(--font-body);
  color: var(--ink);
  background: var(--concrete);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%236b7079' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field .is-invalid { border-color: #d64545; }
.form-error { margin: 14px 0 0; color: #c33; font-weight: 600; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1013; color: #8d929b; padding-top: 72px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; max-width: 320px; font-size: .94rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: .94rem; }
.site-footer li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid #22252b;
  font-size: .86rem;
}
.footer-bottom p { margin: 0; }
.to-top:hover { color: var(--accent); }

/* ---------- Quick actions (mobile) ---------- */
.quick-actions { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.value.reveal:nth-child(even) { transform: translateY(58px); }
.value.reveal.is-visible:nth-child(even) { transform: translateY(32px); }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) and (min-width: 901px) {
  .brand img { height: 44px; }
  .main-nav { gap: 14px; }
  .main-nav ul { gap: 0; }
  .main-nav ul a { padding: 8px 9px; font-size: .9rem; }
  .main-nav ul a::after { left: 9px; right: 9px; }
  .nav-cta { padding: 10px 14px; font-size: .88rem; }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .services { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .subservices, .secondary-service { flex-direction: column; align-items: flex-start; }
  .secondary-service { max-width: 640px; margin-inline: auto; }
  .chips--compact { flex-wrap: wrap; justify-content: flex-start; }
  .about { grid-template-columns: 1fr; gap: 56px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section-head { position: static; }
  .contact { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px;
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; }
  .nav-open .site-header { background: var(--ink); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 16px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .main-nav ul a::after { display: none; }
  .nav-cta { padding: 16px; font-size: 1.05rem; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .container { padding-inline: 16px; }
  .brand img { height: 42px; }
  .hero { padding: calc(var(--header-h) + 40px) 0 64px; }
  .hero .lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { position: static; margin-top: 8px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .section h2 br { display: none; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item, .strip-item:nth-child(3) { border-left: 0; padding: 18px 0; }
  .strip-item + .strip-item { border-top: 1px solid var(--line-dark); }
  .service-card { padding: 32px 24px 28px; }
  .subservices, .secondary-service { padding: 26px 20px; }
  .about-values { grid-template-columns: 1fr; }
  .value:nth-child(even), .value.reveal.is-visible:nth-child(even) { transform: none; }
  .value.reveal:nth-child(even) { transform: translateY(26px); }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; text-align: left; padding: 0 0 30px; }
  .step-no { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; margin-top: 4px; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 28px; top: 66px; bottom: 6px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px);
    opacity: .5;
  }
  .areas { grid-template-columns: 1fr; }
  .service-area { flex-direction: column; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .contact-form { padding: 28px 20px; }
  .field-row { flex-direction: column; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; padding-bottom: 96px; }

  .quick-actions {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    transform: translateY(140%);
    transition: transform .35s ease;
  }
  .quick-actions.is-visible { transform: none; }
  .qa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  }
  .qa svg { width: 20px; height: 20px; }
  .qa-call { background: var(--accent); color: var(--ink); }
  .qa-wa { background: #25d366; color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bp-frame > *, .bp-wire path { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}
