/* ========================================================================
   Tokens
   ======================================================================== */
:root {
  --ink: #0e1a23;
  --ink-soft: #233643;
  --muted: #5a6b78;
  --muted-2: #93a1ad;
  --line: #e3e8ed;
  --line-2: #eef2f5;
  --paper: #f5f7f4;
  --paper-2: #fbfcfb;
  --white: #ffffff;
  --green: #1d6b57;
  --green-2: #258870;
  --green-dark: #0f3a2e;
  --amber: #f0b33f;
  --amber-2: #ffc870;
  --steel: #1c3a4d;
  --steel-2: #244458;
  --danger: #c0392b;

  --grad-warm: linear-gradient(135deg, #f0b33f 0%, #ffd27a 100%);
  --grad-deep: linear-gradient(135deg, #0f3a2e 0%, #1d6b57 100%);
  --grad-text: linear-gradient(120deg, #ffd27a 0%, #f0b33f 60%, #ffe9bd 100%);

  --shadow-1: 0 1px 2px rgba(20, 32, 42, 0.06);
  --shadow-2: 0 8px 22px rgba(20, 32, 42, 0.08);
  --shadow-3: 0 20px 60px rgba(20, 32, 42, 0.14);
  --shadow-glow: 0 14px 40px rgba(29, 107, 87, 0.28);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ring: 0 0 0 3px rgba(29, 107, 87, 0.35);
  --ring-light: 0 0 0 3px rgba(255, 210, 122, 0.55);

  /* Motion tokens — match Motion (Framer Motion) defaults */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);          /* soft elastic out */
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1); /* spring overshoot */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);      /* MD standard */
  --dur-1: 160ms;
  --dur-2: 240ms;
  --dur-3: 380ms;
  --dur-4: 620ms;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Inter Tight", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(240, 179, 63, 0.35); color: var(--ink); }

/* ========================================================================
   A11y — focus-visible rings everywhere interactive
   ======================================================================== */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
details:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}
.hero a:focus-visible,
.contact a:focus-visible,
.trust-band a:focus-visible,
.footer a:focus-visible { box-shadow: var(--ring-light); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus-visible { left: 12px; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad-warm);
  transform-origin: left;
  transition: width 80ms linear;
}

/* ========================================================================
   Header
   ======================================================================== */
.site-header {
  position: fixed;
  z-index: 40;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 70px);
  color: var(--white);
  transition: background var(--dur-2) var(--ease-standard),
              box-shadow var(--dur-2) var(--ease-standard),
              color var(--dur-2) var(--ease-standard),
              border-color var(--dur-2) var(--ease-standard);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 30px rgba(20, 32, 42, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(20, 32, 42, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  transition: transform var(--dur-2) var(--ease-out);
}
.brand:hover { transform: translateY(-1px); }
.brand img { width: 132px; height: auto; }

.nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  opacity: 0.92;
  transition: background var(--dur-2) var(--ease-standard),
              color var(--dur-2) var(--ease-standard),
              opacity var(--dur-2) var(--ease-standard);
}
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.16); }
.site-header.is-scrolled .nav a:hover,
.site-header.is-open .nav a:hover { background: rgba(20, 32, 42, 0.06); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background var(--dur-2) var(--ease-standard);
}
.phone-link:hover { background: rgba(255, 255, 255, 0.16); }
.site-header.is-scrolled .phone-link:hover,
.site-header.is-open .phone-link:hover { background: rgba(20, 32, 42, 0.06); }
.phone-link svg { width: 16px; height: 16px; }

