@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400..700&display=swap');

:root {
  /* Logo Green (#1DB14B) + Accessible Contrast Pairings */
  --green: #1DB14B;
  --green-btn: #14963E;
  --green-hover: #008d36;
  --green-dark: #0F7A31;
  --green-text: #117A33;
  --green-soft: #E8F7ED;
  --green-tint: rgba(29, 177, 75, 0.08);

  --ink: #18221b;
  --muted: #5A665E;
  --line: #E8E4DC;
  --line-light: #F2EFEA;
  --line-strong: #BBC6BE;
  --paper: #FCFBF8;
  --surface: #ffffff;
  --soft: #F6F3EB;
  --bamboo: #ECE6DB;
  --radius: 18px;
  --field-border: #BBC6BE;
  --shadow-warm: 0 14px 34px rgba(35, 45, 30, 0.05);
  --shadow-card: 0 2px 10px rgba(35, 45, 30, 0.03), 0 1px 2px rgba(35, 45, 30, 0.02);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background-color: var(--paper);
}

body {
  overflow-x: clip;
  margin: 0;
  background-color: #FCFBF8;
  background-image: url('./assets/bg-pattern.webp?v=1794491700');
  background-repeat: repeat;
  background-position: center top;
  background-size: 1920px auto;
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Fallback / disable pseudo-element pattern since body background-image is used */
body::before {
  display: none;
}

button, input, select, textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button, a, input, select, summary {
  -webkit-tap-highlight-color: transparent;
}

button, a, summary {
  touch-action: manipulation;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a, button, input, select, summary {
  outline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
}

/* Global Green Input Focus (consistent with Calculator) */
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
.custom-select-trigger:focus,
.custom-select-trigger[aria-expanded="true"] {
  outline: none;
  border-color: var(--green);
  box-shadow: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

img {
  display: block;
  max-width: 100%;
}

p, h1, h2, h3, h4 {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 650;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
}

.container {
  width: min(1380px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding-block: 92px;
}

.section-lead {
  font-size: 16px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 620px;
  line-height: 1.5;
}

.status-dot {
  display: inline-block;
  background: var(--green);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   TOP STRIP & STICKY HEADER
   ========================================================================== */

.review-strip {
  position: relative;
  z-index: 10;
  background: #F0E8DC;
  border-bottom: 1px solid #E3D8C8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px max(40px, calc((100% - 1240px) / 2));
  font-size: 12px;
  font-weight: 500;
  color: #48584d;
  gap: 16px;
}

.strip-left {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.strip-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Social icons in top strip */
.strip-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.strip-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  transition: all 0.18s ease;
}

.strip-socials a svg {
  display: block;
}

.strip-socials a:hover {
  background: #ffffff;
  color: var(--green-text);
  transform: translateY(-1px);
}

/* Phone and Working Hours block */
.strip-phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.strip-phone {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.strip-phone:hover {
  color: var(--green-text);
}

.strip-hours {
  font-size: 10px;
  font-weight: 500;
  color: #7A877E;
  margin-top: 1px;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
}

.lang-active {
  color: var(--green-text);
  font-weight: 700;
}

.lang-sep {
  color: #a0ada4;
}

.lang-link {
  color: var(--muted);
  transition: color 0.15s;
}

.lang-link:hover {
  color: var(--ink);
}

.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header-sticky.is-scrolled {
  box-shadow: 0 4px 20px rgba(28, 43, 31, 0.08);
  background: rgba(250, 247, 242, 0.99);
}

.header {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 82px;
}

.brand {
  flex: none;
  display: flex;
  align-items: center;
}

.brand img {
  width: 145px;
  height: 38px;
  object-fit: contain;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 550;
}

.navigation a:hover,
.text-button:hover {
  color: var(--green-text);
}

/* Dropdown Menu for Services */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding-block: 10px;
}

.nav-arrow {
  font-size: 9px;
  transition: transform 0.2s ease;
  color: var(--muted);
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
  color: var(--green);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 270px;
  box-shadow: 0 12px 30px rgba(25, 37, 30, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 150;
  display: flex;
  flex-direction: column;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header .nav-dropdown.force-closed .nav-dropdown-menu, .site-header .nav-dropdown.force-close .nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
}

.nav-dropdown-menu a {
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}

.nav-cat-num {
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
  background: var(--soft);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--soft);
  color: var(--green-text);
}

.nav-dropdown-menu a:hover .nav-cat-num {
  background: var(--green);
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-size: 13.5px;
  white-space: nowrap;
  font-weight: 600;
}

.header-contact {
  font-size: 13px;
  font-weight: 650;
  padding: 9px 18px;
  border-radius: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
  text-decoration: none;
}

.header-contact.button-green {
  background: var(--green-btn);
  color: #ffffff;
  border: 1px solid var(--green-btn);
  box-shadow: 0 4px 14px rgba(20, 150, 62, 0.22);
}

.header-contact.button-green:hover {
  background: var(--green-hover); border-color: var(--green-hover);
  border-color: var(--green-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(20, 150, 62, 0.32);
}

.header-contact.button-green span {
  transition: transform 0.18s ease;
}

.header-contact.button-green:hover span {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
  display: grid;
  gap: 14px;
}

.mobile-nav a {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0;
}

@media (min-width: 901px) {
  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--green-btn);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 150, 62, 0.22);
}

.primary:hover {
  background: var(--green-hover);
  box-shadow: 0 6px 18px rgba(20, 150, 62, 0.30);
}

.dark {
  background: var(--ink);
  color: #fff;
}

.dark:hover {
  background: #27362b;
}

.light {
  background: #fff;
  color: var(--ink);
}

.text-button {
  font-size: 13.5px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  transition: color 0.18s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  padding-block: 36px 48px;
  align-items: start;
}

.hero-visual-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.hero h1,
.hero-h1 {
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 650;
  max-width: 650px;
}

.hero h1 em,
.hero-h1 em {
  color: var(--green);
  font-style: normal;
  font-family: inherit;
}

.hero-description {
  font-size: 15.5px;
  max-width: 440px;
  margin-top: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-proof p {
  font-size: 12.5px;
  line-height: 1.55;
}

.hero-proof strong {
  font-weight: 600;
  color: var(--ink);
}

.avatar-stack img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  object-position: 72% center;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.hero-facts {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-facts strong {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-facts span {
  font-size: 12px;
  color: var(--muted);
}

/* Hero Visual with unclipped tactile sticker & clean photo frame */
.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  margin-bottom: 0;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(18, 43, 24, 0.11);
  background: #243328;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Rock-solid, flicker-free crossfade transition */
.hero-photo.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
  pointer-events: none;
}

.hero-photo.slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero-tactile-sticker {
  position: absolute;
  top: -24px;
  left: -28px;
  width: 140px;
  height: auto;
  aspect-ratio: 3214 / 1782;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
  transform: rotate(-6deg);
  z-index: 6;
  transition: transform 0.25s ease;
  pointer-events: auto;
}

.hero-tactile-sticker:hover {
  transform: rotate(-2deg) scale(1.06);
}

/* 3 Key Advantages Overlaid on Photo */
.hero-features-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(28, 43, 31, 0.12);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 5;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(11.5px, 0.85vw, 13px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
}

.feature-icon-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(29, 177, 75, 0.15);
  color: var(--green-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-check svg {
  width: 10px;
  height: 10px;
}

/* ==========================================================================
   HERO TRACKING CARD (Under Visual / Right of 4.9 ★ Google)
   ========================================================================== */

.hero-tracking-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-margin-top: 100px;
  position: relative;
}

.hero-tracking-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-tracking-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-tracking-head p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
}

.hero-tracking-form {
  width: 100%;
}

.hero-tracking-input-wrap {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--field-border);
  border-radius: 10px;
  padding: 3px 4px 3px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hero-tracking-input-wrap:focus-within {
  border-color: var(--green);
  box-shadow: none;
  background: #ffffff;
}

.hero-tracking-input-wrap input,
.hero-tracking-input-wrap input:focus,
.hero-tracking-input-wrap input:focus-visible {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--ink);
  padding: 8px 0;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.hero-tracking-input-wrap input::placeholder {
  color: #92a095;
  font-size: 13px;
}

/* Gray Submit Button with Magnifying Glass */
.hero-tracking-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #E8EDE8;
  color: #4A5A4E;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.hero-tracking-submit:hover {
  background: var(--green-hover);
  color: #ffffff;
  transform: none;
}

.hero-tracking-submit:active {
  transform: scale(0.97);
}

.tracking-result {
  padding: 16px 18px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 13px;
}

.tracking-result h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.tracking-result p {
  font-size: 13px;
  max-width: 600px;
}

.spin-loader {
  animation: spinLoader 0.9s linear infinite;
}
@keyframes spinLoader {
  100% { transform: rotate(360deg); }
}

.tracking-result a {
  color: var(--green-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  margin-top: 10px;
}

/* Tracking Result Timeline & Card */
.track-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.track-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line, #e2e8e2);
}
.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e7f7ed;
  color: #127532;
}
.track-badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #148f3c;
  animation: trackPulse 1.6s infinite;
}
@keyframes trackPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.track-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #19251e);
  margin-top: 4px;
}
.track-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 6px;
  padding-left: 20px;
}
.track-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  background: #dfe5df;
}
.track-step {
  position: relative;
  padding-bottom: 14px;
}
.track-step:last-child {
  padding-bottom: 0;
}
.track-step-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #148f3c;
  box-sizing: border-box;
}
.track-step.past .track-step-dot {
  background: #148f3c;
  border-color: #148f3c;
}
.track-step-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink, #19251e);
  line-height: 1.35;
}
.track-step-meta {
  font-size: 12px;
  color: var(--muted, #526056);
  margin-top: 2px;
}
.track-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line, #e2e8e2);
}
.track-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  background: #edf2ed;
  color: #2b3b2f;
  text-decoration: none;
  transition: background 0.15s ease;
}
.track-btn-secondary:hover {
  background: #dfe7df;
}
.track-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  background: #148f3c;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s ease;
}
.track-btn-primary:hover {
  background: #117832;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading > p {
  font-size: 13.5px;
  line-height: 1.65;
  text-align: right;
}

.calculator-section {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-inline: 0;
  padding-block: 84px 60px;
  margin-top: 0;
}

.calculator {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(28, 43, 31, 0.05);
  overflow: visible;
}

.calc-inputs {
  padding: 34px 38px;
  position: relative;
  z-index: 10;
}

/* Quick Presets */
.calc-presets {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-presets-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 650;
  color: var(--muted);
}

.calc-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-chip {
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.preset-chip span {
  color: var(--green-text);
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  padding: 0;
  border: none;
}

.preset-chip:hover,
.preset-chip.active {
  background: #ffffff;
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 177, 75, 0.08);
}

.preset-chip:hover span,
.preset-chip.active span {
  color: var(--green-dark);
  background: transparent;
}

/* Mode Tabs */
.calc-tabs {
  display: flex;
  gap: 10px;
  padding: 5px;
  border-radius: 10px;
  background: var(--soft);
  margin-bottom: 24px;
}

