/* ============================================
   AutoCut27 — Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg:        #0D1117;
  --bg-card:   #161B27;
  --bg-card2:  #1E2535;
  --accent:    #1E6FFF;
  --accent-h:  #1557E0;
  --white:     #FFFFFF;
  --gray:      #8B96A8;
  --gray-light:#D0D7E3;
  --border:    #252D3D;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(30,111,255,0.16);
  --trans:     0.3s ease;
}

/* --- Utility classes --- */
.section-alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.text-center { text-align: center; }
.mt-36 { margin-top: 36px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.w-full { width: 100%; justify-content: center; }
.grid-1col { grid-template-columns: 1fr; }
.align-center { align-items: center; }
.gap-50 { gap: 50px; }
.max-800 { max-width: 800px; margin: 0 auto; }
.max-600 { max-width: 600px; margin: 0 auto; }
.mb-28 { margin-bottom: 28px; }
.mb-52 { margin-bottom: 52px; }
.mb-48 { margin-bottom: 48px; }

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Typography --- */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--gray-light); }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--gray); max-width: 600px; margin: 0 auto; }

/* --- Accent --- */
.accent { color: var(--accent); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--trans);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,17,28,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,111,255,0.18);
  transition: all var(--trans);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 12px;
}
.header-actions { justify-self: end; }
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon svg { width: 44px; height: 44px; }
.logo-text { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-text .cut { color: var(--accent); position: relative; }
.logo-text .num { font-size: 0.9rem; color: var(--gray); }

.phone-dropdown { position: relative; }
.header-phone {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
}
.header-phone:hover { color: var(--accent); }
.phone-caret { font-size: 0.65rem; opacity: 0.6; transition: transform 0.2s; }
.phone-dropdown.open .phone-caret { transform: rotate(180deg); }
.phone-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 190px;
  z-index: 300;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  flex-direction: column;
  gap: 2px;
}
.phone-dropdown.open .phone-drop-menu { display: flex; }
.phone-drop-menu a {
  padding: 9px 14px;
  border-radius: 7px;
  color: var(--gray-light);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background var(--trans), color var(--trans);
}
.phone-drop-menu a:hover { background: var(--bg-card); color: var(--accent); }

.nav { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav a {
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-light);
  transition: all var(--trans);
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--white); background: var(--bg-card); }
.nav a.active { color: var(--accent); }

/* Nav dropdown (Авто из Азии) */
.nav-item-dd { position: relative; }
.nav-item-dd > a { display: flex; align-items: center; gap: 3px; }
.nav-dd-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 160px;
  z-index: 300;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.nav-item-dd:hover .nav-dd-menu { display: block; }
.nav-dd-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 7px;
  color: var(--gray-light);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  background: none;
  transition: background var(--trans), color var(--trans);
}
.nav-dd-menu a:hover, .nav-dd-menu a.active { background: var(--bg-card); color: var(--accent); }

/* Mobile nav: dropdown — показываем подпункты плоско, прячем родительский */
.mobile-nav .nav-item-dd { display: contents; }
.mobile-nav .nav-item-dd > a { display: none; }
.mobile-nav .nav-dd-menu { display: contents; }
.mobile-nav .nav-item-dd:hover .nav-dd-menu { display: contents; }
.mobile-nav .nav-dd-menu a { padding-left: 16px; font-size: 1rem; color: var(--gray-light); border-left: 2px solid var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 73px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-light);
  border: 1px solid var(--border);
  transition: all var(--trans);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--accent); border-color: var(--accent); background: rgba(30,111,255,0.08); }
