/* ============================================
   COBBLER'S CLOSET — Custom Styles
   ============================================ */

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

:root {
  --emerald-950: #022c22;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-50: #fefdf8;
  --cream-100: #fef9ef;
  --cream-200: #fdf3e0;
  --cream-300: #f5e6c8;
  --warm-900: #1c1917;
  --warm-800: #292524;
  --warm-700: #44403c;
  --warm-600: #57534e;
  --warm-500: #78716c;
  --warm-300: #d6d3d1;
  --warm-200: #e7e5e4;
  --warm-100: #f5f5f4;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--warm-900);
  background: var(--cream-50);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
  padding: 0;
}

.nav.scrolled {
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s var(--ease-out);
}

.nav.scrolled .nav-inner {
  padding: 14px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav-logo-mark {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--cream-50);
  transition: color 0.4s var(--ease-out);
  line-height: 1;
}

.nav.scrolled .nav-logo-mark {
  color: var(--emerald-800);
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream-50);
  letter-spacing: 0.02em;
  transition: color 0.4s var(--ease-out);
}

.nav.scrolled .nav-logo-text {
  color: var(--emerald-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(254, 253, 248, 0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--emerald-500);
  transition: width 0.3s var(--ease-out);
}

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

.nav-link:hover {
  color: #fff;
}

.nav.scrolled .nav-link {
  color: var(--warm-700);
}

.nav.scrolled .nav-link:hover {
  color: var(--emerald-700);
}

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--emerald-900);
  background: var(--cream-100);
  padding: 10px 22px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

.nav-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

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

.nav-toggle-line {
  width: 24px;
  height: 2px;
  background: var(--cream-50);
  transition: background 0.3s, transform 0.3s var(--ease-out);
  display: block;
}

.nav.scrolled .nav-toggle-line {
  background: var(--emerald-900);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--emerald-900);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream-100);
  padding: 8px;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream-100);
  transition: color 0.3s;
}

.mobile-menu-link:hover {
  color: var(--emerald-400);
}

.mobile-menu-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream-200);
  margin-top: 12px;
  padding: 14px 32px;
  border: 1.5px solid rgba(254, 253, 248, 0.3);
  border-radius: 100px;
  transition: border-color 0.3s, color 0.3s;
}

.mobile-menu-cta:hover {
  border-color: var(--cream-200);
  color: #fff;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 44, 34, 0.55) 0%,
    rgba(6, 78, 59, 0.65) 50%,
    rgba(2, 44, 34, 0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(254, 253, 248, 0.75);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.hero-headline em {
  font-style: italic;
  color: var(--cream-200);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  font-weight: 300;
  color: rgba(254, 253, 248, 0.8);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.btn-primary {
  background: var(--cream-100);
  color: var(--emerald-900);
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(254, 253, 248, 0.45);
}

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

.btn-emerald {
  background: var(--emerald-800);
  color: #fff;
}

.btn-emerald:hover {
  background: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 95, 70, 0.3);
}

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

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(254, 253, 248, 0.5);
  animation: scrollBounce 2s ease-in-out infinite;
  transition: color 0.3s;
}

.hero-scroll:hover {
  color: rgba(254, 253, 248, 0.9);
}

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

/* --- Section Shared --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--warm-900);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  color: var(--emerald-700);
}

/* --- Services --- */
.services {
  padding: 120px 0;
  background: var(--cream-50);
}

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

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  border: 1px solid var(--warm-200);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(6, 95, 70, 0.1);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-800);
  margin-bottom: 24px;
  transition: background 0.3s, color 0.3s;
}

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

.service-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--warm-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

.services-cta {
  text-align: center;
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: var(--cream-100);
  overflow: hidden;
}

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

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

.about-image {
  border-radius: 20px;
  width: 100%;
  height: 560px;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(6, 95, 70, 0.15);
}

.about-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--emerald-600);
  border-radius: 20px;
  z-index: -1;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--warm-700);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--warm-800);
}

.about-value svg {
  color: var(--emerald-700);
  flex-shrink: 0;
}

/* --- Gallery --- */
.gallery {
  padding: 120px 0;
  background: var(--cream-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 16px;
}

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

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 44, 34, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

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

.gallery-item-overlay span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

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

/* --- Testimonial --- */
.testimonial-strip {
  padding: 100px 0;
  background: var(--emerald-900);
}

.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-strip blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream-100);
  line-height: 1.65;
  margin-bottom: 32px;
}

.testimonial-attr {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(254, 253, 248, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: var(--cream-50);
}

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

.contact-text {
  font-size: 1.0625rem;
  color: var(--warm-600);
  line-height: 1.8;
  margin-bottom: 40px;
}

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

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

.contact-detail svg {
  color: var(--emerald-700);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-500);
  margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
  font-size: 1.0625rem;
  color: var(--warm-900);
  font-weight: 500;
}

.contact-detail a:hover {
  color: var(--emerald-700);
  text-decoration: underline;
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  border: 1px solid var(--warm-200);
  box-shadow: 0 20px 60px rgba(6, 95, 70, 0.06);
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--warm-900);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-600);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--warm-900);
  background: var(--cream-50);
  border: 1.5px solid var(--warm-200);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--cream-100);
  border: 1px solid var(--emerald-200);
  border-radius: 12px;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--emerald-800);
}

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

/* --- Map --- */
.map-section {
  height: 400px;
  filter: saturate(0.7) contrast(1.05);
}

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

/* --- Footer --- */
.footer {
  background: var(--warm-900);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(254, 253, 248, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-mark {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--cream-200);
  line-height: 1;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream-100);
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-500);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9375rem;
  color: var(--warm-500);
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-200);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--warm-500);
  transition: color 0.3s;
}

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

.footer-hours-text,
.footer-contact p {
  font-size: 0.9375rem;
  color: var(--warm-500);
  line-height: 1.8;
}

.footer-hours-note {
  font-size: 0.8125rem;
  color: var(--warm-600);
  margin-top: 8px;
  font-style: italic;
}

.footer-contact a {
  color: var(--warm-400);
  transition: color 0.3s;
}

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

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--warm-600);
}

.footer-bottom a {
  color: var(--warm-500);
  transition: color 0.3s;
}

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

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

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

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

  .about-grid {
    gap: 48px;
  }

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

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

  .nav-toggle {
    display: flex;
  }

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

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

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

  .services {
    padding: 80px 0;
  }

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

  .service-card {
    padding: 28px 24px;
  }

  .about {
    padding: 80px 0;
  }

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

  .about-image {
    height: 400px;
  }

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

  .gallery {
    padding: 80px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }

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

  .testimonial-strip {
    padding: 80px 0;
  }

  .contact {
    padding: 80px 0;
  }

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

  .contact-form-wrap {
    padding: 32px 24px;
  }

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

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

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

  .nav-inner {
    padding: 16px 16px;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }

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