/* ==========================================================================
   Koba SIA — koba-lv.com
   Vienots, patstāvīgs stila fails (bez ārējiem resursiem).
   ========================================================================== */

:root {
  /* Palete */
  --petrol: #0E5A62;
  --petrol-dark: #0B2E33;
  --amber: #E1932B;
  --amber-dark: #c47d1e;
  --off-white: #F4F7F7;
  --border: #DCE6E6;
  --heading: #12262A;
  --body: #3C4B4E;
  --muted: #6B7B7E;
  --white: #ffffff;

  /* Tipogrāfija */
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", sans-serif;

  /* Izmēri */
  --container: 1160px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(11, 46, 51, .06), 0 2px 6px rgba(11, 46, 51, .05);
  --shadow-md: 0 6px 20px rgba(11, 46, 51, .10);
  --gap: 24px;
  --header-h: 74px;
}

/* --------------------------------------------------------------------------
   Reset / bāze
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1rem; }

a { color: var(--petrol); text-decoration: none; }
a:hover { color: var(--petrol-dark); text-decoration: underline; }

img, svg { max-width: 100%; height: auto; }

ul, ol { margin: 0 0 1rem; padding-left: 1.3em; }
li { margin-bottom: .4em; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

strong { color: var(--heading); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--petrol-dark);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Izkārtojums
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: clamp(48px, 7vw, 84px) 0;
}
.section--alt { background: var(--off-white); }
.section--tight { padding-block: clamp(36px, 5vw, 56px); }

.section__head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--body); }
.text-muted { color: var(--muted); }

/* --------------------------------------------------------------------------
   Pogas
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber);
  color: #2a1a00;
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: #2a1a00; }

.btn-ghost {
  background: transparent;
  color: var(--petrol);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--off-white); color: var(--petrol-dark); border-color: var(--petrol); }

.btn-solid {
  background: var(--petrol);
  color: #fff;
  border-color: var(--petrol);
}
.btn-solid:hover { background: var(--petrol-dark); border-color: var(--petrol-dark); color: #fff; }

.btn-lg { padding: 16px 30px; font-size: 1.06rem; }

/* --------------------------------------------------------------------------
   Galvene / navigācija
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-logo img { height: 34px; width: auto; display: block; }
.site-logo:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--heading);
  transition: transform .2s ease, opacity .2s ease;
}
.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); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  font-family: var(--sans);
  font-size: .97rem;
  font-weight: 500;
  color: var(--heading);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
}
.main-nav a:hover { background: var(--off-white); color: var(--petrol); text-decoration: none; }
.main-nav a.is-active {
  color: var(--petrol);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--amber);
  border-radius: 0;
}
.main-nav .nav-cta { margin-left: 10px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: clamp(48px, 7vw, 88px) 0;
}
.hero__content h1 { margin-bottom: 18px; }
.hero__content .lead { max-width: 46ch; margin-bottom: 28px; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.hero__note {
  font-size: .92rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__art {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   Statistikas josla
   -------------------------------------------------------------------------- */
.stats {
  background: var(--petrol-dark);
  color: #dfeceb;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
  text-align: center;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.stat__label {
  font-size: .92rem;
  color: #9fbdbc;
  margin-top: 6px;
}
.stats__grid > div { border-left: 1px solid rgba(255, 255, 255, .1); padding-inline: 12px; }
.stats__grid > div:first-child { border-left: 0; }

/* --------------------------------------------------------------------------
   Karšu režģis / pakalpojumi
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--gap);
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #c3d6d6;
  text-decoration: none;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; color: var(--body); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(14, 90, 98, .09);
  color: var(--petrol);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; display: block; }

.card__more {
  margin-top: 16px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--petrol);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
a.card:hover .card__more { color: var(--amber-dark); }

/* Iemeslu saraksts (Kāpēc Koba) */
.reason {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.reason__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--petrol);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reason__mark svg { width: 21px; height: 21px; }
.reason h3 { font-size: 1.12rem; margin-bottom: 4px; }
.reason p { margin-bottom: 0; font-size: .98rem; }

/* --------------------------------------------------------------------------
   Atsauksme / citāts
   -------------------------------------------------------------------------- */
.testimonial {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  line-height: 1.45;
  color: var(--heading);
  margin: 0 0 24px;
  quotes: "\201C" "\201D";
}
.testimonial blockquote::before { content: open-quote; color: var(--amber); }
.testimonial blockquote::after { content: close-quote; color: var(--amber); }
.testimonial__author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.testimonial__author .avatar { margin: 0; }
.testimonial__meta { text-align: left; }
.testimonial__name { font-weight: 700; color: var(--heading); }
.testimonial__role { font-size: .9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Cenu tabula
   -------------------------------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: start;
}
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.plan--popular {
  border-color: var(--petrol);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--amber);
  color: #2a1a00;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.plan__name { font-size: 1.25rem; margin-bottom: 6px; }
.plan__price {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.1;
}
.plan__price small {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.plan__desc { color: var(--body); margin: 12px 0 18px; font-size: .96rem; }
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.plan__features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: .95rem;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--petrol);
  border-bottom: 2px solid var(--petrol);
  transform: rotate(-45deg);
}
.plan .btn { width: 100%; }

