/* ==========================================
   SIA "VELS" — autoservisa dizains
   ========================================== */
   
:root {
  --ink: #101216;
  --ink-soft: #171a20;
  --panel: #1d2128;
  --paper: #f4f5f7;
  --white: #ffffff;
  --muted: #a9b0bb;
  --muted-dark: #5e6672;
  --accent: #ff6a00;
  --accent-strong: #ea5800;
  --accent-soft: #fff0e5;
  --success: #27c17e;
  --danger: #ff5b5b;
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-light: #dfe3e8;
  --shadow: 0 24px 70px rgba(12, 16, 24, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 76px;
}

/* === Bāze === */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* === Izkārtojuma palīgi === */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 105px 0;
}

.section--dark {
  color: var(--white);
  background: var(--ink);
}

.section--accent {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    var(--accent);
}

/* === Tipogrāfija === */

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 8vw, 6.75rem);
  font-weight: 850;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 820;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section--accent .eyebrow {
  color: var(--white);
}

.lead {
  max-width: 720px;
  color: var(--muted-dark);
  font-size: clamp(1.04rem, 2vw, 1.23rem);
}

.section--dark .lead,
.hero .lead {
  color: #c5cad1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.45fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading--stacked {
  display: block;
  max-width: 760px;
}

/* === Pieejamības saite === */

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* === Galvene === */

.site-header {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #11161d;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  gap: 30px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  justify-self: start;
  color: var(--white);
  line-height: 1.1;
}

.nav-brand-name {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.nav-brand-subtitle {
  margin-top: 4px;
  color: #b9c0ca;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Nav checkbox (bez JS) */

.nav-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Nav toggle (hamburgers) */

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Navigācija */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0;
  background: transparent;
}

.main-nav > a:not(.button) {
  position: relative;
  padding: 29px 0 25px;
  color: #f1f3f5;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  bottom: 20px;
  left: 0;
  display: block;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--accent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Tālrunis galvenē */

.header-phone {
  justify-self: end;
  padding: 13px 19px;
  color: var(--white);
  background: var(--accent);
  border-radius: 13px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone:hover {
  background: var(--accent-strong);
}

/* === Pogas === */

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 13px;
  font-size: 0.9rem;
  font-weight: 780;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.25);
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 0.82rem;
}

.button--light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button--light:hover,
.button--light:focus-visible {
  color: var(--ink);
  background: #f1f3f5;
  border-color: #f1f3f5;
}

.button--ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* === Hero === */

.hero {
  position: relative;
  display: flex;
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 85px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 106, 0, 0.25), transparent 24%),
    linear-gradient(125deg, #0b0d10 0%, #151922 64%, #0d1015 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to right, transparent 0%, #000 42%, #000 100%);
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -38%;
  width: 740px;
  height: 740px;
  content: "";
  border: 150px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 60px;
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .lead {
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.hero-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.hero-info-item {
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
}

.hero-info-item small {
  display: block;
  margin-bottom: 5px;
  color: #9fa6b1;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-info-item strong,
.hero-info-item a {
  display: block;
  font-size: 0.94rem;
  line-height: 1.35;
}

.hero-info-item a:hover {
  color: var(--accent);
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.open-status::before {
  width: 8px;
  height: 8px;
  content: "";
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .07);
}

.open-status.is-open {
  color: var(--success);
}

.open-status.is-closed {
  color: #f2ad66;
}

.hero-card-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-card-title small {
  color: #9fa6b1;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card-title strong {
  font-size: 1rem;
}

.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 72px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
}

.hero-strip-item {
  padding: 20px 22px;
  background: rgba(14, 17, 22, 0.78);
}

.hero-strip-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}

.hero-strip-item span {
  color: #aeb4bd;
  font-size: 0.8rem;
}

/* === Pakalpojumi === */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 205px;
  padding: 26px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  position: absolute;
  right: -38px;
  bottom: -46px;
  width: 110px;
  height: 110px;
  content: "";
  background: var(--accent-soft);
  border-radius: 50%;
  transition: transform 220ms ease;
}

.service-card:hover {
  border-color: #ffb27d;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card:hover::after {
  transform: scale(1.35);
}

.service-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  font-size: 0.77rem;
  font-weight: 850;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 0.9rem;
}

/* === Darbu process === */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.process-card {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
}

.process-index {
  display: inline-flex;
  margin-bottom: 50px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-card p {
  margin-bottom: 0;
  color: #aeb5bf;
}

/* === Cenrādis === */

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 68px;
  align-items: start;
}

.pricing-intro {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.price-note {
  margin-top: 34px;
  padding: 20px;
  color: #6f4a2e;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 13px 13px 0;
  font-size: 0.9rem;
}

.price-list {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 60px rgba(20, 25, 34, 0.08);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 74px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line-light);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row[hidden] {
  display: none;
}

.price-name strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.97rem;
}

.price-name span {
  color: var(--muted-dark);
  font-size: 0.78rem;
}

.price-value {
  min-width: 92px;
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.price-toggle-wrap {
  margin-top: 18px;
  text-align: center;
}

.text-button {
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 750;
  cursor: pointer;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--accent);
}

