/* ══════════════════════════════════════════════════ */
/* MX Detail — Most Excellent Auto Detail            */
/* Premium Dark Automotive Aesthetic                  */
/* ══════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --color-primary: #007cba;
  --color-primary-dark: #066491;
  --color-primary-light: #0090d9;
  --color-cta-red: #e63946;
  --color-cta-red-dark: #c5303c;
  --color-black: #181818;
  --color-black-deep: #111111;
  --color-gray-light: #f4f5fa;
  --color-gray-medium: #e2e8f0;
  --color-white: #ffffff;
  --color-body: #4a5568;
  --color-text-light: rgba(255,255,255,0.7);
  --color-star: #f5a623;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.2);

  --radius: 4px;
  --radius-lg: 8px;
  --container-max: 1200px;
  --nav-height: 72px;
  --top-bar-height: 40px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Heebo', Arial, sans-serif;

  --transition: all 0.3s ease;
  --transition-slow: all 0.6s ease;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-body);
  line-height: 1.7;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--color-black);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
h5 { font-size: 0.9rem; font-weight: 700; }
p { margin-bottom: 1rem; }

/* ── Layout ── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space-xl) 0; }
.section-light { background: var(--color-gray-light); }
.section-dark { background: var(--color-black); color: var(--color-white); }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5 { color: var(--color-white); }
.section-dark p { color: var(--color-text-light); }
.text-center { text-align: center; }

/* ── Section Header ── */
.section-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-body);
  max-width: 600px;
  margin: 12px auto 0;
  line-height: 1.8;
}
.section-dark .section-badge { color: var(--color-primary-light); }
.section-dark .section-subtitle { color: var(--color-text-light); }

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  margin: 16px auto 0;
}

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 10000;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 8px;
}

/* ══════════════════════════════════════ */
/* TOP INFO BAR                          */
/* ══════════════════════════════════════ */
.top-bar {
  background: #0d2137;
  color: var(--color-text-light);
  font-size: 0.8rem;
  line-height: 1;
  min-height: var(--top-bar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}
.top-bar * {
  line-height: 1;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  white-space: nowrap;
}
.top-bar a {
  color: var(--color-text-light);
}
.top-bar svg {
  flex-shrink: 0;
}
.top-bar a:hover {
  color: var(--color-white);
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.top-bar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ══════════════════════════════════════ */
/* NAVIGATION                            */
/* ══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: var(--top-bar-height);
  left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,124,186,0.92);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(0,124,186,0.92);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  top: 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.navbar .nav-logo {
  background: rgba(255,255,255,0.9);
  padding: 5px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 75px;
  width: auto;
  display: block;
  margin: -12px 0;
}
.footer-logo .nav-logo-img {
  height: auto;
  width: 100%;
  max-width: 150px;
  object-fit: contain;
  margin-bottom: 12px;
}
.parallax-logo {
  max-width: 400px;
  height: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--color-white);
}
.nav-cta {
  background: var(--color-cta-red) !important;
  color: var(--color-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--color-cta-red-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.97);
  z-index: 999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.open {
  display: flex;
  opacity: 1;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-menu-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.mobile-menu-nav a:hover {
  color: var(--color-primary);
}

/* ══════════════════════════════════════ */
/* BUTTONS                               */
/* ══════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 36px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}
.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,124,186,0.3);
}
.btn-cta {
  background: var(--color-cta-red);
  color: var(--color-white);
}
.btn-cta:hover {
  background: var(--color-cta-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230,57,70,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.08);
}
.btn-lg {
  padding: 18px 48px;
  font-size: 0.95rem;
}
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ══════════════════════════════════════ */
/* HERO                                  */
/* ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--color-black);
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  animation: kenBurns 8s ease-in-out infinite alternate;
}
.hero-slide.active {
  opacity: 1;
}
@keyframes kenBurns {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(1.1) translateX(-2%);
  }
}
.hero-slide:nth-child(2) {
  animation-direction: alternate-reverse;
}
.hero-slide:nth-child(3) {
  animation-delay: 0.5s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}
.hero h1 .accent {
  color: var(--color-primary);
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-text-light);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero .btn-group {
  margin-top: 8px;
}

/* Inner page hero (shorter) */
.hero-inner {
  min-height: 50vh;
  padding-top: calc(var(--nav-height) + var(--top-bar-height) + 40px);
}

/* ══════════════════════════════════════ */
/* DIAGONAL DIVIDER                      */
/* ══════════════════════════════════════ */
.divider-diagonal {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}
.divider-diagonal svg {
  width: 100%;
  height: 100%;
}

/* ══════════════════════════════════════ */
/* SERVICES GALLERY                      */
/* ══════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: var(--space-lg);
}
.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: block;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-card:hover img {
  transform: scale(1.0);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}
.gallery-overlay h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 4px;
}
.gallery-overlay p {
  color: var(--color-text-light);
  font-size: 0.8rem;
  margin: 0;
}

/* ══════════════════════════════════════ */
/* REVIEWS SECTION                       */
/* ══════════════════════════════════════ */
.reviews-section {
  padding: var(--space-xl) 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-lg);
}
.review-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-medium);
}
.review-stars {
  color: var(--color-star);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-text {
  font-style: italic;
  color: var(--color-body);
  margin-bottom: 16px;
  line-height: 1.8;
}
.review-author {
  font-weight: 700;
  color: var(--color-black);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════ */
/* PARALLAX CTA                          */
/* ══════════════════════════════════════ */
.parallax-cta {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--color-black);
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1;
}
.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) 0;
}
.parallax-content h2 {
  color: var(--color-white);
  margin-bottom: 24px;
}
.parallax-content p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.parallax-logo {
  max-width: 200px;
  margin: 0 auto 24px;
}