/* ========================================================================
   Buttons (21st.dev-style: subtle shine, soft press)
   ======================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  isolation: isolate;
  transition: transform var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              background var(--dur-2) var(--ease-standard),
              color var(--dur-2) var(--ease-standard);
}
.btn svg { width: 18px; height: 18px; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.35) 50%, transparent 75%);
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity var(--dur-2) var(--ease-standard), transform var(--dur-4) var(--ease-out);
  z-index: -1;
}
.btn:hover { transform: translateY(-1px); }
.btn:hover::after { opacity: 1; transform: translateX(40%); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--green-2); box-shadow: 0 18px 48px rgba(29, 107, 87, 0.36); }

.btn-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-2);
}
.btn-light:hover { background: var(--paper-2); }

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--paper-2); border-color: var(--line); }

.btn-wa {
  color: var(--white);
  background: #25d366;
}
.btn-wa:hover { background: #20bf5b; }

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1);
}
.site-header.is-open .menu-button span:first-child { transform: translateY(3.5px) rotate(45deg); }
.site-header.is-open .menu-button span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ========================================================================
   Hero — premium 21st.dev composition
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a141b;
}

.hero-media,
.hero-overlay,
.hero-pattern { position: absolute; inset: 0; }

.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
  background:
    radial-gradient(80% 60% at 18% 80%, rgba(15, 58, 46, 0.55) 0%, transparent 70%),
    linear-gradient(90deg, rgba(8, 18, 24, 0.92) 0%, rgba(8, 18, 24, 0.62) 45%, rgba(8, 18, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 18, 24, 0.85), transparent 55%);
}

.hero-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 60% at 25% 70%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 25% 70%, black, transparent 80%);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  width: min(1080px, 100%);
  padding: 150px clamp(18px, 7vw, 96px) 64px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.hero-badge .dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(240, 179, 63, 0.2);
}
.hero-badge .dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(240, 179, 63, 0.5);
  animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 179, 63, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(240, 179, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 179, 63, 0); }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--green-2); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 700;
}
h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 12px;
  margin: 0;
}
.hero-stats > div {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero-stats > div::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-warm);
  border-radius: 3px 0 0 3px;
}
.hero-stats dt {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

/* ========================================================================
   Marquee strip
   ======================================================================== */
.service-strip {
  position: relative;
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.service-strip-track {
  display: flex;
  gap: 44px;
  padding: 18px 22px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  flex-shrink: 0;
}
.service-strip-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
}
.service-strip-track span svg {
  width: 16px; height: 16px;
  color: var(--green);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.service-strip:hover .service-strip-track { animation-play-state: paused; }

/* ========================================================================
   Sections
   ======================================================================== */
.section {
  padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 84px);
}
.section.alt { background: var(--white); }

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.districts { display: block; }
.districts .districts-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.districts .districts-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 16px;
}
.districts .district-tags {
  justify-content: center;
  margin-top: 32px;
}

.intro p,
.trust-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

/* ========================================================================
   Service grid — premium card hover
   ======================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-1);
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out),
              border-color var(--dur-2) var(--ease-standard);
}
a.service-card:focus-visible { box-shadow: var(--ring), var(--shadow-2); }
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(29, 107, 87, 0.35), rgba(240, 179, 63, 0.35)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover .service-card-media img { transform: scale(1.06); }

.service-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5;
}
.service-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}
.service-card-icon {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--green);
  box-shadow: var(--shadow-1);
}
.service-card-icon svg { width: 20px; height: 20px; }

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
  flex: 1;
}
.service-card-body p { color: var(--muted); line-height: 1.6; margin: 0; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}
.service-card-link svg {
  width: 14px; height: 14px;
  transition: transform var(--dur-2) var(--ease-out);
}
.service-card:hover .service-card-link svg { transform: translateX(3px); }

/* ========================================================================
   Trust band
   ======================================================================== */
.trust-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(80px, 10vw, 130px) clamp(18px, 6vw, 84px);
  color: var(--white);
  background: var(--steel);
  overflow: hidden;
}
.trust-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(70% 80% at 80% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 80% at 80% 30%, black, transparent 70%);
  pointer-events: none;
}
.trust-copy { position: relative; }
.trust-copy p { color: rgba(255, 255, 255, 0.78); }

.trust-list {
  position: relative;
  display: grid;
  gap: 10px;
  counter-reset: trust;
}

.trust-list > div {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 28px 22px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  overflow: hidden;
  counter-increment: trust;
  transition:
    transform var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-standard),
    background var(--dur-2) var(--ease-standard),
    box-shadow var(--dur-2) var(--ease-out);
}

/* sol kenarda animasyonlu amber accent */
.trust-list > div::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--grad-warm);
  transform: scaleY(0.35);
  transform-origin: center;
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}

/* sağ üstte sayı göstergesi */
.trust-list > div::after {
  content: counter(trust, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.32);
  font-feature-settings: "tnum";
}

.trust-list > div:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 179, 63, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.trust-list > div:hover::before { opacity: 1; transform: scaleY(1); }
.trust-list > div:hover::after { color: rgba(240, 179, 63, 0.72); }
.trust-list > div:hover .trust-icon {
  box-shadow:
    0 10px 26px rgba(240, 179, 63, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.trust-list > div:hover .trust-icon::after { opacity: 1; }

.trust-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--grad-warm);
  color: #2a1c00;
  box-shadow:
    0 6px 18px rgba(240, 179, 63, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow var(--dur-2) var(--ease-out);
}
.trust-icon::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 17px;
  border: 1px solid rgba(240, 179, 63, 0.25);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out);
  pointer-events: none;
}
.trust-icon svg { width: 22px; height: 22px; }

