@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-accent-light: #F0F6FC;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --color-blue: #0F3661;
  --color-blue-hover: #082343;
  --color-blue-rgb: 15, 54, 97;
  --color-orange: #FF6A00;
  --color-orange-hover: #E55F00;
  --color-orange-light: #FFF0E5;
  --color-orange-rgb: 255, 106, 0;
  --color-yellow: #FFB800;
  --color-success: #10B981;
  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 50px rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ───── SCROLLBAR ───── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ───── LAYOUT & CONTAINERS ───── */
section {
  padding: 120px 8% 100px;
  position: relative;
}

@media (max-width: 1024px) {
  section {
    padding: 80px 5% 60px;
  }
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ───── SECTION HEADERS ───── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-orange-light);
  color: var(--color-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 106, 0, 0.15);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-blue);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-title em {
  font-style: normal;
  color: var(--color-orange);
  position: relative;
  display: inline-block;
}

.section-title em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 4px;
  background: var(--color-orange-light);
  z-index: -1;
  border-radius: 2px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 56px;
}

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-family);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A00 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.35);
  background: linear-gradient(135deg, #FF8A00 0%, var(--color-orange) 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--color-blue);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(15, 54, 97, 0.2);
}

.btn-secondary:hover {
  background-color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 54, 97, 0.3);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-blue);
  border: 2px solid var(--border-color);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--color-blue);
  background-color: #FFFFFF;
  color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ───── NAVIGATION ───── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

header.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-left: 1px solid var(--border-color);
  padding-left: 16px;
  max-width: 220px;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .header-tagline {
    display: none;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-blue);
  letter-spacing: -0.03em;
}

.logo img {
  height: 42px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.logo span {
  color: var(--color-orange);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--color-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-blue);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.nav-phone .num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
}

.nav-phone .name {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #229ED9;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.2);
}

.nav-tg:hover {
  background-color: #1e8fc4;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.3);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-blue);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* ───── HERO SECTION ───── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.88) 0%, rgba(248, 250, 252, 0.72) 100%),
    url('hero_warehouse.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-moscow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(15, 54, 97, 0.06);
  border: 1px solid rgba(15, 54, 97, 0.1);
  color: var(--color-blue);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-badge-moscow svg {
  width: 14px;
  height: 14px;
  color: var(--color-orange);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-blue);
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-orange) 0%, #FF8A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1.2;
}

.stat-val span {
  color: var(--color-orange);
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-map-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(15, 54, 97, 0.08));
}

.route-dash {
  stroke-dasharray: 8 6;
  animation: routeMove 6s linear infinite;
}

@keyframes routeMove {
  to {
    stroke-dashoffset: -120;
  }
}

.pulse-point {
  transform-origin: center;
  animation: pointPulse 2s ease-in-out infinite;
}

@keyframes pointPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

.plane-fly {
  animation: planeFly 6s linear infinite;
  transform-origin: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-badge-moscow {
    justify-content: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 30px;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    word-break: break-word;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 40px;
    background-position: 0% center;
  }
}

/* ───── TARIFFS SECTION ───── */
.tariffs {
  background-color: var(--bg-primary);
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .tariffs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .tariffs-grid {
    grid-template-columns: 1fr;
  }
}

.tariff-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.tariff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-blue);
  opacity: 0;
  transition: var(--transition);
}

.tariff-card.featured::before {
  background-color: var(--color-orange);
  opacity: 1;
}

.tariff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 54, 97, 0.15);
}

.tariff-card:hover::before {
  opacity: 1;
}

.tariff-image {
  margin: -30px -24px 24px -24px;
  width: calc(100% + 48px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: 1px solid var(--border-color);
}

.tariff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}

.tariff-card:hover .tariff-image img {
  transform: scale(1.04);
}

.tariff-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--bg-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-blue);
}

.tariff-card.featured .tariff-icon-wrapper {
  background-color: var(--color-orange-light);
  color: var(--color-orange);
}

.tariff-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.tariff-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 8px;
  line-height: 1.3;
}

.tariff-time {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tariff-time span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.tariff-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.min-order-banner {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.min-order-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--color-orange-light);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.min-order-icon svg {
  width: 26px;
  height: 26px;
}

.min-order-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.min-order-text strong {
  color: var(--color-blue);
  font-weight: 700;
}

/* ───── CAPABILITIES (SERVICES) SECTION ───── */
.capabilities {
  background-color: var(--bg-secondary);
}

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

@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

.cap-card {
  background-color: var(--bg-primary);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.cap-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(255, 106, 0, 0.03) 0%, transparent 60%);
  border-radius: var(--radius-md);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.cap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 106, 0, 0.25);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-secondary);
}

.cap-card:hover::after {
  opacity: 1;
}

.cap-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(15, 54, 97, 0.08);
  line-height: 1;
  margin-bottom: 20px;
  font-family: system-ui;
  transition: var(--transition);
}

.cap-card:hover .cap-num {
  color: rgba(255, 106, 0, 0.15);
}

.cap-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 12px;
  line-height: 1.4;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ───── CALCULATOR SECTION ───── */
.calculator {
  background-color: var(--bg-primary);
}

.calc-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 1024px) {
  .calc-container {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 40px;
  }
}

.calc-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 16px;
  line-height: 1.3;
}

.calc-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.calc-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.calc-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-orange-light);
  color: var(--color-orange);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.calc-step-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 4px;
}

.calc-step-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.calc-card-form {
  background-color: #FAFBFD;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
}