/* ══════════════════════════════════════ */
/* SOCIAL ICONS                          */
/* ══════════════════════════════════════ */
.social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}
.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ══════════════════════════════════════ */
/* SPLIT SECTIONS (Two-Column)           */
/* ══════════════════════════════════════ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-section.reverse {
  direction: rtl;
}
.split-section.reverse > * {
  direction: ltr;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-height: 500px;
}
.split-text {
  padding: var(--space-md) 0;
}
.split-text h2 {
  margin-bottom: 8px;
}
.split-text p {
  color: var(--color-body);
  margin-bottom: 24px;
}

/* ══════════════════════════════════════ */
/* TESTIMONIAL                           */
/* ══════════════════════════════════════ */
.testimonial-section {
  background: var(--color-gray-light);
}
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-black);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
}
.testimonial-quote::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--color-primary);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  opacity: 0.3;
}
.testimonial-author {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-black);
}
.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-body);
  margin-top: 4px;
}

/* ══════════════════════════════════════ */
/* BANNER CTA                            */
/* ══════════════════════════════════════ */
.banner-cta {
  background: var(--color-black);
  padding: 80px 0;
  text-align: center;
}
.banner-cta h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}
.banner-cta p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ══════════════════════════════════════ */
/* FOOTER                                */
/* ══════════════════════════════════════ */
.footer {
  background: var(--color-black);
  color: var(--color-text-light);
  padding: var(--space-xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: start;
}
.footer-col-brand .tagline {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 16px;
}
.footer-col-brand .social-icons {
  justify-content: flex-start;
}
.footer-logo {
  max-width: 120px;
  margin-bottom: 12px;
}
.footer h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
  line-height: 1.6;
}
.footer-col a:hover {
  color: var(--color-primary);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: var(--space-md) 0;
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════════════ */
/* PACKAGES — ACCORDION CARDS            */
/* ══════════════════════════════════════ */

/* Category Section */
/* Packages section — dark blue gradient background */
.section-packages {
  background: linear-gradient(175deg, #0d2137 0%, #132d47 35%, #181818 70%, #111111 100%);
  padding: var(--space-xl) 0;
}
.section-packages h2 {
  color: var(--color-white);
}

.pkg-category {
  margin-bottom: var(--space-lg);
}
.pkg-category-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-white);
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  border: none;
}

