/* =====================================================
   MotorServis Brno — styles.css
   Art direction: trustworthy corporate, steel-blue, airy
   ===================================================== */

:root {
  /* Palette */
  --blue:        #1E56A0;
  --blue-600:    #1A4B8C;
  --blue-700:    #163B6E;
  --blue-900:    #0E244A;
  --blue-050:    #EEF4FC;
  --blue-100:    #DDE9F8;
  --sky:         #4C86D6;

  --green:       #16A34A;
  --green-050:   #E7F6ED;
  --amber:       #F5A623;

  --ink:         #0F1B2D;
  --ink-2:       #34445C;
  --muted:       #647085;
  --line:        #E4E9F1;
  --line-2:      #EDF1F7;

  --bg:          #FFFFFF;
  --bg-soft:     #F5F8FC;
  --bg-soft-2:   #EFF4FA;

  /* Type */
  --font-head: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* Shadow (soft, layered) */
  --sh-sm: 0 1px 2px rgba(15,27,45,.06), 0 2px 6px rgba(15,27,45,.05);
  --sh:    0 6px 18px rgba(15,27,45,.07), 0 2px 6px rgba(15,27,45,.05);
  --sh-lg: 0 24px 60px -20px rgba(20,59,110,.28), 0 8px 24px rgba(15,27,45,.08);
  --sh-blue: 0 18px 40px -14px rgba(30,86,160,.5);

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  transition: top .2s var(--ease); font-weight: 600;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn svg { transition: transform .25s var(--ease); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%);
  color: #fff; box-shadow: var(--sh-blue);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -14px rgba(30,86,160,.6); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--primary:active { transform: translateY(-1px); }

.btn--ghost {
  background: #fff; color: var(--blue-700); box-shadow: inset 0 0 0 1.6px var(--blue-100), var(--sh-sm);
}
.btn--ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.6px var(--blue), var(--sh); color: var(--blue); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck { box-shadow: 0 6px 24px rgba(15,27,45,.07); border-color: var(--line); background: rgba(255,255,255,.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 6px 12px rgba(30,86,160,.28)); transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand__text strong { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand__text em { font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-top: 3px; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text em { color: var(--blue-100); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a:not(.btn):not(.nav__phone) {
  padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 15.5px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav__links > a:not(.btn):not(.nav__phone):hover { color: var(--blue); background: var(--blue-050); }

.nav__phone {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--blue-700);
}
.nav__phone svg { color: var(--blue); }
.nav__phone:hover { color: var(--blue); }
.nav__cta { margin-left: 6px; }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; }
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 2.4px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease); top: 50%;
}
.nav__toggle span:nth-child(1) { transform: translateY(-7px); }
.nav__toggle span:nth-child(3) { transform: translateY(7px); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-050); }
.eyebrow--light { color: var(--blue-100); }
.eyebrow--light .dot { box-shadow: 0 0 0 4px rgba(76,134,214,.25); }

.grad { color: var(--blue); background: linear-gradient(120deg, var(--blue) 0%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.check { width: 20px; height: 20px; flex: none; fill: var(--green); }

.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--blue); }
.stars--gold svg { fill: var(--amber); }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 86px); padding-bottom: clamp(60px, 8vw, 96px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 8%, rgba(76,134,214,.16), transparent 60%),
    radial-gradient(50% 50% at 8% 30%, rgba(30,86,160,.10), transparent 55%),
    linear-gradient(180deg, var(--blue-050) 0%, #fff 62%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(30,86,160,.06) 1px, transparent 1px);
  background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero__copy h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; margin-bottom: 22px; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 46ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 15px; color: var(--ink-2); }

/* Hero media */
.hero__media { position: relative; }
.hero__photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 4/4.6;
  outline: 8px solid #fff; outline-offset: 0;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__media:hover .hero__photo img { transform: scale(1.05); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,36,74,.28)); }

.card-float { position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); box-shadow: var(--sh-lg); }
.hero__badge {
  right: -14px; top: 34px; border-radius: var(--r); padding: 14px 18px; text-align: center;
  display: grid; gap: 3px; min-width: 148px;
}
.hero__badge strong { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--ink); }
.hero__badge span { font-size: 12.5px; color: var(--muted); }
.hero__badge .stars { justify-content: center; margin-bottom: 2px; }