.trust-list > div > div { padding-right: 32px; }
.trust-list strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}
.trust-list strong + span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  font-size: 14px;
}

/* ========================================================================
   Gallery
   ======================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr;
  gap: 14px;
}
.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.gallery-grid figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 18, 24, 0.65));
  opacity: 0;
  z-index: 1;
  transition: opacity var(--dur-2) var(--ease-standard);
}
.gallery-grid figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-2) var(--ease-standard), transform var(--dur-2) var(--ease-out);
}
.gallery-grid img {
  width: 100%;
  height: clamp(260px, 34vw, 460px);
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}
.gallery-grid figure:hover::before,
.gallery-grid figure:hover figcaption { opacity: 1; }
.gallery-grid figure:hover figcaption { transform: translateY(0); }
.gallery-grid figure:hover img { transform: scale(1.06); }

/* ========================================================================
   Process steps with connector
   ======================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  left: 5%; right: 5%;
  top: 60px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.steps li {
  position: relative;
  z-index: 1;
  min-height: 280px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(29, 107, 87, 0.1);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0;
}
.steps p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ========================================================================
   Districts
   ======================================================================== */
.district-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.district-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-weight: 600;
  font-size: 14px;
  transition: transform var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-standard),
              color var(--dur-2) var(--ease-standard),
              box-shadow var(--dur-2) var(--ease-out);
}
.district-tags span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 107, 87, 0.18);
}
.district-tags span:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  color: var(--green-dark);
  box-shadow: var(--shadow-2);
}

/* ========================================================================
   FAQ
   ======================================================================== */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
}
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-standard), box-shadow var(--dur-2) var(--ease-out);
}
details[open] {
  border-color: rgba(29, 107, 87, 0.35);
  box-shadow: var(--shadow-2);
}
summary {
  position: relative;
  list-style: none;
  padding: 22px 56px 22px 22px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  letter-spacing: -0.005em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--dur-2) var(--ease-out);
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p {
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ========================================================================
   Contact
   ======================================================================== */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 540px);
  gap: clamp(24px, 6vw, 80px);
  padding: clamp(80px, 10vw, 130px) clamp(18px, 6vw, 84px);
  color: var(--white);
  background: var(--green-dark);
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 0% 100%, rgba(240, 179, 63, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.contact-panel { position: relative; }
.contact-panel p { color: rgba(255, 255, 255, 0.82); }

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  font-size: 18px;
  font-weight: 700;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  width: fit-content;
  transition: transform var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-standard),
              background var(--dur-2) var(--ease-standard);
}
.contact-links a:hover {
  transform: translateX(4px);
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.12);
}
.contact-links svg { width: 18px; height: 18px; color: var(--amber); }

.lead-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-3);
  color: var(--ink);
}
.lead-form-head {
  display: grid;
  gap: 4px;
  margin-bottom: 4px;
}
.lead-form-head strong { font-size: 17px; font-weight: 700; }
.lead-form-head span { color: var(--muted); font-size: 13px; }

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper-2);
  transition: border-color var(--dur-2) var(--ease-standard), background var(--dur-2) var(--ease-standard), box-shadow var(--dur-2) var(--ease-standard);
}
input:hover, select:hover, textarea:hover { border-color: var(--muted-2); }
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(29, 107, 87, 0.12);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 4px rgba(29, 107, 87, 0.18); }
textarea { resize: vertical; min-height: 96px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}
.consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.consent a { color: var(--green); text-decoration: underline; }

/* ========================================================================
   Detail-page subhero + breadcrumb
   ======================================================================== */
.subhero {
  position: relative;
  overflow: hidden;
  padding: 150px clamp(18px, 6vw, 84px) clamp(72px, 9vw, 110px);
  color: var(--white);
  background:
    radial-gradient(70% 70% at 12% 30%, rgba(29, 107, 87, 0.65) 0%, transparent 70%),
    radial-gradient(60% 60% at 88% 80%, rgba(240, 179, 63, 0.16) 0%, transparent 70%),
    linear-gradient(180deg, #0a141b 0%, #0f3a2e 100%);
  isolation: isolate;
}
.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(60% 80% at 30% 50%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 80% at 30% 50%, black, transparent 75%);
  z-index: -1;
}
.subhero-inner {
  position: relative;
  width: min(960px, 100%);
}
.subhero h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.subhero .lead {
  max-width: 640px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 28px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color var(--dur-2) var(--ease-standard), background var(--dur-2) var(--ease-standard);
}
.breadcrumb a:hover { border-color: rgba(240, 179, 63, 0.5); background: rgba(255, 255, 255, 0.1); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.6; }
.breadcrumb .current { color: rgba(255, 255, 255, 0.96); font-weight: 600; padding: 6px 4px; }

