/* ============================================
   DeLong's Barbershop — Custom Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
  -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: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #0d9488;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.08);
  transition: box-shadow 0.3s ease;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  color: #0d9488;
  font-weight: 400;
}

.logo-light {
  color: #f0fdfa;
}

.logo-icon {
  color: #0d9488;
  flex-shrink: 0;
}

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

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

.main-nav a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:not(.btn):hover {
  color: #0d9488;
  background: #f0fdfa;
}

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

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

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

.btn-primary {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

.btn-primary:hover {
  background: #0f766e;
  border-color: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-outline {
  background: transparent;
  color: #0d9488;
  border-color: #0d9488;
}

.btn-outline:hover {
  background: #0d9488;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: #0d9488;
  border-color: #ffffff;
}

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

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

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 50%, #f8fafc 100%);
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(13, 148, 136, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(13, 148, 136, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  color: #0d9488;
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: #0d9488;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #cbd5e1;
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-accent {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 2px solid rgba(13, 148, 136, 0.15);
  pointer-events: none;
}

.hero-floating-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.floating-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.floating-card-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.floating-card-sub {
  font-size: 0.8rem;
  color: #64748b;
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #ffffff;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* --- Section shared --- */
.section {
  padding: 6rem 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0d9488;
  background: rgba(13, 148, 136, 0.07);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

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

/* --- Services --- */
.services {
  background: #ffffff;
}

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

.service-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: #ffffff;
  border-color: rgba(13, 148, 136, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.08);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.service-card-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.service-card-desc {
  font-size: 0.925rem;
  color: #64748b;
  line-height: 1.65;
}

/* --- About --- */
.about {
  background: #f8fafc;
}

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

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.1);
}

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

.about-image-secondary {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border: 4px solid #f8fafc;
}

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

.about-experience-badge {
  position: absolute;
  top: -1.5rem;
  right: 2rem;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #ffffff;
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.3);
}

.badge-number {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.25rem;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

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

.about-text {
  font-size: 1.025rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  flex-shrink: 0;
}

/* --- Gallery --- */
.gallery {
  background: #ffffff;
}

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

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

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

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

.gallery-item--large {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-item--large img {
  height: 100%;
  min-height: 400px;
}

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

.gallery-item--wide img {
  height: 100%;
  min-height: 200px;
}

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

/* --- Testimonials --- */
.testimonials {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  color: #ffffff;
}

.testimonials .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.testimonials .section-title {
  color: #ffffff;
}

.testimonials .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

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

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

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

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

.author-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.author-detail {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-content {
  flex: 1;
  min-width: 280px;
}

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

.cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 480px;
}

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

/* --- Contact --- */
.contact {
  background: #f8fafc;
}

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

.contact-desc {
  font-size: 1.025rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

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

.detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  flex-shrink: 0;
}

.detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 0.975rem;
  color: #1e293b;
  line-height: 1.6;
}

.detail-link {
  color: #0d9488;
  font-weight: 500;
  transition: color 0.2s;
}

.detail-link:hover {
  color: #0f766e;
  text-decoration: underline;
}

.detail-note {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Contact form */
.contact-form-wrap {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.form-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.925rem;
  color: #64748b;
  margin-bottom: 1.75rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0d9488;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

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

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(13, 148, 136, 0.07);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 12px;
  color: #0d9488;
  font-weight: 500;
  font-size: 0.925rem;
}

.form-success svg {
  flex-shrink: 0;
  color: #0d9488;
}

/* Map */
.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.map-wrap iframe {
  display: block;
  width: 100%;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

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

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

.footer-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

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

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.footer-contact-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #5eead4;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-contact-list a:hover {
  color: #5eead4;
}

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #5eead4;
}

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

  .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; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2.5rem;
  }

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

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

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

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

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

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

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

  .main-nav a:not(.btn) {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
  }

  .main-nav .btn {
    margin-top: 1rem;
    justify-content: center;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-floating-card {
    left: 1rem;
    bottom: 1rem;
  }

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

  .about-image-secondary {
    right: 0;
    bottom: -1.5rem;
  }

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

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

  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item--large img {
    min-height: 250px;
  }

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

  .gallery-item img {
    height: 180px;
  }

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

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

  .cta-container {
    flex-direction: column;
    text-align: center;
  }

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

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

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 4rem;
  }

  .hero-floating-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
    border-radius: 14px;
  }

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

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

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
  }

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

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