@media (max-width: 600px) {
  .calc-card-form {
    padding: 24px 16px;
  }

  .calc-submit {
    white-space: normal;
    padding: 16px 20px;
    font-size: 0.92rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .calc-container {
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }

  .calc-card-form {
    padding: 20px 12px;
  }
}

.calc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .calc-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.08);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.calc-submit {
  width: 100%;
  margin-top: 12px;
}

.calc-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
}

.calc-note span {
  color: var(--color-orange);
}

/* ───── CALLBACK BAR (QUICK ENQUIRY) ───── */
.callback {
  padding: 80px 8%;
  background: linear-gradient(135deg, var(--color-blue) 0%, #061830 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.callback::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.callback-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 1024px) {
  .callback-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
}

.callback-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.callback-title span {
  color: var(--color-orange);
}

.callback-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 12px;
}

.callback-form-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.callback-form-inner {
  display: flex;
  gap: 12px;
  width: 100%;
}

@media (max-width: 640px) {
  .callback-form-inner {
    flex-direction: column;
  }
}

.callback-input {
  flex-grow: 1;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 1rem;
  font-family: var(--font-family);
  outline: none;
  transition: var(--transition);
}

.callback-input:focus {
  border-color: var(--color-orange);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

.callback-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.callback-btn {
  padding: 16px 32px;
}

.callback-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1024px) {
  .callback-hint {
    text-align: center;
  }
}

/* ───── CONTACTS SECTION ───── */
.contacts {
  background-color: var(--bg-secondary);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contacts-cards-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 600px) {
  .contacts-cards-list {
    grid-template-columns: 1fr;
  }
}

.contact-card-box {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--transition);
}

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

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon.tg {
  background-color: rgba(34, 158, 217, 0.1);
  color: #229ED9;
}

.contact-card-icon.max {
  background-color: rgba(123, 92, 250, 0.15);
  color: #7B5CFA;
}

.contact-card-icon.phone {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.contact-card-info .val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 6px;
}

.contact-card-info .note {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.contact-card-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.contact-card-box:hover .contact-card-btn {
  border-color: var(--color-blue);
  background-color: var(--bg-accent-light);
  color: var(--color-blue);
}

.contact-card-box.telegram-accent:hover .contact-card-btn {
  border-color: #229ED9;
  background-color: rgba(34, 158, 217, 0.05);
  color: #229ED9;
}

.contacts-info-summary {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
}

.contacts-info-summary h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.contacts-info-summary p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.office-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.office-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.office-info-icon {
  color: var(--color-orange);
  margin-top: 3px;
  flex-shrink: 0;
}

.office-info-icon svg {
  width: 18px;
  height: 18px;
}

.office-info-text h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 2px;
}

.office-info-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ───── FOOTER ───── */
footer {
  background-color: #0B1829;
  color: #FFFFFF;
  padding: 80px 8% 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 50px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-info {
  max-width: 480px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--color-orange);
}

.footer-logo img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .footer-links-group {
    gap: 40px;
    width: 100%;
  }
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.footer-link {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-link:hover {
  color: var(--color-orange);
  padding-left: 4px;
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-contacts-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contacts-list a:hover {
  color: var(--color-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-extra {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-extra a:hover {
  color: #FFFFFF;
}

/* ───── SUCCESS MODAL ───── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.modal p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ───── FLOATING ACTIONS ───── */
.floating-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 480px) {
  .floating-widget {
    bottom: 20px;
    right: 20px;
  }
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.floating-btn.tg {
  background-color: #229ED9;
}

.floating-btn.phone {
  background-color: #10B981;
}

.floating-btn svg {
  width: 24px;
  height: 24px;
}

/* ───── ANIMATION CLASSES (INTERSECTION OBSERVER) ───── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* Mobile nav styles overlay */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 28px;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
    z-index: 1000;
  }

  .nav-actions {
    display: none;
  }
}

/* ───── GALLERY SECTION ───── */
.gallery {
  background-color: var(--bg-secondary);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
  background-color: var(--border-color);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 106, 0, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 54, 97, 0.9) 0%, rgba(15, 54, 97, 0.3) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
  transform: translateY(12px);
  transition: var(--transition);
  line-height: 1.4;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Gallery CTA Card */
.gallery-cta-card {
  background: linear-gradient(135deg, var(--color-orange-light) 0%, rgba(255, 106, 0, 0.02) 100%);
  border: 2px dashed rgba(255, 106, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  aspect-ratio: 16 / 10;
  transition: var(--transition);
}

.gallery-cta-card:hover {
  border-color: var(--color-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-cta-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 8px;
}

.gallery-cta-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 240px;
}

.btn-gallery-cta {
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  background-color: var(--color-orange);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.2);
  transition: var(--transition);
}

.btn-gallery-cta:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-cta-card,
  .gallery-item {
    aspect-ratio: 16 / 10;
  }
}

/* ───── MAX MESSENGER BRANDING & CONTACTS LAYOUT ───── */
.nav-max {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #00C6FF 0%, #7B5CFA 100%);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(123, 92, 250, 0.25);
}

.nav-max:hover {
  background: linear-gradient(90deg, #00B0E0 0%, #6340FD 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(123, 92, 250, 0.35);
}

.floating-btn.max {
  background: linear-gradient(90deg, #00C6FF 0%, #7B5CFA 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(123, 92, 250, 0.35);
}

.floating-btn.max:hover {
  background: linear-gradient(90deg, #00B0E0 0%, #6340FD 100%);
}

.nav-max img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.contact-card-icon.max img,
.floating-btn.max img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.contact-card-box.max-accent:hover .contact-card-btn {
  border-color: #7B5CFA;
  background-color: rgba(123, 92, 250, 0.05);
  color: #7B5CFA;
}

.contact-card-box.phone-card {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .contact-card-box.phone-card {
    grid-column: span 1;
  }
}