.mobile-nav-btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(rgba(30,111,255,0.13) 1px, transparent 1px);
  background-size: 40px 40px;
}
/* bottom fade into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
.hero > .container { position: relative; z-index: 2; }
/* glow orb top-right */
.hero-orb1, .hero-orb2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb1 {
  top: -120px; right: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(30,111,255,0.22) 0%, transparent 65%);
  animation: hero-float1 9s ease-in-out infinite alternate;
  max-width: calc(100vw + 200px);
}
.hero-orb2 {
  bottom: -80px; left: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(30,111,255,0.13) 0%, transparent 65%);
  animation: hero-float2 12s ease-in-out infinite alternate;
  max-width: calc(100vw + 200px);
}
@keyframes hero-float1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.12); }
}
@keyframes hero-float2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, -40px) scale(1.18); }
}
.hero-content { max-width: 960px; margin: 0 auto; text-align: center; }
.hero-tag {
  display: inline-block;
  background: rgba(30,111,255,0.15);
  color: var(--accent);
  border: 1px solid rgba(30,111,255,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent {
  background: linear-gradient(135deg, #1E6FFF 0%, #5B9FFF 50%, #1E6FFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s linear infinite;
}
@keyframes gradient-shift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.hero-desc { font-size: 1.1rem; color: var(--gray-light); margin-bottom: 36px; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 50px; justify-content: center; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat span { font-size: 0.85rem; color: var(--gray); }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: 100px 0 0;
  background: var(--bg);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 20px 0 10px;
  font-size: 0.85rem;
  color: var(--gray);
}
.breadcrumb-list a { color: var(--gray); transition: color var(--trans); }
.breadcrumb-list a:hover { color: var(--accent); }
.breadcrumb-list span { color: var(--gray-light); }
.breadcrumb-list .sep { color: var(--border); }

/* ============================================
   CARDS GRID
   ============================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--trans);
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(30,111,255,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--gray); }
.card-link { display: flex; flex-direction: column; text-decoration: none; }
.card-link:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-arrow { margin-top: auto; padding-top: 20px; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.card-photo { margin: -28px -28px 20px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; height: 200px; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Feature cards */
.feature-card { text-align: center; }
.feature-card .card-icon { margin: 0 auto 18px; }

/* Service cards */
.service-card { cursor: pointer; }
.service-card .price {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
}
.service-card .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ============================================
   PHOTO PLACEHOLDER
   ============================================ */
.photo-placeholder {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}
.photo-placeholder svg { opacity: 0.4; }
.photo-placeholder-img { padding: 0; overflow: hidden; }
.btn-block { width: 100%; justify-content: center; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--gray-light); font-size: 0.95rem; }
.check-list li .check { color: var(--accent); font-weight: 700; }
.rounded-lg { border-radius: var(--radius-lg); overflow: hidden; }
.min-h-320 { min-height: 320px; }
.table-wrap { overflow-x: auto; margin-bottom: 40px; }
.section-h3 { margin-bottom: 16px; }
.form-grid-single { grid-template-columns: 1fr; }
.prose p + p { margin-top: 16px; }
.hero-badge-wrap { margin-top: 12px; }
.modal-title { margin-bottom: 8px; }
.modal-subtitle { color: var(--gray); margin-bottom: 24px; font-size: 0.9rem; }
.photo-placeholder-img picture { display: block; width: 100%; height: 100%; }
.photo-placeholder-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-placeholder-sm { height: 180px; }
.photo-placeholder-md { height: 260px; }
.photo-placeholder-lg { height: 360px; }

/* ============================================
   SERVICES TABLE
   ============================================ */
.services-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.services-table th {
  background: var(--bg-card2);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.services-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.services-table tr:last-child td { border-bottom: none; }
.services-table tr { background: var(--bg-card); transition: background var(--trans); }
.services-table tr:hover { background: var(--bg-card2); }
.services-table .price-cell { color: var(--accent); font-weight: 700; white-space: nowrap; }
.services-table .note-cell { color: var(--gray); font-size: 0.85rem; }

/* ============================================
   FORM
   ============================================ */
.form-section { background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px; }
.form-section h2 { margin-bottom: 8px; }
.form-section .subtitle { color: var(--gray); margin-bottom: 30px; font-size: 0.95rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--gray-light); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.5;
  height: 50px;
  box-sizing: border-box;
  transition: border-color var(--trans);
  outline: none;
  width: 100%;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 110px; height: auto; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }
.input-error { border-color: #ff4444 !important; }
.field-error { color: #ff4444; font-size: 0.8rem; margin-top: 4px; display: block; }

/* ============================================
   STEPS (How we work)
   ============================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: 0.875rem; color: var(--gray); }

/* ============================================
   REVIEWS
   ============================================ */
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-avatar {
  width: 46px; height: 46px;
  background: rgba(30,111,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: var(--accent);
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-date { font-size: 0.8rem; color: var(--gray); }
.review-stars { display: flex; gap: 3px; margin-bottom: 10px; }
.star { color: #f5a623; font-size: 1rem; }
.review-text { font-size: 0.9rem; color: var(--gray-light); line-height: 1.6; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--trans);
}
.faq-item.open { border-color: var(--accent); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 16px;
  user-select: none;
  color: var(--white);
  background: none;
  width: 100%;
  text-align: left;
  border: none;
  font-family: inherit;
}
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans);
  font-size: 1.1rem; color: var(--gray);
}
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--gray-light);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================
   PROMOTIONS
   ============================================ */
.promo-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30,111,255,0.1) 100%);
  border: 1px solid rgba(30,111,255,0.25);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.promo-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.promo-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.promo-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 16px; }
