/* ==========================================================================
   Arborista Optimista — štýly
   Farby, písma a rozostupy sú na jednom mieste v :root.
   ========================================================================== */

:root {
  /* Farby */
  --lime: #8DC63F;
  --cream: #F7F3EA;
  --ink: #16241A;
  --ink-muted: #2E4527;
  --forest: #004D1A;
  --bordo: #7A2E2E;
  --red: #E05050;
  --hero-sub: #DCE4D3;

  /* Písma */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rozloženie */
  --container: 1240px;
  --gutter: 100px;
  --section-y: 80px;
  --header-h: 80px;
}

/* ---------- Základ ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ol { margin: 0; padding: 0; list-style: none; }

.i {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }

/* ---------- Typografia ---------- */

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bordo);
}
.label--light { color: #fff; text-shadow: 0 2px 16px rgba(11, 26, 46, .4); }
.label--red { color: var(--red); }

.h2 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
}
.h2--md { font-size: 40px; }
.h2--lg { font-size: 52px; letter-spacing: -1.5px; }

.signature {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}
.signature--sm { font-size: 24px; }

.divider { display: block; width: 64px; height: 3px; background: var(--bordo); }
.divider--light { background: #fff; }
.divider--thin { width: 48px; height: 1px; background: rgba(22, 36, 26, .25); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.text-link .i { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover .i { transform: translateX(3px); }
.text-link--sm { font-size: 13px; gap: 5px; }
.text-link--sm .i { width: 13px; height: 13px; }

/* ---------- Tlačidlá a štítky ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 0;
  border-radius: 100px;
  font: 700 16px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background-color .15s, box-shadow .15s;
}
.btn .i { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 18px 32px; font-size: 17px; font-weight: 600; }
.btn--block { width: 100%; }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: #00612a; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #24382a; }
.btn--outline {
  color: var(--cream);
  font-weight: 500;
  box-shadow: inset 0 0 0 2px rgba(247, 243, 234, .55);
}
.btn--outline:hover { box-shadow: inset 0 0 0 2px var(--cream); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
}
.pill .i { width: 16px; height: 16px; }
.pill--bordo { background: var(--bordo); color: var(--cream); }
.pill--lime { background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0; padding: 6px 12px; gap: 6px; }
.pill--lime .i { width: 12px; height: 12px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  background: rgba(22, 36, 26, .08);
  box-shadow: inset 0 0 0 1px rgba(247, 243, 234, .19);
}
.chip .i { width: 14px; height: 14px; }
.chip--red { color: var(--red); background: rgba(224, 80, 80, .13); box-shadow: inset 0 0 0 1px rgba(224, 80, 80, .38); }

/* ---------- Hlavička ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--cream);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: rgba(22, 36, 26, .94);
  box-shadow: 0 1px 0 rgba(247, 243, 234, .08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 24px 100px 24px 40px;
  transition: padding .25s;
}
.site-header.is-scrolled .site-header__inner { padding-block: 14px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo__icon { width: 32px; height: 32px; }
.logo__text { font-family: var(--serif); font-size: 26px; font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  opacity: .92;
}
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.site-nav .site-nav__urgent {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bordo);
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
}
.site-nav .site-nav__urgent:hover { text-decoration: none; background: #8f3838; }

.nav-toggle {
  display: none;
  padding: 8px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav-toggle .i { width: 28px; height: 28px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(100svh, 760px);
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(11, 20, 12, .69);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: inherit;
  max-width: 1440px;
  margin-inline: auto;
  padding: 160px 100px 100px 40px;
}
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 820px; }
.hero__claim {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -1px;
}
.hero__sub { font-size: 20px; line-height: 1.5; color: var(--hero-sub); max-width: 680px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero__badge { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; text-decoration: none; }
.hero__badge img,
.cert img { transition: transform .2s; }
.hero__badge:hover img,
.cert:hover img { transform: scale(1.05); }
.hero__badge:hover span,
.cert:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.hero__badge img { width: 150px; height: 150px; border-radius: 50%; background: var(--cream); object-fit: cover; }
.hero__badge-sep { width: 1px; height: 20px; background: rgba(247, 243, 234, .2); }

/* ---------- Filozofia ---------- */

.philo { background: var(--cream); }
.philo__photo { position: relative; overflow: hidden; }
.philo__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.philo__heading {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 90%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.philo__title {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(11, 26, 46, .4);
}
/* Krémový oblúk na spodku fotky */
.arc {
  position: absolute;
  left: -7%;
  right: -7%;
  bottom: -91px;
  height: 151px;
  background: var(--cream);
  border-radius: 600px 600px 0 0;
}
.philo__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 16px;
  padding-bottom: 100px;
}
.philo__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.philo__cols p { font-size: 17px; line-height: 1.7; color: var(--ink-muted); }

/* ---------- Sekcie ---------- */

.section { padding-block: var(--section-y); }
.section--lime { background: var(--lime); }
.section--cream { background: var(--cream); }

.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.section-head__sub { font-size: 18px; line-height: 1.5; color: var(--ink-muted); }

/* ---------- Služby ---------- */

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: 28px;
  border-radius: 12px;
  background: var(--cream);
}
.service__icon { width: 28px; height: 28px; }
.service h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.service p { font-size: 13px; line-height: 1.6; color: var(--ink-muted); flex-grow: 1; }

/* Tlačidlo „Viac" je <button>, nie odkaz */
button.text-link { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }

/* Vyskakovacie okno s detailom služby */
.service-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100% - 64px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(11, 20, 12, .35);
}
.service-dialog::backdrop { background: rgba(11, 20, 12, .6); }
.service-dialog[open] { animation: dialog-in .2s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } }
.service-dialog__box { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 48px; }
.service-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 36, 26, .06);
  color: var(--ink);
  cursor: pointer;
}
.service-dialog__close:hover { background: rgba(22, 36, 26, .12); }
.service-dialog__close .i { width: 20px; height: 20px; }
.service-dialog__icon { width: 36px; height: 36px; }
.service-dialog__title { padding-right: 32px; font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -.5px; }
.service-dialog__text p { font-size: 16px; line-height: 1.7; color: var(--ink-muted); }
.service-dialog__cta { margin-top: 8px; }
body:has(.service-dialog[open]) { overflow: hidden; }

