/* =========================================================
   GeoLab — styles.css
   Земляна палітра · Bebas Neue + Manrope · Статичний сайт
   ========================================================= */

/* ===== LOCAL FONTS (self-hosted) ===== */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ===== CSS VARIABLES (earth palette) ===== */
:root {
  --blue: #1F8F89;
  --blue-bright: #4FD0C6;
  --earth: #D29A4A;
  --earth-deep: #8A5A2A;
  --magma: #E5683A;
  --dark: #160B05;
  --dark2: rgba(30,20,11,0.60);
  --dark3: rgba(42,28,16,0.66);
  --text: #F3ECDF;
  --muted: #BCA88A;
  --accent: #4FD0C6;
  --green: #74B83F;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; overflow-y: scroll; scrollbar-gutter: stable; scroll-behavior: smooth; background: #1B3318; }

/* ===== BODY / BACKGROUND ===== */
body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: linear-gradient(180deg,
    #1B3318 0%,
    #23300F 6%,
    #2A1E0E 16%,
    #32230F 32%,
    #371F10 48%,
    #361810 64%,
    #2E130D 78%,
    #3A150B 90%,
    #6E2109 100%);
  background-attachment: scroll;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--blue-bright);
  color: #04101F;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ===== ANIMATED BG GRID ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,228,170,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,228,170,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAV ===== */
header nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(22,12,6,0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,210,140,0.14);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 2.5px;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
  display: inline-block;
  transition: opacity 0.2s;
}
.logo span { color: var(--blue-bright); }
.logo:hover { opacity: 0.85; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--blue-bright); }

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #04101F !important;
  font-weight: 700 !important;
  padding: 10px 24px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(31,143,137,0.42);
}

/* dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn:focus { color: var(--blue-bright); outline: none; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: rgba(22,12,6,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,210,140,0.16);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: rgba(79,208,198,0.1);
  color: var(--blue-bright);
}

/* ===== HERO (homepage full-screen) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(116,184,63,0.16) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}
.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(210,154,74,0.14) 0%, transparent 70%);
  bottom: 0; left: -100px;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  max-width: 700px;
  width: 100%;
  overflow: visible;
  animation: fadeUp 0.8s ease both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,208,198,0.12);
  border: 1px solid rgba(79,208,198,0.34);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--blue-bright);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 9vw, 88px);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 24px;
  padding-right: 4px;
}
h1 .line1 { color: var(--text); display: block; }
h1 .line2 {
  display: block;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h1 .line3 { color: var(--earth); display: block; }

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 560px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--earth), var(--magma));
  color: #2A1305;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Manrope', sans-serif;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(229,104,58,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  font-family: 'Manrope', sans-serif;
}
.btn-secondary:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
}

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: var(--blue-bright);
  letter-spacing: 1px;
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* brand panel (homepage hero) */
.hero-visual {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
}
.brand-panel {
  position: relative;
  background: linear-gradient(160deg, #FCF8EF, #ECE1CC);
  border-radius: 24px;
  padding: 52px 44px 40px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(79,208,198,0.35);
  pointer-events: none;
}
.brand-panel img {
  width: 280px; max-width: 100%; height: auto;
  display: block; margin: 0 auto;
}
.brand-caption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(138,90,42,0.22);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #8A5A2A;
}

/* ===== SECTIONS (shared) ===== */
section {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ===== SERVICE CARDS (homepage) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: inherit;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,208,198,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: rgba(79,208,198,0.34);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(79,208,198,0.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.service-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

.service-card-arrow {
  margin-top: 16px;
  font-size: 13px;
  color: var(--blue-bright);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.service-card:hover .service-card-arrow { opacity: 1; transform: translateX(0); }

/* ===== WHY SECTION ===== */
.why-section {
  background: var(--dark2);
  margin: 0; max-width: 100%;
  padding: 100px 40px;
}
.why-inner { max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-points { display: flex; flex-direction: column; gap: 24px; }
.why-point {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--dark3);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.2s;
}
.why-point:hover { border-color: rgba(79,208,198,0.34); }
.why-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.why-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.why-text { font-size: 14px; color: var(--muted); line-height: 1.6; }
.why-image-box {
  background: var(--dark3);
  border-radius: 20px;
  border: 1px solid rgba(79,208,198,0.18);
  padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
}
.big-stat {
  text-align: center; padding: 32px;
  background: linear-gradient(135deg, rgba(79,208,198,0.12), rgba(210,154,74,0.12));
  border-radius: 16px;
  border: 1px solid rgba(79,208,198,0.24);
}
.big-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px; color: var(--blue-bright); line-height: 1;
}
.big-stat-label { color: var(--muted); font-size: 14px; margin-top: 8px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-stat { background: var(--dark2); border-radius: 12px; padding: 20px; text-align: center; }
.mini-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--earth); line-height: 1; }
.mini-stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ===== PROCESS ===== */
.process-steps { display: flex; gap: 0; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright), var(--earth));
  opacity: 0.35;
}
.step { flex: 1; text-align: center; padding: 0 16px; position: relative; }
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; color: #04201E;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  box-shadow: 0 0 24px rgba(79,208,198,0.4);
}
.step-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ===== CONTACT / FORM SECTION ===== */
.form-section {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  margin: 0; max-width: 100%;
  padding: 100px 40px;
  position: relative; overflow: hidden;
}
.form-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(229,104,58,0.12), transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.badge-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.badge-icon {
  width: 32px; height: 32px;
  background: rgba(116,184,63,0.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue-bright); }