/* Accordion Item */
.pkg-accordion {
  background: linear-gradient(145deg, #1a2a3d, #1e2d40);
  border: 1px solid rgba(0,124,186,0.15);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.pkg-accordion.open {
  box-shadow: 0 4px 24px rgba(0,124,186,0.25);
  border-color: var(--color-primary);
  background: linear-gradient(145deg, #1e3350, #1a2a3d);
}

/* Accordion Header (clickable) */
.pkg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  font-family: var(--font-body);
  text-align: left;
  transition: background 0.2s ease;
}
.pkg-header:hover {
  background: rgba(0,124,186,0.08);
}
.pkg-header:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}
.pkg-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pkg-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.pkg-accordion.open .pkg-chevron {
  transform: rotate(90deg);
}
.pkg-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pkg-starting-price {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  background: rgba(0,124,186,0.15);
  padding: 4px 14px;
  border-radius: 20px;
}

/* Accordion Body (expandable) */
.pkg-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.pkg-accordion.open .pkg-body {
  max-height: 1200px;
}
.pkg-body-inner {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(0,124,186,0.2);
}

/* Feature List */
.pkg-features {
  padding: 20px 0 16px;
}
.pkg-features li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.pkg-features li::before {
  content: '✓';
  color: var(--color-primary-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Upgrade Note */
.pkg-upgrade {
  background: linear-gradient(135deg, rgba(0,124,186,0.18), rgba(6,100,145,0.1));
  border-left: 3px solid var(--color-primary-light);
  padding: 14px 18px;
  margin: 8px 0 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.pkg-upgrade strong {
  color: var(--color-primary-light);
}

/* Price Table */
.pkg-prices {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
.pkg-prices td {
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,124,186,0.12);
}
.pkg-prices td:first-child {
  color: var(--color-text-light);
}
.pkg-prices td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.05rem;
}
.pkg-prices tr:last-child td {
  border-bottom: none;
}
.pkg-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-light);
  font-style: italic;
  margin: 8px 0 16px;
  opacity: 0.6;
}
.pkg-body .btn {
  width: 100%;
}

/* Package Showcase Image */
.pkg-showcase {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  max-height: 300px;
}
.pkg-showcase img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.pkg-showcase:hover img {
  transform: scale(1.03);
}

/* ══════════════════════════════════════ */
/* COATING CARDS (ceramic-pro page)      */
/* ══════════════════════════════════════ */
.coating-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: var(--space-lg);
}
.coating-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-medium);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: var(--transition);
}
.coating-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.coating-featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary), var(--shadow-md);
}
.coating-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.coating-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 8px;
}
.coating-warranty {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.coating-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-body);
  margin-bottom: 20px;
}
.coating-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--color-gray-medium);
  border-radius: 20px;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.coating-toggle:hover {
  background: rgba(0,124,186,0.06);
  border-color: var(--color-primary);
}
.coating-toggle svg {
  transition: transform 0.3s ease;
}
.coating-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.coating-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.3s ease;
  width: 100%;
  margin-bottom: 0;
}
.coating-details.open {
  max-height: 300px;
  margin-bottom: 20px;
}
.coating-details ul {
  text-align: left;
  padding: 16px 0 8px;
  border-top: 1px solid var(--color-gray-medium);
}
.coating-details li {
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--color-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.coating-details li::before {
  content: '\2713';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}
.coating-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Legacy pricing grid (kept for ceramic-pro page) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-lg);
}
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-medium);
  text-align: center;
  transition: var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-featured {
  border-color: var(--color-primary);
  position: relative;
  box-shadow: 0 0 0 2px var(--color-primary), var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card.featured {
  border-color: var(--color-primary);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: 20px;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 24px;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-body);
}
.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-gray-medium);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
}

/* ══════════════════════════════════════ */
/* BENEFITS / ICON CARDS                 */
/* ══════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: var(--space-lg);
}
.benefit-card {
  text-align: center;
  padding: 32px 20px;
}
.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,124,186,0.1);
  border-radius: 50%;
  color: var(--color-primary);
}
.benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-body);
}

/* ══════════════════════════════════════ */
/* CONTACT PAGE                          */
/* ══════════════════════════════════════ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: var(--space-lg);
}
.location-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-medium);
}
.location-card h3 {
  color: var(--color-primary);
  margin-bottom: 16px;
}
.location-card p {
  margin-bottom: 8px;
}
.location-card a {
  color: var(--color-primary);
}
.location-card a:hover {
  color: var(--color-primary-dark);
}
.map-embed {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: var(--radius);
  margin-top: 16px;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: var(--space-lg) auto 0;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-medium);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-black);
  transition: border-color 0.3s ease;
  background: var(--color-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
/* Honeypot */
.hp-field { display: none !important; }

