/* ==========================================================
   TransCargo Astana — Modernized Homepage Stylesheet
   Brand Palette Preserved:
   - Primary Blue:    #2C4D8C (hover #365CA8 / #1F407F)
   - Deep Navy:       #1F3A69
   - Slate Navy:      #1F425D / #162F42
   - Charcoal:        #2B2A29
   - Secondary Cyan:  #4AB9CF
   - WhatsApp Accent: #25D366
   ========================================================== */

:root {
  --brand-blue: #2C4D8C;
  --brand-blue-hover: #365CA8;
  --brand-blue-active: #1F407F;
  --brand-navy: #1F3A69;
  --brand-slate: #1F425D;
  --brand-slate-deep: #162F42;
  --brand-charcoal: #2B2A29;
  --brand-cyan: #4AB9CF;
  --wa-green: #25D366;

  --bg-page: #FFFFFF;
  --bg-tinted: #F5F7FA;
  --bg-card: #FFFFFF;
  --border: #E5E9F0;
  --border-strong: #D0D7E2;

  --text-main: #2B2A29;
  --text-body: #474747;
  --text-muted: #6E7785;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #B8CAD9;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(22, 47, 66, 0.06);
  --shadow-md: 0 10px 30px rgba(22, 47, 66, 0.09);
  --shadow-lg: 0 20px 50px rgba(22, 47, 66, 0.16);

  --container: 1200px;
  --transition: 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  color: var(--text-main);
  margin: 0;
  line-height: 1.22;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(44, 77, 140, 0.28);
}

.btn--primary:hover {
  background: var(--brand-blue-hover);
  box-shadow: 0 6px 20px rgba(44, 77, 140, 0.36);
}

.btn--primary:active {
  background: var(--brand-blue-active);
}

.btn--white {
  background: #FFFFFF;
  color: var(--brand-navy);
}

.btn--white:hover {
  background: #F0F4FA;
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}

.link-btn:hover {
  color: var(--brand-navy);
  transform: translateX(2px);
}

/* Top Utility Bar */
.topbar {
  background: var(--brand-charcoal);
  color: #E5E7EB;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-block: 6px;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1;
}

.topbar__badge {
  color: #FFFFFF;
  font-weight: 600;
}

.topbar__divider {
  opacity: 0.45;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E5E7EB;
  transition: color var(--transition);
}

.topbar__link:hover {
  color: var(--brand-cyan);
}

.topbar__link--wa svg {
  color: var(--wa-green);
}

/* Sticky Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(22, 47, 66, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.header__logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--brand-charcoal);
  padding-block: 8px;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--brand-blue);
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: background var(--transition), color var(--transition);
}

.nav__dropdown a:hover {
  background: var(--bg-tinted);
  color: var(--brand-blue);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  cursor: pointer;
  padding: 0 9px;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 16px 0 24px;
}

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

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__link {
  padding: 10px 0;
  font-weight: 600;
  color: var(--brand-charcoal);
  border-bottom: 1px solid var(--border);
}

.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  font-weight: 600;
  color: var(--brand-blue);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-slate-deep) 0%, var(--brand-navy) 55%, var(--brand-blue) 100%);
  color: var(--text-on-dark);
  padding-block: 64px 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg, rgba(22, 47, 66, 0.9) 0%, rgba(31, 58, 105, 0.78) 55%, rgba(44, 77, 140, 0.65) 100%),
    url('assets/hero-truck.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
  color: #E6F4F8;
  margin-bottom: 20px;
}

.hero__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(74, 185, 207, 0.25);
}

.hero__title {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 0 28px;
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.hero__highlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.hero__highlight strong {
  display: block;
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.hero__highlight span {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  line-height: 1.35;
  display: block;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Quick Calculator Card */
.calc-card {
  background: #FFFFFF;
  color: var(--text-body);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.calc-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  background: #EDF2FA;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.calc-card__head h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.calc-card__head p {
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-charcoal);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-main);
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(44, 77, 140, 0.14);
}