.promo-until { font-size: 0.8rem; color: var(--gray); margin-top: 12px; }
.promo-price-line { margin-top: 10px; font-size: 0.875rem; color: var(--gray-light); }

/* ============================================
   BLOG
   ============================================ */
.blog-card {
  display: flex;
  flex-direction: column;
}
.blog-card .photo-placeholder { border-radius: var(--radius) var(--radius) 0 0; border-bottom: none; }
.blog-card-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: border-color var(--trans);
}
.blog-card:hover .blog-card-body { border-color: var(--accent); }
.blog-tag {
  display: inline-block;
  background: rgba(30,111,255,0.12);
  color: var(--accent);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 0.95rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 0.85rem; color: var(--gray); flex: 1; }
.blog-card .read-more { margin-top: 14px; color: var(--accent); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.blog-card .read-more:hover { gap: 8px; }

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-card {
  text-align: center;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30,111,255,0.1) 100%);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-price { font-size: 2.2rem; font-weight: 800; color: var(--accent); margin: 16px 0 4px; }
.pricing-price span { font-size: 1rem; color: var(--gray); font-weight: 400; }
.pricing-list { margin: 20px 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.pricing-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--gray-light); }
.pricing-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ============================================
   STATS
   ============================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { display: block; font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-item span { font-size: 0.9rem; color: var(--gray); }

/* ============================================
   ALSO OFFER
   ============================================ */
.offer-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.offer-card .photo-placeholder { border-radius: var(--radius); }
.offer-card-content h3 { margin-bottom: 8px; }
.offer-card-content p { font-size: 0.9rem; color: var(--gray); margin-bottom: 16px; }

/* ============================================
   TEAM
   ============================================ */
.team-card { text-align: center; }
.team-card .photo-placeholder { border-radius: 50%; width: 120px; height: 120px; margin: 0 auto 16px; }
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { font-size: 0.85rem; color: var(--gray); }

/* ============================================
   CONTACTS
   ============================================ */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(30,111,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.85rem; color: var(--gray); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--white); }
.contact-item a:hover { color: var(--accent); }

/* Map placeholder */
.map-placeholder {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  height: 350px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--gray);
  font-size: 0.9rem;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.float-btns {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  cursor: pointer;
}
.float-btn:hover { transform: scale(1.12); }
.float-btn-wa { background: #25D366; }
.float-btn-tg { background: #229ED9; }
.float-btn svg { width: 26px; height: 26px; }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: all var(--trans);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%; max-width: 500px;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--trans);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--trans);
}
.modal-close:hover { background: var(--accent); color: var(--white); }

/* Success notification */
.notify {
  position: fixed;
  bottom: 100px; right: 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--trans), visibility var(--trans), transform var(--trans);
  max-width: 320px;
}
.notify.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }
.footer-col h4 { font-size: 0.875rem; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: var(--gray); transition: color var(--trans); }
.footer-col ul a:hover { color: var(--accent); }
.footer-col .contact-item { gap: 10px; }
.footer-col .contact-item .contact-icon { width: 36px; height: 36px; font-size: 1rem; }
.footer-col .contact-item p, .footer-col .contact-item a { font-size: 0.875rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray); }
.footer-bottom a { color: var(--gray); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================
   GUARANTEE
   ============================================ */
.guarantee-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--trans);
}
.guarantee-item:hover { border-color: var(--accent); }
.guarantee-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.guarantee-item h3 { margin-bottom: 6px; font-size: 1rem; }
.guarantee-item p { font-size: 0.875rem; color: var(--gray); }