/* JotForm embed */
.jotform-embed {
  width: 100%;
  min-height: 800px;
  border: none;
}

/* ══════════════════════════════════════ */
/* SCROLL ANIMATIONS                     */
/* ══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered delays for gallery */
.gallery-card.fade-up:nth-child(2) { transition-delay: 0.1s; }
.gallery-card.fade-up:nth-child(3) { transition-delay: 0.2s; }
.gallery-card.fade-up:nth-child(4) { transition-delay: 0.3s; }
.gallery-card.fade-up:nth-child(5) { transition-delay: 0.4s; }
.gallery-card.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gallery-card img {
    transform: none;
    transition: none;
  }
  .hero {
    background-attachment: scroll;
  }
  .parallax-cta {
    background-attachment: scroll;
  }
}

/* ══════════════════════════════════════ */
/* PLACEHOLDER (dev only)                */
/* ══════════════════════════════════════ */
.placeholder {
  border: 2px dashed var(--color-cta-red);
  padding: 4px 8px;
  background: rgba(230,57,70,0.05);
  border-radius: var(--radius);
}

/* ══════════════════════════════════════ */
/* 404 PAGE                              */
/* ══════════════════════════════════════ */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-black);
  color: var(--color-white);
}
.page-404 h1 {
  color: var(--color-white);
  font-size: clamp(4rem, 10vw, 8rem);
  margin-bottom: 16px;
}
.page-404 p {
  color: var(--color-text-light);
  font-size: 1.2rem;
  margin-bottom: 32px;
}

/* ══════════════════════════════════════ */
/* RESPONSIVE                            */
/* ══════════════════════════════════════ */