/* ---------- O mne ---------- */

.about { display: grid; grid-template-columns: 440px 1fr; gap: 80px; align-items: start; }
.about__photo img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 160px 160px 24px 24px;
}
.about__text { display: flex; flex-direction: column; gap: 24px; max-width: 720px; }
.about__text > p:not(.label):not(.signature) { font-size: 16px; line-height: 1.7; color: var(--ink-muted); max-width: 580px; }
.about__text > .about__place { font-size: 15px; line-height: 1.6; }
.about__text .h2 { max-width: 580px; }

.certs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cert { display: flex; align-items: center; gap: 10px; padding: 10px 14px; text-decoration: none; }
.cert img { width: 96px; height: 96px; border-radius: 50%; background: var(--cream); object-fit: cover; }
.cert strong { display: block; font-size: 12px; }
.cert span { display: block; font-size: 11px; color: var(--ink-muted); }

/* ---------- Referencie (posuvník pred / po) ---------- */

.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ref { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ref figcaption {
  padding: 14px 20px;
  background: var(--cream);
  font-size: 13px;
  font-weight: 600;
}

.ba { position: relative; height: 260px; overflow: hidden; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--cream);
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(22, 36, 26, .31);
  color: rgba(22, 36, 26, .5);
  pointer-events: none;
}
.ba__handle .i { width: 16px; height: 16px; }
.ba__label {
  position: absolute;
  top: 14px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
  pointer-events: none;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* ---------- Ako to prebieha ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.section-head + .steps { margin-top: 8px; }
.step { position: relative; padding: 0 0 40px; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 48px;
  right: 48px;
  height: 1px;
  background: rgba(22, 36, 26, .19);
}
.step__dot {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--lime);
}
.step__dot .i { width: 20px; height: 20px; }
.step__num { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.step h3 { margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.step p { font-size: 14px; line-height: 1.6; color: var(--ink-muted); max-width: 260px; }

.price {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 48px 60px;
  border-radius: 16px;
  background: var(--lime);
}
.price__text { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.price__text p:not(.label) { font-size: 17px; line-height: 1.7; }
.price .btn { flex-shrink: 0; }

/* ---------- Pohotovosť ---------- */

.emergency { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: start; }
.emergency__text { display: flex; flex-direction: column; gap: 32px; }
.emergency__text > p:not(.label):not(.signature) { font-size: 16px; line-height: 1.7; color: var(--ink-muted); }
.emergency__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.emergency__steps { display: flex; flex-direction: column; gap: 24px; }
.emergency__steps li { display: flex; gap: 16px; }
.emergency__steps .num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(224, 80, 80, .13);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}
.emergency__steps h3 { margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.emergency__steps p { font-size: 14px; line-height: 1.6; color: var(--ink-muted); }

.phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 32px;
  border-radius: 16px;
  background: var(--cream);
  text-align: center;
}
.phone-card__icon { width: 36px; height: 36px; }
.phone-card__number {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.phone-card p { font-size: 13px; line-height: 1.5; color: var(--ink-muted); }

/* ---------- Kontakt ---------- */

.contact { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(22, 36, 26, .15);
  border-radius: 8px;
  background: rgba(22, 36, 26, .05);
  font: 15px/1.4 var(--sans);
  color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(22, 36, 26, .4); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--red); }

.upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 20px;
  border: 1px dashed rgba(22, 36, 26, .25);
  border-radius: 8px;
  background: rgba(22, 36, 26, .03);
  font-size: 14px;
  color: rgba(22, 36, 26, .55);
  cursor: pointer;
}
.upload .i { width: 18px; height: 18px; color: var(--ink-muted); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload.is-dragover { border-color: var(--ink); background: #fff; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.5; color: var(--ink-muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.check.is-invalid { color: var(--red); }

.form__status { padding: 14px 16px; border-radius: 8px; background: rgba(141, 198, 63, .25); font-size: 14px; }
.form__status.is-error { background: rgba(224, 80, 80, .13); color: #9b2c2c; }

.contact__info { display: flex; flex-direction: column; gap: 24px; }
.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(22, 36, 26, .05);
  text-decoration: none;
  transition: background-color .15s;
}
.info-card:hover { background: rgba(22, 36, 26, .09); }
.info-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: rgba(22, 36, 26, .08);
}
.info-card__icon .i { width: 20px; height: 20px; }
.info-card small { display: block; font-size: 12px; color: var(--ink-muted); }
.info-card strong { display: block; font-size: 20px; font-weight: 700; }
.info-card .info-card__email { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }

.map-card { position: relative; height: 220px; border-radius: 12px; overflow: hidden; }
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 20, 12, .55), transparent 55%); }
.map-card .pill { position: absolute; top: 16px; left: 16px; z-index: 1; }
.map-card p { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-size: 12px; color: rgba(247, 243, 234, .85); }

