:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #111115;
  --bg-card: #16161b;
  --bg-card-hover: #1e1e25;
  --border-color: #292933;
  --text-main: #f3f3f5;
  --text-muted: #9ca3af;
  --accent: #e53935;
  --accent-hover: #ff4438;
  --accent-glow: rgba(229, 57, 53, 0.3);
  --success: #2ed573;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-accent {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #e84118 100%);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: #3b465e;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 16px;
  font-size: 13px;
  width: 100%;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: #fff;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(255, 71, 87, 0.12);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: var(--accent);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 71, 87, 0.08) 0%, transparent 60%);
}

.hero-content {
  max-width: 780px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* Services */
.services {
  background-color: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #3f4c66;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.service-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-short {
  font-size: 14px;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.service-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.service-time {
  font-size: 13px;
  color: var(--text-muted);
}

/* Booking Section */
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.booking-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.booking-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
}

.perk-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: rgba(46, 213, 115, 0.15);
  color: var(--success);
  border-radius: 50%;
  font-weight: 700;
}

.booking-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 14px;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(46, 213, 115, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
}

.form-status.error {
  display: block;
  background-color: rgba(255, 71, 87, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* News Section */
.news {
  background-color: var(--bg-secondary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.news-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(255, 71, 87, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-text {
  font-size: 14px;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 16px;
}

.news-date {
  font-size: 12px;
  color: #64748b;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--accent);
}

.gallery-placeholder {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.gallery-icon {
  font-size: 28px;
}

.gallery-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background-color: #06080b;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 24px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 20px;
  max-width: 340px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.social-link {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-link:hover, .link-accent:hover {
  color: #ff6b6b;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-contact {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-contact a, .footer-copy a {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: rgba(229, 57, 53, 0.55);
  text-underline-offset: 3px;
  transition: var(--transition);
}

.footer-contact a:hover, .footer-copy a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1a202c;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

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

.modal-dialog {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 600px;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-main);
}

/* Responsive & AutopointPlus Brand Additions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
  position: relative;
  z-index: 10;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.flag-svg {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: block;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.8px;
  font-style: italic;
}

.brand-wordmark .white {
  color: #f3f3f5;
}

.brand-wordmark .red {
  color: var(--accent);
}

.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(229, 57, 53, 0.14), transparent 50%),
              linear-gradient(125deg, #0a0a0c 72%, rgba(229, 57, 53, 0.18) 72.3%, rgba(229, 57, 53, 0.18) 75%, #0a0a0c 75.3%, rgba(229, 57, 53, 0.08) 77%, #0a0a0c 77.3%);
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cat-tab {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cat-tab.active, .cat-tab:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 860px) {
  .hero-title {
    font-size: 34px;
  }
  .booking-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
}

.service-icon svg {
  vertical-align: middle;
}

.hero-hud, .hero-visual {
  display: none;
}

.booking-req-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: -4px 0 14px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
}

.gallery-photo {
  position: relative;
}

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

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(6, 6, 8, 0.92), rgba(6, 6, 8, 0));
}

.gallery-caption .gallery-title {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .container {
    padding: 0 14px;
  }
  .brand-wordmark {
    font-size: 15px;
  }
  .brand-logo svg {
    width: 110px;
  }
  .lang-btn {
    padding: 5px 6px;
    font-size: 11px;
    gap: 3px;
  }
  .flag-svg {
    width: 14px;
    height: 10px;
  }
}
