/* The Detailing Crew — Light Premium Theme */

:root {
  --red: #e31e24;
  --red-dark: #c4191f;
  --red-light: #fff1f1;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 72px;
  --container: 1140px;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }

ul { list-style: none; }

.container { width: min(var(--container), 92vw); margin-inline: auto; }

.text-red { color: var(--red); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 30, 36, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-200);
}

.btn-outline-dark:hover {
  border-color: var(--black);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.btn-link:hover { color: var(--red-dark); }
.btn-link svg { width: 14px; height: 14px; transition: transform 0.25s; }
.btn-link:hover svg { transform: translateX(3px); }

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.logo img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 2rem; }

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

.nav-link:hover, .nav-link.active { color: var(--black); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.header-phone {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
}

.header-phone:hover { color: var(--red); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.55) 100%),
              linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), 92vw);
  margin-inline: auto;
  padding: 4rem 0 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: end;
}

.hero-content {
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-title .highlight { color: var(--red); }

.hero-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
  min-width: 220px;
}

/* Inner-page hero (shorter, single column) */
.hero-page {
  min-height: 52vh;
  min-height: 52dvh;
  align-items: center;
}

.hero-inner--page {
  grid-template-columns: 1fr;
  align-items: center;
  padding: 3rem 0;
  max-width: 720px;
}

.hero-overlay--page {
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.55) 100%),
              linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 100%);
}

.hero .breadcrumb {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.hero .breadcrumb a:hover { color: var(--red); }

.hero-page-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

/* ---- Service pills bar ---- */
.pills-bar {
  background: var(--black);
  padding: 1rem 0;
  overflow: hidden;
}

.pills-track {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.pills-track a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.pills-track a:hover { color: var(--red); }

/* ---- Sections ---- */
section { padding: 5.5rem 0; }

.section-gray { background: var(--gray-100); }
.section-black { background: var(--black); color: var(--white); }
.section-white { background: var(--white); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 520px;
}

.section-title .highlight { color: var(--red); }

.section-black .section-title .highlight { color: var(--red); }

.section-desc {
  color: var(--gray-500);
  font-size: 0.95rem;
  max-width: 400px;
  line-height: 1.7;
}

.section-black .section-desc { color: rgba(255, 255, 255, 0.6); }

/* ---- Service cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-body { padding: 1.5rem; }

.service-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card-body p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* ---- About split ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-meta-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.about-meta-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Gallery grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }

/* ---- Testimonials ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stars {
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.review-author {
  font-size: 0.8rem;
  font-weight: 700;
}

.review-meta {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ---- Process ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-step {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.process-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---- Contact CTA ---- */
.contact-cta {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0;
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-cta h2 .highlight { color: var(--red); }

.contact-cta > .container > .contact-cta-grid > div > p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  max-width: 420px;
}

.contact-details { margin-bottom: 2rem; }

.contact-details p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.contact-details a:hover { color: var(--red); }

.contact-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.85;
}

/* ---- Forms ---- */
.contact-form { width: 100%; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-light .form-group label { color: var(--gray-500); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.25s;
}

.form-light .form-group input,
.form-light .form-group select,
.form-light .form-group textarea {
  background: var(--white);
  border-color: var(--gray-200);
  color: var(--black);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.75rem;
}

.form-light .form-note { color: var(--gray-400); }

/* ---- Contact cards ---- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ---- Page hero (legacy fallback) ---- */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  background: var(--gray-100);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero-title .highlight { color: var(--red); }

.breadcrumb {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.breadcrumb a:hover { color: var(--red); }

/* ---- Service detail page ---- */
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.service-detail-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-detail-row:nth-child(even) .service-detail-img { order: 2; }

.service-detail-row .service-detail-img {
  aspect-ratio: auto;
  min-height: 300px;
}

.service-detail-row .service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.service-detail-row .service-detail-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.service-detail-row .service-detail-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-detail-row .service-detail-body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.service-detail-row .service-features {
  margin-bottom: 1.5rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-detail-img { aspect-ratio: 16/9; overflow: hidden; }

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-body { padding: 2rem; }

.service-detail-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-detail-body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ---- Gallery page ---- */
.gallery-filter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-page-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-page-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-page-item:hover img { transform: scale(1.05); }

.gallery-social-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
}

.footer-nav a:hover { color: var(--black); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  transition: all 0.25s;
}

.social-link:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---- Float actions ---- */
.float-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 24px; height: 24px; }

.float-call { background: var(--red); color: var(--white); }
.float-call svg { fill: currentColor; }
.float-wa { background: #25d366; }
.float-wa svg { fill: #fff; }

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---- Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Hero content is above the fold — always visible, never wait on scroll reveal */
.hero .reveal { opacity: 1; transform: none; transition: none; }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--black);
  padding: 4.5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-inline: auto;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--black);
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .contact-cta-grid { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .service-detail-grid, .service-detail-row { grid-template-columns: 1fr; }
  .service-detail-row:nth-child(even) .service-detail-img { order: 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-inner--page { grid-template-columns: 1fr; gap: 2rem; }
  .hero-inner:not(.hero-inner--page) {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 34%);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s var(--ease);
  }

  .nav.open { transform: translateY(0); opacity: 1; }
  .menu-toggle { display: flex; }
  .header-actions .btn-red { display: none; }
  .header-phone { display: block; font-size: 0.7rem; }

  .hero {
    min-height: auto;
    align-items: stretch;
  }

  .hero-page {
    min-height: 60vh;
    min-height: 60dvh;
    align-items: center;
  }

  .hero-bg img {
    object-position: center;
  }

  .hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.4) 100%);
  }

  /* Home hero: clean single-column stack */
  .hero-inner:not(.hero-inner--page) {
    grid-template-columns: 1fr;
    gap: 0;
    padding: calc(var(--header-h) + 3rem) 0 2.5rem;
    align-items: start;
  }

  .hero:not(.hero-page) .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  .hero:not(.hero-page) .hero-text {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 460px;
  }

  .hero:not(.hero-page) .hero-content .btn-red {
    margin-bottom: 2.25rem;
  }

  .hero:not(.hero-page) .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero:not(.hero-page) .hero-stat-num {
    font-size: 1.75rem;
  }

  .hero:not(.hero-page) .hero-stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
  }

  .hero-page .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .hero-page .hero-text {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .reviews-grid { grid-template-columns: 1fr; }

  .pills-track {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 4vw;
    gap: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pills-track::-webkit-scrollbar { display: none; }

  .about-meta { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-page-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  section { padding: 4rem 0; }
}

/* ============================================================
   PREMIUM ENHANCEMENT LAYER
   ============================================================ */

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 1100;
  background: linear-gradient(90deg, var(--red), #ff5a5f);
  box-shadow: 0 0 12px rgba(227, 30, 36, 0.6);
  transition: width 0.1s linear;
}

/* ---- Custom selection ---- */
::selection { background: var(--red); color: #fff; }

/* ---- Smooth scrollbar (desktop) ---- */
@media (pointer: fine) {
  * { scrollbar-width: thin; scrollbar-color: var(--red) var(--gray-100); }
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: var(--gray-100); }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--red), var(--red-dark));
    border-radius: 999px;
    border: 2px solid var(--gray-100);
  }
}