/* ---------- Pätička ---------- */

.site-footer {
  padding: 64px 0 48px;
  background: var(--lime);
  border-top: 1px solid rgba(22, 36, 26, .08);
}
.site-footer__top { display: grid; grid-template-columns: 240px 1fr 240px; gap: 60px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo .i { width: 28px; height: 28px; }
.footer-logo strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--cream); }
.footer-logo span { display: block; font-size: 11px; color: var(--ink-muted); }
.footer-claim { margin-top: 16px; font-family: var(--serif); font-size: 16px; color: var(--ink-muted); }
.footer-label { margin-bottom: 4px; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-muted); }
.site-footer__nav,
.site-footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .strong { font-weight: 600; }
.site-footer .muted { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink-muted); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Responzívnosť
   ========================================================================== */

/* ---------- Menší počítač / tablet na šírku ---------- */
@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .site-header__inner { padding-inline: 32px; }
  .site-nav { gap: 20px; }
  .hero__inner { padding-inline: 48px; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 360px 1fr; gap: 56px; }
  .about__photo img { height: 600px; }
  .emergency { grid-template-columns: 1fr 340px; gap: 48px; }
  .contact { grid-template-columns: 1fr 320px; gap: 48px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  :root { --gutter: 32px; --section-y: 64px; }

  /* Mobilné menu */
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
  }
  .site-nav a { font-family: var(--serif); font-size: 28px; font-weight: 600; }
  .site-nav .site-nav__urgent { margin-top: 8px; padding: 12px 28px; font-family: var(--sans); font-size: 17px; }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }

  .hero__inner { padding: 140px 32px 64px; }
  .hero__claim { font-size: 40px; }
  .hero__badge img { width: 110px; height: 110px; }

  .philo__title { font-size: 44px; }
  .philo__cols { gap: 40px; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .service { min-height: 0; }

  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__photo { max-width: 520px; }
  .about__photo img { height: auto; aspect-ratio: 440 / 600; }

  .refs { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .step:nth-child(2)::after { display: none; }

  .price { flex-direction: column; align-items: flex-start; gap: 28px; padding: 40px; }

  .emergency { grid-template-columns: 1fr; gap: 48px; }
  .phone-card { max-width: 440px; }

  .contact { grid-template-columns: 1fr; gap: 48px; }
  .contact__info { display: grid; grid-template-columns: 1fr 1fr; }
  .map-card { grid-column: 1 / -1; }

  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 56px; }

  .site-header__inner { padding: 16px 20px; }
  .logo__icon { width: 26px; height: 26px; }
  .logo__text { font-size: 20px; }

  .hero { min-height: 100svh; }
  .hero__inner { padding: 112px 20px 48px; gap: 40px; }
  .hero__content { gap: 22px; }
  .hero__claim { font-size: 32px; letter-spacing: -.5px; }
  .hero__sub { font-size: 17px; }
  .hero__ctas { flex-direction: column; align-self: stretch; }
  .hero__ctas .btn { width: 100%; padding: 16px 24px; font-size: 16px; }
  .hero__badges { gap: 16px; }
  .hero__badge { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; flex: 1; }
  .hero__badge img { width: 84px; height: 84px; }
  .hero__badge-sep { display: none; }

  .philo__photo img { aspect-ratio: 4 / 3; }
  .philo__heading { top: 8%; gap: 10px; }
  .philo__title { font-size: 30px; letter-spacing: -.5px; }
  .arc { bottom: -121px; }
  .philo__cols { grid-template-columns: 1fr; gap: 20px; }
  .philo__cols p { font-size: 16px; }
  .philo__body { padding-bottom: 64px; }

  .h2 { font-size: 34px; }
  .h2--md { font-size: 32px; }
  .h2--lg { font-size: 36px; letter-spacing: -1px; }
  .section-head { margin-bottom: 32px; }
  .section-head__sub { font-size: 16px; }

  .services { grid-template-columns: 1fr; gap: 12px; }
  .service { padding: 24px; gap: 10px; }

  .service-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border-radius: 0; }
  .service-dialog__box { min-height: 100%; padding: 72px 20px 32px; }
  .service-dialog__title { font-size: 26px; }
  .service-dialog__cta { width: 100%; }

  .certs { margin-top: 8px; }
  .cert { padding: 0; }
  .cert img { width: 72px; height: 72px; }

  .refs { grid-template-columns: 1fr; }
  .ba { height: 240px; }

  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .step::after { display: none; }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 56px;
    bottom: 8px;
    left: 24px;
    width: 1px;
    background: rgba(22, 36, 26, .19);
  }
  .step__dot { grid-row: span 3; margin: 0; }
  .price { padding: 28px 24px; }
  .price__text p:not(.label) { font-size: 16px; }
  .price .btn { width: 100%; }

  .emergency__text { gap: 24px; }
  .phone-card { padding: 32px 24px; max-width: none; }
  .phone-card__number { font-size: 30px; }

  .form__row { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr; }
  .info-card strong { font-size: 18px; }

  .site-footer { padding-top: 48px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { margin-top: 40px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
