/* ============================================
   Hair Lounge — Jefferson City, MO
   Warm & Friendly | Plum + Amber Palette
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --plum-50: #faf5ff;
  --plum-100: #f3e8ff;
  --plum-200: #e9d5ff;
  --plum-300: #d8b4fe;
  --plum-400: #c084fc;
  --plum-500: #a855f7;
  --plum-600: #9333ea;
  --plum-700: #7e22ce;
  --plum-800: #5B2C6F;
  --plum-900: #3b0764;
  --plum-950: #1a052e;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #F59E0B;
  --amber-500: #d97706;
  --amber-600: #b45309;
  --amber-700: #92400e;

  --warm-50: #faf9f7;
  --warm-100: #f5f0e8;
  --warm-200: #ebe3d5;
  --warm-300: #d4c9b5;
  --warm-500: #a89880;
  --warm-700: #6b5e50;
  --warm-900: #2d2620;

  --white: #ffffff;
  --black: #1a1a1a;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(91, 44, 111, 0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(91, 44, 111, 0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(91, 44, 111, 0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 60px rgba(91, 44, 111, 0.15), 0 8px 20px rgba(0,0,0,0.1);

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Quicksand', 'Segoe UI', system-ui, sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--warm-900);
  background: var(--warm-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 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.938rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-amber {
  background: var(--amber-400);
  color: var(--plum-950);
  border-color: var(--amber-400);
}

.btn-amber:hover {
  background: var(--amber-500);
  border-color: var(--amber-500);
}

.btn-plum {
  background: var(--plum-800);
  color: var(--white);
  border-color: var(--plum-800);
}

.btn-plum:hover {
  background: var(--plum-700);
  border-color: var(--plum-700);
}

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

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

.btn-outline-plum {
  background: transparent;
  color: var(--plum-800);
  border-color: var(--plum-800);
}

.btn-outline-plum:hover {
  background: var(--plum-800);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.063rem;
}

.btn-full {
  width: 100%;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(91, 44, 111, 0.08);
  transition: box-shadow var(--transition);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--plum-800);
}

.logo-text {
  letter-spacing: -0.02em;
}

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

.main-nav a:not(.btn) {
  font-weight: 500;
  font-size: 0.938rem;
  color: var(--warm-700);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.main-nav a:not(.btn):hover {
  color: var(--plum-800);
  background: var(--plum-50);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--plum-50);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--plum-800);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--plum-950);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 5, 46, 0.88) 0%,
    rgba(91, 44, 111, 0.80) 40%,
    rgba(59, 7, 100, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--amber-300);
  font-weight: 600;
  font-size: 0.813rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.hero-sub {
  font-size: clamp(1.063rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.938rem;
  font-weight: 500;
}

.trust-item svg {
  color: var(--amber-400);
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  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); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.813rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 600;
  color: var(--plum-800);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.063rem;
  color: var(--warm-700);
  line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--warm-50);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(91, 44, 111, 0.07);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--plum-800), var(--amber-400));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--plum-800);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.938rem;
  color: var(--warm-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.link-cta {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--plum-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.link-cta:hover {
  gap: 8px;
  color: var(--plum-800);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

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

.about-images {
  position: relative;
}

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

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

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

.about-img-secondary img {
  width: 220px;
  height: 220px;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: -20px;
  right: 40px;
  opacity: 0.15;
}

.about-content .section-tag {
  text-align: left;
}

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

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

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--warm-200);
  border-bottom: 1px solid var(--warm-200);
}

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

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--plum-800);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.813rem;
  color: var(--warm-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--warm-200);
}

.about-content .btn {
  margin-top: 8px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 100px 0;
  background: var(--warm-50);
}

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

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:nth-child(1) {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
}
.gallery-item:nth-child(1) img {
  height: 100%;
  min-height: 500px;
}

.gallery-item:nth-child(2) {
  grid-column: 6 / 9;
}
.gallery-item:nth-child(2) img {
  height: 240px;
}

.gallery-item:nth-child(3) {
  grid-column: 9 / 13;
}
.gallery-item:nth-child(3) img {
  height: 240px;
}

.gallery-item:nth-child(4) {
  grid-column: 6 / 9;
}
.gallery-item:nth-child(4) img {
  height: 240px;
}

.gallery-item:nth-child(5) {
  grid-column: 9 / 11;
}
.gallery-item:nth-child(5) img {
  height: 240px;
}

.gallery-item:nth-child(6) {
  grid-column: 11 / 13;
}
.gallery-item:nth-child(6) img {
  height: 240px;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  padding: 100px 0;
  background: var(--white);
}

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

.review-card {
  background: var(--warm-50);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(91, 44, 111, 0.06);
  transition: all var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.review-text {
  font-size: 1rem;
  color: var(--warm-900);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--plum-800), var(--plum-600));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  display: block;
  font-weight: 600;
  font-size: 0.938rem;
  color: var(--plum-800);
}

.review-detail {
  display: block;
  font-size: 0.813rem;
  color: var(--warm-500);
  margin-top: 2px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

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

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 7, 100, 0.92) 0%,
    rgba(91, 44, 111, 0.88) 100%
  );
}

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

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-text {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 36px;
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--warm-50);
}

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

.contact-info .section-tag {
  text-align: left;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

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

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

.contact-item dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--plum-800);
  margin-bottom: 6px;
}

.contact-item dt svg {
  color: var(--amber-400);
}

.contact-item dd {
  font-size: 1rem;
  color: var(--warm-700);
  line-height: 1.7;
  padding-left: 28px;
}

.contact-item dd a {
  color: var(--plum-700);
  transition: color var(--transition);
}

.contact-item dd a:hover {
  color: var(--plum-800);
  text-decoration: underline;
}

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(91, 44, 111, 0.06);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--plum-800);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--warm-900);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--warm-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.938rem;
  color: var(--warm-900);
  background: var(--warm-50);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--plum-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

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

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

.form-note {
  text-align: center;
  font-size: 0.813rem;
  color: var(--warm-500);
  margin-top: 16px;
}

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

.form-success h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--plum-800);
  margin: 16px 0 8px;
}

.form-success p {
  color: var(--warm-700);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--plum-950);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.938rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 0.938rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

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

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

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

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

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

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

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

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

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

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

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

  .reviews-grid .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .about-grid {
    gap: 48px;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
  }

  .gallery-item:nth-child(1) {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
  }
  .gallery-item:nth-child(1) img {
    min-height: 350px;
  }
  .gallery-item:nth-child(2) { grid-column: 4 / 7; }
  .gallery-item:nth-child(2) img { height: 168px; }
  .gallery-item:nth-child(3) { grid-column: 4 / 6; }
  .gallery-item:nth-child(3) img { height: 168px; }
  .gallery-item:nth-child(4) { grid-column: 6 / 7; }
  .gallery-item:nth-child(4) img { height: 168px; }
  .gallery-item:nth-child(5) { grid-column: 1 / 3; }
  .gallery-item:nth-child(5) img { height: 168px; }
  .gallery-item:nth-child(6) { grid-column: 3 / 7; }
  .gallery-item:nth-child(6) img { height: 168px; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid rgba(91, 44, 111, 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .main-nav a:not(.btn) {
    display: block;
    padding: 14px 16px;
    font-size: 1.063rem;
    border-radius: var(--radius-md);
  }

  .main-nav a:not(.btn):hover {
    background: var(--plum-50);
  }

  .main-nav .btn {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }

  .hero-content {
    padding: 100px 24px 60px;
  }

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

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

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

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

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

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

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

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

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

  .about-content .btn {
    margin: 8px auto 0;
  }

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

  .gallery-item:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .gallery-item:nth-child(1) img {
    min-height: 280px;
    height: 280px;
  }
  .gallery-item:nth-child(n+2) {
    grid-column: auto;
  }
  .gallery-item:nth-child(n+2) img {
    height: 200px;
  }

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

  .reviews-grid .review-card:last-child {
    max-width: none;
  }

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

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

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

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

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }
}

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

  .services,
  .about,
  .gallery,
  .reviews,
  .contact {
    padding: 72px 0;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

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

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