.hero__badge2 {
  left: -20px; bottom: 40px; border-radius: 999px; padding: 12px 20px 12px 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero__badge2 strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.hero__badge2 span { font-size: 12.5px; color: var(--muted); }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- BRANDS MARQUEE ---------- */
.brands { padding: 40px 0 48px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: #fff; }
.brands__title { text-align: center; font-size: 15px; font-family: var(--font-body); font-weight: 500; color: var(--muted); letter-spacing: .01em; max-width: 40ch; margin: 0 auto 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__logo { font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: .04em; color: #9aa6b8; opacity: .85; transition: color .3s, opacity .3s; white-space: nowrap; }
.marquee__logo:hover { color: var(--blue); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTION scaffold ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-soft-2) 100%); }
.section__head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 16px; }
.section__lead { color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.16rem); }
.section__lead a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.section__head--light h2 { color: #fff; }
.section__head--light .section__lead { color: #C5D6EE; }

/* ---------- SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 28px; box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--blue-050), var(--blue-100)); color: var(--blue);
  transition: transform .4s var(--ease), background .3s;
}
.service__icon svg { width: 28px; height: 28px; }
.service:hover .service__icon { transform: scale(1.08) rotate(-4deg); background: linear-gradient(140deg, var(--blue), var(--blue-600)); color: #fff; }
.service h3 { font-size: 1.28rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.service__meta {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: 13px;
  color: var(--green); background: var(--green-050); padding: 6px 12px; border-radius: 999px;
}
.service__meta::before { content: "✓"; font-weight: 700; }

/* ---------- STATS ---------- */
.stats { background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue) 55%, var(--blue-600) 100%); position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 75%); mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 75%);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: clamp(48px, 6vw, 76px) clamp(20px,5vw,48px); }
.stat { text-align: center; color: #fff; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,.18); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; margin-bottom: 8px; letter-spacing: -.03em; }
.stat span { color: #BFD3EE; font-size: 15px; font-weight: 500; }

/* ---------- SHOWCASE / DÍLNA ---------- */
.showcase { padding: clamp(64px, 9vw, 120px) 0; }
.showcase__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.showcase__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.showcase__list { list-style: none; padding: 0; display: grid; gap: 13px; margin-top: 26px; }
.showcase__list li { display: flex; align-items: center; gap: 11px; font-weight: 500; font-size: 16px; color: var(--ink-2); }
.showcase__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.showcase__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); border: 6px solid #fff; margin: 0; background: var(--bg-soft); }
.showcase__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.showcase__img:hover img { transform: scale(1.06); }
.showcase__img--tall { grid-row: 1 / 3; }
.showcase__img--tall img { aspect-ratio: 7/9; }
.showcase__img:not(.showcase__img--tall) img { aspect-ratio: 7/5.2; }

/* ---------- STEPS ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px 30px;
  box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.step__num {
  display: inline-grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 20px;
  width: 56px; height: 56px; border-radius: 16px; color: #fff; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--blue), var(--blue-600)); box-shadow: var(--sh-blue);
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
/* connector arrows */
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 52px; width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--blue-100), transparent); z-index: 1;
}