.calc-tabs button {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  padding: 11px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  min-height: 44px;
}

.calc-tabs button.selected {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(23, 35, 27, 0.06);
}

.calc-tabs svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.fields-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
  color: #4f5b53;
}

.field select,
.field input,
.field textarea {
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  height: 48px;
  padding: 11px 14px;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
}

/* Custom Select Dropdowns */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  height: 48px;
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
  text-align: left;
}

.custom-select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select.open .nav-arrow {
  transform: rotate(180deg);
  color: var(--green);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 10px 28px rgba(25, 37, 30, 0.12);
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 250;
}

.custom-select.open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-item {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  user-select: none;
}

.custom-select-item:hover {
  background: var(--soft);
  color: var(--green-text);
}

.custom-select-item.selected {
  background: #eaf6e9;
  color: var(--green-text);
  font-weight: 600;
}

.custom-select-item .item-label {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-item .check-mark {
  opacity: 0;
  color: var(--green);
  flex-shrink: 0;
}

.custom-select-item.selected .check-mark {
  opacity: 1;
}

/* Delivery Choice */
/* Consistent Field Block Labels (Same strength as Откуда/Куда) */
.field-block {
  margin-top: 18px;
}

.block-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #4f5b53;
}

/* Custom Warm Radios (Replacing default browser radio with gentle green-btn theme) */
.delivery-choice {
  display: flex;
  gap: 24px;
  align-items: center;
}

.custom-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  color: var(--ink);
}

.custom-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-radio-mark {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--field-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s ease;
}

.custom-radio-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  transform: scale(0);
  transition: transform 0.15s ease;
}

.custom-radio-label input[type="radio"]:checked + .custom-radio-mark {
  background: var(--green-btn);
  border-color: var(--green-btn);
}

.custom-radio-label input[type="radio"]:checked + .custom-radio-mark::after {
  transform: scale(1);
}

.custom-radio-label:hover .custom-radio-mark {
  border-color: rgba(29, 177, 75, 0.45);
}

.custom-radio-label input[type="radio"]:focus-visible + .custom-radio-mark {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.custom-radio-text {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink);
}

/* Package Sizes: 5 Boxes in 1 Single Line on Desktop */
.package-size-row {
  margin-bottom: 12px;
}

.air-boxes-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.pkg-box-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--soft);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 10px 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s ease;
}

.pkg-box-card:hover {
  background: #ffffff;
  border-color: rgba(29, 177, 75, 0.35);
  box-shadow: 0 3px 10px rgba(29, 177, 75, 0.08);
  transform: translateY(-1px);
}

.pkg-box-card.selected {
  background: #ffffff;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(20, 150, 62, 0.14);
}

.pkg-box-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 2px;
}

.pkg-box-weight {
  font-size: 11px;
  font-weight: 650;
  color: var(--green-text);
  line-height: 1.2;
  margin-bottom: 3px;
}

.pkg-box-dims {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.2;
}

.pkg-box-card.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sea Pallet Card */
.sea-pallet-row {
  display: block;
}

.pkg-pallet-card {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  text-align: left;
  width: 100%;
}

.pkg-pallet-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(29, 177, 75, 0.10);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pkg-pallet-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.pkg-pallet-info .pkg-box-name {
  margin-bottom: 0;
  font-size: 15px;
}

.pkg-pallet-info .pkg-box-weight {
  font-size: 12.5px;
  margin-bottom: 0;
}

.pkg-pallet-info .pkg-box-dims {
  font-size: 12px;
}

/* Custom Dimensions Block with Radio Unlocking */
.custom-dims-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px 14px;
  margin-top: 10px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.custom-dims-block.is-unlocked {
  background: #ffffff;
  border-color: rgba(29, 177, 75, 0.45);
  box-shadow: 0 4px 14px rgba(29, 177, 75, 0.06);
}

.custom-dims-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.custom-dims-note {
  font-size: 11.5px;
  color: var(--muted);
}

.fields-four,
.dims-layout-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  transition: opacity 0.2s ease;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .dims-layout-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .dims-layout-row .field-weight-col {
    flex: none;
    width: 100%;
  }
  .dims-layout-row .field-dims-col {
    min-width: 0;
    width: 100%;
  }
  .dims-inputs-inline {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .dims-input-mini {
    flex: 1;
    min-width: 0;
  }
}

.dims-fields-locked {
  opacity: 0.7;
}

.dims-fields-locked input {
  cursor: not-allowed;
  background: #f4f5f3;
}

/* Keep actual weight input always editable even when box dimensions are locked */
.dims-fields-locked .field-weight-editable input {
  cursor: text;
  background: #ffffff;
  border-color: var(--green);
}

.dims-layout-row .field-weight-col {
  flex: 0 0 auto;
}

.dims-layout-row .field-weight-col label,
.dims-layout-row .field-dims-col label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}

.weight-input-inline {
  width: auto;
  min-width: 96px;
  justify-content: center;
}

.weight-input-inline .dims-input-mini {
  width: 52px;
  text-align: center;
  cursor: text !important;
}

.dims-fields-locked .weight-input-inline {
  background: #ffffff;
  border-color: var(--line);
}

.dims-fields-locked .weight-input-inline .dims-input-mini {
  cursor: text !important;
  background: transparent !important;
}

.dims-layout-row .field-dims-col {
  flex: 1;
  min-width: 250px;
}

.dims-inputs-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dims-fields-locked .dims-inputs-inline {
  background: #f4f5f3;
  border-color: #e2e5e1;
}

.dims-input-mini {
  width: 48px;
  text-align: center;
  padding: 6px 2px !important;
  font-size: 14px !important;
  font-weight: 600;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--ink);
  box-shadow: none !important;
}

.dims-inputs-inline input:focus {
  background: #ffffff !important;
  border-color: var(--green) !important;
  box-shadow: none !important;
}

.dims-sep {
  font-size: 13px;
  font-weight: 700;
  color: #9ca3af;
  user-select: none;
}

.dims-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
  user-select: none;
}

.fields-four .field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.fields-four .field input {
  padding: 8px 10px;
  font-size: 13.5px;
}

.with-unit {
  position: relative;
}

.with-unit input {
  padding-right: 32px;
}

.with-unit > span {
  position: absolute;
  right: 10px;
  top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* Quote Panel */
.quote-panel {
  background: linear-gradient(180deg, #F3F8F3 0%, #EBF4EC 100%);
  border-left: 1px solid #D6E4D7;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
}

.quote-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.calc-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-text);
}

.quote-arrow {
  font-size: 22px;
  color: var(--green);
  line-height: 1;
}

.quote-route {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 650;
  margin-top: 12px;
}

.quote-route > span:nth-child(2) {
  color: var(--muted);
}

.quote-price {
  font-size: 62px;
  letter-spacing: -0.055em;
  line-height: 1.15;
  font-weight: 650;
  margin-top: 16px;
  color: var(--ink);
}

.quote-price > span {
  font-size: 38px;
  line-height: 1;
  color: var(--green);
}

.quote-price.consultation {
  font-size: 30px;
  letter-spacing: -0.03em;
  margin: 22px 0 8px;
}

.quote-caption {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

.quote-breakdown {
  margin: 22px 0;
  font-size: 13px;
}

.quote-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.quote-breakdown dt {
  color: var(--muted);
}

.quote-breakdown dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.custom-tooltip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px dashed #7a8b80;
  cursor: help;
  user-select: none;
  outline: none;
}

.custom-tooltip-trigger:focus-visible {
  border-bottom-color: var(--green);
}

.tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1c2b20;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease-out, transform 0.12s ease-out, visibility 0.12s;
  z-index: 50;
}

/* Tooltip Little Arrow */
.tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1c2b20 transparent transparent transparent;
}

.custom-tooltip-trigger:hover .tooltip-bubble,
.custom-tooltip-trigger:focus .tooltip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.quote-breakdown .chargeable {
  border-top: 1px solid #cedace;
  margin-top: 6px;
  padding-top: 10px;
}

.quote-breakdown .chargeable dt {
  color: var(--ink);
  font-weight: 650;
}

.quote-panel .button {
  width: 100%;
  margin-top: auto;
}

.quote-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.quote-sec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #cdd9ce;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  transition: all 0.18s ease;
}

.quote-sec-btn:hover {
  border-color: var(--green);
  color: var(--green-text);
  background: #f9fdf9;
}

.quote-note {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
  color: var(--muted);
}

.calc-footnote {
  font-size: 12.5px;
  max-width: 780px;
  margin-top: 18px;
  line-height: 1.65;
}

.field-error {
  color: #a02920;
  font-size: 13px;
  margin-top: 12px;
}

/* ==========================================================================
   SERVICES SECTION (ASYMMETRIC BENTO GRID WITH FULL-CARD CLICK)
   ========================================================================== */

.services-section {
  padding-top: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  min-height: 250px;
  box-shadow: var(--shadow-card);
  transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
  isolation: isolate;
}

/* Watermark background icon (clipped at bottom-right, grayish-green tint) */
.service-bg-watermark {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  z-index: 1;
  color: #2e6644;
  opacity: 0.09;
  transition: opacity 0.28s ease, transform 0.28s ease, color 0.28s ease;
  overflow: hidden;
}

.service-bg-watermark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card:hover .service-bg-watermark {
  opacity: 0.18;
  color: var(--green);
  transform: scale(1.05) rotate(-2deg);
}

.service-card-footer-single {
  justify-content: flex-start;
}

.service-card-footer-single .service-cta-btn {
  width: auto;
}

.service-card-meta {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-text);
  margin-bottom: 8px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--ink);
}

.service-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 22px;
  flex: 1;
}

.service-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.service-card h3,
.service-card p,
.service-card-meta {
  position: relative;
  z-index: 2;
}

.service-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-price-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-price-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.service-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 650;
  color: var(--green-text);
  background: var(--green-soft);
  border: 1px solid rgba(29, 177, 75, 0.25);
  padding: 7px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.18s ease;
}

.service-cta-btn:hover {
  background: var(--green-hover);
  color: #ffffff;
  border-color: var(--green-btn);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 150, 62, 0.2);
}

.service-card:hover {
  background-color: #FAFDFB;
  border-color: rgba(29, 177, 75, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(29, 177, 75, 0.08);
}

.service-card:hover .service-cta-btn {
  background: var(--green-btn);
  color: #ffffff;
  border-color: var(--green-btn);
}

/* ==========================================================================
   CASES CAROUSEL SECTION
   ========================================================================== */

.cases-section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.cases-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.cases-header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cases-tg-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
}

.cases-tg-button:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(20, 150, 62, 0.22);
}

.cases-carousel-nav,
.reviews-carousel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.carousel-btn:hover:not(:disabled) {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.cases-carousel-viewport,
.reviews-carousel-viewport {
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  margin-inline: -4px;
  padding-inline: 4px;
  padding-block: 4px;
}

.cases-carousel-track,
.reviews-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.cases-carousel-track .case-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 14px 32px rgba(28, 43, 31, 0.09);
}

.case-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.case-card:hover .case-media img {
  transform: scale(1.04);
}

