:root {
  --ink: #15140f;
  --coal: #050908;
  --coal-soft: #111b16;
  --paper: #f5f6f1;
  --surface: #fffdf7;
  --surface-2: #ecefe8;
  --line: #dad6c8;
  --muted: #6c6a60;
  --cream: #f6e6c8;
  --green: #0b7137;
  --green-dark: #073f24;
  --mint: #d8ead6;
  --amber: #d3aa5f;
  --blue: #365f69;
  --rust: #9a512e;
  --glow: #20b85a;
  --shadow: 0 1.25rem 3.75rem rgba(5, 9, 8, 0.18);
  --radius: 0.5rem;
  --container: min(74rem, calc(100vw - 2.5rem));
  --header-height: 5.45rem;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 20rem;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(245, 246, 241, 0.88), rgba(245, 246, 241, 1) 42rem),
    var(--paper);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0.1875rem solid rgba(32, 184, 90, 0.72);
  outline-offset: 0.1875rem;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: fixed;
  top: 0.875rem;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  min-height: 4.55rem;
  padding: 0.75rem 0.95rem 0.75rem 1.05rem;
  color: #fff;
  background: rgba(5, 9, 8, 0.8);
  border: 1px solid rgba(246, 230, 200, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 1.125rem 2.75rem rgba(5, 9, 8, 0.28);
  backdrop-filter: blur(1.125rem);
  transform: translateX(-50%);
  transition:
    top 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  top: 0.5rem;
  background: rgba(5, 9, 8, 0.94);
  box-shadow: 0 0.75rem 2.25rem rgba(5, 9, 8, 0.28);
}

.brand {
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.brand-logo {
  width: 7.2rem;
  height: auto;
  max-height: 3.15rem;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0.5rem 1rem rgba(0, 0, 0, 0.36));
}

.brand-caption {
  display: block;
  margin-top: -0.1rem;
  color: var(--cream);
  font-size: 0.625rem;
  font-weight: 760;
  line-height: 1;
  opacity: 0.74;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0 0.9rem;
  border-radius: 0.4375rem;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 760;
  opacity: 0.94;
  transition:
    background 160ms ease,
    opacity 160ms ease;
}

.desktop-nav a:hover {
  background: rgba(246, 230, 200, 0.14);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-link,
.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: currentColor;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(246, 230, 200, 0.16);
  border-radius: var(--radius);
}

.menu-toggle {
  display: none;
  position: relative;
}

.menu-toggle .menu-close {
  display: none;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0 1.125rem;
  color: #fff;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 0.875rem 1.875rem rgba(13, 107, 82, 0.26);
  font-weight: 780;
  line-height: 1.08;
  text-align: center;
  overflow: hidden;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button > * {
  position: relative;
  z-index: 1;
}

.button::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(110deg, transparent 36%, rgba(246, 230, 200, 0.42) 50%, transparent 64%);
  transform: translateX(-120%);
}

.button:hover {
  background: #0a6331;
  box-shadow: 0 1rem 2.125rem rgba(13, 107, 82, 0.34);
  transform: translateY(-0.075rem);
}

