/* ============================================
   Miller-Blevins Excavating — 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', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #3d2b1f;
  background-color: #fefcf8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4602e;
  background: rgba(212, 96, 46, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: #1a120b;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: #6b5344;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #d4602e;
  color: #fff;
  border-color: #d4602e;
}

.btn-primary:hover {
  background: #c2471e;
  border-color: #c2471e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 96, 46, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-terra {
  background: #d4602e;
  color: #fff;
  border-color: #d4602e;
}

.btn-terra:hover {
  background: #c2471e;
  border-color: #c2471e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 96, 46, 0.3);
}

.btn-white {
  background: #fff;
  color: #d4602e;
  border-color: #fff;
}

.btn-white:hover {
  background: #fefcf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

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

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 252, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 96, 46, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 32px rgba(61, 43, 31, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: #1a120b;
}

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

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a3728;
  transition: color 0.2s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4602e;
  transition: width 0.25s ease;
}

.nav-menu a:hover {
  color: #d4602e;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  background: #d4602e;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #c2471e !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 96, 46, 0.3);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #1a120b;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(254, 252, 248, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #1a120b;
  padding: 0.5rem;
}

.mobile-menu-link {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #1a120b;
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: #d4602e;
}

.mobile-menu-cta {
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #d4602e;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 100px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(135deg, rgba(26, 18, 11, 0.72) 0%, rgba(61, 43, 31, 0.65) 50%, rgba(100, 55, 25, 0.7) 100%),
    url('https://images.pexels.com/photos/5974387/pexels-photo-5974387.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(212, 96, 46, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 191, 120, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 18, 11, 0.4) 0%, rgba(26, 18, 11, 0.1) 40%, rgba(26, 18, 11, 0.5) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9e0d0;
  background: rgba(212, 96, 46, 0.2);
  border: 1px solid rgba(212, 96, 46, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

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

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

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

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

.hero-stat-num {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: #f9e0d0;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Services ---- */
.services {
  padding: 6rem 0;
  background: #fefcf8;
}

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

.service-card {
  background: #fff;
  border: 1px solid rgba(212, 96, 46, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(61, 43, 31, 0.08);
  border-color: rgba(212, 96, 46, 0.15);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 96, 46, 0.08);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #1a120b;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: #6b5344;
  line-height: 1.7;
}

/* ---- About ---- */
.about {
  padding: 6rem 0;
  background: linear-gradient(180deg, #fdf2eb 0%, #fefcf8 100%);
}

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

.about-images {
  position: relative;
}

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

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

.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 55%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(61, 43, 31, 0.15);
  border: 4px solid #fefcf8;
}

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

.about-experience-badge {
  position: absolute;
  top: -1rem;
  right: 2rem;
  background: #d4602e;
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(212, 96, 46, 0.3);
}

.about-exp-num {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.about-exp-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.about-content .section-tag {
  margin-bottom: 1rem;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1rem;
  color: #6b5344;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #3d2b1f;
}

.about-content .btn {
  margin-top: 0.5rem;
}

/* ---- Gallery ---- */
.gallery {
  padding: 6rem 0;
  background: #fefcf8;
}

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

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 18, 11, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay span {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: #fff;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-wide {
  grid-column: span 12;
}

.gallery-item-wide img {
  height: 320px;
}

.gallery-item:not(.gallery-item-wide) {
  grid-column: span 6;
}

.gallery-item:not(.gallery-item-wide) img {
  height: 260px;
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(180deg, #fefcf8 0%, #fdf2eb 100%);
}

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

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(212, 96, 46, 0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(61, 43, 31, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: #4a3728;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 96, 46, 0.1);
  border-radius: 50%;
}

.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1a120b;
}

.testimonial-location {
  display: block;
  font-size: 0.8125rem;
  color: #8b7355;
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: 5rem 0;
  background: 
    linear-gradient(135deg, rgba(26, 18, 11, 0.82) 0%, rgba(100, 55, 25, 0.78) 100%),
    url('https://images.pexels.com/photos/7217918/pexels-photo-7217918.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=600') center center / cover no-repeat;
  text-align: center;
}

.cta-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

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

/* ---- Contact ---- */
.contact {
  padding: 6rem 0;
  background: #fefcf8;
}

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

.contact-info .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1rem;
  color: #6b5344;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 96, 46, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b7355;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1rem;
  color: #1a120b;
  font-weight: 500;
  line-height: 1.5;
}

.contact-value a {
  color: #d4602e;
}

.contact-value a:hover {
  color: #c2471e;
  text-decoration: underline;
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(61, 43, 31, 0.08);
}

/* Contact Form */
.contact-form-wrapper {
  background: #fff;
  border: 1px solid rgba(212, 96, 46, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(61, 43, 31, 0.06);
}

.contact-form-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #1a120b;
  margin-bottom: 1.75rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d2b1f;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #1a120b;
  background: #fefcf8;
  border: 1.5px solid rgba(212, 96, 46, 0.15);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b8a08a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #d4602e;
  box-shadow: 0 0 0 3px rgba(212, 96, 46, 0.1);
}

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

.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success-icon {
  margin: 0 auto 1rem;
  color: #d4602e;
}

.form-success-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #1a120b;
  margin-bottom: 0.75rem;
}

.form-success-text {
  font-size: 0.9375rem;
  color: #6b5344;
  line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
  background: #1a120b;
  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;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.footer-brand .footer-logo span {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: #fff;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #f9e0d0;
}

.footer-contact p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.footer-phone,
.footer-email {
  color: #f9e0d0;
  font-weight: 500;
}

.footer-phone:hover,
.footer-email:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  text-align: center;
}

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

/* ---- 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);
  }

  .about-grid {
    gap: 3rem;
  }

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

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

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

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

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 7rem 1.5rem 3rem;
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .services {
    padding: 4rem 0;
  }

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

  .about {
    padding: 4rem 0;
  }

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

  .about-images {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-content .section-tag {
    display: block;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .about-content .btn {
    margin: 0.5rem auto 0;
    display: inline-flex;
  }

  .about-features {
    justify-items: center;
  }

  .gallery {
    padding: 4rem 0;
  }

  .gallery-item-wide img {
    height: 220px;
  }

  .gallery-item:not(.gallery-item-wide) img {
    height: 200px;
  }

  .testimonials {
    padding: 4rem 0;
  }

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

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

  .cta-banner {
    padding: 4rem 0;
  }

  .contact {
    padding: 4rem 0;
  }

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

  .contact-info .section-title {
    text-align: center;
  }

  .contact-info .section-tag {
    display: block;
    text-align: center;
  }

  .contact-desc {
    text-align: center;
  }

  .contact-form-wrapper {
    padding: 1.75rem;
  }

  .footer {
    padding: 3rem 0 0;
  }

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

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

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

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

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

  .gallery-item-wide {
    grid-column: span 12;
  }

  .gallery-item:not(.gallery-item-wide) {
    grid-column: span 12;
  }

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

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