.subhero-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 10px;
  margin-top: 12px;
}
.subhero-quick > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
}
.subhero-quick svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }
.subhero-quick span { color: rgba(255, 255, 255, 0.86); }

/* ========================================================================
   Feature checklist (used on detail pages for service scope)
   ======================================================================== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.feature-list > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-standard),
              box-shadow var(--dur-2) var(--ease-out);
}
.feature-list > div:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 107, 87, 0.35);
  box-shadow: var(--shadow-2);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(29, 107, 87, 0.1);
  color: var(--green);
  flex-shrink: 0;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ========================================================================
   CTA strip (full-width call-to-action between sections)
   ======================================================================== */
.cta-strip {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(56px, 7vw, 90px) clamp(18px, 6vw, 84px);
  text-align: center;
  color: var(--white);
  background: var(--steel);
  overflow: hidden;
  isolation: isolate;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 80% 0%, rgba(240, 179, 63, 0.15) 0%, transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(29, 107, 87, 0.45) 0%, transparent 70%);
  z-index: -1;
}
.cta-strip h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(26px, 3.6vw, 40px);
}
.cta-strip p {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.65;
}
.cta-strip .hero-actions { justify-content: center; margin: 8px 0 0; }

/* ========================================================================
   Related services (smaller card grid on detail pages)
   ======================================================================== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.related-grid .service-card { box-shadow: var(--shadow-1); }
@media (max-width: 1024px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  .subhero-quick { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
  .subhero { padding-top: 130px; }
}

/* ========================================================================
   Product page
   ======================================================================== */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 32px;
}
.product-filters span {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.product-filters span:first-child {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out),
              border-color var(--dur-2) var(--ease-standard);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: rgba(29, 107, 87, 0.3);
}
.product-card:hover .product-media img { transform: scale(1.05); }

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.35;
  background: linear-gradient(135deg, #f4f6f4 0%, #eaf0ec 100%);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}
.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(8, 18, 24, 0.78);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  flex: 1;
}
.product-body h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 2px;
}
.product-specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.product-specs span svg {
  width: 12px; height: 12px;
  color: var(--green);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}
.product-actions .btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}
.product-actions .btn-ghost {
  border-color: var(--line);
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: 1fr; }
}

/* ========================================================================
   Footer
   ======================================================================== */
.footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 36px;
  padding: 48px clamp(18px, 6vw, 84px) 36px;
  color: rgba(255, 255, 255, 0.78);
  background: #0b161d;
}
.footer img { width: 132px; }
.footer p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; max-width: 360px; }
.footer h4 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: color var(--dur-2) var(--ease-standard);
}
.footer li a:hover { color: var(--white); }
.footer li svg { width: 14px; height: 14px; color: var(--amber); }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding-top: 24px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--white);
  transition: background var(--dur-2) var(--ease-standard), border-color var(--dur-2) var(--ease-standard), transform var(--dur-2) var(--ease-out);
}
.footer-social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

/* ========================================================================
   Floating action stack
   ======================================================================== */
.float-stack {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow-3);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.float-btn svg { width: 24px; height: 24px; }
.float-btn:hover { transform: translateY(-2px) scale(1.04); }
.float-btn-wa { background: #25d366; }
.float-btn-wa::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.35;
  animation: pulse-grow 2.4s var(--ease-out) infinite;
  z-index: -1;
}
@keyframes pulse-grow {
  0% { transform: scale(0.85); opacity: 0.45; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.85); opacity: 0; }
}
.float-btn-wa { position: relative; isolation: isolate; }
.float-btn-call { background: var(--green); }

/* ========================================================================
   Reveal — Motion-style scroll fade-up
   ======================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 300ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 420ms; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 540ms; }
.reveal-stagger.is-visible > *:nth-child(11) { transition-delay: 600ms; }
.reveal-stagger.is-visible > *:nth-child(12) { transition-delay: 660ms; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav, .header-actions { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .site-header.is-open .nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    color: var(--ink);
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .nav a {
    padding: 16px 6px;
    border-top: 1px solid var(--line-2);
    border-radius: 0;
  }
  .intro, .districts, .trust-band, .contact { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { min-height: 70px; padding: 10px 14px; }
  .brand img { width: 116px; }
  .hero { min-height: 96vh; }
  .hero-content { padding: 118px 18px 40px; }
  h1 { font-size: 40px; }
  .hero-copy { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .float-stack { right: 14px; bottom: 14px; }
}

/* ========================================================================
   Reduced motion
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-media img { animation: none; transform: none; }
  .service-strip-track { animation: none; }
}