/* === Auto veikals === */

.shop-layout {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 70px;
  align-items: center;
}

.shop-panel {
  position: relative;
  padding: 38px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}

.shop-panel::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.2;
}

.shop-category-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.shop-category {
  min-height: 98px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: 15px;
}

.shop-category strong {
  display: block;
  margin-bottom: 5px;
}

.shop-category span {
  color: #aeb5bf;
  font-size: 0.8rem;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #c8cdd4;
}

.check-list li::before {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  content: "✓";
  color: var(--ink);
  background: var(--accent);
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 900;
}

/* === Par mums === */

.about-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #11161d;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-visual img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
}

.about-badge {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 26px;
  left: 26px;
  padding: 24px;
  color: var(--white);
  background: rgba(16, 18, 22, 0.84);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.about-badge strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.16rem;
}

.about-badge span {
  color: #bcc2ca;
  font-size: 0.86rem;
}

.about-copy p {
  color: var(--muted-dark);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.feature-item {
  padding: 19px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 15px;
}

.feature-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.feature-item span {
  color: var(--muted-dark);
  font-size: 0.78rem;
}

/* === Partneru bloks === */

.partner-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 45px 50px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-lg);
}

.partner-box h2 {
  max-width: 750px;
}

.partner-box p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .84);
}

/* === Kontakti === */

.contact-grid {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 20px;
}

.contact-panel,
.map-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}

.contact-panel {
  padding: 34px;
}

.contact-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-block:first-of-type {
  padding-top: 6px;
}

.contact-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 760;
}

a.contact-value:hover,
a.contact-value:focus-visible {
  color: var(--accent);
}

.is-placeholder {
  color: #8b929c;
  cursor: not-allowed;
}

.hours-table {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hours-table td {
  padding: 7px 0;
}

.hours-table td:last-child {
  font-weight: 720;
  text-align: right;
}

.hours-table tr.closed {
  color: #858c96;
}

.map-panel {
  position: relative;
  min-height: 610px;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 610px;
  border: 0;
  filter: saturate(0.85) contrast(1.02);
}

.map-overlay {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  color: var(--white);
  background: rgba(16, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.map-overlay strong {
  display: block;
  font-size: 0.92rem;
}

.map-overlay span {
  display: block;
  color: #aeb5bf;
  font-size: 0.77rem;
}

/* === Kājene === */

.site-footer {
  padding: 60px 0 26px;
  color: var(--white);
  background: #090b0e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: start;
}

.footer-copy {
  max-width: 480px;
  margin-top: 19px;
  color: #8f97a3;
  font-size: 0.88rem;
}

.footer-column strong {
  display: block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin-bottom: 8px;
  color: #aeb5bf;
  font-size: 0.86rem;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 55px;
  padding-top: 22px;
  color: #717986;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 0.77rem;
}

/* === Animācijas ===
   Nav-JS versijā elementi ir uzreiz redzami.
   Ja pievieno JavaScript, noņem šo bloku un aktivizē zemāk komentēto. */

[data-reveal] {
  opacity: 1;
  transform: none;
}

/*
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
*/

/* === Atsaucīgais izkārtojums === */

@media (max-width: 1040px) {
  .hero-grid,
  .shop-layout,
  .about-layout,
  .pricing-layout {
    gap: 42px;
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 82px 0;
  }

  /* Galvene — mobilā versija */

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-brand-subtitle {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  /* Mobilā izvēlne */

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 22px;
    background: #11161d;
    transform: translateY(-130%);
    transition: transform 0.2s ease;
  }

  .main-nav a {
    padding: 15px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  /* Nav checkbox toggle animācija */

  .nav-checkbox:checked + .nav-toggle + .main-nav {
    transform: translateY(0);
  }

  .nav-checkbox:checked + .nav-toggle span {
    opacity: 0;
  }

  .nav-checkbox:checked + .nav-toggle::before {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-checkbox:checked + .nav-toggle::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Izkārtojumi */

  .hero {
    min-height: auto;
    padding: 130px 0 68px;
  }

  .hero-grid,
  .section-heading,
  .pricing-layout,
  .shop-layout,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 22px;
  }

  .hero-card {
    max-width: 600px;
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-intro {
    position: static;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-index {
    margin-bottom: 25px;
  }

  .about-visual {
    min-height: 420px;
  }

  .partner-box {
    grid-template-columns: 1fr;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero {
    padding-top: 115px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-info-row,
  .hero-strip,
  .services-grid,
  .shop-category-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero-strip-item {
    padding: 16px 18px;
  }

  .service-card {
    min-height: 180px;
  }

  .price-row {
    padding: 15px 17px;
  }

  .price-name span {
    max-width: 180px;
  }

  .partner-box {
    padding: 32px 26px;
  }

  .contact-panel {
    padding: 25px;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 520px;
  }

  .map-overlay {
    align-items: stretch;
    flex-direction: column;
  }

  .map-overlay .button {
    width: 100%;
  }

  .about-visual {
    min-height: 400px;
  }

  .about-visual img {
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}