.case-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 650;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.case-body {
  overflow-x: clip;
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.case-price {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.case-price span {
  font-size: 18px;
  color: var(--green-text);
}

.case-price .case-price-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.case-route {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.case-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: 650;
}

.case-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
}

.case-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  color: var(--green-text);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(20, 150, 62, 0.2);
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}

.case-btn:hover {
  background: var(--green-hover);
  color: #ffffff;
  border-color: var(--green-btn);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.22s ease;
}

.carousel-dot.active {
  width: 24px;
  background: var(--green);
}

/* ==========================================================================
   LEAD CAPTURE FORM SECTION
   ========================================================================== */

.form-section {
  padding-block: 56px;
}

.native-form-wrap {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--soft);
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.native-form-info h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 16px;
}

.native-form-info p {
  font-size: 14px;
  line-height: 1.7;
}

.native-form-contacts {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 550;
}

.native-form-contacts div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.native-form-contacts svg {
  color: var(--green);
  flex-shrink: 0;
}

.native-form-contacts a {
  color: var(--green-text);
  font-weight: 600;
}

.native-form-contacts a:hover {
  text-decoration: underline;
}

.native-form {
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.native-form textarea {
  min-height: 72px;
  height: 72px;
  max-height: 150px;
  resize: vertical;
  line-height: 1.45;
}

.native-form .button {
  width: auto;
  max-width: 100%;
}

.form-privacy-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.form-status {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: none;
}

.form-status.success {
  display: block;
  background: #eaf6e9;
  color: var(--green-dark);
  border: 1px solid var(--green);
}

.form-status.error {
  display: block;
  background: #fdeeee;
  color: #a02920;
  border: 1px solid #a02920;
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

.team-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-block: 80px;
}

.team-images {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  position: relative;
  align-items: end;
  padding-bottom: 36px;
}

.team-images > img:not(.team-stamp-sticker) {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.32;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.team-images .team-cargo {
  aspect-ratio: 1 / 1.22;
  margin-bottom: -36px;
}

/* Tactile Floating Stickers across sections (Consistent Zero-Block Feel) */
.tactile-sticker {
  display: block;
  object-fit: contain;
  pointer-events: auto;
  user-select: none;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.28s ease;
  will-change: transform, filter;
}

.tactile-sticker:hover {
  transform: rotate(-2deg) scale(1.08);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.24));
}

/* Team section: Authentic "Работаем с 2022 года" Sticker Image */
.team-stamp-sticker {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 165px;
  height: auto;
  aspect-ratio: 480 / 315;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(4deg);
  z-index: 5;
}

.team-stamp-sticker:hover {
  transform: rotate(1deg) scale(1.06);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.26));
}

/* Specific Section Placement */
.tracking-bar {
  position: relative;
}

.tracking-sticker-globe {
  position: absolute;
  top: -22px;
  right: 28px;
  width: 58px;
  height: 58px;
  transform: rotate(12deg);
  z-index: 3;
}

.tracking-sticker-globe:hover {
  transform: rotate(4deg) scale(1.12);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.22));
}

/* Bento Services Card Stickers (Hover on parent card rotates & lifts sticker) */

.bento-corner-sticker {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.32s ease;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15));
}

#service-express .bento-corner-sticker {
  top: 14px;
  right: 18px;
  width: 54px;
  height: 48px;
  transform: rotate(8deg);
  z-index: 3;
}

#service-docs .bento-corner-sticker {
  top: 14px;
  right: 18px;
  width: 48px;
  height: 48px;
  transform: rotate(-6deg);
  z-index: 3;
}

#service-business .bento-corner-sticker {
  top: 14px;
  right: 18px;
  width: 52px;
  height: 44px;
  transform: rotate(6deg);
  z-index: 3;
}

/* Parent card hover effects for Bento stickers */
#service-express:hover .bento-corner-sticker {
  transform: rotate(-2deg) scale(1.12) translateY(-3px);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.24));
}

#service-docs:hover .bento-corner-sticker {
  transform: rotate(2deg) scale(1.14) translateY(-3px);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.24));
}

#service-business:hover .bento-corner-sticker {
  transform: rotate(-2deg) scale(1.12) translateY(-3px);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.24));
}

/* Calculator mode sticker (Plane <-> Boat peel/stick animation) */
.quote-top {
  position: relative;
}

.quote-sticker-mode {
  position: absolute;
  top: -14px;
  right: 0;
  width: 58px;
  height: 52px;
  transform: rotate(8deg);
  z-index: 3;
  transform-origin: bottom left;
  transition: transform 0.25s ease, filter 0.25s ease;
  will-change: transform, opacity, filter;
}

.quote-sticker-mode:hover {
  transform: rotate(2deg) scale(1.12);
}

/* Peel off animation (отклеивание уголка и уход) */
@keyframes stickerPeelOff {
  0% {
    transform: rotate(8deg) scale(1);
    opacity: 1;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
  }
  35% {
    /* Corner peels up: rotates along origin, curls back with heightened shadow */
    transform: rotate(18deg) skewY(-8deg) scale(1.08) translateY(-6px);
    opacity: 0.9;
    filter: drop-shadow(-4px 14px 20px rgba(0, 0, 0, 0.22));
  }
  100% {
    /* Flies off smoothly */
    transform: rotate(32deg) scale(0.7) translateY(-26px) translateX(18px);
    opacity: 0;
    filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0));
  }
}

/* Stick on animation (прилетает и прижимается/приклеивается) */
@keyframes stickerStickOn {
  0% {
    transform: rotate(-18deg) scale(1.3) translateY(-22px) translateX(12px);
    opacity: 0;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.30));
  }
  60% {
    /* Contacts paper with slight elasticity */
    transform: rotate(6deg) scale(0.96) translateY(2px);
    opacity: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
  }
  85% {
    /* Settles */
    transform: rotate(10deg) scale(1.03);
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.16));
  }
  100% {
    transform: rotate(8deg) scale(1);
    opacity: 1;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
  }
}

.quote-sticker-mode.peeling-off {
  animation: stickerPeelOff 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.quote-sticker-mode.sticking-on {
  animation: stickerStickOn 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.quote-box-art {
  display: block;
  width: 68px;
  height: auto;
  margin: 12px auto 0;
  transform: rotate(-3deg);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.28s ease;
  cursor: pointer;
}

.quote-box-art:hover {
  transform: rotate(2deg) scale(1.08);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.22));
}

/* Reviews sticker (Hands-heart) */
.reviews-sticker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.reviews-sticker-hands {
  width: 46px;
  height: 46px;
  transform: rotate(-6deg);
  vertical-align: middle;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.28s ease;
  cursor: pointer;
}

.reviews-sticker-hands:hover {
  transform: rotate(2deg) scale(1.14);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.24));
}

.team-copy h2 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.team-copy .large-copy {
  font-size: 22px;
  font-weight: 600;
  color: var(--green-text);
  margin: 16px 0 20px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.team-copy > p:not(.large-copy) {
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.team-copy .text-button {
  margin-top: 10px;
}

/* ==========================================================================
   STEPS + OFFICIAL CDEK TRUST COMPARISON SECTION (EDITORIAL TIMELINE)
   ========================================================================== */

.steps-section {
  padding-top: 48px;
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 18px 0 8px;
  list-style: none;
  margin: 0;
}

.steps-timeline.steps-4-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .steps-timeline.steps-4-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .steps-timeline.steps-4-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.step-item {
  display: flex;
  flex-direction: column;
}

.step-item-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.step-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
}

.step-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.step-item h3 {
  font-size: 21px;
  font-weight: 650;
  margin-bottom: 10px;
  color: var(--ink);
}

.step-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 360px;
}

/* Comparison / Why CDEK Strip */
.trust-comparison-strip {
  display: none;
}

.trust-comparison-header h3 {
  font-size: 19px;
  font-weight: 650;
  margin-bottom: 18px;
  color: var(--ink);
}

.trust-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-comp-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 6px;
}

.trust-comp-item p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ==========================================================================
   REVIEWS CAROUSEL SECTION
   ========================================================================== */

.reviews-section {
  padding-block: 76px;
}

.reviews-heading-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.google-rating-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.google-rating-sub .rating-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.google-rating-sub .stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.google-rating-sub .rating-desc::before {
  content: "· ";
  margin-right: 4px;
}

@media (max-width: 768px) {
  .google-rating-sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
  }
  .google-rating-sub .rating-desc::before {
    content: none;
  }
  .google-rating-sub .rating-desc {
    display: block;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--muted);
  }
}

.reviews-carousel-track .review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reviews-carousel-track .review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.reviews-carousel-track .review-card .review-author {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.reviews-carousel-track .review-card .review-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}

.reviews-carousel-track .review-card .review-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin-block: 14px 18px;
}

.reviews-carousel-track .review-card .review-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--green-text);
  font-weight: 600;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   OFFICES ARCHITECTURAL EDITORIAL DIRECTORY SECTION
   ========================================================================== */

.offices-section {
  padding-top: 48px;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.offices-grid article {
  padding: 30px 28px 10px 0;
  display: flex;
  flex-direction: column;
}

.offices-grid article + article {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.office-index {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.offices-grid h3 {
  margin: 14px 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.offices-grid p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 8px;
}

.offices-grid .office-landmark {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 20px;
}

.offices-grid a {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--green-text);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  transition: color 0.18s ease;
}

.offices-grid a:hover {
  color: var(--green-dark);
}

.offices-grid .office-route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--soft);
  color: var(--green-text);
  border: 1px solid rgba(0, 168, 68, 0.25);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.offices-grid .office-route-btn:hover {
  background: #EAF7EE;
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.pickup-banner {
  margin-top: 36px;
  border: 1px dashed var(--green);
  border-radius: 14px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--soft);
  position: relative;
}

.pickup-banner strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.pickup-banner span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Courier Messenger Dropdown */
.courier-dropdown {
  position: relative;
  flex-shrink: 0;
}

.courier-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 650;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.courier-trigger-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.courier-dropdown.open .courier-trigger-arrow {
  transform: rotate(180deg);
}

.courier-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.courier-dropdown.open .courier-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.courier-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.courier-menu-item:hover {
  background-color: var(--soft);
  color: var(--green-text);
}

.courier-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.courier-icon-max {
  background: #EAF2FF;
  color: #0077FF;
}

.courier-icon-tg {
  background: #E8F5FD;
  color: #2AABEE;
}

.courier-icon-wa {
  background: #E8F8EE;
  color: #25D366;
}

.courier-icon-line {
  background: #E8F8EC;
  color: #06C755;
}

.courier-menu-label {
  flex: 1;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  padding-top: 40px;
}

.faq-section > div > p {
  font-size: 14px;
  margin-top: 20px;
  line-height: 1.75;
}

.faq-section > div > p a {
  color: var(--green-text);
  font-weight: 600;
  border-bottom: 1px solid #a9d5ac;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.faq-list summary::after {
  content: '+';
  font-size: 20px;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  font-size: 13.5px;
  line-height: 1.75;
  padding-bottom: 20px;
  color: var(--muted);
}

.faq-list details p strong {
  color: var(--ink);
}

/* ==========================================================================
   CONTACT BAND
   ========================================================================== */

.contact-band {
  background: var(--green-btn);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
  box-shadow: 0 14px 34px rgba(20, 150, 62, 0.20);
}

.contact-band-copy {
  max-width: 660px;
}

.contact-band h2 {
  color: #ffffff;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 650;
  line-height: 1.2;
  margin-bottom: 8px;
}

.contact-band-copy p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  line-height: 1.5;
}

