/* ==========================================================================
   TEKAA Earth — stylesheet
   Layout system: one 1200px container, 24px gutters, 8px spacing scale.
   ========================================================================== */

:root {
  /* Palette (from the TEKAA Earth logo) */
  --navy: #0d3b66;
  --navy-deep: #082a4a;
  --blue: #1b6fb5;
  --teal: #168a86;
  --green: #3f9a2a;
  --green-dark: #2f7a1f;
  --green-light: #8cc63f;
  --mint: #e6f4e8;

  /* Neutrals */
  --ink: #16212b;
  --ink-2: #41505c;
  --ink-3: #6b7a86;
  --line: #e3e9ee;
  --bg: #ffffff;
  --bg-alt: #f5f8fa;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --section-y: 96px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(13, 59, 102, .06);
  --shadow: 0 8px 24px rgba(13, 59, 102, .08);

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 16px; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 4.2vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
h4 { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.h-sub { font-size: 1.375rem; margin-bottom: 24px; }

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

/* ---------- Utilities ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 12px;
}
.eyebrow.light { color: var(--green-light); }
.mt-lg { margin-top: 32px; }

.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gap-lg { gap: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px;
  font-family: var(--font-head); font-size: .9375rem; font-weight: 700;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1rem; }
.btn-sm { height: 36px; padding: 0 16px; font-size: .875rem; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn-light:hover { background: var(--mint); border-color: var(--mint); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark:hover { background: var(--navy-deep); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: #fff;
  transition: opacity .45s ease, visibility .45s;
  /* Safety net: if JS never runs, fade out anyway after 4s. */
  animation: preloader-timeout 0s linear 4s forwards;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader-globe {
  width: 160px; height: 160px;
  animation: preloader-spin 9s linear infinite, preloader-float 3s ease-in-out infinite;
  filter: drop-shadow(0 16px 26px rgba(13, 59, 102, .25));
  will-change: transform;
}
.preloader-text { font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.preloader-bar { position: relative; width: 120px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.preloader-bar::after {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--green));
  animation: preloader-bar 1.2s ease-in-out infinite;
}
body.is-loading { overflow: hidden; }
@keyframes preloader-spin { to { transform: rotate(360deg); } }
@keyframes preloader-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes preloader-bar { to { left: 100%; } }
@keyframes preloader-timeout { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .preloader-globe { animation: none; }
  .preloader-bar::after { animation-duration: 2.4s; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 32px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 10px; cursor: pointer; }
.nav-toggle span { height: 2px; background: var(--navy); transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center;
  padding-top: 88px; padding-bottom: 88px;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy h1 .accent { color: var(--green); }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .9375rem; color: var(--ink-2); }
.hero-points li { position: relative; padding-left: 22px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); border: 3px solid var(--green); box-sizing: border-box; }

.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.panel-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.panel-badge { font-size: .75rem; font-weight: 600; color: var(--teal); background: #e6f4f3; padding: 4px 10px; border-radius: 999px; }
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 12px; }
.stat-list li { padding: 20px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--line); }
.stat-list strong { display: block; font-family: var(--font-head); font-size: 2.25rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.02em; margin-bottom: 8px; }
.stat-list strong em { font-style: normal; font-size: 1.375rem; font-weight: 700; color: var(--green); margin-left: 2px; }
.stat-list li > span:last-child { display: block; font-size: .875rem; line-height: 1.4; color: var(--ink-3); }

/* ---------- Standards strip ---------- */
.strip { padding: 28px 0; border-bottom: 1px solid var(--line); }
.strip .container { display: flex; align-items: center; gap: 32px; }
.strip-label { flex: none; margin: 0; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.strip-list { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.strip-list li { font-family: var(--font-head); font-size: .8125rem; font-weight: 700; color: var(--navy); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.85); }
.section-dark h2 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 12px; }
.section-sub { font-size: 1.0625rem; color: var(--ink-2); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px;
  border-radius: 10px; background: var(--mint); color: var(--green-dark);
}
.card-icon svg { width: 22px; height: 22px; }
.card-list p { margin-bottom: 12px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li:last-child { margin-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Advantage cards + about intro */
.card-accent { border-left: 3px solid var(--green); }
.about-intro { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); max-width: 820px; }
.about-intro p { font-size: 1.0625rem; }

/* Service tags */
.service { display: flex; flex-direction: column; }
.service p { flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { font-family: var(--font-head); font-size: .75rem; font-weight: 700; color: var(--green-dark); background: var(--mint); padding: 4px 10px; border-radius: 999px; }

/* Process steps */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process-num { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; border: 2px solid var(--green); font-family: var(--font-head); font-weight: 800; color: var(--green-dark); background: var(--mint); }
.process-step h3 { font-size: 1.0625rem; }
.process-step p { font-size: .9375rem; }

/* CTA band */
.section-cta { background: linear-gradient(135deg, var(--green-dark), #1f6b4a 60%, var(--navy)); color: #fff; text-align: center; }
.cta-inner { max-width: 720px; }
.section-cta h2 { color: #fff; }
.section-cta p { font-size: 1.125rem; color: rgba(255,255,255,.88); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Values */
.values-block { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.values li { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.values strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 4px; }
.values p { font-size: .9375rem; color: var(--ink-2); }
.value-index { flex: none; font-family: var(--font-head); font-weight: 800; font-size: .875rem; color: var(--green); padding-top: 3px; }

/* Split (team) */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.media-card { aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.media-card:hover img { transform: scale(1.06) rotate(-2deg); filter: drop-shadow(0 16px 24px rgba(13, 59, 102, .25)); }
.media-card { transition: box-shadow .3s ease, border-color .3s ease; }
.media-card:hover { box-shadow: var(--shadow); border-color: var(--green-light); }
@media (prefers-reduced-motion: reduce) { .media-card img, .media-card { transition: none; } }
.split-copy h2 { margin-bottom: 16px; }
.feature-list { display: grid; gap: 20px; margin: 28px 0 32px; }
.feature { padding-left: 16px; border-left: 3px solid var(--green); }
.feature strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 2px; }
.feature p { font-size: .9375rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 700; color: var(--navy);
  background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 999px;
}

/* Director message */
.message-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.message-side h2 { margin: 0; }
.message-quote { margin: 0; font-size: 1.125rem; line-height: 1.7; }
.message-quote p { color: rgba(255,255,255,.88); }
.message-quote footer { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; gap: 2px; }
.message-quote footer strong { font-family: var(--font-head); color: #fff; }
.message-quote footer span { font-size: .875rem; color: rgba(255,255,255,.65); }

/* Testimonials slider */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.section-head-row > div:first-child { max-width: 680px; }
.section-head-row h2 { margin-bottom: 0; }
.slider-nav { display: flex; gap: 8px; flex: none; padding-bottom: 4px; }
.slider-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn:hover { border-color: var(--navy); }
.slider-btn:disabled { opacity: .35; cursor: default; }
.slider-btn:disabled:hover { border-color: var(--line); }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px; outline: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: var(--radius); }
.slider-track > * { scroll-snap-align: start; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: width .2s, background .2s; }
.slider-dots button[aria-selected="true"] { width: 24px; border-radius: 4px; background: var(--green); }
.quote { margin: 0; display: flex; flex-direction: column; }
.quote p { flex: 1; font-size: 1rem; color: var(--ink); margin-bottom: 20px; }
.quote cite { font-style: normal; font-family: var(--font-head); font-size: .875rem; font-weight: 600; color: var(--ink-3); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.info-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:first-child { padding-top: 0; }
.info-label { font-family: var(--font-head); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding-top: 3px; }
.info-row address, .info-row a, .info-row > span:last-child { color: var(--ink); }
.status { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--mint); color: var(--green-dark); }
.status.closed { background: #fdecec; color: #b02a2a; }
.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-family: var(--font-head); font-weight: 600; color: var(--navy); }

.form { padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-family: var(--font-head); font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.form input, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: inherit; font-size: .9375rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,154,42,.15); }
.form .btn { width: 100%; margin-top: 4px; }
.form-note { margin: 12px 0 0; font-size: .875rem; color: var(--ink-3); min-height: 1.4em; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #c0392b; }
.field-error { display: block; margin-top: 6px; font-size: .8125rem; font-weight: 500; color: #b02a2a; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9375rem; margin-bottom: 20px; border: 1px solid; }
.alert-success { background: var(--mint); border-color: #bfe3c5; color: var(--green-dark); }
.alert-error { background: #fdecec; border-color: #f3c2c2; color: #b02a2a; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand .brand { display: inline-block; background: #fff; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.footer-brand .brand-logo { height: 48px; }
.footer-brand p { max-width: 320px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-sm); background: rgba(255,255,255,.08); color: #fff; transition: background .15s; }
.footer-social a:hover { background: var(--green); }
.footer-social svg { width: 18px; height: 18px; }
.site-footer h4 { color: #fff; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; text-align: center; }
.footer-bottom p { margin: 0; }
.footer-tagline { margin-top: 6px !important; color: rgba(255,255,255,.5); font-size: .8125rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8,42,74,.6); padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(100%, 460px); background: #fff; border-radius: var(--radius); padding: 48px 32px 32px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.25); animation: pop .3s ease; }
.modal-logo { width: min(100%, 300px); height: auto; margin: 0 auto 20px; }
.modal-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-card p { margin-bottom: 24px; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; background: none; border: 0; font-size: 1.75rem; line-height: 1; cursor: pointer; color: var(--ink-3); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Cookie bar ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90;
  width: min(100% - 32px, 760px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px 14px 20px; box-shadow: var(--shadow); font-size: .875rem;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie strong { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --section-y: 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .hero-panel { max-width: 560px; }
  .cols-3, .cols-4, .values.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .slider-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .split, .message-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .media-card { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
}
@media (max-width: 640px) {
  :root { --section-y: 64px; --gutter: 16px; }
  .header-inner { height: 68px; }
  .brand-logo { height: 48px; }
  .cols-2, .cols-3, .cols-4, .values.cols-3, .gallery, .form-row, .footer-grid, .process { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
  .card, .form { padding: 24px; }
  .hero-actions .btn { width: 100%; }
  .strip .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-list li { padding: 16px; }
  .stat-list strong { font-size: 1.875rem; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  .section-head { margin-bottom: 32px; }
  .slider-track { grid-auto-columns: 100%; gap: 16px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}
