/* Giant Panelbeaters and Spraypainters — Frosted Industrial design system */

:root {
  --brand: #0b2545;
  --accent: #f0532b;
  --ice: #eaf1f8;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --border-glass: rgba(255, 255, 255, 0.6);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-card: 0 18px 40px -18px rgba(11, 37, 69, 0.18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ice);
  color: var(--brand);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

/* Ambient glow blobs */
.glow-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
}
.glow-a { width: 26rem; height: 26rem; top: -6rem; left: -6rem; background: rgba(255, 255, 255, 0.8); animation: floaty 9s ease-in-out infinite; }
.glow-b { width: 20rem; height: 20rem; top: 33%; right: -4rem; background: rgba(240, 83, 43, 0.25); animation: floaty 11s ease-in-out infinite reverse; }
.glow-c { width: 20rem; height: 20rem; bottom: -4rem; left: 25%; background: rgba(11, 37, 69, 0.15); animation: floaty 13s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(0, -18px) scale(1.05); }
}

/* Glass surfaces */
.glass, .glass-strong {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
}
.glass-strong {
  background: var(--glass-strong);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 1rem 0;
}
.nav {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px -12px rgba(11, 37, 69, 0.12);
  transition: box-shadow 0.25s ease;
}
.nav.scrolled { box-shadow: 0 14px 34px -12px rgba(11, 37, 69, 0.24); }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.brand-text small {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(11, 37, 69, 0.5);
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(11, 37, 69, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.5rem;
  border: 1px solid var(--border-glass);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(11, 37, 69, 0.5);
}
.btn-brand:hover { background: rgba(11, 37, 69, 0.92); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(240, 83, 43, 0.55);
}
.btn-accent:hover { background: #d94521; }

/* Layout */
main { position: relative; z-index: 10; padding: 0 1rem; }
.section-pad { max-width: 72rem; margin: 0 auto; }

/* Hero */
.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding-top: 2.25rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}
.hero-card, .hero-media {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.hero-card { padding: 2.4rem 2.5rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}
.badge-accent { background: rgba(240, 83, 43, 0.1); color: var(--accent); }
.badge-muted { background: rgba(255, 255, 255, 0.5); color: rgba(11, 37, 69, 0.55); font-weight: 500; }
.hero-card h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
.hero-card > p { margin-top: 1.1rem; font-size: 1.02rem; color: rgba(11, 37, 69, 0.7); max-width: 28rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }
.cta-row .btn { flex: 1 1 auto; }
.open-chip {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(11, 37, 69, 0.6);
}
.dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: #10b981; }
.hero-media { padding: 0.75rem; }
.hero-media img { border-radius: 1rem; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* Panels */
.panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.9rem;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; margin-top: 0.25rem; }
.section-note { font-size: 0.85rem; color: rgba(11, 37, 69, 0.5); }

/* Services */
.services { max-width: 72rem; margin: 0 auto; padding-top: 3.2rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
}
.service-num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.num-brand { background: rgba(11, 37, 69, 0.1); color: var(--brand); }
.num-accent { background: rgba(240, 83, 43, 0.1); color: var(--accent); }
.service-card h3 { font-size: 1.12rem; font-weight: 600; margin-top: 1rem; }
.service-card p { margin-top: 0.4rem; font-size: 0.88rem; color: rgba(11, 37, 69, 0.6); }

/* Work gallery */
.work { max-width: 72rem; margin: 0 auto; padding-top: 1.4rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.work-item { border-radius: var(--radius-lg); padding: 0.75rem; box-shadow: var(--shadow-card); margin: 0; }
.work-item img { border-radius: 1rem; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Reviews */
.reviews { max-width: 72rem; margin: 0 auto; padding: 3.2rem 0 4rem; }
.rating-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.rating-score { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.stars { color: var(--accent); letter-spacing: 0.15em; }
.rating-sub { font-size: 0.85rem; color: rgba(11, 37, 69, 0.5); margin-top: 0.2rem; }
.review-themes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: rgba(11, 37, 69, 0.75);
}
.review-note { margin-top: 1rem; font-size: 0.85rem; color: rgba(11, 37, 69, 0.5); }
.link-accent {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.link-accent:hover { color: #d94521; }

/* Footer */
.site-footer { position: relative; z-index: 10; padding: 0 1rem 5.5rem; }
.footer-panel {
  max-width: 72rem;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; }
.footer-contact { padding: 2rem 2.2rem; }
.footer-contact h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 0.4rem; }
.footer-sub { color: rgba(11, 37, 69, 0.6); margin-top: 0.3rem; }
.contact-stack { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.contact-row:not(.static):hover { background: rgba(255, 255, 255, 0.8); }
.contact-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.65rem;
  background: rgba(11, 37, 69, 0.1);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  color: var(--brand);
  flex: none;
}
.footer-map { position: relative; min-height: 20rem; }
.footer-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding: 1rem 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(11, 37, 69, 0.5);
}

/* Mobile call bar */
.mobile-call-bar { display: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .service-grid, .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-map { min-height: 18rem; }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    background: var(--glass-strong);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-card);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0.9rem; border-radius: 0.6rem; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.6); }
  .site-header { position: sticky; }
  .nav { position: relative; }
  .nav-burger { display: flex; }
  .nav-call { display: none; }
  .hero-card { padding: 1.6rem 1.4rem; }
  .panel { padding: 1.3rem 1.2rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-contact { padding: 1.5rem 1.3rem; }
  .footer-bar { padding: 1rem 1.3rem; }
  .mobile-call-bar {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0.6rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--border-glass);
  }
  .mobile-call-bar .btn { padding: 0.8rem 1rem; font-size: 0.9rem; }
  .site-footer { padding-bottom: 6.5rem; }
  html { scroll-padding-top: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
