:root {
  --red: #ef2d32;
  --red-dark: #bc1118;
  --blue: #47bceb;
  --blue-deep: #0477b7;
  --yellow: #ffe34e;
  --ink: #11151d;
  --muted: #687081;
  --line: #e7e9ee;
  --paper: #ffffff;
  --wash: #f5f8fb;
  --shadow: 0 20px 50px rgba(17, 21, 29, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: "Inter", Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 21, 29, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 68px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(17, 21, 29, 0.18));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-weight: 900;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: #29313d;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.header-action,
.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 24px rgba(239, 45, 50, 0.25);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 66px));
  display: grid;
  align-items: center;
  padding: clamp(80px, 12vw, 132px) clamp(20px, 6vw, 84px);
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-carwash.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 20, 0.94) 0%, rgba(8, 12, 20, 0.74) 42%, rgba(8, 12, 20, 0.2) 100%),
    radial-gradient(circle at 20% 20%, rgba(71, 188, 235, 0.3), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(58px, 10vw, 128px);
  line-height: 0.9;
  text-shadow: 0 8px 0 rgba(239, 45, 50, 0.9);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.05;
}

.hero-copy {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-ticket {
  position: absolute;
  right: clamp(18px, 5vw, 74px);
  bottom: 34px;
  z-index: 2;
  width: min(310px, calc(100% - 36px));
  padding: 22px;
  color: var(--ink);
  background: var(--yellow);
  border: 6px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-ticket span {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-ticket strong {
  display: block;
  color: var(--red);
  font-family: "Anton", Impact, sans-serif;
  font-size: 76px;
  line-height: 0.9;
}

.hero-ticket p {
  margin-bottom: 0;
  font-weight: 900;
}

.promo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background: var(--red);
  border-block: 8px solid #11151d;
}

.promo-strip span {
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 2px solid rgba(255, 255, 255, 0.35);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  scroll-margin-top: 100px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 280px;
  padding: 22px;
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.service-card-red {
  background: var(--red);
}

.service-card-blue {
  background: var(--blue-deep);
}

.service-card-photo {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.92)),
    url("assets/hero-carwash.png") center / cover;
}

.service-card-photo p {
  color: #394252;
}

.service-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 60px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.package-section {
  background:
    linear-gradient(135deg, rgba(71, 188, 235, 0.18), rgba(239, 45, 50, 0.12)),
    #fff;
}

.branch-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.branch-tabs button {
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.branch-tabs button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.branch-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--yellow);
  border-color: var(--ink);
}

.package-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.package-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-message {
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast-message.hiding {
  animation: fadeOutDown 0.3s ease forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeOutDown {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(20px) scale(0.9); }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(17, 21, 29, 0.95);
  backdrop-filter: blur(10px);
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px clamp(16px, 5vw, 40px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.cookie-content strong {
  color: #fff;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-banner.hiding {
  animation: fadeOutDown 0.4s ease forwards;
}

.package-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.package-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 21, 29, 0.08);
}

.package-card.featured {
  color: #fff;
  background: var(--ink);
}

.package-card .tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.package-card h3 {
  font-size: 28px;
}

.package-card strong {
  display: block;
  margin: 10px 0 18px;
  color: var(--red);
  font-family: "Anton", Impact, sans-serif;
  font-size: 72px;
  line-height: 0.9;
}

.package-card.featured strong {
  color: var(--yellow);
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  padding-left: 18px;
  position: relative;
  color: currentColor;
  font-weight: 700;
}

.package-card li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: ">";
}

.locations {
  background: var(--blue);
}

.invoice-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  padding: clamp(62px, 8vw, 116px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(17, 21, 29, 0.94), rgba(17, 21, 29, 0.82)),
    url("assets/hero-carwash.png") center / cover;
  color: #fff;
}

.invoice-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.65;
}

.invoice-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.invoice-rules article {
  min-height: 128px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.invoice-rules strong,
.invoice-rules span {
  display: block;
}

.invoice-rules strong {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 15px;
  text-transform: uppercase;
}

.invoice-rules span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.invoice-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border: 5px solid var(--yellow);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.invoice-card label {
  display: grid;
  gap: 8px;
  color: #303746;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-card input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

.invoice-card button {
  min-height: 48px;
  margin-top: 4px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.locations {
  background: var(--blue);
}

.locations .eyebrow {
  color: var(--red-dark);
}

.locations-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.map-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 21, 29, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.map-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.location-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.location-list article {
  display: grid;
  gap: 24px;
  min-height: 200px;
  padding: 20px;
  color: #fff;
  background: rgba(17, 21, 29, 0.88);
  border: 4px solid #fff;
  border-radius: 8px;
}

.location-list article > span {
  font-size: 24px;
  font-weight: 900;
}

.location-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.location-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.location-meta div {
  display: grid;
  gap: 4px;
}

.location-meta dt,
.location-meta dd {
  margin: 0;
}

.location-meta dt {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-meta dd {
  display: grid;
  gap: 2px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.location-meta dd span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.location-list button,
.map-link {
  align-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.system-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(62px, 8vw, 116px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(239, 45, 50, 0.86), rgba(4, 119, 183, 0.74)),
    #11151d;
}

.system-section p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
}

.system-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.system-board article {
  min-height: 154px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.system-board strong,
.system-board span {
  display: block;
}

.system-board strong {
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 24px;
}

.system-board span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.platform-section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.platform-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.platform-flow article {
  min-height: 240px;
  padding: 24px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-top: 8px solid var(--red);
  border-radius: 8px;
}

.platform-flow span,
.platform-flow strong {
  display: block;
}

.platform-flow span {
  margin-bottom: 42px;
  color: var(--blue-deep);
  font-family: "Anton", Impact, sans-serif;
  font-size: 52px;
  line-height: 0.9;
}

.platform-flow strong {
  margin-bottom: 12px;
  font-size: 24px;
}

.platform-flow p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.contact-band p:not(.eyebrow) {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

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

  .promo-strip,
  .service-grid,
  .location-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-grid,
  .invoice-section,
  .system-section,
  .locations-layout {
    grid-template-columns: 1fr;
  }

  .invoice-rules,
  .platform-flow {
    grid-template-columns: 1fr;
  }

  .hero-ticket {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 36px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand-logo {
    width: 58px;
    height: 46px;
  }

  .header-action {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(48px, 18vw, 72px);
  }

  .promo-strip,
  .service-grid,
  .location-list,
  .system-board {
    grid-template-columns: 1fr;
  }

  .promo-strip span {
    min-height: 62px;
  }

  .section-heading.compact,
  .contact-band,
  .site-footer {
    display: block;
  }

  .contact-band .btn {
    width: 100%;
    margin-top: 18px;
  }
}