/* ============================================
   SCROLL ANIMATION
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PRIVACY
   ============================================ */
.privacy-content h2 { margin: 36px 0 14px; }
.privacy-content p { margin-bottom: 14px; color: var(--gray-light); font-size: 0.95rem; }
.privacy-content ul { padding-left: 20px; margin-bottom: 14px; }
.privacy-content ul li { color: var(--gray-light); font-size: 0.95rem; margin-bottom: 6px; list-style: disc; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--gray); max-width: 600px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Средние экраны: nav не влезает — переключаемся на бургер */
@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .phone-dropdown { display: none; }
  .burger { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 110px 0 60px; }
  .hero-content { max-width: 100%; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 1.5rem; }
  .services-table { font-size: 0.85rem; }
  .services-table th, .services-table td { padding: 12px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal { padding: 24px; }
  .form-section { padding: 24px; }
}

/* Маленькие экраны: скрываем кнопку «Записаться» в хедере — есть в мобильном меню */
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn { display: none; }
  .header-inner { padding: 14px 16px; }
}

/* ============================================
   PARTS CATALOG
   ============================================ */
.parts-badge {
  display: inline-block;
  background: rgba(30,111,255,0.15);
  color: var(--accent);
  border: 1px solid rgba(30,111,255,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}
.parts-search-bar { margin-bottom: 20px; }
.parts-search-bar input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 18px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--trans);
  box-sizing: border-box;
}
.parts-search-bar input:focus { border-color: var(--accent); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.parts-table { width: 100%; }
.parts-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); }
.parts-table td:last-child { white-space: nowrap; width: 1%; }
.parts-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.parts-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.parts-trust-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.parts-trust-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--white);
}
.parts-trust-item p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}
.parts-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.parts-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all var(--trans);
  text-decoration: none;
}
.parts-cat-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.parts-cat-icon { font-size: 1.8rem; flex-shrink: 0; }
.parts-cat-name { font-weight: 600; font-size: 0.95rem; color: var(--white); margin-bottom: 4px; }
.parts-cat-count { font-size: 0.8rem; color: var(--gray); }

/* Очень маленькие экраны */
@media (max-width: 360px) {
  .logo-text { font-size: 1.1rem; }
  .logo-icon svg { width: 36px; height: 36px; }
  .header-inner { padding: 12px 14px; }
}

/* ============================================
   LC100 ENGINE / KUZOV — Product pages
   ============================================ */
.mt-24 { margin-top: 24px; }
.section-top { background: var(--bg-card); border-top: 1px solid var(--border); }
.table-border-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.note { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.product-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.product-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.product-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; cursor: zoom-in; transition: opacity 0.2s; }
.product-photos img:hover { opacity: 0.85; }
.product-photos .photo-main { grid-column: 1 / -1; aspect-ratio: 16/9; }
.product-body { padding: 24px; }
.product-body h2 { font-size: 1.25rem; margin-bottom: 16px; }
.spec-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.spec-item { display: flex; gap: 10px; font-size: 0.9rem; }
.spec-item span:first-child { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.spec-item span:last-child { color: var(--gray-light); }
.compat-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compat-table th { text-align: left; padding: 10px 14px; background: var(--bg-card2); color: var(--gray); font-weight: 600; border-bottom: 1px solid var(--border); }
.compat-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--gray-light); }
.compat-table tr:last-child td { border-bottom: none; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.info-card h4 { font-size: 0.85rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.info-card p, .info-card a { font-size: 0.95rem; color: var(--gray-light); line-height: 1.6; }
.info-card a { color: var(--accent); font-weight: 600; }
.badge-new { display: inline-block; background: rgba(30,111,255,0.15); color: var(--accent); font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; font-size: 2rem; color: white; cursor: pointer; line-height: 1; opacity: 0.7; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.5rem; color: white; cursor: pointer; opacity: 0.6; padding: 10px; user-select: none; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

.caption { font-size: 0.8rem; color: var(--gray); margin-top: 12px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.kuzov-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.photo-main-wrap { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-card); }
.photo-main-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.photo-thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; }
.photo-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; cursor: zoom-in; border: 2px solid transparent; transition: border-color 0.2s; }
.photo-thumbs img:hover, .photo-thumbs img.active { border-color: var(--accent); }
.spec-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 20px; }
.spec-panel h2 { font-size: 1.3rem; margin-bottom: 6px; }
.spec-panel .subtitle { color: var(--gray); font-size: 0.9rem; margin-bottom: 24px; }

