/* ============================================
   Man Cave Motorsports — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1C2B26;
  background-color: #F5F0E8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Custom Properties --- */
:root {
  --emerald-900: #043B29;
  --emerald-800: #064E35;
  --emerald-700: #0A684B;
  --emerald-600: #10875F;
  --emerald-500: #1A9F72;
  --emerald-400: #2D9B6F;
  --cream-100: #FDFCFA;
  --cream-200: #F5F0E8;
  --cream-300: #E8E0D0;
  --cream-400: #D4CBB8;
  --charcoal: #1C2B26;
  --charcoal-light: #2D3B35;
  --warm-gray: #6B6560;
  --warm-gray-light: #9B9590;
  --white: #FFFFFF;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(10, 104, 75, 0.06), 0 1px 2px rgba(10, 104, 75, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 104, 75, 0.08), 0 2px 4px rgba(10, 104, 75, 0.04);
  --shadow-lg: 0 12px 40px rgba(10, 104, 75, 0.12), 0 4px 12px rgba(10, 104, 75, 0.06);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--emerald-700);
  color: var(--cream-100);
  border: 2px solid var(--emerald-700);
}

.btn-primary:hover {
  background-color: var(--emerald-800);
  border-color: var(--emerald-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--charcoal);
  border: 2px solid var(--cream-400);
}

.btn-outline:hover {
  border-color: var(--emerald-700);
  color: var(--emerald-700);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--white);
  color: var(--emerald-800);
  border: 2px solid var(--white);
}

.btn-white:hover {
  background-color: var(--cream-200);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--cream-100);
  border: 2px solid rgba(245, 240, 232, 0.4);
}

.btn-outline-light:hover {
  border-color: var(--cream-100);
  background-color: rgba(245, 240, 232, 0.08);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 56px;
}

.section-header--centered {
  text-align: center;
}

.section-header--centered .section-subtitle {
  margin: 0 auto;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 104, 75, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}

.logo--light .logo-text {
  color: var(--cream-100);
}

/* --- Navigation --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-list a:hover {
  color: var(--emerald-700);
  background-color: rgba(10, 104, 75, 0.06);
}

.nav-cta {
  background-color: var(--emerald-700) !important;
  color: var(--cream-100) !important;
  font-weight: 600 !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background-color: var(--emerald-800) !important;
  color: var(--cream-100) !important;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 120px 0 80px;
  background-color: var(--cream-200);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-300) 0%, var(--cream-200) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: radial-gradient(circle at 2px 2px, var(--emerald-700) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(10, 104, 75, 0.08);
  border: 1px solid rgba(10, 104, 75, 0.15);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--emerald-700);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: normal;
  color: var(--emerald-700);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background-color: rgba(10, 104, 75, 0.15);
  border-radius: 3px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 0;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stat {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
}

.stat:not(:last-child) {
  border-right: 1px solid var(--cream-300);
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald-700);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--warm-gray);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-main img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.hero-img-accent {
  position: absolute;
  bottom: -32px;
  left: -40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream-200);
}

.hero-img-accent img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.hero-accent-box {
  position: absolute;
  top: -16px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background-color: var(--emerald-700);
  color: var(--cream-100);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.hero-accent-box svg {
  flex-shrink: 0;
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  background-color: var(--cream-200);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: rgba(10, 104, 75, 0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background-color: var(--white);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(10, 104, 75, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  transition: background-color var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--emerald-700);
}

.service-card:hover .service-icon svg {
  stroke: var(--cream-100) !important;
}

.service-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* --- About --- */
.about {
  padding: 100px 0;
  background-color: var(--cream-200);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-stack {
  position: relative;
}

.about-img-primary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-primary img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-img-secondary {
  position: absolute;
  bottom: -24px;
  right: -24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream-200);
}

.about-img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.about-accent-strip {
  position: absolute;
  bottom: 40px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background-color: var(--emerald-700);
  color: var(--cream-100);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: var(--shadow-md);
}

.about-content .section-label {
  margin-bottom: 12px;
}

.about-body {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal-light);
}

.about-cta {
  margin-top: 8px;
}

/* --- Why Us --- */
.why-us {
  padding: 100px 0;
  background-color: var(--emerald-900);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(245, 240, 232, 0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.why-us .section-label {
  color: var(--emerald-400);
}

.why-us .section-title {
  color: var(--cream-100);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.why-card {
  padding: 40px 36px;
  background-color: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.why-card:hover {
  background-color: rgba(245, 240, 232, 0.08);
  border-color: rgba(245, 240, 232, 0.18);
  transform: translateY(-2px);
}

.why-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(45, 155, 111, 0.3);
  line-height: 1;
  margin-bottom: 16px;
}

.why-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--cream-100);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.9375rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px 28px;
  background-color: var(--cream-200);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: rgba(10, 104, 75, 0.12);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-quote {
  margin-bottom: 16px;
  opacity: 0.85;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--charcoal-light);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--emerald-700);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background-color: var(--emerald-700);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 240, 232, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--cream-100);
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1.0625rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.7;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background-color: var(--cream-200);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(10, 104, 75, 0.08);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-gray-light);
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 0.9375rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.6;
}

.contact-link {
  color: var(--emerald-700);
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--emerald-800);
  text-decoration: underline;
}

/* --- Contact Form --- */
.contact-form-wrap {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10, 104, 75, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--charcoal);
  background-color: var(--cream-100);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald-700);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(10, 104, 75, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-light);
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* --- Map --- */
.map-section {
  background-color: var(--cream-300);
}

.map-container {
  border-radius: 0;
  overflow: hidden;
}

.map-container iframe {
  filter: saturate(0.7) contrast(1.05);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--charcoal);
  color: rgba(245, 240, 232, 0.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand {
  max-width: 280px;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(245, 240, 232, 0.55);
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream-100);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(245, 240, 232, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--emerald-400);
}

.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-link {
  color: var(--emerald-400);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--emerald-300);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.35);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    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; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* --- Mobile Nav Overlay --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background-color: var(--cream-100);
    flex-direction: column;
    align-items: stretch;
    padding: 88px 28px 40px;
    gap: 4px;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-list a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero::before {
    width: 50%;
  }

  .hero-grid {
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-img-main img {
    height: 320px;
  }

  .hero-img-accent {
    left: -16px;
    bottom: -20px;
  }

  .hero-accent-box {
    top: -12px;
    right: -8px;
    padding: 10px 16px;
    font-size: 0.8125rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 calc(50% - 1px);
  }

  .stat:nth-child(2) .stat-divider {
    display: none;
  }

  .services {
    padding: 72px 0;
  }

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

  .about {
    padding: 72px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-primary img {
    height: 320px;
  }

  .about-img-secondary {
    right: -12px;
    bottom: -16px;
  }

  .about-img-secondary img {
    height: 160px;
  }

  .about-accent-strip {
    left: -12px;
    bottom: 24px;
    font-size: 0.75rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .why-us {
    padding: 72px 0;
  }

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

  .testimonials {
    padding: 72px 0;
  }

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

  .cta-banner {
    padding: 60px 0;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    justify-content: center;
  }

  .contact {
    padding: 72px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .section-title {
    font-size: 1.75rem;
  }
}
