/* ===== Design tokens ===== */
:root {
  --background: #0a0d14;
  --foreground: #f4f6fb;
  --muted-foreground: #9aa3b2;
  --card: #131826;
  --card-50: rgba(19, 24, 38, 0.5);
  --border: #1f2737;
  --border-60: rgba(31, 39, 55, 0.6);
  --primary: #2f7dff;
  --primary-foreground: #ffffff;
  --accent: #ff8a1f;
  --accent-foreground: #1a0e02;
  --destructive: #e63946;
  --destructive-foreground: #fff;
  --success: #22c55e;
  --secondary: #111623;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
.hidden { display: none !important; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }
svg { width: 1.25rem; height: 1.25rem; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-destructive { color: var(--destructive); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Alert bar ===== */
.alert-bar {
  background: linear-gradient(90deg, var(--destructive), var(--accent), var(--destructive));
  color: var(--accent-foreground);
}
.alert-bar__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
.alert-bar__inner .icon { width: 1rem; height: 1rem; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border-60);
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(16px);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand__logo {
  height: 44px; width: 44px; border-radius: 8px; background: #000;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 8px 24px rgba(47, 125, 255, 0.3);
}
.brand__logo img { height: 100%; width: 100%; object-fit: contain; }
.brand__text { display: none; flex-direction: column; }
.brand__name { font-size: 1rem; font-weight: 700; line-height: 1.1; }
.brand__tag { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--muted-foreground); }

.nav__links { display: none; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); transition: color .2s; }
.nav__links a:hover { color: var(--foreground); }

.nav__toggle { display: inline-flex; }
.nav__toggle svg { width: 1.5rem; height: 1.5rem; }

.nav__mobile {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1rem 1.5rem; border-top: 1px solid var(--border);
}
.nav__mobile a { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }

@media (min-width: 640px) { .brand__text { display: flex; } }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 8px; font-size: 0.875rem; font-weight: 600;
  transition: all .2s; border: 1px solid transparent; cursor: pointer;
}
.btn--accent { background: var(--accent); color: var(--accent-foreground); }
.btn--accent:hover { filter: brightness(1.1); box-shadow: 0 12px 30px rgba(255, 138, 31, .4); }
.btn--outline { border-color: rgba(47, 125, 255, .4); background: rgba(47, 125, 255, .1); color: var(--foreground); }
.btn--outline:hover { background: rgba(47, 125, 255, .2); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn--full { justify-content: center; }
.btn .icon, .btn svg { width: 1rem; height: 1rem; }
.btn--lg .icon, .btn--lg svg { width: 1.25rem; height: 1.25rem; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay-x { position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--background) 0%, rgba(10,13,20,.85) 50%, rgba(10,13,20,.3) 100%); }
.hero__overlay-y { position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--background) 0%, transparent 50%, rgba(10,13,20,.3) 100%); }
.glow { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(120px); }
.glow--primary { left: -128px; top: 33%; width: 384px; height: 384px; background: rgba(47, 125, 255, .3); }
.glow--accent { right: -128px; bottom: 40px; width: 384px; height: 384px; background: rgba(255, 138, 31, .2); }
.hero__content { position: relative; z-index: 10; max-width: 1200px; width: 100%; margin: 0 auto; padding: 6rem 1.5rem; }
.hero__content > * { max-width: 48rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 999px;
  border: 1px solid; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.5rem;
}
.badge .icon { width: 1rem; height: 1rem; }
.badge--primary { border-color: rgba(47,125,255,.4); background: rgba(47,125,255,.1); color: var(--primary); }
.badge--destructive { border-color: rgba(230,57,70,.4); background: rgba(230,57,70,.1); color: var(--destructive); }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.05; }
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--destructive));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__desc { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.6; color: var(--muted-foreground); }
.hero__desc strong { color: var(--foreground); font-weight: 600; }
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stats {
  margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  border-top: 1px solid var(--border-60); padding-top: 2rem; max-width: 40rem;
}
.stat { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 900; }
.stat--primary { color: var(--primary); }
.stat--accent { color: var(--accent); }
.stat--success { color: var(--success); }
.stat__label { margin-top: 0.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-foreground); }

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section--alt { background: rgba(17, 22, 35, .3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { max-width: 40rem; margin: 0 auto 4rem; text-align: center; }
.eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; }
.eyebrow--primary { color: var(--primary); }
.eyebrow--accent { color: var(--accent); }
.section__title { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
.section__title--left { text-align: left; }
.section__desc { margin-top: 1rem; font-size: 1.125rem; color: var(--muted-foreground); }

/* ===== Cards / Grid ===== */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--border); background: var(--card);
  padding: 2rem; transition: all .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(47,125,255,.5); box-shadow: 0 20px 40px rgba(47,125,255,.1); }