.contact-band-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.contact-band .button.light {
  background: #ffffff;
  color: var(--ink);
  font-weight: 650;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

.contact-band .button.light:hover {
  background: #f7f9f7;
  color: var(--green-dark);
}

.contact-band .button.outline-light {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-weight: 650;
}

.contact-band .button.outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}

/* ==========================================================================
   DARK PREMIUM FOOTER (Airy, Structured & Cohesive)
   ========================================================================== */

.site-footer-dark {
  background: #141C16;
  color: #B5C2B9;
  margin-top: 80px;
  padding: 68px 0 36px;
  border-top: 1px solid #233126;
  font-size: 13.5px;
}

.site-footer-dark a {
  color: #B5C2B9;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer-dark a:hover {
  color: #1DB14B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.85fr 1.15fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #233126;
}

.footer-col-brand .brand img {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #8E9F93;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-quick-contacts {
  margin-bottom: 22px;
}

.footer-phone {
  display: inline-block;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 6px;
  transition: color 0.18s;
}

.footer-phone:hover {
  color: #1DB14B;
}

.footer-hours-pill {
  font-size: 12px;
  color: #7E8F83;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #1C271F;
  border: 1px solid #28392D;
  color: #9DB0A3;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.footer-socials a:hover {
  background: #1DB14B;
  border-color: #1DB14B;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E2ECE5;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.footer-links a {
  font-size: 13.5px;
  line-height: 1.45;
  color: #9AAEA1;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-office-card {
  background: #1A241D;
  border: 1px solid #26362A;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.footer-office-city {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #E2ECE5;
  margin-bottom: 4px;
}

.footer-office-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8E9F93;
}

.footer-office-note {
  font-size: 12px;
  line-height: 1.55;
  color: #708275;
  margin-top: 12px;
}

.footer-sub-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  font-size: 12.5px;
  color: #6C7D71;
}

.footer-sub-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-sub-links a {
  color: #829487;
}

.footer-sub-links a:hover {
  color: #E2ECE5;
}

.mobile-action {
  display: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-features-badge {
    position: static;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
    padding: 12px 16px;
  }
}

@media (max-width: 900px) {
  .cases-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cases-header-controls {
    width: 100%;
    justify-content: space-between;
  }
  .container {
    width: calc(100% - 32px);
  }
  .navigation {
    display: none;
  }
  .header-right {
    margin-left: auto;
  }
  .menu-toggle {
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    place-content: center;
    width: 42px;
    height: 42px;
  }
  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-photo-frame,
  .hero-photo {
    height: 340px;
    min-height: auto;
    max-height: none;
  }
  .hero-tactile-sticker {
    top: -16px;
    left: 8px;
    width: 110px;
    height: auto;
  }
  .calculator {
    grid-template-columns: 1fr;
  }
  .quote-panel {
    border-left: none;
    border-top: 1px solid #D6E4D7;
    border-top-right-radius: 0;
    border-bottom-left-radius: 20px;
  }
  .cases-carousel-track .case-card,
  .reviews-carousel-track .review-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
  .steps-timeline,
  .trust-comparison-grid,
  .offices-grid {
    grid-template-columns: 1fr;
  }
  .offices-grid article,
  .offices-grid article + article {
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .offices-grid article:last-child {
    border-bottom: none;
  }
  .pickup-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .native-form-wrap,
  .team-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 86px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .team-stamp-sticker {
    top: 8px;
    right: 10px;
    width: 130px;
  }
  .review-strip {
    padding: 8px 12px;
    font-size: 11px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .strip-left {
    display: none;
  }
  .strip-right {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .header {
    height: 72px;
  }
  .section {
    padding-block: 48px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .section-heading > p {
    text-align: left;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .hero-facts {
    gap: 16px;
    justify-content: space-between;
  }
  .hero-visual-column {
    gap: 16px;
  }
  .hero-photo-frame {
    height: 380px;
  }
  .calculator-section {
    padding-inline: 0;
    padding-block: 24px;
    border-radius: 20px;
  }
  .calc-inputs,
  .quote-panel {
    padding: 22px 18px;
  }
  .fields-two,
  .quote-secondary-actions {
    grid-template-columns: 1fr;
  }
  .weight-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .weight-field {
    width: 100%;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card.bento-span-2,
  .service-card.bento-span-4 {
    grid-column: span 1;
  }
  .cases-carousel-track .case-card,
  .reviews-carousel-track .review-card {
    flex: 0 0 100%;
  }
  .native-form-wrap {
    padding: 24px 18px;
  }
  .native-form {
    padding: 20px;
  }
  .contact-band {
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-band-actions {
    width: 100%;
    flex-direction: column;
  }
  .contact-band-actions .button {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-sub-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer-dark {
    padding-bottom: 40px;
  }
  .mobile-action {
    display: none;
  }
}

/* ==========================================================================
   MODAL POPUP DIALOG (Warm CDEK Siam Aesthetic)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(18, 28, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px 24px;
  box-shadow: 0 24px 60px rgba(18, 28, 20, 0.22);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
}

.modal-close:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: #ffffff;
  transform: none;
}

.modal-header {
  margin-bottom: 16px;
  padding-right: 32px;
}

.modal-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-text);
  background: rgba(29, 177, 75, 0.12);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.modal-header h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 6px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-form .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modal-form label {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--field-border);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
  transition: all 0.16s ease;
}

.modal-form textarea {
  min-height: 72px;
  max-height: 140px;
  height: 72px;
  line-height: 1.45;
  resize: vertical;
  overflow-y: auto;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--green);
  box-shadow: none;
}

.modal-submit-btn {
  width: auto;
  max-width: 100%;
  padding: 13px 24px;
  font-size: 14.5px;
  font-weight: 650;
  margin-top: 4px;
  justify-content: center;
}

.modal-footer-channels {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.modal-quick-links {
  display: flex;
  gap: 8px;
}

.modal-quick-links a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.16s ease;
}

.modal-link-tg {
  background: #2AABEE;
  color: #ffffff;
}

.modal-link-tg:hover {
  background: #229ED9;
  transform: translateY(-1px);
}

.modal-link-wa {
  background: #25D366;
  color: #ffffff;
}

.modal-link-wa:hover {
  background: #20BA5A;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .modal-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .modal-quick-links {
    flex-direction: column;
  }
}

/* Policy Consent Checkbox */
.form-consent-wrap {
  margin-top: 4px;
  margin-bottom: 2px;
}

.modal-consent-wrap {
  margin-top: 2px;
  margin-bottom: 4px;
}

.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.form-consent-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-consent-custom {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  background: var(--paper);
  border: 1.5px solid var(--field-border);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s ease;
}

.form-consent-custom::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px) scale(0);
  transition: transform 0.15s ease;
}

.form-consent-label input[type="checkbox"]:checked + .form-consent-custom {
  background: var(--green-btn);
  border-color: var(--green-btn);
}

.form-consent-label input[type="checkbox"]:checked + .form-consent-custom::after {
  transform: rotate(45deg) translate(-1px, -1px) scale(1);
}

.form-consent-label input[type="checkbox"]:focus-visible + .form-consent-custom {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.form-consent-text {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.form-consent-text a {
  color: var(--green-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.16s ease;
}

.form-consent-text a:hover {
  color: var(--green-dark);
}

@media (max-width: 640px) {
  .air-boxes-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .modal-form .field-row {
    grid-template-columns: 1fr;
  }
  .tooltip-bubble {
    left: 0;
    transform: translateY(4px);
    white-space: normal;
    width: max-content;
    max-width: calc(100vw - 64px);
  }
  .tooltip-bubble::after {
    left: 24px;
  }
  .fields-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .air-boxes-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .courier-menu {
    right: auto;
    left: 0;
  }
}

/* Ruble estimation badge under main price */
.quote-price-rub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid #D6E4D7;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-text);
  margin-top: 6px;
  margin-bottom: 4px;
}

/* Individual Office Rating Badge */
.office-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  margin: 6px 0 10px;
  width: fit-content;
}

.office-rating-pill .stars-inline {
  color: #d97706;
  font-weight: 700;
}



/* Service features strip below custom dimensions in calculator */
.calc-included-strip {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 14px;
}

.calc-included-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.35;
}

.calc-included-item svg {
  color: var(--green-text);
  flex-shrink: 0;
}

.office-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.office-card-header .office-index {
  margin-bottom: 0;
}

.offices-grid article a {
  border-radius: 10px;
}

/* ==========================================================================
   Form Channel Switcher, Disabled Button States & Styled Alert Window
   ========================================================================== */


/* Submit Button Wrapper for disabled click capture */
.form-submit-wrap {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-self: flex-start;
  justify-self: start;
}

.native-form .form-submit-wrap,
.modal-form .form-submit-wrap {
  width: fit-content;
  justify-self: start;
}

.native-form .button,
.modal-form .button {
  width: auto;
  align-self: flex-start;
  justify-self: start;
}

/* Disabled Gray State to prevent click-fraud & accidental submits */
.button.is-disabled,
.button:disabled, .native-form .button:disabled, .modal-form .button:disabled {
  background: #D9D4CC;
  color: #7D8880;
  border-color: #CEC8BF;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  opacity: 0.88;
}

/* Highlight invalid fields */
.field-has-error input,
.field-has-error textarea,
.native-form input.input-has-error, .modal-form input.input-has-error, input.input-has-error {
  border-color: #f59e0b;
  background-color: #FFFDF9;
}

/* Styled Form Alert Popup Window */
.form-alert-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
  max-width: 380px;
  width: calc(100vw - 32px);
  animation: formAlertFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.form-alert-card {
  background: #FCFBF8;
  border: 1px solid #E8E4DC;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 12px 32px rgba(24, 34, 27, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
  position: relative;
}

.form-alert-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s;
}

.form-alert-close:hover {
  color: var(--ink);
}

.form-alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.form-alert-icon {
  color: #d97706;
  display: inline-flex;
}

.form-alert-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #4A564F;
  line-height: 1.45;
}

.form-alert-list li {
  margin-top: 3px;
}

@keyframes formAlertFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .form-alert-toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }
}

/* Optional Contact Tag and Hint */
.form-opt-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.85;
}

.form-hint-note {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.35;
  display: block;
}

/* Tactile Mail Sticker on Modal Card */
.modal-sticker-mail {
  position: absolute;
  top: -22px;
  left: -16px;
  width: 58px;
  height: 58px;
  transform: rotate(-12deg);
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.modal-card:hover .modal-sticker-mail {
  transform: rotate(-6deg) scale(1.08) translateY(-2px);
}

@media (max-width: 640px) {
  .modal-sticker-mail {
    top: -16px;
    left: 12px;
    width: 46px;
    height: 46px;
  }
}

/* ==========================================================================
   INNER PAGES: BREADCRUMBS, HERO, TARIFFS & GUIDES (Warm CDEK Siam)
   ========================================================================== */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  padding-top: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--green-text);
}

