:root {
  --ink: #10202a;
  --muted: #5b6f7a;
  --line: #d9e6e9;
  --paper: #ffffff;
  --soft: #f3f8f8;
  --aqua: #0e9fc0;
  --aqua-dark: #06718d;
  --green: #16815c;
  --yellow: #f4c739;
  --deep: #0d3143;
  --shadow: 0 22px 70px rgba(13, 49, 67, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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.5;
}

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

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

button,
select {
  font: inherit;
}

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

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 14px 42px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 230, 233, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.brand-mark img {
  width: 78px;
  max-width: none;
  transform: translateY(7px);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.main-nav {
  justify-self: center;
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: rgba(243, 248, 248, 0.88);
  border: 1px solid rgba(217, 230, 233, 0.8);
  border-radius: 999px;
}

.main-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #284552;
  font-size: 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover,
.main-nav a.nav-active {
  color: var(--aqua-dark);
  background: #fff;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  min-height: 36px;
  padding: 0 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover {
  color: var(--ink);
  background: rgba(243, 248, 248, 0.88);
}

.lang-btn.active {
  color: #fff;
  background: var(--aqua-dark);
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.burger:hover {
  background: var(--soft);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.icon-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* ============================================
   BUTTONS
   ============================================ */

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.icon-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--aqua-dark);
  box-shadow: 0 16px 34px rgba(6, 113, 141, 0.24);
}

.button-primary:hover {
  background: #045e75;
  box-shadow: 0 20px 40px rgba(6, 113, 141, 0.32);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--deep);
}

.button-full {
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 28px;
  padding: 148px 42px 54px;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 36, 49, 0.82) 0%, rgba(6, 36, 49, 0.66) 34%, rgba(6, 36, 49, 0.18) 68%, rgba(6, 36, 49, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 76px;
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-panel {
  display: grid;
  gap: 1px;
  align-self: end;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-panel span,
.quick-item span,
.order-summary span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.hero-panel strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

/* ============================================
   QUICK STRIP
   ============================================ */

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-item {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 42px;
  background: #fff;
}

.quick-item svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--aqua-dark);
}

.quick-item span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 92px 42px;
}

.split-section,
.process-section,
.order-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.86fr);
  gap: 64px;
  align-items: center;
}

.section-copy p,
.process-copy p,
.delivery-section .section-heading p,
.order-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.feature-list div {
  padding: 18px 0 18px 22px;
  border-left: 4px solid var(--aqua);
  transition: border-color 0.3s, background 0.3s;
}

.feature-list div:hover {
  border-left-color: var(--green);
  background: rgba(243, 248, 248, 0.6);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  font-size: 18px;
}

.feature-list span {
  margin-top: 4px;
  color: var(--muted);
}

.product-stage {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  overflow: hidden;
  padding: 36px;
  background:
    radial-gradient(circle at 76% 14%, rgba(244, 199, 57, 0.42), transparent 24%),
    radial-gradient(circle at 16% 82%, rgba(22, 129, 92, 0.18), transparent 26%),
    linear-gradient(145deg, #e7f7fb 0%, #ffffff 50%, #edf8f4 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 58px 30px auto auto;
  width: 180px;
  height: 260px;
  border: 3px solid rgba(14, 159, 192, 0.34);
  border-radius: 54px 54px 22px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(14, 159, 192, 0.16)),
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.7) 43% 47%, transparent 48% 100%);
  transform: rotate(7deg);
}

.product-stage::after {
  content: "";
  position: absolute;
  right: 88px;
  top: 32px;
  width: 74px;
  height: 34px;
  background: var(--aqua-dark);
  border-radius: 12px 12px 6px 6px;
  transform: rotate(7deg);
}

