/* ==========================================================================
   GogoKlima — styles.css
   Brand colors sourced from official logo (Podklady web Gogoklima/Logo)
   ========================================================================== */

/* Self-hosted variable font (weights 400–800) — avoids sending visitor
   IPs to Google Fonts' CDN and removes an external network request. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/PlusJakartaSans-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/PlusJakartaSans-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-024F, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0f3c6a;
  --navy-dark: #0a2c4f;
  --navy-darker: #081f38;
  --red: #d73a30;
  --red-dark: #b92e26;
  --blue: #2d88c9;
  --blue-light: #eaf4fb;
  --ink: #16263a;
  --muted: #5c6b7d;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --white: #ffffff;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --shadow-s: 0 1px 2px rgba(15, 60, 106, 0.06), 0 1px 1px rgba(15, 60, 106, 0.04);
  --shadow-m: 0 8px 24px rgba(15, 60, 106, 0.10);
  --shadow-l: 0 20px 48px rgba(15, 60, 106, 0.16);

  --container: 1180px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

html, body { overflow-x: hidden; }

body {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

section { position: relative; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head { max-width: 620px; margin: 0 0 44px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.03rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Reveal animation ----------
   Progressive enhancement: content is fully visible by default (no-JS,
   crawlers, JS errors). Only once main.js confirms it can run the
   IntersectionObserver does it arm the hidden->visible transition. */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal .reveal { opacity: 0; transform: translateY(22px); }
.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-reveal .reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-m); }
.btn-navy:hover { background: var(--navy-dark); box-shadow: var(--shadow-l); }

.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(215, 58, 48, 0.28); }
.btn-red:hover { background: var(--red-dark); }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-light); }

.btn-outline { border-color: rgba(15, 60, 106, 0.22); color: var(--navy); background: transparent; }
.btn-outline:hover { border-color: var(--navy); background: var(--blue-light); }

.btn-outline-light { border-color: rgba(255,255,255,0.35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15,60,106,0.06); }

.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-right { display: flex; align-items: center; gap: 18px; }