.calc-estimate {
  background: #F2F6FC;
  border: 1px solid #D6E2F5;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.calc-estimate__label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.calc-estimate__value {
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.calc-form__note {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #ECFDF3;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.875rem;
}

/* Stats Strip */
.stats {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding-block: 36px;
}

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

.stat-item {
  padding-left: 18px;
  border-left: 3px solid var(--brand-blue);
}

.stat-item__num {
  font-family: 'Manrope', sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding-block: 76px;
}

.section--tinted {
  background: var(--bg-tinted);
}

.section__head {
  margin-bottom: 36px;
}

.section__head--center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.eyebrow--light {
  color: var(--brand-cyan);
}

.section__title {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 800;
}

.section__desc {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Filter Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
}

.tab:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.tab.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.service-card.is-hidden {
  display: none;
}

.service-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-tinted);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(22, 47, 66, 0.88);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EDF2FA;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 24px 0;
}

.service-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card__body p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
}

/* Routes Grid */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-card {
  text-align: left;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.route-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.route-card__cities {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.route-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.route-card__meta span:first-child {
  color: var(--brand-blue);
  font-weight: 600;
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.adv-card:hover {
  border-color: #C7D3E6;
  box-shadow: var(--shadow-sm);
}

.adv-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EDF2FA;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.adv-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.adv-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Process Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.step-card__num {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-cyan);
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Director Section */
.director-section {
  background: linear-gradient(135deg, var(--brand-slate-deep) 0%, var(--brand-slate) 100%);
  color: #FFFFFF;
  padding-block: 64px;
}

.director-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.director-card__photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(74, 185, 207, 0.45);
  box-shadow: var(--shadow-lg);
}

.director-card__quote {
  margin: 0 0 18px;
  font-size: clamp(1.1rem, 1.8vw, 1.38rem);
  font-weight: 500;
  line-height: 1.55;
  color: #F1F5F9;
}

.director-card__author strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  color: #FFFFFF;
}

.director-card__author span {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}

/* Clients Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.client-logo {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 88px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.client-logo:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.client-logo img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter var(--transition), opacity var(--transition);
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Reviews Carousel */
.carousel-controls {
  display: flex;
  gap: 10px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--brand-navy);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.icon-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  transition: transform 0.35s ease;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.review-card__stars {
  color: #F59E0B;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  margin: 0 0 20px;
  font-size: 0.94rem;
  color: var(--text-body);
  flex: 1;
}

.review-card__author strong {
  display: block;
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.review-card__author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.faq-cta-box {
  margin-top: 24px;
  background: var(--bg-tinted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.faq-cta-box strong {
  display: block;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.faq-cta-box p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-photo {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.faq-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-charcoal);
  cursor: pointer;
}

.accordion__icon {
  font-size: 1.35rem;
  color: var(--brand-blue);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__panel {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.accordion__item.is-open .accordion__panel {
  display: block;
}

.accordion__panel p {
  margin: 0;
}

/* Final CTA Banner */
.cta-banner {
  background: var(--brand-blue);
  color: #FFFFFF;
  padding-block: 48px;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  margin-bottom: 6px;
}

.cta-banner p {
  margin: 0;
  color: #DCE7F7;
}

.cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--brand-slate);
  color: #CBD5E1;
  padding-top: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.25fr;
  gap: 36px;
  padding-bottom: 48px;
}

.footer__logo-wrap {
  display: inline-block;
  background: #FFFFFF;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.footer__brand p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: #B8CAD9;
}

.footer__col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer__col a {
  color: #B8CAD9;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #FFFFFF;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}

.office strong {
  color: #FFFFFF;
}

.footer__bottom {
  background: var(--brand-slate-deep);
  padding-block: 18px;
  font-size: 0.84rem;
  color: #8BA4B8;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.back-top {
  color: #FFFFFF;
  font-weight: 600;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 47, 66, 0.65);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 480px);
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-tinted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-main);
}

.modal__dialog h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.modal__subtitle {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__success {
  text-align: center;
  padding-block: 16px;
}

.modal__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ECFDF3;
  color: #059669;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.38);
  transition: transform var(--transition);
}

.wa-float:hover {
  transform: scale(1.07);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

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

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

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .nav,
  .header__actions .btn--primary {
    display: none;
  }

  .header__phone-btn,
  .burger {
    display: inline-flex;
  }

  .hero {
    padding-block: 40px 48px;
  }

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

  .calc-form__row,
  .stats__grid,
  .services-grid,
  .advantages-grid,
  .routes-grid,
  .steps-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

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

  .reviews-track {
    grid-auto-columns: 100%;
  }

  .director-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .director-card__photo img {
    margin-inline: auto;
    width: 140px;
    height: 140px;
  }
}