.breadcrumbs-sep {
  color: #BBC6BE;
  font-size: 11px;
  user-select: none;
}

.breadcrumbs-current {
  color: var(--ink);
  font-weight: 600;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-block: 16px 56px;
}

.page-hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-text);
}

.page-hero-title {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0;
}

.page-hero-title em {
  color: var(--green);
  font-style: normal;
}

.page-hero-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
  margin: 0;
}

.page-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.hero-pill-badge .pill-val {
  color: var(--green-text);
  font-weight: 700;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.page-hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-warm);
}

.page-hero-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Audience Bento Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.audience-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 177, 75, 0.35);
  box-shadow: var(--shadow-hover);
}

.audience-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.audience-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.audience-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Allowed & Prohibited Items Grid */
.allowed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  margin-top: 32px;
}

.allowed-col {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.allowed-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.allowed-col.can::before { background: var(--green); }
.allowed-col.check::before { background: #F59E0B; }
.allowed-col.cant::before { background: #EF4444; }

.allowed-col-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.allowed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}

.allowed-col.can .allowed-badge { background: var(--green-soft); color: var(--green-text); }
.allowed-col.check .allowed-badge { background: #FEF3C7; color: #B45309; }
.allowed-col.cant .allowed-badge { background: #FEE2E2; color: #B91C1C; }

.allowed-col h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.allowed-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.allowed-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #37413b;
}

.allowed-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.allowed-footnote {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  margin-top: auto;
}

/* Tariff Table Wrap */
.tariff-table-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 28px;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.tariff-table th {
  background: var(--soft);
  padding: 16px 22px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4F5B53;
  border-bottom: 1px solid var(--line);
}

.tariff-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
  vertical-align: middle;
}

.tariff-table tr:last-child td {
  border-bottom: none;
}

.tariff-table tr:hover td {
  background: #FAF9F5;
}

.tariff-price-strong {
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
}

.tariff-highlight-cell {
  color: var(--green-text);
  font-weight: 700;
}

.tariff-note {
  font-size: 12.5px;
  color: var(--muted);
  padding: 14px 22px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Volumetric Weight Explainer */
.volumetric-explainer {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 40px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.volumetric-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.volumetric-info p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.volumetric-formula-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.volumetric-formula {
  display: inline-block;
  font-size: 18px;
  font-weight: 750;
  color: var(--green-text);
  background: var(--green-soft);
  padding: 10px 18px;
  border-radius: 10px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.volumetric-example {
  font-size: 13px;
  color: #4F5B53;
  line-height: 1.5;
  text-align: left;
  background: var(--paper);
  padding: 12px 14px;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid var(--line-light);
}

/* Express Delivery Feature Cards (Boxes & Storage) */
.features-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.feature-box-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-box-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.feature-box-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Responsive Overrides for Inner Pages */
@media (max-width: 1120px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .volumetric-explainer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .allowed-grid {
    grid-template-columns: 1fr;
  }
  .features-dual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-title {
    font-size: 32px;
  }
  .page-hero-visual img {
    height: 260px;
  }
  .tariff-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .volumetric-explainer {
    padding: 24px 20px;
  }
}


/* ==========================================================================
   Gendir Revisions Styles (November 2026)
   ========================================================================== */

/* Header Search / Tracking Trigger */
.header-track-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.header-track-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--green-text);
}
.header-track-btn svg {
  color: var(--green);
}

/* Tracking Modal Overlay (Mobile & Desktop) */
.track-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.track-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.track-modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 28px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.track-modal-overlay.active .track-modal-card {
  transform: translateY(0);
}

/* Hero Advantages Strip Under Photo */
.hero-advantages-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-main);
}
.hero-adv-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-adv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Calculator Dual Mode & Client Switchers */
.calc-mode-switchers-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.calc-client-tabs {
  display: flex;
  background: var(--surface-soft);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  gap: 6px;
}
.calc-client-tabs button {
  flex: 1;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calc-client-tabs button.selected {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Question Icon & Interactive Tooltip */
.q-tip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  margin-left: 4px;
  vertical-align: middle;
  padding: 0;
  line-height: 1;
}
.q-tip-btn:hover, .q-tip-btn:focus {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* Sea Presets Grid (B2C & B2B) */
.sea-presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.sea-preset-btn {
  background: var(--soft);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: inherit;
  box-sizing: border-box;
}
.sea-preset-btn:hover {
  background: #ffffff;
  border-color: rgba(29, 177, 75, 0.35);
  box-shadow: 0 3px 10px rgba(29, 177, 75, 0.08);
  transform: translateY(-1px);
}
.sea-preset-btn.selected {
  background: #ffffff;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(20, 150, 62, 0.14);
}
.sea-preset-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 2px;
}
.sea-preset-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}
.sea-preset-btn.selected .sea-preset-sub {
  color: var(--green-text);
}

/* Dynamic Scenario Info Block */
.scenario-info-banner {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: 0.825rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scenario-info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.scenario-info-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}
.scenario-alert-notice {
  font-weight: 600;
  color: #c2410c;
  background: #fff7ed;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 3px solid #ea580c;
}

/* Round Colored Socials in Footer */
.footer-social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}
.footer-social-circle:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.soc-tg { background: #229ED9; }
.soc-wa { background: #25D366; }
.soc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.soc-fb { background: #1877F2; }

/* Desktop vs Mobile Hero Placement Rules */
@media (min-width: 900px) {
  .hero-tracking-desktop-slot {
    order: 1;
    margin-bottom: 16px;
  }
  .hero-photo-frame-slot {
    order: 2;
  }
  .hero-advantages-desktop-slot {
    order: 3;
    margin-top: 16px;
  }
}
@media (max-width: 899px) {
  .hero-photo-frame-slot {
    order: 1;
  }
  .hero-advantages-desktop-slot {
    order: 2;
    margin-top: 14px;
    margin-bottom: 14px;
  }
  .hero-tracking-desktop-slot {
    order: 3;
  }
}


/* Ensure service card watermarks never overflow horizontally */
.service-card {
  overflow: hidden;
}

/* Header layout on mobile */
@media (max-width: 768px) {
  .header {
    padding-left: 0;
    padding-right: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .header-contact {
    display: none; /* Hide full button on tiny mobile header so it doesn't push hamburger */
  }
  .header-track-btn span {
    display: none; /* Icon-only on mobile */
  }
  .header-track-btn {
    padding: 8px 10px;
  }
}

.service-card, .service-grid, .services-section {
  overflow: hidden;
}

/* ==========================================================================
   Consolidated Hero, Calculator Radios & Touch Target Refinements
   ========================================================================== */

.hero {
  padding-block: 28px 40px;
  gap: 48px;
}

.hero h1,
.hero-h1 {
  font-size: 58px;
  line-height: 1.1;
  font-weight: 700;
  max-width: none;
  width: 100%;
  letter-spacing: -0.025em;
}

.hero h1 em,
.hero-h1 em {
  font-size: 1em;
  display: inline-block;
  margin-top: 4px;
  line-height: 1.1;
}

.hero-description {
  font-size: 15.5px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 540px;
}

.hero-actions {
  margin-top: 42px;
  gap: 20px;
}

.hero-actions .button.primary {
  padding: 12px 24px;
  font-size: 15px;
}

.hero-proof {
  margin-top: 22px;
  gap: 14px;
}

.hero-proof p {
  font-size: 12.5px;
  line-height: 1.5;
}

.hero-proof .avatar-stack img {
  width: 36px;
  height: 36px;
}

/* 6 Key USPs Hero Facts (3 in a row, 2 rows high) */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hero-facts > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-facts strong {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-facts span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-photo-frame {
  height: 451.6px;
  border-radius: 18px;
}

.hero-tracking-card {
  min-height: 131.4px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 14px;
  gap: 8px;
}

.hero-tracking-head h2 {
  font-size: 15.5px;
}

.hero-tracking-head p {
  font-size: 12px;
}

/* Compact 3 Advantages Overlaid on Photo */
.hero-features-badge-compact {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  max-width: calc(100% - 20px);
}

.hero-features-badge-compact .hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.hero-features-badge-compact .feature-icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background: rgba(34, 197, 94, 0.15);
  color: #148f3c;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Client Choice Radios (Consistent with delivery-choice) */
.client-choice {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.client-type-block.client-type-top {
  margin-top: 0;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

/* Touch Target & Accessibility Improvements */
.carousel-dot {
  position: relative;
}
.carousel-dot::after {
  content: "";
  position: absolute;
  inset: -14px;
}

.menu-toggle,
.carousel-btn {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 1024px) {
  .hero h1,
  .hero-h1 {
    font-size: clamp(38px, 4.5vw, 48px);
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-block: 16px 24px;
  }
  .hero-copy {
    display: contents;
  }
  .hero-visual-column {
    display: contents;
  }
  .hero-visual {
    order: 1;
    width: 100%;
    margin-bottom: 2px;
  }
  .hero-photo-frame {
    height: 280px;
  }
  .hero-tactile-sticker {
    top: auto;
    left: auto;
    bottom: -8px;
    right: 12px;
    width: 105px;
    transform: rotate(-3deg);
  }
  .hero h1,
  .hero-h1 {
    order: 2;
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.18;
    max-width: none;
    width: 100%;
    margin-top: 4px;
  }
  .hero-description {
    order: 3;
    font-size: 14px;
    margin-top: 0;
  }
  .hero-actions {
    order: 4;
    margin-top: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
  .hero-actions .button.primary {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 650;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }
  .hero-actions .text-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 8px 4px;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    background: none;
    border: 0;
    box-shadow: none;
    color: var(--ink);
    transition: color 0.18s;
  }
  .hero-actions .text-button:hover,
  .hero-actions .text-button:active {
    color: var(--green-text);
  }
  .hero-tracking-card {
    order: 5;
    min-height: auto;
    height: auto;
    padding: 14px 16px;
    margin-top: 8px;
  }
  .hero-facts {
    order: 6;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px 18px;
    padding: 16px 18px;
    margin-top: 10px;
  }
  .hero-facts > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .hero-facts strong {
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .hero-facts span {
    font-size: clamp(11px, 2.8vw, 12px);
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }
}

@media (max-width: 480px) {
  .client-choice {
    gap: 14px;
  }
  .hero-features-badge-compact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 10px;
    padding: 6px 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
  }
  .hero-features-badge-compact .hero-feature-item {
    font-size: 10px;
    gap: 3px;
  }
}

/* ==========================================================================
   Original Calculator Refinements & Mobile Box Scroll (Zero)
   ========================================================================== */

.calc-tabs button span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.calc-tabs button span small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  white-space: nowrap;
}

.package-size-row.air-boxes-row[style*="display: none"],
.sea-presets-grid[style*="display: none"],
.sea-pallet-row[style*="display: none"] {
  display: none;
}

.scenario-info-item.scenario-info-warning {
  color: #b45309;
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.scenario-info-item.scenario-info-warning svg {
  color: #d97706;
}

/* Mobile Horizontal Scroll for Boxes & Sea Presets */
@media (max-width: 900px) {
  .calculator {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .calc-tabs button span {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .package-size-row.air-boxes-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-top: 6px;
    padding-bottom: 12px;
    margin-inline: -4px;
    padding-inline: 4px;
    scrollbar-width: thin;
  }

  .package-size-row.air-boxes-row::-webkit-scrollbar {
    height: 4px;
  }

  .package-size-row.air-boxes-row::-webkit-scrollbar-thumb {
    background: rgba(29, 177, 75, 0.25);
    border-radius: 4px;
  }

  .package-size-row.air-boxes-row .pkg-box-card {
    flex: 0 0 112px;
    min-width: 112px;
    min-height: 72px;
    scroll-snap-align: start;
    padding: 10px 8px;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .sea-presets-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-top: 6px;
    padding-bottom: 12px;
    margin-inline: -4px;
    padding-inline: 4px;
    scrollbar-width: thin;
  }

  .sea-presets-grid::-webkit-scrollbar {
    height: 4px;
  }

  .sea-presets-grid::-webkit-scrollbar-thumb {
    background: rgba(29, 177, 75, 0.25);
    border-radius: 4px;
  }

  .sea-presets-grid .sea-preset-btn {
    flex: 0 0 144px;
    min-width: 144px;
    min-height: 72px;
    scroll-snap-align: start;
    padding: 10px 8px;
    border-radius: 12px;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   Responsive Refinements: Unified 16px Edge Margins, Modal Tracking & Mobile Navigation
   ========================================================================== */

/* 1. Large Monitors Fluid Support */
@media (min-width: 1440px) {
  .container {
    width: min(1440px, calc(100% - 96px));
  }
}

/* 2. Unified 16px Edge Margins for Mobile (< 900px and < 640px) */
@media (max-width: 900px) {
  .container,
  .site-header-sticky .header.container,
  .footer.container {
    width: calc(100% - 32px);
    margin-inline: auto;
    box-sizing: border-box;
  }
}

/* 3. Fast Tracking Modal: Button on Mobile Under Input */
@media (max-width: 600px) {
  .track-modal-card {
    padding: 22px 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  #modal-quick-track-form {
    flex-direction: column;
    gap: 10px;
  }
  #modal-quick-track-form input {
    width: 100%;
    box-sizing: border-box;
  }
  #modal-quick-track-form button {
    width: 100%;
    justify-content: center;
  }
}

/* 4. Rich Mobile Navigation matching Desktop */
.site-header-sticky.menu-open .header-right .header-track-btn {
  display: none;
}

.menu-toggle {
  transition: background 0.18s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}
.menu-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  width: 100%;
  max-height: calc(100vh - 66px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(28, 43, 31, 0.14);
  padding: 16px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav > a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 11px 4px;
  border-bottom: 1px solid rgba(232, 228, 220, 0.6);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s ease;
}

.mobile-nav > a:last-of-type {
  border-bottom: none;
}

.mobile-nav > a:hover,
.mobile-nav > a:active {
  color: var(--green-text);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mobile-nav-track-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 650;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: background 0.18s, border-color 0.18s;
}

.mobile-nav-track-btn span {
  display: inline;
}

.mobile-nav-track-btn svg {
  color: var(--green);
}

.mobile-nav-track-btn:active {
  background: #f1ede4;
}

.mobile-nav-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 650;
  border-radius: 12px;
  cursor: pointer;
  background: var(--green-btn);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(29, 177, 75, 0.28);
  transition: background 0.18s, transform 0.18s;
}

.mobile-nav-contact-btn:active {
  background: #14963E;
  transform: translateY(1px);
}


/* Tooltip on Click / Tap Support */
.custom-tooltip-trigger.active-tooltip .tooltip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.custom-tooltip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.tooltip-bubble {
  z-index: 100;
  white-space: normal;
  width: 220px;
  text-align: center;
}

@media (max-width: 640px) {
  .quote-breakdown .tooltip-bubble {
    left: 0;
    transform: translateY(0);
    width: 230px;
    max-width: 78vw;
    font-size: 12px;
    padding: 8px 12px;
    line-height: 1.35;
    text-align: left;
  }
  .quote-breakdown .tooltip-bubble::after {
    left: 24px;
  }
}

/* Global Mobile Readability Improvements */
@media (max-width: 768px) {
  .calc-inputs {
    padding: 22px 18px;
  }
  .quote-panel {
    padding: 24px 20px;
  }
  .custom-radio-label {
    font-size: 14px;
  }
  .field label,
  .block-label {
    font-size: 12.5px;
  }
  .custom-select-trigger {
    height: 46px;
    font-size: 14px;
  }
  #quote-cta {
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
  }
  .section-lead {
    font-size: 15px;
    line-height: 1.5;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.5;
  }
  .hero-facts strong {
    font-size: clamp(13px, 3.8vw, 15px);
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .hero-facts span {
    font-size: clamp(11px, 2.8vw, 12px);
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }
}

/* Locked Origin Select (Fixed Country Thailand) */
.custom-select-trigger.is-locked {
  cursor: default;
  background: #F7F9F7;
  border-color: var(--line);
  color: var(--ink);
  user-select: none;
}

.custom-select-trigger.is-locked:hover,
.custom-select-trigger.is-locked:focus {
  border-color: var(--line);
  box-shadow: none;
  outline: none;
}

.select-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.04);
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: auto;
}

/* ==========================================================================
   GENDIR DOC ALIGNMENT: ACCENT CUSTOM ORIGIN, AUTOCOMPLETE, INSURANCE & SLA
   (Strictly zero)
   ========================================================================== */

/* 1. Accent Green First Option in Origin Dropdown ("Другой город (ввести вручную)") */
.custom-select-menu .custom-select-item.custom-select-item-accent {
  background: rgba(29, 177, 75, 0.09);
  border: 1px dashed rgba(20, 143, 60, 0.45);
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.custom-select-menu .custom-select-item.custom-select-item-accent .nav-cat-num {
  background: var(--green);
  color: #ffffff;
  font-weight: 800;
  border-radius: 5px;
  padding: 1px 6px;
}

.custom-select-menu .custom-select-item.custom-select-item-accent:hover,
.custom-select-menu .custom-select-item.custom-select-item-accent.selected {
  background: rgba(29, 177, 75, 0.16);
  border-color: var(--green);
  color: var(--green-dark);
}

/* 2. Manual Thai City Input + Interactive Autocomplete Recommendations */
.custom-origin-wrap {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-origin-wrap[hidden] {
  display: none;
}

.custom-origin-input-box {
  position: relative;
}

#calculator .calc-inputs .custom-origin-input-box input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 13.5px;
  border: 1.5px solid #BBC6BE;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  box-sizing: border-box;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#calculator .calc-inputs .custom-origin-input-box input:hover {
  border-color: #8C9990;
}

#calculator .calc-inputs .custom-origin-input-box input:focus {
  border-color: var(--green);
  background: #ffffff;
  box-shadow: none;
}

#calculator .calc-inputs .custom-origin-input-box input::placeholder {
  color: #8C9990;
  font-size: 13px;
}

.thai-city-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 95;
  background: #ffffff;
  border: 1px solid #BBC6BE;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17, 29, 21, 0.14);
  padding: 4px;
  max-height: 210px;
  overflow-y: auto;
}

.thai-city-suggestions[hidden] {
  display: none;
}

.thai-city-sug-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border: none;
  background: transparent;
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.thai-city-sug-item:hover {
  background: rgba(29, 177, 75, 0.1);
}

.thai-city-sug-item .sug-main {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.thai-city-sug-item .sug-main small {
  font-weight: 500;
  color: var(--muted);
}

.thai-city-sug-item .sug-desc {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.thai-city-quick-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.quick-chips-label {
  font-size: 11px;
  color: var(--muted);
  margin-right: 2px;
}

.thai-city-chip {
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-dark);
  background: rgba(29, 177, 75, 0.09);
  border: 1px solid rgba(20, 143, 60, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.thai-city-chip:hover {
  background: rgba(29, 177, 75, 0.18);
  border-color: var(--green);
}

/* 2b. Manual Destination City Input + Autocomplete */
.custom-dest-wrap {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-dest-input-box {
  position: relative;
}

#calculator .calc-inputs .custom-dest-input-box input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 13.5px;
  border: 1.5px solid #BBC6BE;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  box-sizing: border-box;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#calculator .calc-inputs .custom-dest-input-box input:hover {
  border-color: #8C9990;
}

#calculator .calc-inputs .custom-dest-input-box input:focus {
  border-color: var(--green);
  background: #ffffff;
  box-shadow: none;
}

#calculator .calc-inputs .custom-dest-input-box input::placeholder {
  color: #8C9990;
  font-size: 13px;
}

.dest-city-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 95;
  background: #ffffff;
  border: 1px solid #BBC6BE;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17, 29, 21, 0.14);
  padding: 4px;
  max-height: 210px;
  overflow-y: auto;
}

.dest-city-suggestions[hidden] {
  display: none;
}

.dest-city-sug-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border: none;
  background: transparent;
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.dest-city-sug-item:hover {
  background: rgba(29, 177, 75, 0.1);
}

.dest-city-sug-item .sug-main {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.dest-city-sug-item .sug-main small {
  font-weight: 500;
  color: var(--muted);
}

.dest-city-sug-item .sug-desc {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.dest-city-quick-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.dest-city-chip {
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-dark);
  background: rgba(29, 177, 75, 0.09);
  border: 1px solid rgba(20, 143, 60, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.dest-city-chip:hover {
  background: rgba(29, 177, 75, 0.18);
  border-color: var(--green);
}

/* 3. Perks Strip & Insurance Note (in Left Column) */
.calc-features-wrap {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-perks-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(25, 37, 30, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.q-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1a271f;
  line-height: 1.35;
}

.q-perk-item svg {
  color: #278e38;
  flex-shrink: 0;
}

.quote-pickup-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 7px 11px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.quote-pickup-notice[hidden] {
  display: none;
}

.quote-pickup-notice svg {
  flex-shrink: 0;
  color: #16a34a;
}

.quote-insurance-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #1b3821;
  background: #eef7f0;
  border-left: 3.5px solid #278e38;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 450;
}

#quote-cta {
  width: 100%;
  font-size: 15px;
  padding: 14px 20px;
}

/* Preset Contextual Icons */
.pkg-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  color: var(--muted);
  transition: all 0.16s ease;
}

.pkg-box-card:hover .pkg-box-icon {
  color: var(--green);
  transform: scale(1.08);
}

.pkg-box-card.selected .pkg-box-icon {
  color: var(--green);
  transform: scale(1.08);
}

.sea-preset-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
  transition: all 0.16s ease;
}

.sea-preset-btn:hover .sea-preset-icon,
.sea-preset-btn.selected .sea-preset-icon {
  color: var(--green);
  transform: scale(1.08);
}

/* ==========================================================================
   MODERN COOKIE CONSENT BANNER (CDEK Warm Aesthetic)
   ========================================================================== */
.cookie-consent-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  width: calc(100% - 32px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(24, 34, 27, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 48px -10px rgba(24, 34, 27, 0.18), 0 4px 12px rgba(24, 34, 27, 0.05);
  padding: 18px 20px;
  z-index: 99999;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  font-family: inherit;
}

.cookie-consent-bar.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cookie-consent-bar.is-hidden {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
}

.cookie-consent-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cookie-btn-close {
  margin-left: auto;
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.cookie-btn-close:hover {
  background: rgba(24, 34, 27, 0.06);
  color: var(--ink);
}

.cookie-consent-bar[hidden] {
  display: none;
}

.cookie-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #E8F7ED;
  color: #1DB14B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-consent-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

.cookie-consent-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.cookie-consent-text a {
  color: var(--green-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.cookie-consent-text a:hover {
  color: var(--green-hover);
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-btn-accept {
  flex: 1;
  background: #1DB14B;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(29, 177, 75, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cookie-btn-accept:hover {
  background: #14963E;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(29, 177, 75, 0.35);
}

.cookie-btn-decline {
  background: #F6F3EB;
  color: #47544C;
  border: 1px solid #E8E4DC;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.cookie-btn-decline:hover {
  background: #ECE6DB;
  color: #18221b;
}

@media (max-width: 600px) {
  .cookie-consent-bar {
    bottom: 16px;
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    padding: 16px 18px;
  }
}

/* --- MODERN CDEK TRACKING POPUP & TIMELINE STYLES --- */
.track-modal-card {
  max-width: 900px !important;
  width: 95% !important;
  max-height: 94vh;
  padding: 24px 28px !important;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .track-modal-card {
    padding: 20px 16px !important;
    max-height: 92vh;
    overflow-y: auto;
  }
}

/* Skeleton Loading Animation */
@keyframes cdekShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.cdek-skeleton-pulse {
  background: linear-gradient(90deg, #f0f3f1 25%, #e2e8e4 50%, #f0f3f1 75%);
  background-size: 200% 100%;
  animation: cdekShimmer 1.5s infinite;
  border-radius: 8px;
}

.cdek-loading-box {
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cdek-loading-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cdek-spinner-ring {
  width: 30px;
  height: 30px;
  border: 3.5px solid #e2e8e4;
  border-top-color: #278e38;
  border-radius: 50%;
  animation: cdekSpin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes cdekSpin {
  to { transform: rotate(360deg); }
}

/* CDEK Timeline Layout */
.cdek-tracking-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.cdek-tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1ee;
}

.cdek-tracking-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #19251e;
  letter-spacing: -0.01em;
}

.cdek-tracking-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #526056;
  margin-top: 3px;
}

.cdek-tracking-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 820px) {
  .cdek-tracking-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Timeline Left Side */
.cdek-status-stepper {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 4px;
}

.cdek-step-row {
  display: flex;
  align-items: center; /* Perfect vertical center alignment with icon */
  gap: 16px;
  position: relative;
  padding-bottom: 16px;
}
.cdek-step-row:last-child {
  padding-bottom: 0;
}

/* When a step has expandable sub-items or toggle, align to top */
.cdek-step-row.has-subitems {
  align-items: flex-start;
}

/* Connecting Line between main icons */
.cdek-step-row:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: #e2e8e2;
}
.cdek-step-row.completed:not(:last-child)::after {
  background: #f7a800;
}
.cdek-step-row.active:not(:last-child)::after {
  background: #e2e8e2;
  border-left: 2px dashed #f7a800;
  width: 0;
}

.cdek-step-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.cdek-step-row.completed .cdek-step-icon-wrap {
  background: #f5b324;
  color: #ffffff;
}

.cdek-step-row.active .cdek-step-icon-wrap {
  background: #ef8b10;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(239, 139, 16, 0.35);
}

.cdek-step-row.pending .cdek-step-icon-wrap {
  background: #e5e8e5;
  color: #8c9b90;
}

.cdek-step-content {
  flex: 1;
}
.cdek-step-row.has-subitems .cdek-step-content {
  padding-top: 3px;
}

.cdek-step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cdek-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #19251e;
  line-height: 1.25;
}
.cdek-step-row.pending .cdek-step-title {
  color: #8c9b90;
}

.cdek-step-date {
  font-size: 0.825rem;
  font-weight: 500;
  color: #7b8a7f;
  white-space: nowrap;
}

.cdek-step-subtoggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 3px 0;
  color: #278e38;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 2px;
}
.cdek-step-subtoggle svg {
  transition: transform 0.2s ease;
}
.cdek-step-subtoggle.expanded svg {
  transform: rotate(180deg);
}

/* Sub-checkpoints in orange dotted line */
.cdek-sub-timeline {
  margin-top: 10px;
  padding-left: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cdek-sub-timeline[hidden] {
  display: none !important;
}
.cdek-sub-timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 2px;
  width: 2px;
  border-left: 2px dashed #f59e0b;
}

.cdek-sub-item {
  position: relative;
  padding-left: 14px;
}
.cdek-sub-item::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
}

.cdek-sub-city {
  font-size: 0.875rem;
  font-weight: 700;
  color: #19251e;
}

.cdek-sub-event {
  font-size: 0.8rem;
  color: #526056;
  margin-top: 1px;
}

.cdek-sub-date {
  font-size: 0.75rem;
  color: #8c9b90;
  margin-top: 1px;
}

/* Sidebar Info Cards */
.cdek-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cdek-side-card {
  background: #ffffff;
  border: 1px solid #e6ebe7;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cdek-side-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f4faf5;
  border-radius: 10px;
  padding: 11px 13px;
}
.cdek-side-notice p {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #27442f;
  margin: 0;
}

.cdek-info-row-label {
  font-size: 0.775rem;
  color: #7b8a7f;
  font-weight: 500;
}
.cdek-info-row-val {
  font-size: 0.925rem;
  font-weight: 700;
  color: #19251e;
  margin-top: 2px;
}

.tracking-result a.cdek-side-btn-fill,
.cdek-side-btn-fill {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  border: none !important;
  background: #278e38 !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.tracking-result a.cdek-side-btn-fill:hover,
.cdek-side-btn-fill:hover {
  background: #1f742c !important;
  color: #ffffff !important;
  text-decoration: none !important;
}


/* Success Modal Popup */
.success-modal-card {
  text-align: center;
  max-width: 440px;
  padding: 36px 28px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(18, 28, 20, 0.22);
}

.success-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e8f7ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008c45;
}

.success-modal-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.success-modal-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 24px;
}

.success-modal-btn {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}


/* ============================================================================
   MODERN CDEK MINIMAL CALCULATOR REDESIGN (Screen 1, 2, 3 Reference)
   ============================================================================ */

/* 3-Column Compact Grid */
.calc-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 14px;
  margin-bottom: 14px;
  position: relative;
  z-index: 20;
}

@media (max-width: 960px) {
  .calc-main-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.calc-col-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Card Field (Откуда, Куда) */
.calc-field-card {
  background: #f4f6f4;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 8px 12px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.calc-field-card:focus-within {
  background: #ffffff;
  border-color: #278e38;
  box-shadow: none;
}

.calc-field-tag {
  font-size: 11px;
  font-weight: 600;
  color: #718077;
  line-height: 1.1;
  margin-bottom: 3px;
  user-select: none;
}

.calc-field-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.calc-field-input-row input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: none !important;
  background: transparent !important;
  padding: 0;
  height: 24px;
  font-size: 14.5px;
  font-weight: 650;
  color: #19251e;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit;
  text-overflow: ellipsis;
}

.calc-field-input-row input[type="text"]:focus,
.calc-field-input-row input[type="text"]:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.calc-field-input-row input[type="text"]::placeholder {
  color: #9ba79f;
  font-weight: 500;
}

.calc-country-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #278e38;
  background: rgba(39, 142, 56, 0.10);
  border: none;
  border-radius: 6px;
  padding: 3px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.calc-country-select-btn {
  cursor: pointer;
  transition: background 0.16s ease;
}

.calc-country-select-btn:hover {
  background: rgba(39, 142, 56, 0.18);
}

/* Country Mini Dropdown */
.custom-select.custom-select-country-mini,
.custom-select-country-mini {
  width: auto !important;
  max-width: max-content !important;
  display: inline-flex !important;
  position: relative !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

.custom-select-country-mini .custom-select-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0 !important;
  left: auto !important;
  width: 200px;
  max-width: calc(100vw - 32px);
  max-height: 260px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8e4;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  z-index: 150;
  padding: 6px;
}

.custom-select-country-mini.open .custom-select-menu {
  display: block;
}

/* Quick City Links under fields (Screen 1: Москва Санкт-Петербург Новосибирск) */
.calc-sub-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 6px 4px 0;
}

.calc-sub-link {
  background: none;
  border: none;
  padding: 0;
  color: #718077;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #cbd5e1;
  transition: all 0.15s ease;
  font-family: inherit;
}

.calc-sub-link:hover {
  color: #278e38;
  text-decoration-color: #278e38;
}

/* 3. SIZE PICKER DROPDOWN (Screen 1, 2, 3) */
.calc-size-picker-col {
  position: relative;
}

.calc-size-picker {
  position: relative;
  width: 100%;
}

/* Trigger Button (Screen 1 default, Screen 2/3 active/open) */
.size-picker-trigger {
  width: 100%;
  background: #f4f6f4;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 8px 14px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  font-family: inherit;
  box-sizing: border-box;
}

.size-picker-trigger:hover {
  background: #edf1ee;
}

.size-picker-trigger-text {
  display: flex;
  flex-direction: column;
}

.size-picker-kicker {
  font-size: 11px;
  font-weight: 600;
  color: #718077;
  line-height: 1.1;
  margin-bottom: 3px;
}

.size-picker-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #19251e;
  line-height: 1.2;
}