@media (max-width: 900px) {
  .kuzov-layout { grid-template-columns: 1fr; }
  .spec-panel { position: static; }
  .photo-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   BLOG ARTICLE
   ============================================ */
.article-hero { background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 48px 0 0; }
.article-hero-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); display: block; margin-top: 32px; }
.article-body { max-width: 800px; margin: 0 auto; }
.article-body h2 { font-size: 1.4rem; margin: 36px 0 16px; color: var(--white); }
.article-body h3 { font-size: 1.1rem; margin: 28px 0 12px; color: var(--accent); }
.article-body p { color: var(--gray-light); line-height: 1.8; margin-bottom: 16px; }
.article-body ul, .article-body ol { color: var(--gray-light); line-height: 1.8; margin: 0 0 16px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--white); }
.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.article-tag { background: var(--accent); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.article-date { color: var(--gray); font-size: 0.85rem; }
.article-cta { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin: 48px 0; text-align: center; }
.article-cta h3 { margin-bottom: 12px; font-size: 1.2rem; }
.article-cta p { color: var(--gray); margin-bottom: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.9rem; margin-bottom: 32px; text-decoration: none; }

/* --- Import hub cards (cars-import) --- */
.import-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--trans), transform var(--trans);
  text-decoration: none;
  color: inherit;
}
.import-hub-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.import-hub-flag { font-size: 2.5rem; margin-bottom: 16px; }
.import-hub-card h2 { margin-bottom: 12px; }
.import-hub-card p { color: var(--gray-light); margin-bottom: 16px; flex-grow: 1; }
.import-hub-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.import-hub-list li { color: var(--gray-light); font-size: 0.9rem; padding-left: 20px; position: relative; }
.import-hub-list li::before { content: '✓'; color: var(--accent); position: absolute; left: 0; font-weight: 700; }

/* --- Related links block (lc100-engine и подобные страницы) --- */
.section-h2-label { margin-bottom: 28px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--gray-light); font-size: 0.9rem; transition: var(--trans); }
.related-link::before { content: '→'; color: var(--accent); }
.related-link:hover { border-color: var(--accent); color: var(--white); }
.back-link:hover { color: var(--accent); }

/* --- Drom block (reviews, parts) --- */
.drom-block {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  flex-wrap: wrap;
}
.drom-block__icon { flex-shrink: 0; }
.drom-block__text { flex: 1; min-width: 200px; }
.drom-block__text h3 { margin-bottom: 6px; font-size: 1.1rem; }
.drom-block__text p { color: var(--gray-light); margin: 0; font-size: 0.95rem; }
@media (max-width: 600px) {
  .drom-block { flex-direction: column; align-items: flex-start; padding: 20px; }
}

/* --- Star rating selector --- */
.star-rating {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.star-btn {
  font-size: 2rem;
  color: var(--border);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  user-select: none;
  line-height: 1;
}
.star-btn:hover,
.star-btn.active {
  color: #F5A623;
  transform: scale(1.15);
}
/* ============================================================
   HEADER.CSS — Premium header for autocut27.ru
   Design: glassmorphism scroll, amber gold accent, drawer mobile
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --hdr-bg:          rgba(10, 11, 15, 0);
  --hdr-bg-scrolled: rgba(10, 11, 15, 0.96);
  --hdr-border:      rgba(30, 111, 255, 0.15);
  --hdr-shadow:      0 4px 32px rgba(0, 0, 0, 0.55);
  --hdr-h:           76px;
  --hdr-h-scrolled:  62px;
  --hdr-accent:      #1E6FFF;
  --hdr-accent-h:    #1557E0;
  --hdr-text:        #EDF0F7;
  --hdr-muted:       #7A8399;
  --hdr-surface:     #12141B;
  --hdr-surface-2:   #1A1D27;
  --hdr-border-c:    #22263A;
  --hdr-radius:      10px;
  --hdr-trans:       0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ──────────────────────────────────────────────────── */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--hdr-h);
  background: var(--hdr-bg);
  border-bottom: 1px solid transparent;
  transition:
    height var(--hdr-trans),
    background var(--hdr-trans),
    border-color var(--hdr-trans),
    box-shadow var(--hdr-trans);
}

