/* CoolCar — детейлинг студия */
:root {
  --bg-deep: #050506;
  --bg-elevated: #0c0c10;
  --bg-card: #12121a;
  --border: rgba(255, 255, 255, 0.07);
  --text: #ececf0;
  --text-muted: #8b8b9a;
  --accent: #d4a853;
  --accent-dim: rgba(212, 168, 83, 0.14);
  --accent-glow: rgba(212, 168, 83, 0.38);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 16px;
  --max: 1320px;
  --section-y: clamp(4rem, 10vw, 7.5rem);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9999;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  opacity: 0.88;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 6, 0.94) 0%,
    rgba(5, 5, 6, 0.78) 65%,
    transparent 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  opacity: 1;
  color: var(--text);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav a {
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--text);
  opacity: 1;
}

.nav-cta {
  color: var(--accent) !important;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 1.5rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img,
.hero-bg .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.02);
}

.hero-bg .hero-video {
  display: block;
  pointer-events: none;
  background: #0a0a0c;
}

/* Мобильные: увеличенный холст и scale — видео визуально меньше, обрезка внутри .hero-bg */
@media (max-width: 720px) {
  .hero {
    padding: 5.25rem 1.15rem 0;
  }

  .hero-bg img,
  .hero-bg .hero-video {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 132%;
    height: 132%;
    max-width: none;
    max-height: none;
    transform: translate(-50%, -50%) scale(0.76);
    object-fit: cover;
    object-position: center 38%;
    filter: saturate(1.08) contrast(1.06);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4.75rem 1rem 0;
  }

  .hero-bg img,
  .hero-bg .hero-video {
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%) scale(0.715);
    object-position: center 36%;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
  }

  .hero-lead {
    font-size: clamp(0.98rem, 4vw, 1.12rem);
  }

  .hero-strip-inner {
    padding: 1.1rem 1rem;
    gap: 1rem 1.25rem;
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      160deg,
      rgba(5, 5, 6, 0.45) 0%,
      rgba(5, 5, 6, 0.72) 38%,
      rgba(5, 5, 6, 0.94) 100%
    ),
    radial-gradient(
      ellipse 90% 55% at 75% 15%,
      rgba(212, 168, 83, 0.14) 0%,
      transparent 52%
    );
}

.hero-main {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding-bottom: 2.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(212, 168, 83, 0.28);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 6.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1.35rem;
  max-width: 14ch;
}

.hero-lead {
  color: rgba(232, 232, 236, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 38ch;
  margin: 0 0 2.25rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.85rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #e8c06f 0%, #b8892e 100%);
  color: #141008;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 10px 40px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 14px 48px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  opacity: 1;
}

.btn-lg {
  padding: 1.1rem 2.1rem;
  font-size: 1.02rem;
}

.hero-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 11, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
}

@media (min-width: 768px) {
  .hero-strip-inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 1.5rem;
  }
}

.hero-strip-credit {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.38);
}

.hero-strip-credit a {
  color: rgba(255, 255, 255, 0.5);
}

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  font-weight: 700;
  color: var(--text);
  display: block;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.section {
  padding: var(--section-y) 1.5rem;
}