.size-picker-chevron {
  color: #278e38;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.size-picker-chevron .chevron-up {
  display: none;
}

/* When Size Picker is OPEN (Screen 2 & 3: Rich Green Header!) */
.calc-size-picker.is-open .size-picker-trigger {
  background: #278e38;
  border-color: #278e38;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 4px 14px rgba(39, 142, 56, 0.25);
}

.calc-size-picker.is-open .size-picker-kicker {
  color: rgba(255, 255, 255, 0.82);
}

.calc-size-picker.is-open .size-picker-title {
  color: #ffffff;
}

.calc-size-picker.is-open .size-picker-chevron {
  color: #ffffff;
}

.calc-size-picker.is-open .size-picker-chevron .chevron-down {
  display: none;
}

.calc-size-picker.is-open .size-picker-chevron .chevron-up {
  display: block;
}

/* POPDOWN MENU PANEL */
.size-popdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 330px;
  background: #ffffff;
  border: 1px solid #e1e6e2;
  border-top: none;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 16px 40px rgba(18, 30, 22, 0.16);
  padding: 14px;
  z-index: 100;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .size-popdown-menu {
    min-width: auto;
    width: 100%;
  }
}

/* Popdown Tabs: [ ПРИМЕРНО ] | [ ТОЧНЫЕ ] (Screen 2 & 3) */
.size-popdown-tabs {
  display: flex;
  background: #f1f4f2;
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
  margin-bottom: 14px;
}