/* Ensure minimum tap targets everywhere */
a, button, .btn, .pkg-header, .nav-toggle {
  min-height: 44px;
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .coating-grid { grid-template-columns: repeat(2, 1fr); }

  /* Parallax logo scales down */
  .parallax-logo { max-width: 280px; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .section { padding: var(--space-lg) 0; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-section.reverse {
    direction: ltr;
  }
  .reviews-grid { grid-template-columns: 1fr; }
  .pricing-grid,
  .pricing-grid-4 { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .coating-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .location-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-col-brand .social-icons { justify-content: center; }
  .footer-logo { margin: 0 auto 12px; }

  /* Hero adjustments */
  .hero { min-height: 85vh; }
  .hero-tagline {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }
  .hero-content { padding: 0 16px; }
  .hero-inner { min-height: 40vh; }

  h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 4vw, 2rem); }

  /* Package accordions — more touch-friendly */
  .pkg-header { padding: 16px 16px; gap: 8px; }
  .pkg-body-inner { padding: 0 16px 20px; }
  .pkg-name { font-size: 0.9rem; }
  .pkg-starting-price { font-size: 0.8rem; padding: 4px 10px; }
  .pkg-category-title { font-size: 0.95rem; padding: 12px 16px; }

  /* Parallax sections */
  .parallax-cta { min-height: 350px; }
  .parallax-content { padding: var(--space-lg) 16px; }
  .parallax-content h2 { font-size: 1.4rem; }
  .parallax-logo { max-width: 200px; }

  /* Banner CTA */
  .banner-cta { padding: 60px 16px; }
  .banner-cta h2 { font-size: 1.4rem; }

  /* Reviews */
  .review-card { padding: 24px 20px; }

  /* Testimonial */
  .testimonial-quote { font-size: 1.1rem; }

  /* Contact page */
  .location-card { padding: 24px 20px; }
  .map-embed { height: 200px; }

}

/* Mobile */
@media (max-width: 480px) {
  .top-bar { display: none; }
  .navbar { top: 0; }

  /* Container tighter padding */
  .container { padding: 0 16px; }
  .section { padding: var(--space-md) 0; }

  /* Hero mobile */
  .hero { min-height: 75vh; }
  .hero h1 { font-size: 1.75rem; }
  .hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
  }
  .hero-inner {
    min-height: 35vh;
    padding-top: calc(var(--nav-height) + 24px);
  }
  .hero-inner h1 { font-size: 1.5rem; }

  /* Ken Burns — reduce movement on small screens */
  @keyframes kenBurns {
    0% { transform: scale(1) translateX(0); }
    100% { transform: scale(1.05) translateX(-1%); }
  }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card { aspect-ratio: 16/9; }
  .gallery-overlay { padding: 16px; }
  .gallery-overlay h3 { font-size: 0.9rem; }
  .gallery-overlay p { font-size: 0.75rem; }

  /* Split sections — image full width */
  .split-image img { max-height: 300px; }

  /* Footer */
  .footer { padding: var(--space-lg) 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col { text-align: center; }
  .footer-col-brand .social-icons { justify-content: center; }
  .footer-logo { margin: 0 auto 12px; }

  /* Buttons full-width on mobile */
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { width: 100%; text-align: center; }

  /* Benefits grid */
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: 24px 16px; }

  /* Parallax */
  .parallax-cta { min-height: 280px; }
  .parallax-content { padding: var(--space-md) 16px; }
  .parallax-content h2 { font-size: 1.25rem; }
  .parallax-content p { font-size: 0.95rem; }
  .parallax-logo { max-width: 160px; }

  /* Banner CTA */
  .banner-cta { padding: 48px 16px; }
  .banner-cta h2 { font-size: 1.25rem; }
  .banner-cta p { font-size: 0.95rem; }

  /* Package accordions */
  .pkg-header { padding: 14px 12px; }
  .pkg-header-left { gap: 8px; }
  .pkg-name { font-size: 0.85rem; }
  .pkg-starting-price { font-size: 0.75rem; padding: 3px 8px; }
  .pkg-body-inner { padding: 0 12px 16px; }
  .pkg-features li { font-size: 0.85rem; }
  .pkg-prices td { font-size: 0.85rem; padding: 8px 0; }
  .pkg-prices td:last-child { font-size: 0.95rem; }
  .pkg-upgrade { padding: 12px 14px; font-size: 0.8rem; }

  /* Pricing cards (ceramic pro page) */
  .pricing-card { padding: 28px 20px; }
  .pricing-price { font-size: 2rem; }
  .pricing-features li { font-size: 0.85rem; padding: 6px 0; }

  /* Contact form */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  /* Location cards */
  .location-card { padding: 20px 16px; }
  .map-embed { height: 180px; }

  /* Testimonial */
  .testimonial-quote { font-size: 1rem; padding-top: 24px; }
  .testimonial-quote::before { font-size: 3rem; top: -10px; }

  /* Review cards */
  .review-card { padding: 20px 16px; }
  .review-text { font-size: 0.9rem; }

  /* Mobile menu — larger tap targets */
  .mobile-menu-nav { gap: 20px; }
  .mobile-menu-nav a {
    font-size: 1.3rem;
    padding: 8px 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  /* Nav logo smaller on mobile */
  .nav-logo img,
  .nav-logo-img { height: 55px; }

  /* Divider thinner on mobile */
  .divider-diagonal { height: 40px; }

  /* Section badges */
  .section-badge { font-size: 0.7rem; letter-spacing: 0.4em; }
  .section-subtitle { font-size: 0.95rem; }

  /* Inline button spacing fix (e.g. application page) */
  .btn + .btn,
  p > .btn + .btn { margin-left: 0 !important; margin-top: 12px; }
}

/* Extra small — iPhone SE and similar */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-tagline { font-size: 0.75rem; letter-spacing: 0.1em; }
  .btn { padding: 12px 24px; font-size: 0.8rem; }
  .nav-logo img,
  .nav-logo-img { height: 45px; }
  .pkg-name { font-size: 0.8rem; }
  .pkg-starting-price { font-size: 0.7rem; }
  .gallery-overlay h3 { font-size: 0.85rem; }
  .footer h4 { font-size: 0.8rem; }
}