.breadcrumb-sep { color: rgba(188,168,138,0.4); }
.breadcrumb-current { color: var(--text); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 140px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text);
  padding-right: 0;
}
.page-hero .hero-sub { margin-bottom: 0; }

/* ===== PAGE BODY (2-column layout) ===== */
.page-body {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 80px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

/* ===== PROSE (article text) ===== */
.prose h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1;
  margin: 48px 0 16px;
  color: var(--text);
  letter-spacing: 1px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text);
}
.prose p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 18px;
}
.prose p strong { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 20px 0; padding-left: 22px; }
.prose li { font-size: 16px; line-height: 1.7; color: var(--muted); margin-bottom: 8px; }
.prose li strong { color: var(--text); }
.prose img {
  width: 100%; border-radius: 16px;
  margin: 28px 0;
  border: 1px solid rgba(255,255,255,0.07);
  display: block;
}
.prose-img-caption {
  font-size: 12px;
  color: rgba(188,168,138,0.6);
  text-align: center;
  margin-top: -20px;
  margin-bottom: 28px;
}

/* ===== SIDEBAR ===== */
.page-sidebar { position: sticky; top: 80px; }

.cta-card {
  background: linear-gradient(135deg, rgba(30,20,11,0.8), rgba(42,28,16,0.8));
  border: 1px solid rgba(79,208,198,0.22);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}
.cta-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.cta-card-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.cta-card .btn-primary {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 15px;
  padding: 14px 20px;
}
.cta-card .btn-secondary {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px 20px;
  margin-bottom: 10px;
}
.cta-badges { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

.sidebar-info {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
}
.sidebar-info-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}
.sidebar-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.sidebar-info-item:last-child { margin-bottom: 0; }

/* ===== RELATED SERVICES ===== */
.related-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
  box-sizing: border-box;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.related-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
  color: inherit;
}
.related-card:hover {
  border-color: rgba(79,208,198,0.34);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}
.related-card-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.related-card-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.related-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ===== FAQ SECTION (inner pages) ===== */
.faq-section {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 40px 80px;
  box-sizing: border-box;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  color: var(--blue-bright);
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ===== FOOTER ===== */
footer {
  background: rgba(20,8,3,0.45);
  border-top: 1px solid rgba(255,150,90,0.22);
  position: relative;
  z-index: 1;
  padding: 48px 40px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  padding-bottom: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,150,90,0.1);
}
.footer-brand .logo { margin-bottom: 8px; display: block; }
.footer-tagline { font-size: 13px; color: var(--muted); }
.footer-nav { display: flex; gap: 48px; }
.footer-nav-col { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 4px;
}
.footer-nav-col a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--blue-bright); }
.footer-contacts-block { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts-block .footer-nav-title { margin-bottom: 6px; }
.footer-contacts-block a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contacts-block a:hover { color: var(--blue-bright); }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--muted); }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 0 clamp(16px, 5vw, 80px);
}
.contact-method {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  transition: border-color 0.2s;
}
.contact-method:hover { border-color: rgba(79,208,198,0.34); }
.contact-method-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.contact-method-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; margin-bottom: 8px; color: var(--text); }
.contact-method-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.contact-method-value { font-size: 18px; font-weight: 600; color: var(--blue-bright); margin-bottom: 6px; }
.contact-method-note { font-size: 13px; color: var(--muted); }
.contact-method .btn-primary, .contact-method .btn-secondary {
  width: 100%; justify-content: center;
}

/* ===== ANIMATIONS (inner pages) ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .hero-visual { display: none; }
}

@media (max-width: 900px) {
  header nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .hero { padding: 90px 16px 50px; min-height: auto; }
  section { padding: 60px 16px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { flex-direction: column; gap: 32px; }
  .process-steps::before { display: none; }
  .why-section { padding: 60px 16px; }
  .form-section { padding: 60px 16px; }
  .why-inner { padding: 0; }
  footer { padding: 32px 16px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { flex-direction: column; gap: 20px; }
  /* inner pages */
  .page-hero { padding: 100px 16px 40px; }
  .page-body { grid-template-columns: 1fr; gap: 40px; padding: 32px 16px 60px; }
  .page-sidebar { position: static; }
  .related-section { padding: 0 16px 60px; }
  .faq-section { padding: 20px 16px 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; }
}

@media (max-width: 600px) {
  header nav { padding: 12px 14px; }
  .logo { font-size: 25px; letter-spacing: 2px; }
  .nav-cta { padding: 8px 16px; font-size: 13px !important; }
  .hero { padding: 80px 18px 40px; min-height: 100svh; }
  h1 { font-size: clamp(30px, 10vw, 50px) !important; line-height: 1; }
  .hero-badge { font-size: 11px; padding: 6px 12px; margin-bottom: 20px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat-num { font-size: 32px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; padding: 14px 20px; font-size: 15px; }
  .services-grid { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .footer-contacts { flex-direction: column; gap: 8px; }
  .contact-buttons { flex-direction: column; }
  .contact-buttons a { width: 100%; justify-content: center; }
}

/* ===== STABLE HEADER ACROSS PAGE NAVIGATION ===== */
/* Cross-document fade between pages — progressive enhancement.
   Works in browsers that support MPA View Transitions (Chromium 126+);
   silently ignored everywhere else. */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
  animation-timing-function: ease;
}

/* Treat the top nav as ONE continuous element across navigations,
   so it stays put instead of cross-fading with the page body. */
header[role="banner"] nav { view-transition-name: site-header; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
  header[role="banner"] nav { view-transition-name: none; }
}
