/* ============================================
   Jackson Logging Inc. — Styles
   ============================================ */

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

:root {
  --emerald-900: #042f23;
  --emerald-800: #064E3B;
  --emerald-700: #065F46;
  --emerald-600: #047857;
  --emerald-500: #10B981;
  --emerald-400: #34D399;
  --cream-50: #FAF8F5;
  --cream-100: #F5F0E8;
  --cream-200: #EDE6D8;
  --cream-300: #E0D5C0;
  --charcoal: #1A1A1A;
  --charcoal-700: #2D2D2D;
  --charcoal-600: #3D3D3D;
  --charcoal-500: #555555;
  --charcoal-400: #717171;
  --charcoal-300: #9A9A9A;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1200px;
  --section-pad: clamp(4rem, 10vw, 8rem);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background-color: var(--cream-50);
  line-height: 1.6;
  -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;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.text-accent {
  color: var(--emerald-600);
  font-style: italic;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--emerald-700);
  color: var(--white);
  border-color: var(--emerald-700);
}

.btn-primary:hover {
  background-color: var(--emerald-800);
  border-color: var(--emerald-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.3);
}

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

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

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

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-200);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--charcoal);
}

.logo-light {
  color: var(--white);
}

.logo-icon {
  color: var(--emerald-600);
}

.logo-light .logo-icon {
  color: var(--emerald-400);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-600);
  padding: 0.5rem 0.875rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.main-nav a:hover {
  color: var(--emerald-700);
  background-color: rgba(6, 78, 59, 0.06);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.375rem;
  background-color: var(--emerald-700) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600 !important;
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--emerald-900);
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 47, 35, 0.3) 0%,
    rgba(4, 47, 35, 0.6) 50%,
    rgba(4, 47, 35, 0.85) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
  padding-bottom: 4rem;
  width: 100%;
  max-width: 900px;
}

.hero-content {
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-headline .text-accent {
  color: var(--emerald-300);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item svg {
  color: var(--emerald-400);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* --- Services --- */
.services {
  padding: var(--section-pad) 0;
  background-color: var(--cream-50);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

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

.service-card {
  background-color: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 8px;
  padding: 2.25rem;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--emerald-300);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(6, 78, 59, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(6, 78, 59, 0.08);
  border-radius: 12px;
  color: var(--emerald-700);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.875rem;
  color: var(--charcoal);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--charcoal-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--emerald-700);
  transition: all var(--transition);
}

.service-link:hover {
  gap: 0.625rem;
  color: var(--emerald-600);
}

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

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

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

.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  border: 4px solid var(--cream-100);
}

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

.about-badge {
  position: absolute;
  top: -1.5rem;
  right: 2rem;
  background-color: var(--emerald-800);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(6, 78, 59, 0.3);
}

.badge-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--emerald-300);
}

.badge-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.about-content .section-title {
  margin-bottom: 1.25rem;
}

.about-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 1rem;
  color: var(--charcoal-500);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--cream-300);
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald-700);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--charcoal-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.375rem;
}

.stat-divider {
  width: 1px;
  background-color: var(--cream-300);
  align-self: stretch;
}

/* --- Gallery --- */
.gallery {
  padding: var(--section-pad) 0;
  background-color: var(--cream-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 2; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 3; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 1 / 4; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 4 / 9; grid-row: 2 / 3; }

/* --- Testimonials --- */
.testimonials {
  padding: var(--section-pad) 0;
  background-color: var(--emerald-800);
}

.testimonials .section-eyebrow {
  color: var(--emerald-400);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-title .text-accent {
  color: var(--emerald-300);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2.25rem;
  transition: all var(--transition);
}

.testimonial-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.testimonial-quote {
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 47, 35, 0.9) 0%, rgba(6, 78, 59, 0.8) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-body {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

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

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

.contact-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.contact-body {
  font-size: 1rem;
  color: var(--charcoal-500);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(6, 78, 59, 0.08);
  border-radius: 10px;
  color: var(--emerald-700);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal-400);
  margin-bottom: 0.25rem;
}

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

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

.contact-link:hover {
  color: var(--emerald-500);
}

/* Form */
.contact-form-wrap {
  background-color: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.form-sub {
  font-size: 0.9375rem;
  color: var(--charcoal-400);
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal-600);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background-color: var(--cream-50);
  border: 1.5px solid var(--cream-300);
  border-radius: 6px;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--charcoal-300);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background-color: rgba(6, 78, 59, 0.08);
  border: 1px solid rgba(6, 78, 59, 0.2);
  border-radius: 6px;
  color: var(--emerald-800);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 1rem;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--emerald-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  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: 0.25rem;
}

.footer-phone {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--emerald-400) !important;
}

.footer-hours {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4) !important;
  margin-top: 0.75rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

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

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .gallery-item:nth-child(1) { grid-column: 1 / 7; }
  .gallery-item:nth-child(2) { grid-column: 7 / 10; grid-row: auto; }
  .gallery-item:nth-child(3) { grid-column: 10 / 13; grid-row: auto; }
  .gallery-item:nth-child(4) { grid-column: 1 / 6; grid-row: auto; }
  .gallery-item:nth-child(5) { grid-column: 6 / 13; grid-row: auto; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background-color: var(--cream-50);
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

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

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .main-nav a {
    font-size: 1.0625rem;
    padding: 0.875rem 1rem;
  }

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

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    width: 70%;
    margin-top: -1rem;
  }

  .about-badge {
    top: -1rem;
    right: 1rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item:nth-child(2) {
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .contact-form-wrap {
    padding: 1.5rem;
  }

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

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