.button:disabled,
.button-disabled {
  opacity: 0.62;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.button:disabled::after,
.button-disabled::after {
  display: none;
}

.button:disabled:hover {
  background: var(--green);
  box-shadow: none;
  transform: none;
}

.button-ghost-dark.button-disabled,
.button-ghost-dark.button-disabled:hover {
  color: rgba(246, 230, 200, 0.72);
  background: rgba(246, 230, 200, 0.06);
  border-color: rgba(246, 230, 200, 0.16);
  box-shadow: none;
  transform: none;
}

.button-small {
  min-height: 2.75rem;
  padding: 0 0.875rem;
  font-size: 0.875rem;
}

.button-wide {
  width: 100%;
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(246, 230, 200, 0.24);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.button-ghost-dark {
  color: var(--cream);
  background: rgba(246, 230, 200, 0.08);
  border-color: rgba(246, 230, 200, 0.2);
  box-shadow: none;
}

.button-ghost-dark:hover {
  background: rgba(246, 230, 200, 0.14);
  box-shadow: none;
}

.mobile-menu {
  position: fixed;
  top: 5.25rem;
  left: 50%;
  z-index: 25;
  display: none;
  width: var(--container);
  padding: 0.5rem;
  color: #fff;
  background: rgba(5, 9, 8, 0.98);
  border: 1px solid rgba(246, 230, 200, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.mobile-menu a {
  display: block;
  padding: 0.95rem 0.875rem;
  border-radius: 0.4375rem;
  color: var(--cream);
  font-weight: 760;
}

.mobile-menu a:hover {
  background: rgba(246, 230, 200, 0.08);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(35rem, 74vh, 43rem);
  padding: clamp(7.75rem, 10vw, 9rem) 0 clamp(4.5rem, 8vw, 6rem);
  color: #fff;
  background: var(--coal);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2.5%;
  z-index: -2;
  background-image: url("assets/vistal-hero-rail-foreground.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 9, 8, 0.96) 0%, rgba(8, 23, 15, 0.86) 36%, rgba(8, 35, 19, 0.45) 64%, rgba(5, 9, 8, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 9, 8, 0.12), rgba(5, 9, 8, 0.38));
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10rem;
  background: linear-gradient(180deg, rgba(245, 246, 241, 0), var(--paper));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  width: var(--container);
  margin: 0 auto;
  align-items: start;
}

.hero-copy {
  max-width: 62rem;
  padding-top: clamp(1rem, 3vw, 2.25rem);
  text-align: left;
}

.hero-signature {
  display: inline-grid;
  gap: 0.25rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(32, 184, 90, 0.72);
}

.hero-signature img {
  width: min(15.625rem, 58vw);
  height: auto;
  filter: drop-shadow(0 1.25rem 2.25rem rgba(0, 0, 0, 0.44));
}

.hero-signature span {
  color: rgba(246, 230, 200, 0.74);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy > .eyebrow {
  max-width: min(100%, 50rem);
  line-height: 1.42;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  hyphens: auto;
}

h1 {
  max-width: 56rem;
  font-size: clamp(2.65rem, 5.8vw, 5rem);
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  max-width: 47rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.18;
}

.brand-rule,
.card-line,
.footer-contact-line {
  width: 5.5rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--green), var(--glow), var(--green));
  border-radius: 999px;
  box-shadow: 0 0 1.125rem rgba(32, 184, 90, 0.28);
}

.brand-rule {
  margin: 1.15rem 0 1.25rem;
}

.card-line {
  width: 4.25rem;
  height: 0.1875rem;
  margin-bottom: 1rem;
}

.footer-contact-line {
  width: 7rem;
  margin-bottom: 0.75rem;
}

.hero-lead,
.hero-note {
  max-width: 43rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.62;
}

.hero-note {
  margin-top: 1rem;
  color: rgba(246, 230, 200, 0.74);
  font-size: 1rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  min-height: 2.35rem;
  padding: 0.6rem 0.8rem 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(5, 9, 8, 0.5);
  border: 1px solid rgba(246, 230, 200, 0.16);
  border-left: 0.25rem solid var(--green);
  border-radius: 0.4375rem;
  backdrop-filter: blur(0.625rem);
  font-size: 0.9rem;
  font-weight: 760;
}

.hero-actions,
.section-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.quote-panel,
.product-card,
.stat-card,
.client-grid article,
.quality-panel,
.commercial-panel,
.plant-card,
.proposal-upload,
.contact-panel,
.steps li,
.supply-map {
  position: relative;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 0.75rem 1.875rem rgba(31, 44, 39, 0.06);
}

.quote-panel {
  display: grid;
  gap: 0.875rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  color: var(--ink);
  backdrop-filter: blur(0.875rem);
}

.panel-heading {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.panel-heading span {
  color: var(--muted);
  font-size: 0.82rem;
}

.panel-heading strong {
  color: var(--green-dark);
  font-size: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form-wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--coal-soft);
  font-size: 0.82rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.875rem;
  padding: 0 0.75rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.4375rem;
  outline: none;
  transition:
    border 140ms ease,
    box-shadow 140ms ease;
}

textarea {
  min-height: 7rem;
  padding-top: 0.75rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.1875rem rgba(13, 107, 82, 0.14);
}

.quote-result {
  min-height: 2.75rem;
  margin: 0;
  padding: 0.7rem 0.75rem;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 0.4375rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.quote-result.is-ready {
  color: var(--green-dark);
  background: var(--mint);
}

.quote-result.is-sending {
  color: #73521d;
  background: #fff7df;
}

.quote-result.is-error {
  color: #8e2f24;
  background: #fff0ed;
}

.field-error {
  min-height: 1rem;
  color: #a33a2a;
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.2;
}

.field-invalid {
  border-color: #a33a2a !important;
  background: #fff8f6;
  box-shadow: 0 0 0 0.1875rem rgba(163, 58, 42, 0.12) !important;
}

.honeypot {
  position: absolute !important;
  left: -9999rem !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-result {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(5, 9, 8, 0.94);
  border: 1px solid rgba(246, 230, 200, 0.18);
  border-radius: var(--radius);
  color: #fff;
}

.form-result[hidden] {
  display: none;
}

.form-result h3,
.form-result p {
  margin: 0;
}

.form-result p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.form-result pre {
  max-height: 12rem;
  margin: 0;
  padding: 0.9rem;
  overflow: auto;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(246, 230, 200, 0.12);
  border-radius: 0.4375rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.form-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--container);
  margin: clamp(2rem, 6vw, 5rem) auto 0;
  color: #fff;
  background: rgba(17, 23, 20, 0.78);
  border: 1px solid rgba(246, 230, 200, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(1rem);
}

.hero-strip div {
  min-height: 6.5rem;
  padding: 1.3rem;
  border-right: 1px solid rgba(246, 230, 200, 0.14);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong,
.hero-strip span {
  display: block;
  text-align: left;
}

.hero-strip strong {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.hero-strip span {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.38;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.section-heading,
.section-copy,
.logistics-copy,
.request-copy {
  text-align: left;
}

.section-heading {
  max-width: 48rem;
}

.section-heading-wide {
  max-width: 56rem;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow),
.section-copy p,
.logistics-copy p,
.commercial-panel p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.section-heading p:not(.eyebrow) {
  margin-top: 0;
}

.section-copy {
  display: grid;
  gap: 1rem;
}

.detail-list,
.product-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li,
.product-card li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--coal-soft);
  font-weight: 680;
  line-height: 1.55;
}

.detail-list li::before,
.product-card li::before {
  content: "";
  position: absolute;
  top: 0.57em;
  left: 0.1rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--green);
  border: 0.1875rem solid var(--mint);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
  margin-top: 2rem;
}

.about-heading {
  max-width: 54rem;
}

.about-heading .section-actions {
  margin-top: 1.35rem;
}

.about .stats-grid {
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.about .stat-card {
  min-height: 13rem;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(236, 239, 232, 0.88)),
    var(--surface);
}

.about .stat-card .card-line {
  margin-bottom: clamp(1.1rem, 2vw, 1.5rem);
}

.about .stat-card:hover {
  border-color: rgba(32, 184, 90, 0.42);
  box-shadow:
    0 1.35rem 3rem rgba(5, 9, 8, 0.14),
    0 0 0 1px rgba(32, 184, 90, 0.08);
  transform: translateY(-0.3rem);
}

.stat-card,
.client-grid article,
.quality-panel,
.commercial-panel,
.plant-card,
.proposal-upload,
.contact-panel,
.steps li,
.product-card {
  padding: clamp(1.2rem, 2vw, 1.65rem);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.stat-card:hover,
.client-grid article:hover,
.quality-panel:hover,
.steps li:hover,
.product-card:hover,
.commercial-panel:hover,
.plant-card:hover,
.proposal-upload:hover,
.contact-panel:hover {
  border-color: rgba(32, 184, 90, 0.3);
  box-shadow: 0 1.125rem 2.625rem rgba(5, 9, 8, 0.12);
  transform: translateY(-0.25rem);
}

.stat-number {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.about .stat-number {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--green-dark);
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
}

.stat-card h3,
.client-grid h3,
.quality-panel h3,
.commercial-panel h3,
.contact-panel h3,
.steps h3,
.product-card h3 {
  margin: 0 0 0.7rem;
}

.stat-card p,
.client-grid p,
.quality-panel p,
.steps p,
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about .stat-card p {
  max-width: 16rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 780;
  line-height: 1.35;
}

.product-card p + p {
  margin-top: 0.85rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem;
}

.product-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--green);
  background: var(--mint);
  border-radius: var(--radius);
}

.product-card:nth-child(2) .product-icon {
  color: var(--blue);
  background: #dfeaf0;
}

.product-card:nth-child(3) .product-icon {
  color: var(--rust);
  background: #f0e1da;
}

.product-card:nth-child(4) .product-icon {
  color: var(--amber);
  background: #f4ead8;
}

.product-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.65rem;
  margin-top: 0.4rem;
  padding: 0 1rem;
  color: var(--green-dark);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 780;
  transition:
    color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.product-card button:hover {
  color: #fff;
  background: var(--green);
  transform: translateY(-0.075rem);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.client-grid article:last-child {
  grid-column: 1 / -1;
}

.logistics {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.logistics-copy {
  display: grid;
  gap: 1rem;
}

.supply-map {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(246, 230, 200, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(246, 230, 200, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(5, 9, 8, 0.97), rgba(9, 39, 23, 0.95));
  background-size: 2rem 2rem, 2rem 2rem, auto;
  border-color: rgba(246, 230, 200, 0.16);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(246, 230, 200, 0.14);
}

.map-card-heading span {
  color: rgba(246, 230, 200, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-card-heading strong {
  color: var(--green);
  font-size: 0.95rem;
}

.map-tools {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: center;
}

.map-legend,
.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.map-legend span {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.55rem;
  color: rgba(246, 230, 200, 0.78);
  background: rgba(5, 9, 8, 0.46);
  border: 1px solid rgba(246, 230, 200, 0.12);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 760;
}

.legend-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 0.82rem;
  height: 0.82rem;
  box-shadow: 0 0 0.75rem rgba(32, 184, 90, 0.32);
}

.legend-icon-refinery {
  background: linear-gradient(135deg, var(--green), #073f24);
  border: 1px solid rgba(246, 230, 200, 0.46);
  border-radius: 0.16rem;
}

.legend-icon-refinery::before {
  content: "";
  position: absolute;
  top: -0.22rem;
  right: 0.1rem;
  width: 0.22rem;
  height: 0.34rem;
  background: var(--green);
  border: 1px solid rgba(246, 230, 200, 0.32);
  border-bottom: 0;
}

.legend-icon-depot {
  width: 0.9rem;
  height: 0.62rem;
  background: linear-gradient(180deg, var(--cream), var(--amber));
  border: 1px solid rgba(5, 9, 8, 0.45);
  border-radius: 0.2rem 0.2rem 0.34rem 0.34rem;
  box-shadow: 0 0 0.75rem rgba(246, 230, 200, 0.38);
}

.legend-icon-depot::before {
  content: "";
  position: absolute;
  top: -0.15rem;
  left: 50%;
  width: 0.5rem;
  height: 0.2rem;
  background: rgba(246, 230, 200, 0.95);
  border: 1px solid rgba(5, 9, 8, 0.35);
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.legend-icon-hub {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--amber);
  border: 1px solid rgba(246, 230, 200, 0.5);
  border-radius: 50% 50% 50% 0.15rem;
  box-shadow: 0 0 0.75rem rgba(211, 170, 95, 0.4);
  transform: rotate(-45deg);
}

.map-filter {
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(5, 9, 8, 0.56);
  border: 1px solid rgba(246, 230, 200, 0.14);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 820;
  transition:
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.map-filter:hover,
.map-filter.is-active {
  color: #fff;
  background: rgba(11, 113, 55, 0.72);
  border-color: rgba(32, 184, 90, 0.5);
}

.map-filter:hover {
  transform: translateY(-0.075rem);
}

.kazakhstan-map {
  position: relative;
  width: min(94%, 60rem);
  max-width: 100%;
  margin: clamp(0.5rem, 1vw, 0.85rem) auto;
  aspect-ratio: 1000 / 520;
  min-height: 0;
  overflow: visible;
  border-radius: 0.65rem;
}

.map-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.map-outline {
  fill: rgba(246, 230, 200, 0.14);
  stroke: rgba(246, 230, 200, 0.9);
  stroke-width: 3;
  filter:
    drop-shadow(0 0 0.35rem rgba(246, 230, 200, 0.12))
    drop-shadow(0 0 1.2rem rgba(32, 184, 90, 0.14));
  vector-effect: non-scaling-stroke;
}

.map-route-layer {
  pointer-events: none;
}

.map-route {
  fill: none;
  stroke: rgba(32, 184, 90, 0.78);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 6;
  opacity: 0.76;
  filter: drop-shadow(0 0 0.32rem rgba(32, 184, 90, 0.42));
  vector-effect: non-scaling-stroke;
}

.map-route-npz {
  stroke: rgba(32, 184, 90, 0.96);
  stroke-width: 2.15;
  stroke-dasharray: none;
  opacity: 0.96;
  filter: drop-shadow(0 0 0.34rem rgba(32, 184, 90, 0.5));
}

.map-route-depot,
.map-route-depot-accent {
  stroke: rgba(246, 230, 200, 0.62);
  stroke-width: 1.05;
  stroke-dasharray: 4 7;
  opacity: 0.62;
  filter: drop-shadow(0 0 0.28rem rgba(246, 230, 200, 0.22));
}

.map-route-depot-accent {
  stroke: rgba(246, 230, 200, 0.78);
  stroke-width: 1.16;
  stroke-dasharray: 6 8;
  opacity: 0.72;
}

.map-route-main {
  stroke: rgba(32, 184, 90, 0.96);
  stroke-width: 2.15;
  stroke-dasharray: none;
  opacity: 0.96;
}

.map-route-secondary {
  stroke: rgba(246, 230, 200, 0.62);
  stroke-width: 1.05;
  stroke-dasharray: 4 7;
  opacity: 0.58;
  filter: drop-shadow(0 0 0.32rem rgba(32, 184, 90, 0.24));
}

.map-route.is-hidden {
  display: none;
}

.map-point {
  position: absolute;
  z-index: 3;
  display: block;
  width: 0;
  height: 0;
  padding: 0.25rem;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.map-point.is-hidden {
  display: none;
}

.map-point::before {
  content: "";
  position: absolute;
  top: -0.9rem;
  left: -0.9rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
}

.map-point-pavlodar {
  left: 73.27%;
  top: 26.86%;
}

.map-point-atyrau {
  left: 15.27%;
  top: 58.58%;
}

.map-point-shymkent {
  left: 56.21%;
  top: 85.24%;
}

.map-point-central {
  left: 44.5%;
  top: 31.7%;
}

.map-point-astana {
  left: 60.6%;
  top: 36.5%;
}

.map-point-almaty {
  left: 73%;
  top: 80.49%;
}

.map-icon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.map-icon svg {
  display: block;
  width: 0.62rem;
  height: 0.62rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-icon-refinery {
  width: 0.92rem;
  height: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #073f24);
  border: 1px solid rgba(246, 230, 200, 0.76);
  border-radius: 0.18rem;
  box-shadow:
    0 0 0 0.14rem rgba(32, 184, 90, 0.1),
    0 0 0.58rem rgba(32, 184, 90, 0.55);
}

.map-icon-hub {
  width: 0.68rem;
  height: 0.68rem;
  background: var(--amber);
  border: 1px solid rgba(246, 230, 200, 0.72);
  border-radius: 50% 50% 50% 0.18rem;
  box-shadow:
    0 0 0 0.18rem rgba(246, 192, 90, 0.12),
    0 0 0.72rem rgba(246, 192, 90, 0.4);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-point-depot {
  z-index: 2;
  padding: 0.12rem;
  opacity: 0.94;
}

.map-point-refinery,
.map-point-almaty {
  z-index: 6;
}

.map-point-central,
.map-point-astana {
  z-index: 5;
}

.map-point-depot:hover,
.map-point-depot:focus-visible,
.map-point-depot.is-active,
.map-point-depot-labeled {
  z-index: 12;
  opacity: 1;
}

.map-point-depot::before {
  top: -0.52rem;
  left: -0.52rem;
  width: 1.04rem;
  height: 1.04rem;
}

.map-icon-depot {
  width: 0.48rem;
  height: 0.34rem;
  background: linear-gradient(180deg, var(--cream), var(--amber));
  border: 1px solid rgba(5, 9, 8, 0.58);
  border-radius: 0.1rem 0.1rem 0.18rem 0.18rem;
  box-shadow:
    0 0 0 0.1rem rgba(246, 230, 200, 0.1),
    0 0 0.46rem rgba(246, 230, 200, 0.38);
}

.map-icon-depot::before {
  content: "";
  position: absolute;
  top: -0.08rem;
  left: 50%;
  width: 0.28rem;
  height: 0.12rem;
  background: rgba(246, 230, 200, 0.95);
  border: 1px solid rgba(5, 9, 8, 0.42);
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.map-icon-depot::after {
  content: "";
  position: absolute;
  right: 0.08rem;
  bottom: -0.07rem;
  left: 0.08rem;
  height: 0.06rem;
  background: rgba(246, 230, 200, 0.8);
  border-radius: 999px;
}

.map-icon-route-hub {
  width: 0.54rem;
  height: 0.38rem;
  opacity: 1;
  box-shadow:
    0 0 0 0.1rem rgba(246, 230, 200, 0.12),
    0 0 0.58rem rgba(246, 230, 200, 0.48);
}

.map-label {
  position: absolute;
  top: -1.3rem;
  left: 0.75rem;
  z-index: 5;
  max-width: 7.5rem;
  white-space: normal;
  padding: 0.25rem 0.42rem;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(5, 9, 8, 0.9);
  border: 1px solid rgba(246, 230, 200, 0.18);
  border-radius: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.map-point-pavlodar .map-label {
  top: -1.5rem;
  left: 0.58rem;
}

.map-point-atyrau .map-label {
  top: -0.18rem;
  left: 0.78rem;
}

.map-point-shymkent .map-label {
  top: -0.12rem;
  right: 0.78rem;
  left: auto;
}

.map-point-almaty .map-label {
  top: -1.35rem;
  left: 0.72rem;
  color: var(--amber);
}

.map-point-astana .map-label {
  top: -1.45rem;
  left: 0.62rem;
}

.map-point-depot .map-label {
  top: -1.1rem;
  left: 0.45rem;
  max-width: 5.25rem;
  color: var(--cream);
  font-size: 0.64rem;
  background: rgba(5, 9, 8, 0.92);
}

.map-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.7rem);
  z-index: 7;
  display: grid;
  gap: 0.35rem;
  width: min(10.8rem, 58vw);
  max-width: calc(100vw - 2rem);
  padding: 0.85rem;
  color: #fff;
  background: rgba(5, 9, 8, 0.96);
  border: 1px solid rgba(32, 184, 90, 0.4);
  border-radius: 0.55rem;
  box-shadow: 0 1rem 2.4rem rgba(5, 9, 8, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.4rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.map-tooltip strong {
  color: var(--cream);
  font-size: 0.92rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.map-tooltip small {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.map-point-depot .map-tooltip {
  left: 0.5rem;
  bottom: calc(100% + 0.45rem);
  width: min(9.8rem, 52vw);
  padding: 0.7rem;
  border-color: rgba(246, 230, 200, 0.32);
  transform: translate(0, 0.35rem);
}

.map-point-central .map-tooltip,
.map-point-astana .map-tooltip {
  left: 0.55rem;
  bottom: calc(100% + 0.5rem);
  transform: translate(0, 0.35rem);
}

.map-point-edge-right .map-tooltip {
  right: 0.6rem;
  left: auto;
}

.map-point-edge-left .map-tooltip {
  left: 0.6rem;
}

.map-point-edge-top .map-tooltip {
  top: 0.6rem;
  bottom: auto;
}

.map-point-atyrau .map-tooltip {
  left: 0;
  transform: translate(0, 0.4rem);
}

.map-point-pavlodar .map-tooltip {
  top: calc(100% + 0.58rem);
  right: 0;
  bottom: auto;
  left: auto;
  transform: translate(0, -0.35rem);
}

.map-point-shymkent .map-tooltip,
.map-point-almaty .map-tooltip {
  left: auto;
  right: 0;
  transform: translate(0, 0.4rem);
}

.map-point:hover .map-tooltip,
.map-point:focus .map-tooltip,
.map-point:focus-visible .map-tooltip,
.map-point.is-active .map-tooltip,
.map-icon:hover ~ .map-tooltip,
.map-label:hover ~ .map-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.map-point-atyrau:hover .map-tooltip,
.map-point-atyrau:focus .map-tooltip,
.map-point-atyrau:focus-visible .map-tooltip,
.map-point-atyrau .map-icon:hover ~ .map-tooltip,
.map-point-atyrau .map-label:hover ~ .map-tooltip,
.map-point-pavlodar:hover .map-tooltip,
.map-point-pavlodar:focus .map-tooltip,
.map-point-pavlodar:focus-visible .map-tooltip,
.map-point-pavlodar .map-icon:hover ~ .map-tooltip,
.map-point-pavlodar .map-label:hover ~ .map-tooltip,
.map-point-shymkent:hover .map-tooltip,
.map-point-shymkent:focus .map-tooltip,
.map-point-shymkent:focus-visible .map-tooltip,
.map-point-shymkent .map-icon:hover ~ .map-tooltip,
.map-point-shymkent .map-label:hover ~ .map-tooltip,
.map-point-almaty:hover .map-tooltip,
.map-point-almaty:focus .map-tooltip,
.map-point-almaty:focus-visible .map-tooltip,
.map-point-almaty.is-active .map-tooltip,
.map-point-depot:hover .map-tooltip,
.map-point-depot:focus .map-tooltip,
.map-point-depot:focus-visible .map-tooltip,
.map-point-depot.is-active .map-tooltip {
  transform: translate(0, 0);
}

.map-point-almaty .map-icon:hover ~ .map-tooltip,
.map-point-almaty .map-label:hover ~ .map-tooltip {
  transform: translate(0, 0);
}

.map-point-central:hover .map-tooltip,
.map-point-central:focus .map-tooltip,
.map-point-central:focus-visible .map-tooltip,
.map-point-central.is-active .map-tooltip,
.map-point-astana:hover .map-tooltip,
.map-point-astana:focus .map-tooltip,
.map-point-astana:focus-visible .map-tooltip,
.map-point-astana.is-active .map-tooltip {
  transform: translate(0, 0);
}

.depot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  max-height: 21rem;
  padding-right: 0.2rem;
  overflow: auto;
  scrollbar-color: rgba(32, 184, 90, 0.5) rgba(5, 9, 8, 0.38);
}

.depot-list[hidden] {
  display: none;
}

.depot-list-item {
  display: grid;
  gap: 0.18rem;
  min-height: 5.25rem;
  padding: 0.7rem;
  text-align: left;
  color: #fff;
  background: rgba(5, 9, 8, 0.52);
  border: 1px solid rgba(246, 230, 200, 0.12);
  border-left: 0.18rem solid var(--cream);
  border-radius: 0.45rem;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.depot-list-item:hover,
.depot-list-item:focus-visible {
  background: rgba(9, 39, 23, 0.72);
  border-color: rgba(246, 230, 200, 0.28);
  transform: translateY(-0.08rem);
}

.depot-list-item strong {
  color: var(--cream);
  font-size: 0.82rem;
  line-height: 1.2;
}

.depot-list-item .depot-region {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
}

.depot-list-item .depot-address {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.35;
}

.depot-list-item.is-hidden {
  display: none;
}

.advantage-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.125rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 850;
}

.commercial-panel,
.contact-panel {
  display: grid;
  gap: 1rem;
}

.commercial-request {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
}

.commercial-panel h3,
.commercial-panel h4,
.commercial-panel p,
.proposal-upload h4,
.proposal-upload p {
  margin: 0;
}

.commercial-panel > p {
  color: var(--muted);
  line-height: 1.65;
}

.plant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.plant-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.7rem;
  height: 100%;
  min-height: 13.5rem;
  padding: clamp(1.05rem, 1.6vw, 1.35rem);
  overflow: visible;
}

.plant-card span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.plant-card h4 {
  color: var(--green-dark);
  font-size: clamp(0.94rem, 1vw, 1.05rem);
  line-height: 1.28;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.plant-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.proposal-upload {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(32, 184, 90, 0.08), transparent),
    rgba(255, 253, 247, 0.9);
}

.proposal-upload span {
  flex: 0 0 auto;
  padding: 0.55rem 0.75rem;
  color: var(--green-dark);
  border: 1px dashed rgba(32, 184, 90, 0.48);
  border-radius: 0.45rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.contacts {
  color: #fff;
  width: 100%;
  max-width: none;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background:
    linear-gradient(135deg, rgba(5, 9, 8, 0.98), rgba(10, 39, 23, 0.94)),
    var(--coal);
}

.contacts .section-layout {
  width: var(--container);
  margin: 0 auto;
}

.contacts .section-heading p:not(.eyebrow),
.contacts .contact-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.contacts .contact-panel {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(246, 230, 200, 0.16);
  box-shadow: none;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.contact-list a,
.contact-list span {
  color: var(--cream);
  font-weight: 780;
  overflow-wrap: anywhere;
}

.contact-purpose {
  color: var(--cream) !important;
  font-weight: 760;
}

.contact-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.125rem;
  width: var(--container);
  margin: 2rem auto 0;
}

.request-hint,
.map-placeholder {
  padding: clamp(1.2rem, 2vw, 1.65rem);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(246, 230, 200, 0.16);
  border-radius: var(--radius);
}

.request-hint h3,
.request-hint p,
.map-placeholder h3,
.map-placeholder p {
  margin: 0;
}

.request-hint p,
.map-placeholder p {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.contacts .detail-list li {
  color: rgba(255, 255, 255, 0.86);
}

.map-frame {
  width: 100%;
  height: 320px;
  margin-top: 1rem;
  overflow: hidden;
  background: rgba(5, 9, 8, 0.46);
  border: 1px solid rgba(246, 230, 200, 0.2);
  border-radius: var(--radius);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-open-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.85rem;
  color: var(--cream);
  font-weight: 760;
  text-decoration: none;
}

.map-open-link:hover,
.map-open-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.55fr);
  gap: 2rem;
  align-items: start;
  width: var(--container);
  margin: 0 auto 1.75rem;
  padding: 1.5rem;
  color: #fff;
  background: var(--coal);
  border-radius: var(--radius);
}

.footer .brand-logo {
  width: 8.6rem;
  height: auto;
  max-height: 3.6rem;
}

.footer p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.58;
}

.footer-contacts {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.footer-contact-group {
  display: grid;
  gap: 0.35rem;
}

.footer-contact-group strong,
.footer-contacts span {
  color: rgba(255, 255, 255, 0.72);
}

.footer-contacts a {
  color: var(--cream);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.floating-contact {
  position: fixed;
  right: 1.125rem;
  bottom: 1.125rem;
  z-index: 26;
  display: grid;
  gap: 0.5rem;
}

.floating-contact a,
.floating-contact span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  color: #fff;
  background: rgba(5, 9, 8, 0.88);
  border: 1px solid rgba(246, 230, 200, 0.18);
  border-left: 0.25rem solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 0.875rem 1.875rem rgba(5, 9, 8, 0.22);
  backdrop-filter: blur(0.75rem);
  font-size: 0.86rem;
  font-weight: 820;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.floating-contact span {
  opacity: 0.68;
  cursor: not-allowed;
}

.floating-contact a:hover {
  background: rgba(7, 63, 36, 0.94);
  border-color: rgba(32, 184, 90, 0.46);
  transform: translateX(-0.1875rem);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(1.375rem);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: heroDrift 18s ease-in-out infinite alternate;
  }

  .hero-signature,
  .eyebrow,
  h1,
  .brand-rule,
  .hero-lead,
  .hero-note,
  .hero-points,
  .hero-actions,
  .quote-panel,
  .hero-strip {
    animation: fadeUp 760ms ease both;
  }

  .hero-signature {
    animation-delay: 90ms;
  }

  .eyebrow {
    animation-delay: 160ms;
  }

  h1 {
    animation-delay: 230ms;
  }

  .brand-rule {
    animation-delay: 280ms;
  }

  .hero-lead {
    animation-delay: 320ms;
  }

  .hero-note {
    animation-delay: 380ms;
  }

  .hero-points {
    animation-delay: 410ms;
  }

  .hero-actions {
    animation-delay: 440ms;
  }

  .quote-panel {
    animation-delay: 520ms;
  }

  .hero-strip {
    animation-delay: 620ms;
  }

  .brand-logo {
    animation: brandGlow 4.8s ease-in-out infinite;
  }

  .button::after {
    animation: buttonSweep 4.2s ease-in-out infinite;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(-0.4%, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(1.2%, -0.8%, 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brandGlow {
  0%,
  100% {
    filter: drop-shadow(0 0.5rem 1rem rgba(0, 0, 0, 0.36));
  }

  50% {
    filter: drop-shadow(0 0.5rem 1.125rem rgba(32, 184, 90, 0.28));
  }
}

@keyframes buttonSweep {
  0%,
  48% {
    transform: translateX(-120%);
  }

  72%,
  100% {
    transform: translateX(120%);
  }
}

@media (min-width: 90rem) {
  :root {
    --container: min(82rem, calc(100vw - 5rem));
  }

  .depot-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 64rem) {
  :root {
    --container: min(100vw - 1.75rem, 48rem);
  }

  .desktop-nav,
  .header-actions .button-small {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .site-header.menu-active .menu-open {
    display: none;
  }

  .site-header.menu-active .menu-close {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 7.25rem;
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero-content,
  .section-layout,
  .logistics {
    grid-template-columns: 1fr;
  }

  .supply-map {
    min-height: 0;
  }

  .kazakhstan-map {
    width: min(94%, 46rem);
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
    padding-top: 0.75rem;
  }

  .quote-panel {
    max-width: 42rem;
  }

  .commercial-request {
    max-width: none;
  }

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

  .hero-strip div:nth-child(2) {
    border-right: 0;
  }

  .hero-strip div:nth-child(1),
  .hero-strip div:nth-child(2) {
    border-bottom: 1px solid rgba(246, 230, 200, 0.14);
  }

  .stats-grid,
  .advantage-grid,
  .trust-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48.001rem) and (max-width: 64rem) {
  .logistics {
    padding-right: 4.5rem;
  }
}

@media (max-width: 48rem) {
  :root {
    --container: calc(100vw - 1.5rem);
  }

  .site-header {
    top: 0.5rem;
    min-height: 4.15rem;
    padding: 0.55rem 0.65rem;
  }

  .brand-logo {
    width: 6.65rem;
    height: auto;
    max-height: 3rem;
  }

  .brand-caption {
    font-size: 0.56rem;
  }

  .icon-link,
  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .mobile-menu {
    top: 5.15rem;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 9, 8, 0.97) 0%, rgba(8, 23, 15, 0.9) 58%, rgba(8, 35, 19, 0.42) 100%),
      linear-gradient(180deg, rgba(5, 9, 8, 0.08), rgba(5, 9, 8, 0.48));
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.1rem);
    line-height: 1.02;
  }

  .hero-lead,
  .hero-note,
  .section-heading p:not(.eyebrow),
  .section-copy p,
  .logistics-copy p,
  .commercial-panel p,
  .contact-panel p {
    font-size: 1rem;
  }

  .hero-points {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-points li {
    width: 100%;
    min-height: 2.75rem;
  }

  .hero-actions,
  .contact-buttons,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .form-grid,
  .product-grid,
  .client-grid,
  .stats-grid,
  .advantage-grid,
  .trust-grid,
  .contact-support-grid,
  .plant-grid,
  .steps,
  .footer {
    grid-template-columns: 1fr;
  }

  .client-grid article:last-child {
    grid-column: auto;
  }

  .about .stat-card {
    min-height: 10.5rem;
  }

  .map-frame {
    height: 260px;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero-strip div,
  .hero-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(246, 230, 200, 0.14);
  }

  .hero-strip div:last-child {
    border-bottom: 0;
  }

  .supply-map {
    min-height: 0;
    padding: 1rem;
  }

  .kazakhstan-map {
    width: 100%;
    min-height: 0;
  }

  .map-card-heading,
  .proposal-upload {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-tools {
    align-items: flex-start;
  }

  .map-legend,
  .map-filters {
    width: 100%;
  }

  .map-label {
    padding: 0.24rem 0.34rem;
    font-size: 0.66rem;
  }

  .map-tooltip {
    width: min(10.2rem, 58vw);
    padding: 0.65rem;
  }

  .map-icon-depot {
    width: 0.42rem;
    height: 0.3rem;
  }

  .depot-list {
    grid-template-columns: 1fr;
    max-height: 24rem;
  }

  .contacts {
    padding-right: 0;
    padding-left: 0;
  }

  body {
    padding-bottom: 5.25rem;
  }

  .floating-contact {
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(5, 9, 8, 0.94);
    border-top: 1px solid rgba(246, 230, 200, 0.16);
    backdrop-filter: blur(0.875rem);
  }

  .floating-contact a,
  .floating-contact span {
    min-width: 0;
    min-height: 2.9rem;
    padding: 0 0.55rem;
    border-left: 0;
    border-top: 0.1875rem solid var(--green);
    box-shadow: none;
    font-size: 0.78rem;
  }

  .floating-contact a:hover {
    transform: translateY(-0.1rem);
  }
}

@media (max-width: 30rem) {
  :root {
    --container: calc(100vw - 1rem);
  }

  .site-header {
    width: calc(100vw - 1rem);
    padding: 0.5rem 0.55rem;
  }

  .brand-logo {
    width: 6.1rem;
    max-height: 2.8rem;
  }

  .hero-signature img {
    width: min(13.5rem, 70vw);
  }

  .map-icon-refinery {
    width: 0.9rem;
    height: 0.9rem;
  }

  .map-icon-refinery svg {
    width: 0.55rem;
    height: 0.55rem;
  }

  .hero-strip div,
  .stat-card,
  .client-grid article,
  .quality-panel,
  .commercial-panel,
  .plant-card,
  .proposal-upload,
  .contact-panel,
  .steps li,
  .product-card,
  .quote-panel {
    padding: 1rem;
  }

  .supply-map {
    min-height: 0;
    padding: 0.85rem;
  }

  .map-label {
    padding: 0.2rem 0.28rem;
    font-size: 0.58rem;
  }

  .map-tooltip {
    width: min(10rem, 58vw);
    font-size: 0.78rem;
  }

  .map-filter,
  .map-legend span {
    font-size: 0.68rem;
  }
}
