/* ============================================================
   Теникс Такси — заеднички стилски лист за внатрешните страници
   Бои/фонт усогласени со index.html
   ============================================================ */

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

:root {
  --gold: #C9A84C;
  --gold-light: #E2C27A;
  --gold-dark: #9A7A30;
  --red: #B00020;
  --red-dark: #7A0015;
  --black: #080808;
  --black-2: #111111;
  --black-3: #1A1A1A;
  --white: #F5F0E8;
  --white-dim: #B8B0A0;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--black); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }

a { color: var(--gold); }

.container { max-width: 1120px; margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: padding 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  padding: 10px 48px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.6), inset 0 -1px 0 rgba(201,168,76,0.2);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-logo-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #080808;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.nav-logo:hover .nav-logo-icon { transform: rotate(-5deg) scale(1.08); }
.nav-brand {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.nav-brand strong { font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--gold); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--gold); }

.nav-cta {
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  transition: background 0.25s, box-shadow 0.25s;
}
.nav-cta:hover {
  background: var(--red-dark);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(176,0,32,0.42);
}

/* ── HAMBURGER + MOBILE MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.35s var(--spring), opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 88px 28px 36px;
  z-index: 98;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.45s var(--spring), opacity 0.3s ease;
  pointer-events: none;
}
.nav-mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nav-mobile-menu ul { list-style: none; }
.nav-mobile-menu ul li { border-bottom: 1px solid rgba(201,168,76,0.07); }
.nav-mobile-menu ul a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 16px 0;
  transition: color 0.2s, padding-left 0.3s var(--spring);
}
.nav-mobile-menu ul a:hover { color: var(--gold); padding-left: 8px; }
.nav-mobile-cta { margin-top: 24px; }
.nav-mobile-cta .btn-primary { width: 100%; justify-content: center; }

/* ── BUTTONS ── */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.3s, border-color 0.25s;
}
.btn-primary { background: var(--red); color: var(--white); border: 1px solid var(--red); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(176,0,32,0.4); }
.btn-secondary { background: transparent; color: var(--gold); border: 1px solid rgba(201,168,76,0.4); }
.btn-secondary:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); transform: translateY(-2px); }
.btn-primary:active, .btn-secondary:active { transform: scale(0.97); }

/* Phone CTA pill */
.phone-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  background: var(--red);
  border-radius: var(--radius-pill);
  padding: 20px 52px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.3s;
}
.phone-cta:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(176,0,32,0.45); }
.phone-cta:active { transform: scale(0.97); }
.phone-cta-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.75);
}
.phone-cta-number {
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  padding: 168px 48px 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 40%, rgba(176,0,32,0.20) 0%, transparent 70%),
    radial-gradient(ellipse 45% 55% at 20% 75%, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
}
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--white-dim);
  max-width: 620px;
  margin-bottom: 32px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.breadcrumb a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ── EYEBROW / SECTION TITLES ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

/* ── SECTIONS ── */
.section { padding: 76px 48px; }
.section--alt { background: var(--black-2); border-top: 1px solid rgba(201,168,76,0.1); border-bottom: 1px solid rgba(201,168,76,0.1); }
.section h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 18px;
}
.section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 28px 0 10px;
}

/* ── PROSE (article body) ── */
.prose { font-size: 1.02rem; color: var(--white-dim); }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--white); font-weight: 700; }
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--white);
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}
.prose h3 { font-size: 1.22rem; color: var(--gold); margin: 28px 0 8px; }
.prose ul { margin: 0 0 18px; padding-left: 4px; list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.prose a { color: var(--gold); }
.lead {
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: 24px;
}

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--white-dim);
  font-size: 0.98rem;
}
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%23C9A84C' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--black-2);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.4s var(--spring), background 0.3s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(176,0,32,0.12);
  border: 1px solid rgba(176,0,32,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.card p { color: var(--white-dim); font-size: 0.9rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card:hover .card-link { gap: 10px; }

/* ── INFO BOX ── */
.info-box {
  background: var(--black-3);
  border: 1px solid rgba(201,168,76,0.18);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
}
.info-box strong { color: var(--gold); }

/* ── PRICE ROW ── */
.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}
.price-item {
  flex: 1;
  min-width: 180px;
  background: var(--black-2);
  border: 1px solid rgba(201,168,76,0.14);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.price-item .num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.price-item .lbl { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-dim); margin-top: 6px; display: block; }

/* ── FAQ (native details) ── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--black-2);
  border: 1px solid rgba(201,168,76,0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq details[open] { border-color: rgba(201,168,76,0.32); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.3s var(--spring);
}
.faq details[open] summary { color: var(--gold); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 20px; color: var(--white-dim); font-size: 0.95rem; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 60%, #D00030 100%);
  padding: 72px 48px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-band p { color: rgba(245,240,232,0.8); margin-bottom: 32px; }
.cta-band-phones { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(8,8,8,0.5);
  border: 1px solid rgba(245,240,232,0.3);
  border-radius: var(--radius-pill);
  color: var(--white);
  padding: 14px 28px;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.cta-phone-btn:hover { background: rgba(8,8,8,0.8); border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: var(--black-2);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 52px 48px 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  max-width: 1120px;
  margin-left: auto; margin-right: auto;
}
.footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 14px; }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand span { font-size: 1.2rem; color: var(--gold); font-weight: 700; letter-spacing: 0.06em; }
.footer-tagline { color: var(--white-dim); font-size: 0.84rem; max-width: 280px; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav-col h3 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-nav-col ul { list-style: none; }
.footer-nav-col li { margin-bottom: 9px; }
.footer-nav-col a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-nav-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 1120px;
  margin: 0 auto;
}
.footer-copy { color: rgba(184,176,160,0.72); font-size: 0.76rem; }
.footer-gold-line { width: 40px; height: 1px; background: var(--gold); opacity: 0.4; }

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--spring), transform 0.6s var(--spring);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── ARTICLE META ── */
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 14px;
}
.article-body { max-width: 760px; }
.article-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 8px;
}

/* ── DIVIDER ── */
.gold-divider { width: 56px; height: 2px; background: linear-gradient(90deg, var(--red), var(--gold)); margin: 0 0 28px; }
.gold-divider--center { margin-left: auto; margin-right: auto; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 22px; background: rgba(8,8,8,0.96); }
  nav.scrolled { padding: 14px 22px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: block; }
  .page-hero { padding: 140px 22px 56px; }
  .section { padding: 56px 22px; }
  .cta-band { padding: 56px 22px; }
  footer { padding: 40px 22px 24px; }
  .footer-top { flex-direction: column; gap: 32px; }
}
@media (max-width: 540px) {
  .phone-cta { width: 100%; padding: 18px 32px; }
  .price-item { min-width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  * { scroll-behavior: auto; }
}