/* ---------- PRICING ---------- */
.pricing { max-width: 940px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th {
  text-align: left; font-family: var(--font-head); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: 18px 26px; background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.price-table thead th:last-child { text-align: right; }
.price-table tbody th, .price-table tbody td { padding: 18px 26px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.price-table tbody tr { transition: background .2s; }
.price-table tbody tr:hover { background: var(--blue-050); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody th { text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.price-table tbody td { color: var(--muted); font-size: 15px; }
.price-table .price { text-align: right; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--blue); white-space: nowrap; }
.pricing__note { display: flex; align-items: center; gap: 12px; padding: 20px 26px; background: var(--green-050); }
.pricing__note p { font-size: 15px; color: var(--ink-2); }
.pricing__note a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- REVIEWS (dark) ---------- */
.section--dark { background: radial-gradient(90% 120% at 80% 0, var(--blue-700), var(--blue-900) 70%); position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 32px 32px;
}
.reviews { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
  padding: 30px 28px; backdrop-filter: blur(4px);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.review:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }
.review .stars { margin-bottom: 18px; }
.review blockquote { color: #E6EEF9; font-size: 16.5px; line-height: 1.65; margin-bottom: 24px; font-weight: 400; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(140deg, var(--sky), var(--blue)); box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.review figcaption strong { display: block; color: #fff; font-family: var(--font-head); font-size: 15.5px; }
.review figcaption em { font-style: normal; color: #9FBAE0; font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq__wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s; }
.faq__item[open] { box-shadow: var(--sh); border-color: var(--blue-100); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 13px; height: 13px; margin-top: -7px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E56A0'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__body { padding: 0 24px 22px; }
.faq__body p { color: var(--muted); font-size: 15.5px; }
.faq__item[open] .faq__body { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CONTACT ---------- */
.contact { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.contact__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.contact__list { list-style: none; padding: 0; display: grid; gap: 18px; margin: 30px 0; }
.contact__list li { display: flex; align-items: center; gap: 15px; }
.contact__ico { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.contact__ico svg { width: 22px; height: 22px; }
.contact__list em { font-style: normal; display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.contact__list a, .contact__list strong { font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink); transition: color .2s; }
.contact__list a:hover { color: var(--blue); }
.contact__map { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); border: 1px solid var(--line); }
.contact__map iframe { filter: grayscale(.2) contrast(1.02); transition: filter .4s; }
.contact__map:hover iframe { filter: none; }

/* ---------- FORM ---------- */
.contact__form-wrap { position: relative; }
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--sh-lg); position: relative;
}
.form__title { font-size: 1.5rem; margin-bottom: 24px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.field label span { color: var(--blue); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm); border: 1.6px solid var(--line);
  background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s; font-size: 16px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa6b8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-050); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #E0463C; background: #FDF2F1; }
.field__err { color: #D33A2F; font-size: 13px; font-weight: 500; min-height: 0; transition: min-height .2s; }
.field.is-invalid .field__err, .consent + .field__err.is-visible { min-height: 18px; }

/* time chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 0; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1.6px solid var(--line); background: var(--bg-soft); font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip:hover { border-color: var(--blue-100); color: var(--blue); }
.chip:has(input:checked) { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.chip:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 6px; cursor: pointer; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; flex: none; accent-color: var(--blue); margin-top: 1px; }
.consent span span { color: var(--blue); }

.btn__spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.btn.is-loading .btn__label { opacity: .6; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__reassure { display: flex; align-items: center; gap: 9px; justify-content: center; margin-top: 16px; font-size: 13.5px; color: var(--muted); }

.form__success {
  position: absolute; inset: 0; background: #fff; border-radius: var(--r-xl); display: grid; place-content: center;
  text-align: center; padding: 40px; gap: 8px; z-index: 5; animation: successIn .5s var(--ease);
}
.form__success[hidden] { display: none; }
.form__success-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--green-050); display: grid; place-items: center; margin: 0 auto 12px; animation: pop .5s var(--ease) .15s both; }
.form__success-ico svg { width: 36px; height: 36px; fill: var(--green); }
.form__success h3 { font-size: 1.6rem; }
.form__success p { color: var(--muted); max-width: 34ch; margin: 0 auto; }
.form__success a { color: var(--blue); font-weight: 700; }
@keyframes successIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ---------- FOOTER ---------- */
.footer { background: var(--blue-900); color: #B9C7DE; padding: clamp(48px, 6vw, 76px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand p { margin: 18px 0; max-width: 34ch; font-size: 15px; color: #93A4C0; }
.footer__stars { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #B9C7DE; }
.footer__col h4 { color: #fff; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: #93A4C0; font-size: 15px; margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__contact a { font-family: var(--font-head); font-weight: 600; color: #DCE6F5; }
.footer__hours { margin-top: 6px; }
.footer__hours strong { color: #fff; }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13.5px; color: #7889A6; }

/* ---------- Mobile call bar ---------- */
.callbar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: none;
  align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--green) 0%, #12903f 100%); color: #fff;
  font-family: var(--font-head); font-weight: 700; padding: 15px; border-radius: 999px;
  box-shadow: 0 14px 30px -8px rgba(22,163,74,.55);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin: 8px auto 0; width: 100%; }
  .services, .reviews { grid-template-columns: repeat(2, 1fr); }
  .showcase__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps .step:not(:last-child)::after { display: none; }
  .stat:not(:last-child)::after { display: none; }
  .faq__wrap { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px); padding: 18px clamp(20px,5vw,48px) 26px;
    box-shadow: 0 20px 40px rgba(15,27,45,.12); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s var(--ease);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links > a:not(.btn):not(.nav__phone) { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .nav__phone { margin: 6px 0 4px; padding: 14px 16px; font-size: 17px; }
  .nav__cta { margin: 6px 0 0; }
  .nav__toggle { display: block; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .callbar { display: flex; }
  body { padding-bottom: 72px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .services, .reviews { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__badge { right: 6px; top: 14px; min-width: 128px; padding: 12px 14px; }
  .hero__badge2 { left: 4px; bottom: 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; }
  .price-table thead { display: none; }
  .price-table tbody th, .price-table tbody td { display: block; padding: 4px 20px; border: none; }
  .price-table tbody tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
  .price-table tbody th { padding-top: 14px; font-size: 17px; }
  .price-table .price { text-align: left; padding-bottom: 14px; }
}

@media (max-width: 380px) {
  .hero__cta .btn { width: 100%; }
}