.volume-card {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  padding: 30px;
  color: #fff;
  background: linear-gradient(145deg, var(--deep), var(--aqua-dark));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.volume-label {
  display: block;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.volume-card strong {
  display: block;
  margin-top: 10px;
  font-size: 56px;
  line-height: 1;
}

.volume-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.volume-notes {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.volume-notes span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

/* ============================================
   BENEFITS
   ============================================ */

.section-tint {
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card,
.delivery-item,
.order-widget {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover,
.delivery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13, 49, 67, 0.12);
}

.benefit-card {
  min-height: 214px;
  padding: 24px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--aqua-dark);
  background: #e5f8fb;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.benefit-card p,
.delivery-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* ============================================
   PROCESS
   ============================================ */

.process-section {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
}

.process-image {
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.process-image:hover img {
  transform: scale(1.03);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 32px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-list div {
  padding: 20px;
  background: #fff;
}

.spec-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 6px 0 0;
  font-weight: 800;
}

/* ============================================
   DELIVERY
   ============================================ */

.delivery-section {
  padding-top: 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.delivery-item {
  min-height: 218px;
  padding: 26px;
}

.delivery-item svg {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--green);
}

/* ============================================
   ORDER
   ============================================ */

.order-section {
  background: var(--deep);
  color: #fff;
}

.order-section .eyebrow {
  color: var(--yellow);
}

.order-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-stack {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-stack a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 800;
  transition: background 0.2s;
}

.contact-stack a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.order-widget {
  padding: 26px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.order-widget label {
  display: block;
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.order-widget label:first-child {
  margin-top: 0;
}

.order-widget select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  min-height: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity-control button {
  display: grid;
  place-items: center;
  color: var(--deep);
  background: var(--soft);
  border: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.quantity-control button:hover {
  background: #dceef0;
}

.quantity-control button:active {
  background: #c4e3e7;
}

.quantity-control output {
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 850;
}

.order-summary {
  margin: 22px 0;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-summary span {
  color: var(--muted);
}

.order-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.review-link {
  display: block;
  margin-top: 16px;
  color: var(--aqua-dark);
  font-weight: 800;
  text-align: center;
  transition: color 0.2s;
}

.review-link:hover {
  color: var(--aqua);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px 42px;
  color: #35515e;
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer span {
  font-weight: 850;
}

.site-footer a {
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--aqua-dark);
}

/* ============================================
   OFERTA PAGE
   ============================================ */

.oferta-page {
  padding: 120px 42px 80px;
  min-height: 100vh;
  background: var(--soft);
}

.oferta-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 48px 56px;
}

.oferta-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--aqua-dark);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 28px;
  transition: color 0.2s;
}

.oferta-back:hover {
  color: var(--aqua);
}

.oferta-page h1 {
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 36px;
  color: var(--deep);
}

.oferta-header-block {
  border-bottom: 2px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.oferta-doc-title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--deep);
  text-align: center;
  margin: 0 0 12px;
  line-height: 1.3;
}

.oferta-city {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

.oferta-body p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.oferta-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}

.oferta-table th,
.oferta-table td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
}

.oferta-table th {
  background: var(--soft);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
}

.oferta-table td {
  font-weight: 600;
}

.oferta-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.oferta-party h3 {
  font-size: 18px;
  color: var(--deep);
  margin-bottom: 16px;
}

.oferta-party p {
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.6;
}

.oferta-sign {
  margin-top: 20px !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 700 !important;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.anim-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade-up.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 20px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 162px 24px 42px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 34px;
  }

  .quick-strip,
  .benefit-grid,
  .delivery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-section,
  .process-section,
  .order-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .process-image {
    order: 2;
  }

  .oferta-parties {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 700px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-actions .button-small span {
    display: none;
  }

  .button-small {
    width: 42px;
    padding: 0;
  }

  /* Burger visible */
  .burger {
    display: flex;
  }

  /* Nav hidden by default on mobile */
  .main-nav {
    display: none;
    grid-template-columns: 1fr;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 48px rgba(13, 49, 67, 0.12);
    padding: 12px 20px;
    gap: 4px;
    z-index: 100;
  }

  .main-nav.nav-open {
    display: grid;
  }

  .main-nav a {
    min-width: 0;
    justify-content: flex-start;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 8px;
  }

  .main-nav a:hover,
  .main-nav a.nav-active {
    background: var(--soft);
  }

  .hero {
    min-height: auto;
    padding: 52px 18px 28px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 36, 49, 0.9) 0%, rgba(6, 36, 49, 0.66) 62%, rgba(6, 36, 49, 0.56) 100%);
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    font-size: 18px;
  }

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

  .quick-strip,
  .benefit-grid,
  .delivery-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .quick-item {
    min-height: 82px;
    padding: 20px 18px;
  }

  .section {
    padding: 64px 18px;
  }

  .delivery-section {
    padding-top: 0;
  }

  .product-stage {
    min-height: 450px;
  }

  .volume-card strong {
    font-size: 42px;
  }

  .process-image {
    min-height: 280px;
  }

  .contact-stack a {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    padding: 24px 18px;
  }

  /* Oferta mobile */
  .oferta-page {
    padding: 100px 16px 48px;
  }

  .oferta-container {
    padding: 28px 22px;
  }

  .oferta-page h1 {
    font-size: 28px;
  }

  .oferta-doc-title {
    font-size: 18px;
  }

  .oferta-parties {
    grid-template-columns: 1fr;
  }

  .oferta-table {
    font-size: 13px;
  }

  .oferta-table th,
  .oferta-table td {
    padding: 8px 10px;
  }
}