.hdr--scrolled {
  height: var(--hdr-h-scrolled);
  background: var(--hdr-bg-scrolled);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--hdr-border);
  box-shadow: var(--hdr-shadow);
}

.hdr--menu-open {
  z-index: 500;
}

/* ── Inner grid ────────────────────────────────────────────── */
.hdr__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

/* ── Logo ──────────────────────────────────────────────────── */
.hdr__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.hdr__logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  display: block;
  transition: opacity var(--hdr-trans);
}

.hdr__logo:hover .hdr__logo-img {
  opacity: 0.85;
}

/* ── Desktop nav ───────────────────────────────────────────── */
.hdr__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hdr__nav-item {
  position: relative;
}

.hdr__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hdr-text);
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--hdr-trans), background var(--hdr-trans);
  white-space: nowrap;
}

.hdr__link:hover,
.hdr__link--active {
  color: var(--hdr-text);
  background: rgba(255, 255, 255, 0.06);
}

.hdr__link--active {
  color: var(--hdr-accent);
  background: rgba(30, 111, 255, 0.08);
}

/* dropdown caret */
.hdr__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--hdr-trans);
  opacity: 0.6;
}

.hdr__nav-item:hover .hdr__caret,
.hdr__nav-item--open .hdr__caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── Dropdown ──────────────────────────────────────────────── */
.hdr__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 190px;
  background: var(--hdr-surface);
  border: 1px solid var(--hdr-border-c);
  border-radius: var(--hdr-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(30, 111, 255, 0.06);
  padding: 18px 6px 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--hdr-trans), transform var(--hdr-trans);
  z-index: 10;
}

/* triangle pointer */
.hdr__dropdown::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--hdr-border-c);
}

.hdr__dropdown::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--hdr-surface);
}

.hdr__nav-item:hover .hdr__dropdown,
.hdr__nav-item--open .hdr__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hdr__dd-link {
  display: block;
  padding: 9px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hdr-muted);
  text-decoration: none;
  border-radius: 7px;
  transition: color var(--hdr-trans), background var(--hdr-trans);
}

.hdr__dd-link:hover {
  color: var(--hdr-text);
  background: rgba(255, 255, 255, 0.07);
}

/* ── Actions ───────────────────────────────────────────────── */
.hdr__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Phone */
.hdr__phone-wrap {
  position: relative;
}

.hdr__phone-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--hdr-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hdr-border-c);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--hdr-trans), border-color var(--hdr-trans);
  white-space: nowrap;
}

.hdr__phone-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(30, 111, 255, 0.3);
}

.hdr__phone-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--hdr-trans);
  opacity: 0.5;
}

.hdr__phone-wrap--open .hdr__phone-caret {
  transform: rotate(180deg);
}

.hdr__phone-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--hdr-surface);
  border: 1px solid var(--hdr-border-c);
  border-radius: var(--hdr-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--hdr-trans), transform var(--hdr-trans);
  z-index: 10;
}

.hdr__phone-wrap--open .hdr__phone-drop {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hdr__phone-drop a {
  display: block;
  padding: 9px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--hdr-text);
  text-decoration: none;
  border-radius: 7px;
  transition: background var(--hdr-trans), color var(--hdr-trans);
}

.hdr__phone-drop a:hover {
  background: rgba(30, 111, 255, 0.1);
  color: var(--hdr-accent);
}

/* CTA button */
.hdr__cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: var(--hdr-accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--hdr-trans), box-shadow var(--hdr-trans), transform 0.15s;
}

.hdr__cta:hover {
  background: var(--hdr-accent-h);
  box-shadow: 0 0 20px rgba(30, 111, 255, 0.4);
  transform: translateY(-1px);
}

.hdr__cta:active {
  transform: translateY(0);
}

/* Burger (mobile only) */
.hdr__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hdr-border-c);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--hdr-trans), border-color var(--hdr-trans);
}

.hdr__burger:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(30, 111, 255, 0.3);
}