.size-tab-btn {
  flex: 1;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #718077;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
}

.size-tab-btn.active {
  background: #ffffff;
  color: #278e38;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Preset Cards List (Screen 2) */
.popdown-preset-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 290px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.popdown-preset-list::-webkit-scrollbar {
  width: 4px;
}

.popdown-preset-list::-webkit-scrollbar-thumb {
  background: #d1d9d3;
  border-radius: 4px;
}

/* Single Preset Card */
.popdown-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f6f8f6;
  border: 1.5px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.popdown-card:hover {
  background: #ffffff;
  border-color: rgba(39, 142, 56, 0.35);
  box-shadow: 0 3px 10px rgba(39, 142, 56, 0.08);
  transform: translateY(-1px);
}

.popdown-card.selected {
  background: #ffffff;
  border-color: #278e38;
  box-shadow: 0 3px 12px rgba(39, 142, 56, 0.14);
}

.popdown-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popdown-card-body {
  flex: 1;
  min-width: 0;
}

.popdown-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #19251e;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.popdown-card-title .box-badge {
  font-size: 10px;
  font-weight: 700;
  color: #278e38;
  background: rgba(39, 142, 56, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
}

.popdown-card-sub {
  font-size: 11.5px;
  color: #718077;
  margin-top: 2px;
  line-height: 1.25;
}

.popdown-card-info {
  font-size: 14px;
  color: #9ba79f;
  margin-left: auto;
  user-select: none;
}

.sea-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(39, 142, 56, 0.10);
  color: #278e38;
}

