/* ===== TaxiRent.az · Premium UI (red / graphite / white) ===== */
:root{
  --bg:#f9fafb;
  --paper:#ffffff;
  --ink:#0f172a;
  --muted:#64748b;
  --primary:#111111;
  --accent:#e10600;
  --accent-contrast:#ffffff;
  --ring:rgba(225,6,0,.35);

  /* Radius system */
  --r-sm:12px;
  --r-md:16px;
  --r-lg:22px;

  /* Premium shadow system (soft, expensive) */
  --s-0:none;
  --s-1: 0 1px 2px rgba(15,23,42,.06), 0 6px 18px rgba(15,23,42,.06);
  --s-2: 0 2px 6px rgba(15,23,42,.08), 0 14px 34px rgba(15,23,42,.10);
  --s-3: 0 10px 30px rgba(15,23,42,.14), 0 30px 70px rgba(15,23,42,.16);

  /* Compatibility */
  --radius:16px;
  --shadow:var(--s-2);
}

*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{
  font:16px/1.5 "Inter",system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.container{
  max-width:1160px;
  margin:0 auto;
  padding:0 16px;      /* те же 32px, но без формулы 100%-32 */
  width:100%;
}

/* ===== NAV ===== */
.nav{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,.78);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid rgba(15,23,42,.08);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 0; flex-wrap:nowrap;
}
.brand{display:flex; align-items:center; gap:10px; min-width:0}
.brand-badge{
  width:64px; height:64px;
  background:transparent; border-radius:12px; box-shadow:none;
  display:grid; place-items:center;
}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.brand-title{
  font-weight:800;
  font-size:20px;
  color:var(--primary);
  white-space:nowrap;
}
.by-libra{
  font-size:12px;
  color:var(--accent);
  font-weight:700;
  letter-spacing:.2px;
  margin-top:2px;
}

/* соц иконки справа */
.nav-actions, .nav-social, .nav-socials{
  margin-left:auto; display:flex; align-items:center; gap:12px;
}
.nav-actions a, .nav-social a, .nav-socials a{
  width:36px; height:36px; flex:0 0 36px;
  display:grid; place-items:center;
  border:1px solid rgba(15,23,42,.10);
  border-radius:999px;
  background:#fff;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nav-actions a:hover, .nav-social a:hover, .nav-socials a:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.16);
  box-shadow:var(--s-1);
}
.nav-actions img, .nav-social img, .nav-socials img{
  width:20px; height:20px;
  border-radius:0 !important;
  filter:brightness(0) saturate(100%);
}

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:999px;
  border:1px solid transparent; font-weight:700; cursor:pointer;
  background:var(--accent); color:var(--accent-contrast);
  transition:transform .15s ease, filter .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover{filter:brightness(.96)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:none; box-shadow:0 0 0 3px var(--ring)}