.card__tag {
  position: absolute; top: 1rem; right: 1rem;
  padding: 0.25rem 0.75rem; border-radius: 999px;
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.card__tag--destructive { background: var(--destructive); color: var(--destructive-foreground); }
.card__tag--accent { background: var(--accent); color: var(--accent-foreground); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  height: 3rem; width: 3rem; border-radius: 12px;
  background: rgba(47, 125, 255, .15); color: var(--primary);
  transition: all .25s;
}
.card:hover .card__icon { background: var(--primary); color: var(--primary-foreground); }
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.service h3 { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 700; }
.service p { margin-top: 0.75rem; color: var(--muted-foreground); line-height: 1.6; }

/* ===== Gallery ===== */
.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--border); background: var(--card);
  margin: 0; aspect-ratio: 4 / 5;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  font-size: 0.875rem; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: all .25s;
}
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,13,20,.8), transparent 60%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }
@media (min-width: 640px) {
  .gallery__item--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ===== About ===== */
.about { display: grid; gap: 4rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .about { grid-template-columns: repeat(2, 1fr); } }
.about__desc { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
.about__desc strong { color: var(--foreground); font-weight: 600; }
.features { margin-top: 2.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card-50);
  font-size: 0.875rem; font-weight: 500;
}
.dot { font-size: 1.25rem; line-height: 1; }

/* ===== Testimonials ===== */
.testimonial { display: flex; flex-direction: column; }
.testimonial p { margin-top: 1.5rem; color: var(--muted-foreground); line-height: 1.7; flex: 1; }
.stars { color: var(--accent); letter-spacing: 0.1em; }
.testimonial__author {
  margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
}
.avatar {
  height: 2.5rem; width: 2.5rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), rgba(47,125,255,.6));
  color: var(--primary-foreground); font-weight: 700;
}
.testimonial__name { font-weight: 600; }
.testimonial__car { font-size: 0.875rem; color: var(--muted-foreground); }

/* ===== CTA ===== */
.cta { position: relative; overflow: hidden; padding: 6rem 0; }
.cta__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(47,125,255,.2), var(--background) 50%, rgba(255,138,31,.15));
}
.cta__glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  height: 500px; width: 500px; border-radius: 50%; background: rgba(47,125,255,.2); filter: blur(140px);
  pointer-events: none;
}
.cta__content { position: relative; max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.cta__title { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 900; }
.cta__desc { margin: 1.5rem auto 0; max-width: 36rem; font-size: 1.125rem; color: var(--muted-foreground); }
.cta__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: rgba(17, 22, 35, .2); padding: 4rem 0; }
.footer__grid {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { margin-bottom: 1rem; font-weight: 600; }
.footer__about { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.footer__list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__list a {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; color: var(--muted-foreground); transition: color .2s;
}
.footer__list a:hover { color: var(--accent); }
.footer__list .icon { width: 1rem; height: 1rem; }
.footer__hours { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.socials { display: flex; gap: 0.75rem; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--muted-foreground); transition: all .2s;
}
.social svg { width: 1.25rem; height: 1.25rem; }
.social--accent:hover { color: var(--accent); border-color: rgba(255,138,31,.5); }
.social--primary:hover { color: var(--primary); border-color: rgba(47,125,255,.5); }
.social--destructive:hover { color: var(--destructive); border-color: rgba(230,57,70,.5); }
.footer__copy { margin-top: 3rem; border-top: 1px solid var(--border); padding-top: 2rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