.section--tight-top {
  padding-top: calc(var(--section-y) * 0.65);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 48rem;
  margin-bottom: 2.75rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.section-intro {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
  max-width: 40ch;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.about-text p {
  color: var(--text-muted);
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-visual {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 5 / 4;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 5, 6, 0.55) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.pillars {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.pillars-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.pillar-card {
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-height: 100%;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.services {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-elevated) 100%);
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.service-card {
  padding: 1.75rem 1.85rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  border-color: rgba(212, 168, 83, 0.22);
  box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.06);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: -0.02em;
}

.service-card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  flex-shrink: 0;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.process {
  border-block: 1px solid var(--border);
  background: var(--bg-deep);
}

.process-grid {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.process-step {
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(18, 18, 26, 0.6);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: rgba(212, 168, 83, 0.35);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

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

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: var(--bg-card);
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  text-align: left;
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

@media (min-width: 768px) {
  .gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 2.2 / 1;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    to top,
    rgba(212, 168, 83, 0.22) 0%,
    transparent 55%
  );
  transition: opacity 0.3s;
  pointer-events: none;
}

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

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 2rem;
  background: rgba(5, 5, 6, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.gallery-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--radius) - 4px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.gallery-lightbox__caption {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 42ch;
  line-height: 1.45;
}

.gallery-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(18, 18, 26, 0.85);
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.gallery-lightbox__close:hover {
  border-color: rgba(212, 168, 83, 0.45);
  background: rgba(30, 30, 40, 0.95);
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(18, 18, 26, 0.75);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.2rem;
  transition: border-color 0.2s, background 0.2s;
}

.gallery-lightbox__nav:hover {
  border-color: rgba(212, 168, 83, 0.45);
  background: rgba(30, 30, 40, 0.9);
}

.gallery-lightbox__prev {
  left: 0.5rem;
}

.gallery-lightbox__next {
  right: 0.5rem;
}

@media (min-width: 768px) {
  .gallery-lightbox {
    padding: 2rem 5rem;
  }

  .gallery-lightbox__prev {
    left: 1.25rem;
  }

  .gallery-lightbox__next {
    right: 1.25rem;
  }

  .gallery-lightbox__nav {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 2.25rem;
  }
}

.faq {
  padding-bottom: calc(var(--section-y) * 1.1);
}

.faq-list {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-list details {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

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

.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-body {
  padding: 0 1.35rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.contacts {
  padding-bottom: calc(var(--section-y) * 1.05);
}

.contact-card {
  display: grid;
  gap: 2rem;
  padding: 2.25rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(
    145deg,
    rgba(212, 168, 83, 0.1) 0%,
    var(--bg-card) 42%
  );
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2.75rem 3.25rem;
  }
}

.contact-phone {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-address {
  color: var(--text-muted);
  margin: 0;
  max-width: 34ch;
  font-size: 1.02rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer {
  padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer-col p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Онлайн-запись */
.booking-section {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.booking-form {
  position: relative;
  max-width: 640px;
}

.booking-grid {
  display: grid;
  gap: 1rem 1.25rem;
}

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

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.booking-field--full {
  grid-column: 1 / -1;
}

.booking-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.booking-label abbr {
  text-decoration: none;
  color: var(--accent);
}

.booking-input,
.booking-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.booking-input:focus,
.booking-textarea:focus {
  outline: none;
  border-color: rgba(212, 168, 83, 0.45);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* Выпадающие списки — тот же «карточный» вид, что у input (марка, модель, услуга, время) */
select.booking-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: 1.45;
  min-height: 3.05rem;
  padding-inline-end: 2.75rem;
  background-color: var(--bg-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%238b8b9a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px 9px;
}

select.booking-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: var(--text-muted);
}

select.booking-input option {
  background-color: var(--bg-card);
  color: var(--text);
}

/* Одна высота строки с select (имя, телефон, дата, время вручную) */
input.booking-input {
  min-height: 3.05rem;
}

.booking-textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.5;
}

.booking-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.booking-actions {
  margin-top: 0.5rem;
}

.booking-attribution {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  max-width: 640px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.booking-attribution__link {
  color: rgba(200, 200, 210, 0.88);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(212, 168, 83, 0.28);
  text-underline-offset: 0.18em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.booking-attribution__link:hover {
  color: var(--accent);
  text-decoration-color: rgba(212, 168, 83, 0.5);
  opacity: 1;
}

.booking-feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.98rem;
  line-height: 1.5;
}

.booking-feedback--ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.booking-feedback--err {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.header-phone {
  display: none;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-phone {
    display: inline-block;
  }
}