.header-phone { display: none; align-items: center; gap: 10px; }
.header-phone .icon-badge { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.header-phone .num { font-weight: 800; color: var(--navy); font-size: 1rem; line-height: 1.2; }
.header-phone .hrs { font-size: 0.76rem; color: var(--muted); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  flex: none;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 0 auto; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 99;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-nav .header-phone { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 56px 0 88px;
  background: linear-gradient(180deg, var(--blue-light) 0%, #ffffff 78%);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-s);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: #fff3d6; color: #b4790a; display: flex; align-items: center; justify-content: center; }

.hero h1 { font-size: clamp(2.4rem, 1.9rem + 2.4vw, 3.6rem); line-height: 1.06; }
.hero h1 .accent { color: var(--red); }

.hero-lead { margin-top: 20px; color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.hero-lead + .hero-lead { margin-top: 10px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.7rem; font-weight: 800;
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust .stars { color: #f5a623; font-size: 0.95rem; letter-spacing: 2px; }
.hero-trust small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.hero-art { position: relative; }
.hero-art-card {
  position: relative;
  border-radius: var(--radius-l);
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 60%, var(--navy-darker) 100%);
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  box-shadow: var(--shadow-l);
  isolation: isolate;
}
.hero-art-card .glow-red { position: absolute; width: 60%; height: 60%; left: -10%; top: -8%; background: radial-gradient(circle, rgba(215,58,48,0.55), transparent 70%); filter: blur(10px); }
.hero-art-card .glow-blue { position: absolute; width: 70%; height: 70%; right: -15%; bottom: -15%; background: radial-gradient(circle, rgba(45,136,201,0.55), transparent 70%); filter: blur(10px); }
.hero-art-card svg { position: relative; z-index: 1; width: 100%; height: 100%; }

.hero-floating {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
}
.hero-floating .ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.hero-floating strong { display: block; font-size: 0.95rem; color: var(--navy); }
.hero-floating span { font-size: 0.76rem; color: var(--muted); }

.hero-floating.card-temp { top: 8%; left: -6%; }
.hero-floating.card-temp .ic { background: var(--blue-light); color: var(--blue); }

.hero-floating.card-eco { bottom: 10%; right: -6%; animation-delay: 1.4s; }
.hero-floating.card-eco .ic { background: #fdeceb; color: var(--red); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding: 90px 0 40px; }

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: transparent; }

.service-card .ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card.blue .ic { background: var(--blue-light); color: var(--blue); }
.service-card.red .ic { background: #fdeceb; color: var(--red); }
.service-card.navy .ic { background: #eaf0f6; color: var(--navy); }

.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 22px; min-height: 66px; }

.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.92rem; }
.card-link svg { transition: transform 0.25s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }
.service-card.blue .card-link { color: var(--navy); }
.service-card.red .card-link { color: var(--red); }
.service-card.navy .card-link { color: var(--navy); }

/* ==========================================================================
   Reference / testimonials
   ========================================================================== */
.reference { padding: 90px 0; background: var(--bg-soft); }

.testi-wrap { position: relative; max-width: 880px; margin: 0 auto; }
.testi-track-outer { overflow: hidden; border-radius: var(--radius-l); }
.testi-track { display: flex; transition: transform 0.5s var(--ease); }
.testi-slide { flex: 0 0 100%; }

.testi-card {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
.testi-photo { aspect-ratio: 16/11; overflow: hidden; background: var(--navy); }
.testi-photo img { width: 100%; height: 100%; object-fit: cover; }
.testi-body { padding: 30px 28px 32px; display: flex; flex-direction: column; }
.testi-quote-mark { color: var(--blue); opacity: 0.35; margin-bottom: 6px; }
.testi-body p.quote { font-size: 1.05rem; color: var(--ink); flex: 1; }
.testi-body .who { margin-top: 20px; }
.testi-body .who strong { display: block; color: var(--navy); }
.testi-body .who span { font-size: 0.85rem; color: var(--muted); }
.testi-stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; font-size: 0.95rem; }

.testi-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 18px; opacity: 0.75; }

.testi-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.testi-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.testi-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.testi-dots { display: flex; gap: 8px; }
.testi-dots button { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; padding: 0; transition: all .25s ease; }
.testi-dots button::before { content: ""; position: absolute; inset: -12px; } /* enlarges tap target to ~32px without affecting the visual dot */
.testi-dots button.is-active { width: 22px; background: var(--red); border-radius: 999px; }

/* ==========================================================================
   Contact strip
   ========================================================================== */
.contact-strip { margin-top: -1px; }
.contact-strip .container { transform: translateY(-40px); }
.strip-inner {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  display: grid;
  grid-template-columns: 1fr;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.strip-item:last-child { border-bottom: none; }
.strip-item .ic { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.strip-item.a .ic { background: #fdeceb; color: var(--red); }
.strip-item.b .ic { background: var(--blue-light); color: var(--blue); }
.strip-item.c .ic { background: #eaf0f6; color: var(--navy); }
.strip-item > div { min-width: 0; }
.strip-item strong { display: block; color: var(--navy); font-size: 1.02rem; }
.strip-item span, .strip-item small { display: block; color: var(--muted); font-size: 0.85rem; }
.strip-item a.big { display: block; font-weight: 800; color: var(--navy); font-size: 1.05rem; }

/* ==========================================================================
   Why us (dark)
   ========================================================================== */
.why {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 55%, var(--navy-darker) 100%);
  padding: 96px 0 90px;
  color: #fff;
  overflow: hidden;
}
.why .container { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.why .eyebrow { color: #8fc6ec; }
.why h2 { color: #fff; margin-bottom: 34px; }

.why-list { display: flex; flex-direction: column; gap: 26px; }
.why-item { display: flex; gap: 18px; }
.why-item .ic {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
}
.why-item.red .ic { color: #ff8a80; }
.why-item.blue .ic { color: #8fc6ec; }
.why-item.gold .ic { color: #ffd479; }
.why-item h4 { font-size: 1.08rem; margin-bottom: 6px; color: #fff; }
.why-item p { color: rgba(255,255,255,0.68); font-size: 0.95rem; }

.why-photo {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  aspect-ratio: 4/3;
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 35%; }
.why-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,31,56,0.55) 0%, transparent 45%);
}
.why-photo-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.why-photo-badge .d { width: 8px; height: 8px; border-radius: 50%; background: #2fbf6e; }

/* ==========================================================================
   Service area
   ========================================================================== */
.area { padding: 96px 0; }
.area .container { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }

.area-text h3.region { font-size: 1.3rem; color: var(--navy); margin: 18px 0 6px; }
.area-text p { color: var(--muted); }
.area-text .also { margin-top: 22px; font-weight: 700; color: var(--navy); }
.area-text .btn { margin-top: 26px; }

.area-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.area-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(45,136,201,0.35);
}
.area-ring.r1 { inset: 0; }
.area-ring.r2 { inset: 14%; border-style: solid; border-color: rgba(45,136,201,0.18); background: rgba(45,136,201,0.05); }
.area-ring.r3 { inset: 30%; background: rgba(45,136,201,0.1); border: none; }

.area-pin {
  position: relative; z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(15,60,106,0.35);
}
.area-pin::before {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(15,60,106,0.25);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.area-town {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.area-town span.d { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.area-town.t1 { top: 4%; right: 6%; }
.area-town.t2 { bottom: 12%; left: -4%; }
.area-town.t3 { bottom: 2%; right: 18%; }
.area-town.t4 { top: 30%; left: -8%; }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding: 20px 0 96px; }
.about .container {
  background: var(--bg-soft);
  border-radius: var(--radius-l);
  padding: 48px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.about-visual {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-m);
}
.about-visual svg { width: 100%; height: 100%; }
.about-badges { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.about-badge { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.about-badge .ic { color: var(--blue); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-darker));
  border-radius: var(--radius-l);
  margin: 0 24px 96px;
  padding: 48px 32px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.cta-final .container { max-width: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; position: relative; z-index: 1; }
.cta-final h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.cta-final .contacts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; }
.cta-final .contacts a { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cta-final .contacts .ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.cta-final-blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(45,136,201,0.35), transparent 70%); right: -120px; top: -160px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-brand img { height: 36px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 30ch; }
.footer-col h5 { color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--navy); }
.footer-legal { color: var(--muted); font-size: 0.8rem; line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-bottom .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--navy); }

/* Back to top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-l);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(3, 1fr); }
  .strip-item { border-bottom: none; border-right: 1px solid var(--line); }
  .strip-item:last-child { border-right: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 780px) {
  .testi-card { grid-template-columns: 1.05fr 1fr; }
  .testi-photo { aspect-ratio: auto; }
  .about .container { grid-template-columns: 1fr 1.15fr; padding: 56px; }
  .cta-final { padding: 56px 60px; }
  .cta-final .container { grid-template-columns: 1.3fr 1fr; }
}

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-phone { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }

  .hero .container { grid-template-columns: 1fr 0.9fr; }
  .hero-lead { max-width: 42ch; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }

  .why .container { grid-template-columns: 1fr 0.85fr; }
  .why-photo { order: 2; }

  .area .container { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (min-width: 1180px) {
  .hero { padding: 76px 0 110px; }
}