.hdr__burger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--hdr-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* Burger → X animation */
.hdr--menu-open .hdr__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hdr--menu-open .hdr__burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hdr--menu-open .hdr__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile drawer ─────────────────────────────────────────── */

/* overlay */
.hdr__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

.hdr__overlay--visible {
  display: block;
}

.hdr__overlay--active {
  opacity: 1;
}

/* drawer */
.hdr__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  height: var(--vh-full, 100dvh);
  background: var(--hdr-surface);
  border-left: 1px solid var(--hdr-border-c);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
}

.hdr__drawer--open {
  pointer-events: auto;
}

.hdr__drawer::-webkit-scrollbar {
  width: 6px;
}

.hdr__drawer::-webkit-scrollbar-track {
  background: transparent;
}

.hdr__drawer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

@media (max-width: 768px) {
  .hdr__drawer {
    width: 100%;
    max-width: 100%;
  }

  .hdr__drawer-logo {
    display: none;
  }
}

.hdr__drawer--open {
  transform: translateX(0);
}

.hdr__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--hdr-border-c);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  background: var(--hdr-surface);
  z-index: 10;
}

.hdr__drawer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hdr__drawer-logo .hdr__logo-img {
  height: 36px;
}

.hdr__drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hdr-border-c);
  border-radius: 7px;
  color: var(--hdr-muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: background var(--hdr-trans), color var(--hdr-trans);
  margin-right: 8px;
}

.hdr__drawer-close:hover {
  background: rgba(30, 111, 255, 0.1);
  color: var(--hdr-accent);
}

.hdr__drawer-nav {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* stagger animation items */
.hdr__drawer-nav > * {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.3s, transform 0.3s;
}

.hdr__drawer--open .hdr__drawer-nav > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.06s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.10s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.14s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.18s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.22s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.26s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.30s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.34s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(9) { opacity: 1; transform: none; transition-delay: 0.38s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(10) { opacity: 1; transform: none; transition-delay: 0.42s; }
.hdr__drawer--open .hdr__drawer-nav > *:nth-child(11) { opacity: 1; transform: none; transition-delay: 0.46s; }

.hdr__drawer-link {
  display: block;
  padding: 11px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--hdr-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--hdr-trans), background var(--hdr-trans);
}

.hdr__drawer-link:hover,
.hdr__drawer-link--active {
  color: var(--hdr-text);
  background: rgba(255, 255, 255, 0.05);
}

.hdr__drawer-link--active {
  color: var(--hdr-accent);
  background: rgba(30, 111, 255, 0.07);
}

/* drawer sub-group (for Asia dropdown) */
.hdr__drawer-group {}

.hdr__drawer-group-label {
  display: block;
  padding: 11px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--hdr-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--hdr-trans), background var(--hdr-trans);
}

.hdr__drawer-group-label:hover {
  color: var(--hdr-text);
  background: rgba(255, 255, 255, 0.05);
}

.hdr__drawer-sub {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 2px solid var(--hdr-border-c);
  margin-left: 14px;
  margin-bottom: 4px;
}

.hdr__drawer-sub a {
  display: block;
  padding: 8px 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--hdr-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color var(--hdr-trans), background var(--hdr-trans);
}

.hdr__drawer-sub a:hover {
  color: var(--hdr-text);
  background: rgba(255, 255, 255, 0.05);
}

/* drawer footer with CTA */
.hdr__drawer-foot {
  padding: 16px 14px 24px;
  border-top: 1px solid var(--hdr-border-c);
  flex-shrink: 0;
}

.hdr__drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: var(--hdr-accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--hdr-trans), box-shadow var(--hdr-trans);
}

.hdr__drawer-cta:hover {
  background: var(--hdr-accent-h);
  box-shadow: 0 0 20px rgba(30, 111, 255, 0.35);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hdr__inner {
    gap: 20px;
    padding: 0 18px;
  }
  .hdr__link {
    padding: 8px 9px;
    font-size: 13.5px;
  }
}

@media (max-width: 860px) {
  .hdr__nav,
  .hdr__phone-wrap,
  .hdr__cta {
    display: none;
  }

  .hdr__burger {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 10px;
    margin-right: 4px;
  }

  .hdr__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 20px;
  }
}