/* --------------------------------------------------------------------------
   Prose (raksti)
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; font-size: 1.06rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.6rem 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--amber);
  color: var(--heading);
  font-style: italic;
}
.prose figure { margin: 1.8rem 0; }
.prose figcaption {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}
.prose hr { margin: 2.2rem 0; }
.prose a { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Raksti / bloga saraksts
   -------------------------------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card__cover {
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, var(--petrol) 0%, var(--petrol-dark) 100%);
  display: block;
}
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--heading); }
.post-card h3 a:hover { color: var(--petrol); text-decoration: none; }
.post-card p { color: var(--body); font-size: .97rem; margin-bottom: 16px; }
.post-card__more { margin-top: auto; font-weight: 600; font-size: .93rem; }

.badge {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--petrol);
  background: rgba(14, 90, 98, .09);
  padding: 3px 10px;
  border-radius: 20px;
}
.tag {
  display: inline-block;
  font-size: .82rem;
  color: var(--muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   Komandas režģis
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.member {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
}
.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--petrol) 0%, var(--petrol-dark) 100%);
  letter-spacing: .02em;
}
.avatar--sm { width: 52px; height: 52px; font-size: 1.1rem; }
.member__name { font-weight: 700; color: var(--heading); margin-bottom: 2px; }
.member__role { font-size: .9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Kontaktu forma / lauki
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .92rem; font-weight: 600; color: var(--heading); }
.field .req { color: var(--amber-dark); }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--heading);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(14, 90, 98, .12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { font-size: .84rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Paziņojumi / brīdinājumi */
.notice {
  border: 1px solid var(--border);
  border-left: 4px solid var(--petrol);
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .96rem;
}
.alert { border-radius: var(--radius-sm); padding: 14px 18px; font-size: .96rem; border: 1px solid; }
.alert-success { background: #eaf5ef; border-color: #b7ddc7; color: #1c5c3a; }
.alert-info { background: #e9f1f2; border-color: #bcd6d8; color: #0B2E33; }
.alert-warning { background: #fdf4e6; border-color: #f0d7a8; color: #7a5410; }
.is-hidden { display: none !important; }

/* --------------------------------------------------------------------------
   Pieteikšanās karte (klientu portāls)
   -------------------------------------------------------------------------- */
.login-card {
  max-width: 420px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px 32px;
}
.login-card h1 { font-size: 1.6rem; text-align: center; margin-bottom: 6px; }
.login-card .login-sub { text-align: center; color: var(--muted); margin-bottom: 24px; font-size: .95rem; }
.login-card .field { margin-bottom: 16px; }
.login-card .btn { width: 100%; }
.login-card .login-foot { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Sīkdrupatas (breadcrumb)
   -------------------------------------------------------------------------- */
.breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--muted); margin-right: 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--petrol); }
.breadcrumb [aria-current="page"] { color: var(--heading); font-weight: 600; }

/* --------------------------------------------------------------------------
   CTA josla
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--petrol);
  color: #fff;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(40px, 5vw, 60px) 0;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #cfe3e2; margin-bottom: 0; max-width: 52ch; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   Responsīvas tabulas
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  min-width: 520px;
}
table.data th,
table.data td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.data thead th {
  background: var(--off-white);
  color: var(--heading);
  font-weight: 700;
}
table.data tbody tr:hover { background: rgba(14, 90, 98, .03); }

/* --------------------------------------------------------------------------
   Kājene
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--petrol-dark);
  color: #b7cbca;
  padding-top: 56px;
}
.site-footer a { color: #cfe0df; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-brand .footer-logo { display: inline-flex; margin-bottom: 16px; }
.footer-brand p { font-size: .93rem; color: #93aeac; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7fa2a0;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; font-size: .95rem; }
.footer-contact { font-size: .93rem; line-height: 1.7; color: #a9c2c1; }
.footer-contact strong { color: #dcebea; display: block; margin-bottom: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .87rem;
  color: #86a3a1;
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Palīgi
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 2.6rem; }
.stack-lg > * + * { margin-top: 1.4rem; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.section-actions { margin-top: 36px; text-align: center; }

/* --------------------------------------------------------------------------
   Responsīvs
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 20px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .main-nav a { padding: 12px 10px; font-size: 1.02rem; }
  .main-nav a.is-active { box-shadow: inset 3px 0 0 var(--amber); border-radius: var(--radius-sm); }
  .main-nav .nav-cta { margin: 12px 0 0; }
  .main-nav .btn { width: 100%; }

  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__art { max-width: 480px; margin-inline: auto; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stats__grid > div { border-left: 0; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--popular { order: -1; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
}

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