/* ==========================================================================
   Avto Buum – styles.css
   Navy + gold palette on a soft cool-blue background.
   ========================================================================== */

:root {
  --background: #f7f8fb;
  --foreground: #242d46;
  --card: #ffffff;
  --muted-foreground: #6b7280;
  --border: rgba(36, 45, 70, 0.12);

  --gold: #d5b25f;
  --gold-light: #e3c886;
  --gold-dark: #b8933f;
  --navy: #242d46;
  --charcoal: #f1f3f8;

  --radius: 0.625rem;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

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

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); }
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.38) 48%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn-shine:hover::after { transform: translateX(120%); }
.btn-outline { background: var(--card); border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { border-color: rgba(213, 178, 95, 0.6); background: rgba(213, 178, 95, 0.06); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 248, 251, 0.85);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
}
.logo img { height: 5rem; width: auto; }
.logo { transition: transform .3s ease; }
.logo:hover { transform: scale(1.03); }
.nav { display: none; gap: 2rem; }
.nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav a:hover { color: var(--gold-dark); }
.nav a::after { content: ""; position: absolute; right: 0; bottom: -.45rem; left: 0; height: 2px; background: var(--gold-dark); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero::before {
  content: "";
  position: absolute;
  top: -8rem; right: -6rem;
  width: 24rem; height: 24rem;
  border-radius: 50%;
  background: rgba(213, 178, 95, 0.16);
  filter: blur(64px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}
.eyebrow-pill {
  display: inline-block;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(213, 178, 95, 0.3);
  background: rgba(213, 178, 95, 0.1);
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.hero h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); }
.hero h1 .accent { color: var(--gold-dark); }
.hero p {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-actions .btn { width: 100%; }
.hero-image {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(36, 45, 70, 0.35);
}
.hero-image img { width: 100%; object-fit: cover; transition: transform 1s ease; }
.hero-image:hover img { transform: scale(1.025); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-card { background: var(--card); }
.section-charcoal { background: var(--charcoal); }

.section-heading { max-width: 48rem; margin-bottom: 4rem; }
.section-heading .eyebrow {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.section-heading h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
.section-heading p {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* ---------- Services ---------- */
.services-stack { display: grid; gap: 6rem; }
.service {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.service-media {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.service-media:hover img { transform: scale(1.05); }
.service h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.service ul { margin-top: 2rem; display: grid; gap: 1rem; }
.service li { display: flex; gap: 0.75rem; color: var(--muted-foreground); }
.check {
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem; height: 1.25rem;
  flex: none;
  border-radius: 50%;
  background: rgba(213, 178, 95, 0.15);
  color: var(--gold-dark);
}
.check svg { width: 0.75rem; height: 0.75rem; }

.combo {
  border-radius: 1.5rem;
  border: 1px solid rgba(213, 178, 95, 0.25);
  background: linear-gradient(135deg, rgba(213, 178, 95, 0.14), rgba(213, 178, 95, 0.05));
  padding: 2rem;
}
.combo p { margin-top: 1rem; font-size: 1.125rem; color: var(--muted-foreground); max-width: 48rem; }
.combo .btn { margin-top: 2rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 1rem; }
.price-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(213, 178, 95, 0.45);
  box-shadow: 0 18px 40px -24px rgba(36, 45, 70, 0.35);
}
.price-card { transition: transform .2s, border-color .2s, box-shadow .2s; }
.price-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.price-card h3 { font-size: 1.125rem; }
.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}
.price-card p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.pricing-note { margin-top: 2.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--card); text-align: center; }
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(213, 178, 95, 0.1), transparent 50%, rgba(213, 178, 95, 0.1));
}
.contact .container { position: relative; z-index: 1; }
.contact-inner { max-width: 48rem; margin: 0 auto; }
.contact h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
.contact > .container > .contact-inner > p { margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted-foreground); }
.contact-actions {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.contact-actions .btn { width: 100%; }
.location {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.location svg { color: var(--gold-dark); }
.location:hover { color: var(--gold-dark); }
.map-wrap { margin-top: 3rem; overflow: hidden; border: 1px solid var(--border); border-radius: 1rem; background: var(--background); box-shadow: 0 4px 14px rgba(36,45,70,.08); }
.map-wrap iframe { display: block; width: 100%; height: 24rem; border: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise-in .7s ease-out both; }
  .hero-image { animation: rise-in .85s .12s ease-out both; }
  @supports (animation-timeline: view()) {
    .reveal-section { animation: reveal-up linear both; animation-range: entry 10% cover 28%; animation-timeline: view(); }
  }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer p, .footer .footer-phone { font-size: 0.875rem; color: var(--muted-foreground); }
.footer .footer-phone { font-weight: 500; color: var(--gold-dark); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
  .hero-actions, .contact-actions { flex-direction: row; }
  .hero-actions .btn, .contact-actions .btn { width: auto; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .combo { padding: 3rem; }
  .map-wrap iframe { height: 26rem; }
}

@media (min-width: 768px) {
  .nav { display: flex; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .section { padding: 8rem 0; }
  .hero { padding: 9rem 0 6rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .service { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .service.reversed .service-media-wrap { order: 2; }
  .service.reversed .service-body { order: 1; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .combo { padding: 4rem; }
}