.btn.secondary{
  background:#fff;
  color:var(--primary);
  border:1px solid rgba(15,23,42,.12);
}
.btn.secondary:hover{background:var(--accent); color:#fff; border-color:transparent}

/* ===== HERO ===== */
.hero-modern{
  border-radius:var(--r-lg);
  background:linear-gradient(135deg,#fff 0%,#f9fafb 100%);
  box-shadow:var(--s-2);
  padding:72px 24px;
  text-align:center;
}
.hero-modern h1{
  font-size:46px;
  line-height:1.05;
  font-weight:800;
  margin:0 0 12px;
  letter-spacing:-.02em;
}
.hero-modern p{color:var(--muted); font-size:18px; margin:0 0 32px}
.hero-modern .btn{font-size:17px; padding:14px 28px}

.hero-cta{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  justify-content:center;
}
.hero-cta .btn{width:200px; text-align:center}
.hero-cta .btn.secondary{
  background:#fff;
  color:var(--accent);
  border:1.8px solid var(--accent);
  font-weight:700;
  transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.hero-cta .btn.secondary:hover{background:var(--accent); color:#fff}

/* ===== HERO INFO BOXES ===== */
.hero-box{
  background:var(--paper);
  border-radius:var(--r-md);
  box-shadow:var(--s-1);
  padding:22px;
  display:grid;
  grid-template-columns:56px 1fr;
  gap:16px;
  align-items:center;
}
.hero-icon{
  width:56px; height:56px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--accent);
  color:#fff;
  font-size:26px;
}
.hero-box h3{margin:0 0 6px; font-size:20px}
.hero-box p{margin:0; color:var(--muted)}

/* ==========================================================
   TOOLBAR (Premium)
   ========================================================== */
.toolbar{ position:sticky; top:68px; z-index:9; padding:12px 0; }
.toolbar-premium{ margin-top: 18px; }

/* делаем тулбар более "дорогим": почти плоский */
.toolbar-premium .bar{
  display:grid;
  grid-template-columns: 220px 1fr auto;
  gap:14px;
  align-items:center;

  padding:14px;
  border-radius:var(--r-lg);
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: none;
}

/* City pill */
.city-pill{
  display:flex;
  align-items:center;
  gap:10px;
  height:52px;
  padding:0 14px;
  border-radius:999px;
  background:#0b1220;
  color:#fff;
  box-shadow: var(--s-2);
}
.city-pill .i{ display:flex; opacity:.92; }
.city-pill svg{ color:#fff; }
.city-pill select{
  appearance:none;
  background:transparent;
  border:0;
  outline:none;
  color:#fff;
  font-weight:800;
  letter-spacing:-.01em;
  font-size:16px;
  cursor:pointer;
  padding-right:18px;
}
.city-pill select option{ color:#111; }

/* Tariff cards */
.tariffs{
  display:flex;
  gap:10px;
  align-items:stretch;
  overflow-x:auto;
  padding-bottom:2px;
  scrollbar-width:none;
}
.tariffs::-webkit-scrollbar{ display:none; }

/* Rendered by JS */
.tariff-chip{
  flex:0 0 auto;
  width:118px;
  height:92px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:10px 8px;
  border-radius:var(--r-md);

  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:var(--s-1);

  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.tariff-chip:hover{
  transform: translateY(-1px);
  box-shadow:var(--s-2);
  border-color: rgba(15,23,42,.14);
}
.tariff-chip.is-active,
.tariff-chip.active{
  background:#0b1220;
  color:#fff;
  border-color: rgba(255,255,255,.12);
  box-shadow:var(--s-2);
}

/* IMPORTANT: no background behind car icon */
.tariff-chip .car{
  width:72px;
  height:48px;
  background:transparent !important;
  border-radius:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  flex:0 0 auto;
}
.tariff-chip .car img{
  width:72px;
  height:48px;
  object-fit:contain;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  transform:none;
}

/* label under icon */
.tariff-chip .label{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  line-height:1.15;
  min-width:0;
}
.tariff-chip .label b{
  font-size:15px;
  font-weight:800;
  letter-spacing:-.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
/* HIDE subtitle if it exists in HTML */
.tariff-chip .label span{ display:none !important; }

/* Search + Sort pills */
.tools{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
}

/* делаем почти плоскими — выглядит дороже */
.search-pill{
  display:flex;
  align-items:center;
  gap:10px;
  height:52px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow:none;
  min-width:320px;
}
.search-pill .i{ display:flex; color: rgba(15,23,42,.60); }
.search-pill input{
  border:0;
  outline:none;
  width:100%;
  min-width:0;
  font-size:15px;
}
.search-pill input::placeholder{ color: rgba(15,23,42,.45); }

.sort-pill{
  display:flex;
  align-items:center;
  gap:10px;
  height:52px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow:none;
}
.sort-pill .i{ display:flex; color: rgba(15,23,42,.60); }
.sort-pill select{
  border:0;
  outline:none;
  background: transparent;
  font-weight:750;
  font-size:14px;
  cursor:pointer;
}

/* Responsive for toolbar */
@media (max-width: 980px){
  .toolbar{ position:static; top:auto; z-index:auto; padding:10px 0; }
  .toolbar-premium .bar{ grid-template-columns:1fr; }
  .tools{ flex-direction:column; align-items:stretch; }
  .search-pill{ min-width:0; width:100%; }
  .sort-pill{ width:100%; }
}

/* ==========================================================
   Backward compatibility (old toolbar classes)
   ========================================================== */
.city{
  display:flex; gap:8px; align-items:center; background:#0f172a; color:#fff;
  padding:10px 14px; border-radius:999px;
}
.city select{background:transparent; color:#fff; border:none; outline:none; font-weight:700; appearance:none}

.chips{display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{
  white-space:nowrap; display:inline-flex; align-items:center;
  padding:9px 14px; border-radius:12px; background:#fff; border:1px solid #e5e7eb; cursor:pointer;
  transition:.25s ease;
}
.chip:hover{border-color:#d1d5db}
.chip.active{background:var(--accent); color:#fff; border-color:var(--accent)}

.input{
  display:flex; align-items:center; gap:8px; background:#fff;
  border:1px solid #e5e7eb; border-radius:999px; padding:8px 14px;
}
.input input{border:none; outline:none; min-width:0; font-size:15px}
.select{background:#fff; border:1px solid #e5e7eb; border-radius:999px; padding:8px 14px; font-size:15px}

/* ===== GRID & CARDS ===== */
.grid{margin:32px 0 48px; display:grid; gap:20px; grid-template-columns:1fr}
@media (min-width:700px){ .grid{grid-template-columns:1fr 1fr} }
@media (min-width:1040px){ .grid{grid-template-columns:1fr 1fr 1fr} }

.card{
  background:var(--paper);
  border-radius:var(--r-md);
  box-shadow:var(--s-1);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--s-2);
}
.thumb img{
  object-fit:cover;
  height:220px;
  width:100%;
  border-radius:var(--r-md) var(--r-md) 0 0;
}
.meta{padding:18px 18px 20px; display:grid; gap:10px}
.title{
  font-weight:800;
  font-size:20px;
  letter-spacing:-.01em;
}

/* теги в карточке */
.tags span{white-space:nowrap}
.tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
}

.price{margin-top:8px; font-weight:900; color:var(--accent); font-size:18px}

.badge{
  display:inline-flex; align-items:center; gap:6px; padding:6px 10px;
  border-radius:999px; background:#ecfdf5; color:#14532d; font-weight:800; font-size:12.5px;
}
.empty{text-align:center; color:var(--muted); padding:28px; font-size:15px}

/* ==========================================================
   NEW: Card v2 (rows with icons + plans)
   ========================================================== */
.card.card-v2 .meta{ gap:12px; }

.card-rows{
  display:grid;
  gap:0;
  border-top:1px solid #eef2f7;
  border-bottom:1px solid #eef2f7;
  margin-top:2px;
}
.info-row{
  display:grid;
  grid-template-columns:40px 1fr;
  gap:12px;
  align-items:center;
  padding:12px 0;
}
.info-row + .info-row{ border-top:1px solid #eef2f7; }
.info-ic{
  width:32px;
  height:32px;
  border-radius:999px;
  background:#f1f5f9;
  border:1px solid rgba(15,23,42,.10);
  display:grid;
  place-items:center;
  font-size:16px;
  line-height:1;
  color:#0f172a;
}
.info-tx{
  color:#111827;
  font-size:14px;
  font-weight:650;
  line-height:1.25;
}

/* plans row */
.plans{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:4px;
}
.plan{
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  border-radius:var(--r-md);
  padding:10px 12px;
  box-shadow:none;
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.plan:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.18);
  box-shadow:var(--s-1);
}
.plan-label{
  font-size:12.5px;
  color:var(--muted);
  font-weight:750;
  margin-bottom:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.plan-price{
  font-size:14px;
  font-weight:900;
  color:#0f172a;
  white-space:nowrap;
}

/* action buttons */
.card-actions{
  display:flex;
  gap:10px;
  margin-top:10px;
}
.card-actions .btn{
  flex:1;
  padding:11px 0;
  font-size:15px;
}
.card-actions .btn.secondary{
  background:#f8fafc;
  border-color:rgba(15,23,42,.12);
  color:#111827;
}
.card-actions .btn.secondary:hover{
  background:var(--accent);
  color:#fff;
  border-color:transparent;
}

/* ==========================================================
   MODAL
   ========================================================== */
.modal{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  background:rgba(2,6,23,.6);
  backdrop-filter:blur(6px);
  z-index:9999;
}
.modal.open{display:flex}
.sheet{
  width:min(720px,95%);
  background:var(--paper);
  border-radius:var(--r-lg);
  box-shadow:var(--s-3);
  padding:24px;
  animation:fadeIn .28s ease;
}
@keyframes fadeIn{
  from{opacity:0; transform:translateY(20px)}
  to{opacity:1; transform:translateY(0)}
}
.sheet-head{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;
}
.sheet-grid{display:grid; gap:16px; grid-template-columns:1fr}
@media (min-width:860px){
  .sheet-grid{grid-template-columns:1.2fr 1fr}
}
.sheet img{border-radius:var(--r-sm)}
.cta{display:grid; gap:10px; margin-top:12px}
.cta a{display:inline-flex; justify-content:center; padding:12px}

/* ===== GALLERY inside modal ===== */
.gallery{
  position:relative;
  border-radius:var(--r-sm);
  overflow:hidden;
  background:#020617;
}
.gallery img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* стрелки */
.gallery-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border-radius:999px;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.82);
  color:#fff;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(15,23,42,.55);
  font-size:20px;
  line-height:1;
  padding:0;
  z-index:2;
}
.gallery-nav.prev{left:10px;}
.gallery-nav.next{right:10px;}
.gallery-nav:hover{
  background:rgba(15,23,42,.95);
  transform:translateY(-50%) translateY(-1px);
}
.gallery-nav:active{
  transform:translateY(-50%);
  box-shadow:0 6px 18px rgba(15,23,42,.4);
}

/* точки */
.gallery-dots{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:10px;
}
.gallery-dots .dot{
  width:7px;
  height:7px;
  border-radius:999px;
  background:rgba(148,163,184,.6);
}
.gallery-dots .dot.active{
  width:18px;
  background:var(--accent);
}

/* ===== MOBILE POLISH ===== */
@media (max-width:768px){
  .nav-inner{flex-direction:row !important; align-items:center}

  .hero-modern{padding:48px 20px}
  .hero-modern h1{font-size:32px}

  .grid{grid-template-columns:1fr; gap:16px}
  .card img{height:200px}

  .modal{align-items:flex-end}
  .sheet{
    width:100%;
    max-width:none;
    padding:16px 16px 20px;
    border-radius:var(--r-lg) var(--r-lg) 0 0;
    animation:slideUp .28s ease;
  }
  @keyframes slideUp{
    from{opacity:0; transform:translateY(40px)}
    to{opacity:1; transform:translateY(0)}
  }

  .plans{gap:8px}
  .plan{padding:9px 10px}
  .plan-price{font-size:13.5px}
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion:reduce){
  *{transition:none !important; animation:none !important}
}

/* ===== scroll & performance tweaks ===== */
.modal{ overscroll-behavior: contain; }
.modal-open{ overflow:hidden; }
.sheet{
  max-height: calc(100vh - 24px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.toolbar{
  will-change: transform;
  transform: translateZ(0);
}
.toolbar-premium .bar{
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.86);
}

/* ==========================================================
   SPECIAL OFFERS (Xüsusi təkliflər) — FINAL (2x2, centered, small)
   ========================================================== */

/* Заголовок по центру */
.specials-head{
  display:block;
  text-align:center;
  margin:0 0 10px;
}
.specials-head h2{
  margin:0;
}
.specials-head p{
  margin:6px 0 0;
}

/* 2x2 маленькие квадраты и строго по центру */
.specials-grid{
  --tile: 160px;                 /* <- размер квадрата (меняй) */
  display:grid;
  grid-template-columns: repeat(2, var(--tile));
  gap:12px;
  justify-content:center;        /* центрируем сетку */
  margin:0 auto;
  padding:0;
}

/* Квадрат */
.special-card{
  width:var(--tile);
  aspect-ratio:1 / 1;
  border-radius:16px;
  overflow:hidden;
  position:relative;
  display:block;

  background:#0b1220;
  border:1px solid rgba(15,23,42,.08);
  box-shadow: var(--s-1);
}

/* Фон */
.special-card .bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:none;
}

/* Затемнение */
.special-card .overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(2,6,23,.15) 0%, rgba(2,6,23,.75) 100%);
}

/* Контент снизу, компактно */
.special-card .content{
  position:absolute;
  inset:auto 0 0 0;
  padding:12px;
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* Бейдж */
.special-card .badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  font-weight:800;
  font-size:11px;
}
.special-card .badge .dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background:var(--accent);
}

/* Заголовок внутри квадрата */
.special-card h3{
  margin:0;
  font-size:13px;
  line-height:1.15;
  font-weight:900;
}

/* Описание скрываем (чтобы не было каши) */
.special-card p{
  display:none;
}

/* CTA */
.special-card .cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  opacity:.95;
}

/* Чуть меньше на очень маленьких экранах */
@media (max-width: 380px){
  .specials-grid{ --tile: 118px; }
}

/* SEO pack */
.seo-pack{
  max-width: 900px;
  margin: 22px auto 0;
  padding: 14px 14px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  background: #fff;
}

.seo-lead{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.seo-details{
  margin-top: 10px;
}

.seo-details > summary{
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  user-select: none;
}

.seo-details > summary::-webkit-details-marker{ display:none; }

.seo-details > summary:after{
  content:"";
  display:inline-block;
  width: 8px; height: 8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 10px;
  opacity: .7;
}

.seo-details[open] > summary:after{
  transform: rotate(-135deg);
}

.seo-body{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.seo-queries{
  margin-top: 10px;
  font-style: italic;
  opacity: .9;
}

/* FAQ pack */
.faq-pack{
  margin-top: 18px;
  padding-top: 10px;
}

.faq-pack h2{
  margin: 0 0 10px;
}

.faq-item{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 10px 0;
  background: #fff;
}

.faq-item > summary{
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item > summary::-webkit-details-marker{ display:none; }

.faq-item p{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Mobile: ещё компактнее */
@media (max-width: 520px){
  .seo-pack{ padding: 12px; }
  .seo-lead, .seo-body, .faq-item p{ font-size: 14px; }
}

/* visually subtle SEO note */
.seo-hidden-ui{
  max-width: 900px;
  margin: 18px auto 0;
  padding: 0;
}

.seo-line{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  opacity: .9;
}

.seo-mini{
  margin-top: 6px;
}

.seo-mini > summary{
  cursor:pointer;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  list-style:none;
  display:inline-flex;
  gap:8px;
  align-items:center;
  user-select:none;
}

.seo-mini > summary::-webkit-details-marker{display:none;}

.seo-mini > summary:after{
  content:"";
  width:7px;height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform: rotate(45deg);
  opacity:.7;
}

.seo-mini[open] > summary:after{ transform: rotate(-135deg); }

.seo-mini-body{
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.seo-queries{
  margin-top: 8px;
  font-style: italic;
  opacity: .85;
}

/* screen-reader only */
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* =========================
   SR-ONLY (hidden but accessible)
   ========================= */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* =========================
   Specials (small squares, centered 2x2)
   ========================= */
.specials-wrap{
  margin: 18px 0 0;
}
.specials-head{
  text-align:center;
  margin: 0 0 12px;
}
.specials-head h2{
  margin:0;
}
.specials-grid{
  --tile: 152px;                     /* размер квадрата (меняй тут) */
  display:grid;
  grid-template-columns: repeat(2, var(--tile));
  gap: 12px;
  justify-content: center;
  margin-inline: auto;
}

.special-card{
  width: var(--tile);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow:hidden;
  position:relative;
  display:block;
  background:#0b1220;
  border:1px solid rgba(15,23,42,.10);
  box-shadow: var(--s-1);
  transition: transform .15s ease, box-shadow .15s ease;
}
.special-card:hover{
  transform: translateY(-1px);
  box-shadow: var(--s-2);
}
.special-card .bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}
.special-card .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(2,6,23,.25) 0%, rgba(2,6,23,.78) 100%);
}
.special-card .content{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:12px;
  color:#fff;
  z-index:2;
}
.special-card h3{
  margin:0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-shadow: 0 8px 18px rgba(0,0,0,.35);
}

/* На очень маленьких экранах делаем меньше */
@media (max-width: 380px){
  .specials-grid{ --tile: 140px; gap:10px; }
  .special-card h3{ font-size: 13px; }
}

/* =========================
   Footer (brand red) — MOBILE FRIENDLY
   ========================= */
.site-footer{
  margin-top: 48px;
  color: #fff;

  /* красивый премиум-градиент */
  background: linear-gradient(180deg, var(--accent) 0%, #b50400 100%);
}



/* общий контейнер */
.footer-inner{
  padding: 28px 0 22px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* верхняя “карточка” бренда */
.footer-brand{
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 16px;
}

.footer-logo{
  display:flex;
  align-items:center;
  gap: 10px;
}
.footer-logo img{
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  padding: 8px 10px;
}

/* описание */
.footer-desc{
  margin: 12px 0 14px;
  color: rgba(255,255,255,.92);
  line-height: 1.5;
  font-size: 14px;
}

/* контакты */
.footer-contacts{
  display:grid;
  gap: 8px;
}
.footer-contacts .footer-link{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* ссылки */
.footer-cols{
  display:grid;
  grid-template-columns: 1fr 1fr; /* мобила: 2 колонки */
  gap: 12px;
}

.footer-col{
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 14px;
}

.footer-col h3{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2px;
  opacity: .95;
}

/* делаем “вертикальные” ссылки */
.footer-link{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 8px 0;
  color: rgba(255,255,255,.92);
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
  padding: 6px 8px;
  border-radius: 12px;
  transition: background .15s ease, transform .15s ease, opacity .15s ease;
}
.footer-link:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
  opacity: 1;
}

/* иконки через эмодзи (без новых файлов) */
.footer-link::before{
  content: "•";
  display:inline-flex;
  width: 18px;
  justify-content:center;
  opacity: .9;
}

/* специальные иконки для контактов */
.footer-contacts a:nth-child(1)::before{ content:"💬"; }
.footer-contacts a:nth-child(2)::before{ content:"📷"; }

/* нижняя полоска */
.footer-bottom{
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.14);
}
.footer-bottom-inner{
  padding: 14px 0;
  display:flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align:center;
  font-weight: 900;
}
.footer-mini{
  opacity: .92;
  font-weight: 900;
}

/* планшет+ : 3 колонки ссылок */
@media (min-width: 780px){
  .footer-inner{
    grid-template-columns: 1.1fr 1fr;
    gap: 18px;
    align-items:start;
  }
  .footer-cols{
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom-inner{
    flex-direction: row;
    justify-content: space-between;
    text-align:left;
  }
}

/* ===== Footer: hide logo ===== */
.site-footer .footer-logo,
.site-footer .logo,
.site-footer img[alt*="TaxiRent"]{
  display: none !important;
}