/* TAB 2: ТОЧНЫЕ (Screen 3) */
.exact-dims-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.exact-dim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.exact-dim-row label {
  font-size: 14px;
  font-weight: 600;
  color: #19251e;
}

.exact-input-box {
  display: flex;
  align-items: center;
  background: #f4f6f4;
  border: 1px solid #e2e8e4;
  border-radius: 8px;
  padding: 6px 12px;
  width: 140px;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.exact-input-box:focus-within {
  background: #ffffff;
  border-color: #278e38;
  box-shadow: none;
}

.exact-input-box input {
  width: 100%;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 650;
  color: #19251e;
  text-align: right;
  padding-right: 6px;
  font-family: inherit;
}

.exact-input-box input:focus,
.exact-input-box input:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.exact-unit {
  font-size: 12.5px;
  font-weight: 600;
  color: #8c9b90;
  user-select: none;
}

.exact-confirm-btn {
  width: 100%;
  height: 46px;
  background: #278e38;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s ease;
  font-family: inherit;
}

.exact-confirm-btn:hover {
  background: #1f742c;
}

/* BOTTOM BAR: Switch & Delivery Mode (Screen 1) */
.calc-sub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #f0f3f1;
}

/* iOS Toggle Switch (Screen 1: Юридическое отправление) */
.cdek-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.cdek-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cdek-toggle-slider {
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 20px;
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.cdek-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cdek-toggle-input:checked + .cdek-toggle-slider {
  background: #278e38;
}

.cdek-toggle-input:checked + .cdek-toggle-slider::after {
  transform: translateX(20px);
}

.cdek-toggle-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #19251e;
}

/* Delivery Segmented Control */
.calc-delivery-seg {
  display: inline-flex;
  background: #f1f4f2;
  padding: 3px;
  border-radius: 8px;
  gap: 2px;
}

.delivery-seg-item {
  cursor: pointer;
  user-select: none;
}

.delivery-seg-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-seg-item span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #718077;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.delivery-seg-item input:checked + span {
  background: #ffffff;
  color: #19251e;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}


/* Fix Popdown Cards to be strictly horizontal like Screen 2 */
.popdown-preset-list .popdown-card,
.popdown-preset-list .pkg-box-card,
.popdown-preset-list .sea-preset-btn {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  padding: 10px 14px !important;
  background: #f7f9f7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  text-align: left !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 64px !important;
  transform: none !important;
  box-shadow: none !important;
}

.popdown-preset-list .popdown-card:hover,
.popdown-preset-list .pkg-box-card:hover,
.popdown-preset-list .sea-preset-btn:hover {
  background: #ffffff !important;
  border-color: rgba(39, 142, 56, 0.4) !important;
  box-shadow: 0 4px 12px rgba(39, 142, 56, 0.08) !important;
}

.popdown-preset-list .popdown-card.selected,
.popdown-preset-list .pkg-box-card.selected,
.popdown-preset-list .sea-preset-btn.selected {
  background: #ffffff !important;
  border-color: #278e38 !important;
  box-shadow: 0 4px 14px rgba(39, 142, 56, 0.15) !important;
}

.popdown-preset-list .popdown-card-icon {
  width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.popdown-preset-list .popdown-card-body {
  flex: 1;
  min-width: 0;
}

.popdown-preset-list .popdown-card-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #19251e !important;
  line-height: 1.2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.popdown-preset-list .popdown-card-sub {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #718077 !important;
  margin-top: 2px !important;
}

.popdown-preset-list .popdown-card-info {
  font-size: 16px !important;
  color: #9ba79f !important;
  margin-left: auto !important;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Adjust calc-sub-bar layout */
.calc-sub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf1ee;
}

/* ==========================================================================
   MOBILE ULTRA-COMPACT & BALANCED CALCULATOR (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Calculator Section & Header */
  .calculator-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  .calculator-section .section-heading {
    margin-bottom: 20px !important;
    gap: 12px !important;
  }

  /* Form & Panel container padding */
  .calc-inputs {
    padding: 14px 12px 12px !important;
    border-radius: 16px !important;
  }
  .quote-panel {
    padding: 14px 14px 12px !important;
    border-radius: 16px !important;
    margin-top: 10px !important;
  }

  /* 2. Mode Tabs: eliminate cramped wrapping and give plenty of breathing room */
  .calc-tabs {
    gap: 6px !important;
    padding: 4px !important;
    margin-bottom: 12px !important;
    border-radius: 10px !important;
  }
  .calc-tabs button {
    min-height: 42px !important;
    padding: 6px 10px !important;
    gap: 8px !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .calc-tabs button svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }
  .calc-tabs button span {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.15 !important;
  }
  .calc-tabs button strong {
    font-size: 13px !important;
    font-weight: 750 !important;
    letter-spacing: -0.01em !important;
  }
  .calc-tabs button small {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
  }
  .calc-tabs button .tab-mode-tag,
  .calc-tabs .tab-mode-tag {
    display: none !important; /* Hide redundant "Авиа · " / "Морем · " on mobile */
  }

  /* 3. Main Row: "Откуда" & "Куда" Side-by-Side in 1 Row (2 Columns) */
  .calc-main-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }
  .calc-col-field:nth-child(1),
  .calc-col-field:nth-child(2) {
    min-width: 0 !important;
  }
  .calc-size-picker-col {
    grid-column: 1 / -1 !important; /* Size picker spans full width below */
  }

  /* Compact Input Cards for Mobile */
  .calc-field-card {
    padding: 6px 8px !important;
    min-height: 50px !important;
    border-radius: 10px !important;
  }
  .calc-field-tag {
    font-size: 10px !important;
    margin-bottom: 1px !important;
  }
  .calc-field-input-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 4px !important;
  }
  .calc-field-input-row input[type="text"] {
    font-size: 13.5px !important;
    height: 22px !important;
    font-weight: 650 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    text-overflow: ellipsis !important;
  }
  .calc-country-pill {
    font-size: 10.5px !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  .custom-select.custom-select-country-mini,
  .custom-select-country-mini {
    width: auto !important;
    max-width: max-content !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
  }
  .size-picker-trigger {
    min-height: 50px !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
  }
  .size-picker-kicker {
    font-size: 10px !important;
    margin-bottom: 1px !important;
  }
  .size-picker-title {
    font-size: 13.5px !important;
  }

  /* Sub links (quick cities): hidden on mobile */
  .calc-sub-links {
    display: none !important;
  }

  /* 4. Sub Bar: 1 Single Compact Row (Toggle Left, PVZ/Door Right) */
  .calc-sub-bar {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
  }
  .cdek-toggle-label {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .cdek-toggle-slider {
    width: 38px !important;
    height: 22px !important;
    border-radius: 20px !important;
  }
  .cdek-toggle-slider::after {
    width: 18px !important;
    height: 18px !important;
    top: 2px !important;
    left: 2px !important;
  }
  .cdek-toggle-input:checked + .cdek-toggle-slider::after {
    transform: translateX(16px) !important;
  }
  .toggle-text-full {
    display: none !important;
  }
  .toggle-text-short {
    display: inline !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
  }
  .calc-delivery-seg {
    padding: 2px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }
  .delivery-seg-item span {
    padding: 4px 8px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
  }
  .delivery-brand-tag {
    display: none !important;
  }

  /* 5. Perks Strip & Insurance Note: Unified Ultra-Compact Box */
  .calc-features-wrap {
    margin-top: 8px !important;
    gap: 6px !important;
  }
  .quote-perks-strip {
    padding: 8px 10px !important;
    gap: 5px !important;
    border-radius: 10px !important;
    border-color: rgba(25, 37, 30, 0.06) !important;
  }
  .q-perk-item {
    font-size: 11px !important;
    gap: 6px !important;
    line-height: 1.25 !important;
  }
  .q-perk-item svg {
    width: 13px !important;
    height: 13px !important;
  }
  .quote-insurance-note {
    font-size: 11px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    border-left-width: 3px !important;
    line-height: 1.3 !important;
  }

  /* 6. Quote Panel Streamlined: Remove redundancy, fit in 1 view */
  .quote-top {
    margin-bottom: 4px !important;
  }
  .calc-badge {
    font-size: 10.5px !important;
    padding: 2px 8px !important;
  }
  #quote-mode-sticker {
    display: none !important; /* Hide massive sticker on mobile to save ~50px */
  }
  .quote-route {
    font-size: 12px !important;
    margin-bottom: 2px !important;
    color: #4b5563 !important;
  }
  .quote-price {
    font-size: 32px !important;
    margin: 2px 0 4px !important;
    line-height: 1.1 !important;
  }
  .quote-price span {
    font-size: 22px !important;
  }
  .quote-caption {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }

  /* Hide redundant breakdown rows on mobile (Mode & Delivery already in form) */
  .quote-breakdown {
    margin: 8px 0 !important;
    font-size: 11.5px !important;
  }
  .quote-breakdown .quote-row-mode,
  .quote-breakdown .quote-row-delivery {
    display: none !important;
  }
  .quote-breakdown > div {
    padding: 3px 0 !important;
  }
  .quote-breakdown .chargeable {
    margin-top: 3px !important;
    padding-top: 5px !important;
  }

  #quote-cta {
    min-height: 42px !important;
    font-size: 14px !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    margin-top: 4px !important;
  }
  .quote-note {
    font-size: 10.5px !important;
    margin-top: 6px !important;
    line-height: 1.3 !important;
  }
  .calc-footnote {
    font-size: 10px !important;
    margin-top: 8px !important;
    line-height: 1.3 !important;
  }
}

/* Fallback for desktop toggle text */
@media (min-width: 769px) {
  .toggle-text-short {
    display: none !important;
  }
}