/* ---- Header polish: shrink + shadow on scroll ---- */
.header {
  transition: height 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease);
  will-change: height;
}
.header.scrolled {
  height: 60px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
}
.logo img { transition: height 0.35s var(--ease); }
.header.scrolled .logo img { height: 38px; }

/* ---- Animated nav underline ---- */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

/* ---- Button shine sweep ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(0.97); }

/* ---- Hero: Ken Burns drift + content intro ---- */
@keyframes kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-bg img { animation: kenburns 12s var(--ease) forwards; }

@keyframes heroIntro {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > *, .hero-inner--page > div > * {
  animation: heroIntro 0.9s var(--ease) backwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-stats { animation: heroIntro 0.9s var(--ease) 0.55s backwards; }
.hero-inner--page > div > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner--page > div > *:nth-child(2) { animation-delay: 0.22s; }
.hero-inner--page > div > *:nth-child(3) { animation-delay: 0.34s; }
.hero-inner--page > div > *:nth-child(4) { animation-delay: 0.46s; }

/* gradient sheen on hero highlight */
.hero-title .highlight {
  background: linear-gradient(100deg, #ff3b41, var(--red) 55%, #ff7a7e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Section title accent bar (opt-in) ---- */
.section-title { position: relative; }
.section-title.has-bar::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ff6b6f);
  margin-bottom: 1.1rem;
}

/* ---- Eyebrow label ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
}
.section-black .eyebrow { color: #ff6b6f; }

/* ---- Service cards: richer hover ---- */
.service-card {
  position: relative;
  border: 1px solid transparent;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1.5px solid var(--red);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; transform: scale(1); }
.service-card:hover { box-shadow: 0 22px 50px rgba(227, 30, 36, 0.16); }
.service-card-body h3 { transition: color 0.25s var(--ease); }
.service-card:hover .service-card-body h3 { color: var(--red); }

/* image overlay shimmer on service cards */
.service-card-img { position: relative; }
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(227,30,36,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-card:hover .service-card-img::after { opacity: 1; }

/* ---- Service detail rows ---- */
.service-detail-row { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.service-detail-row:hover { box-shadow: 0 26px 60px rgba(0,0,0,0.12); }
.service-detail-row .service-detail-img img { transition: transform 0.6s var(--ease); }
.service-detail-row:hover .service-detail-img img { transform: scale(1.05); }

/* ---- Gallery: caption + zoom ---- */
.gallery-item, .gallery-page-item { position: relative; }
.gallery-item::after, .gallery-page-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover::after, .gallery-page-item:hover::after { opacity: 1; }
.gallery-item::before, .gallery-page-item::before {
  content: '\2197';
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px) scale(0.8);
  transition: all 0.35s var(--ease);
}
.gallery-item:hover::before, .gallery-page-item:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---- Review cards: quote mark ---- */
.review-card { position: relative; overflow: hidden; }
.review-card::before {
  content: '\201C';
  position: absolute;
  top: -1.2rem;
  right: 0.5rem;
  font-size: 6rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--red);
  opacity: 0.08;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.review-card:hover::before { opacity: 0.16; transform: translateY(4px); }
.review-card {
  border-top: 3px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.review-card:hover { border-top-color: var(--red); }

/* ---- Process steps: badges + connector ---- */
.process-grid { position: relative; }
.process-step {
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.process-step:hover .process-num {
  background: var(--red);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}

/* ---- Stats gradient numbers ---- */
.hero-stat-num, .about-meta-item strong {
  background: linear-gradient(120deg, #fff, #ffd7d8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-meta-item strong {
  background: linear-gradient(120deg, #fff, #ff9a9d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Float buttons: pulse ---- */
@keyframes floatPulse {
  0% { box-shadow: 0 0 0 0 rgba(227,30,36,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(227,30,36,0); }
  100% { box-shadow: 0 0 0 0 rgba(227,30,36,0); }
}
.float-call { animation: floatPulse 2.4s infinite; }
@keyframes floatPulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.float-wa { animation: floatPulseGreen 2.4s infinite 0.4s; }
.float-btn { transition: transform 0.3s var(--ease); }
.float-btn:hover { transform: scale(1.12) translateY(-2px); }

/* ---- Pills: hover lift ---- */
.pills-track a {
  position: relative;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.pills-track a:hover { transform: translateY(-2px); }

/* ---- Form focus glow ---- */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.15);
}

/* ---- Contact cards icon pop ---- */
.contact-card .contact-card-icon { transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease); }
.contact-card:hover .contact-card-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.1) rotate(-6deg);
}

/* ---- CTA banner: premium dark ---- */
.cta-banner {
  background:
    radial-gradient(120% 140% at 50% -20%, #2a2a2e 0%, transparent 55%),
    linear-gradient(160deg, #141416 0%, #0a0a0a 60%, #050505 100%);
  position: relative;
  overflow: hidden;
}
/* moving sheen */
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: skewX(-18deg);
  animation: ctaSheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaSheen {
  0% { left: -40%; }
  60%, 100% { left: 130%; }
}
/* subtle dotted texture */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }
.cta-banner .eyebrow { color: rgba(255, 255, 255, 0.55); justify-content: center; }
.cta-banner .eyebrow::before { background: rgba(255, 255, 255, 0.55); }
.cta-banner h2 .accent { color: #fff; position: relative; }
.cta-banner h2 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 8px;
  background: rgba(255, 255, 255, 0.14);
  z-index: -1;
}

/* ---- Reveal variants + stagger ---- */
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: none; }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-stagger].visible > * { opacity: 1; transform: none; }
[data-stagger].visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-stagger].visible > *:nth-child(3) { transition-delay: 0.19s; }
[data-stagger].visible > *:nth-child(4) { transition-delay: 0.26s; }
[data-stagger].visible > *:nth-child(5) { transition-delay: 0.33s; }
[data-stagger].visible > *:nth-child(6) { transition-delay: 0.40s; }

/* ---- Tilt cards ---- */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---- Back to top ---- */
.back-to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--black);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s, visibility 0.3s;
  box-shadow: var(--shadow-lg);
}
.back-to-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top-btn:hover { background: var(--red); transform: translateY(-3px); }
.back-to-top-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---- Section fade-in dividers ---- */
.section-black, .contact-cta { position: relative; }
.section-black::before, .contact-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227,30,36,0.6), transparent);
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .hero-content > *, .hero-inner--page > div > *, .hero-stats { animation: none; }
  .float-call, .float-wa, .cta-banner, .cta-banner::before { animation: none; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, [data-stagger] > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}
