/* ========================================
   صنایع چوبی صالحی - Wooden Furniture
   Color: Wood Brown / Cream / Warm Earth
   RTL Persian Layout
   ======================================== */

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

:root {
  /* Brand Colors */
  --primary: #8B5E3C;
  --primary-dark: #6B4226;
  --primary-darker: #4A2E1A;
  --primary-light: #A67B5B;
  --primary-lighter: #C4A484;
  --accent: #D4A574;
  --accent-light: #E8C8A8;

  /* Neutrals */
  --cream: #FAF3E7;
  --cream-dark: #F0E4D0;
  --beige: #E8DCC8;
  --white: #FFFFFF;
  --dark: #2C1810;
  --dark-soft: #4A3528;
  --text: #3D2A1F;
  --text-muted: #8A7560;
  --border: #E0D2BC;
  --border-light: #EDE3D2;

  /* Semantic */
  --success: #4A8C3A;
  --bg: #FAF5EC;
  --bg-alt: #F5EDE0;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.1);
  --shadow-lg: 0 8px 32px rgba(44, 24, 16, 0.12);
  --shadow-xl: 0 16px 48px rgba(44, 24, 16, 0.16);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  font-size: 14px;
}

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

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.3);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 94, 60, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn--lg { padding: 14px 32px; font-size: 15px; }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* ====== HEADER ====== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header__top {
  background: var(--dark);
  color: var(--cream);
  font-size: 13px;
  padding: 8px 0;
}

.header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header__contact {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header__contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(250, 243, 231, 0.7);
}
.header__contact-item:hover { color: var(--accent-light); }
.header__contact-item svg { color: var(--primary-light); }

.header__top-actions { display: flex; gap: 16px; }
.header__top-link {
  color: rgba(250, 243, 231, 0.7);
  font-size: 13px;
}
.header__top-link:hover { color: var(--accent-light); }

.header__main {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.header__main-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}
.header__logo-text strong {
  font-size: 18px;
  color: var(--dark);
  line-height: 1.3;
}
.header__logo-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.header__nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.header__nav-link {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.header__nav-link:hover { color: var(--primary); background: var(--bg-alt); }
.header__nav-link.active { color: var(--primary); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.header__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.85) 0%, rgba(107, 66, 38, 0.7) 50%, rgba(44, 24, 16, 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 14px;
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero__subtitle {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-top: 12px;
}

.hero__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
  padding: 8px 24px;
}
.hero__stat strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1.2;
}
.hero__stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  z-index: 1;
}
.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0.3); }
}

/* ====== SECTION HEADER ====== */
.section__tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(139, 94, 60, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.section__desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}
.section__header .section__desc { margin: 0 auto; }

/* ====== FEATURES ====== */
.features {
  padding: 80px 0;
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ====== ABOUT ====== */
.about {
  padding: 80px 0;
  background: var(--bg-alt);
}

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

.about__images {
  position: relative;
}

.about__img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.about__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img-secondary {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--bg-alt);
  aspect-ratio: 4/3;
}
.about__img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img-badge {
  position: absolute;
  top: 24px;
  right: -16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.about__img-badge strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}
.about__img-badge span {
  font-size: 12px;
  opacity: 0.9;
}

.about__content { padding: 20px 0; }
.about__desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  margin: 16px 0 28px;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.about__list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about__list-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__list-item strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 2px;
}
.about__list-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ====== PRODUCTS ====== */
.products {
  padding: 80px 0;
  background: var(--white);
}

.products__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.products__tab {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.products__tab:hover { color: var(--primary); border-color: var(--primary-light); }

.products__tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.3);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}

.product-card__img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__img img {
  transform: scale(1.08);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
}
.product-card__badge--new {
  background: var(--success);
}

.product-card__body { padding: 20px; }
.product-card__body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.product-card__body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.product-card__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding: 10px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.product-card__details span {
  font-size: 12px;
  color: var(--text);
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.product-card__link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-card__link:hover { color: var(--primary-dark); }

.product-card__icons { display: flex; gap: 4px; }
.product-card__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.product-card__icon:hover {
  background: var(--primary);
  color: var(--white);
}

/* ====== GALLERY ====== */
.gallery {
  padding: 80px 0;
  background: var(--bg-alt);
}

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

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.1); }

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,24,16,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__overlay span {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

/* ====== ADS ====== */
.ads {
  padding: 80px 0;
  background: var(--white);
}

.ads__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.ad-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cream) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.ad-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
}
.ad-card__badge--new { background: var(--success); }
.ad-card__badge--special { background: var(--accent); }

.ad-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.ad-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ====== CONTACT ====== */
.contact {
  padding: 80px 0;
  background: var(--bg-alt);
}

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

.contact__desc {
  font-size: 15px;
  color: var(--text-muted);
  margin: 16px 0 32px;
  line-height: 1.9;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.contact__item:hover {
  border-color: var(--primary-lighter);
  box-shadow: var(--shadow-sm);
}

.contact__item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__item strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 4px;
}
.contact__item p, .contact__item a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.contact__item a { color: var(--primary); font-weight: 600; }

.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact__form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.form__group {
  margin-bottom: 16px;
}
.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
  resize: vertical;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}

.contact__success {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(74, 140, 58, 0.1);
  color: var(--success);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.contact__success.show { display: block; }

/* ====== FOOTER ====== */
.footer {
  background: var(--dark);
  color: rgba(250, 243, 231, 0.7);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.footer__logo strong {
  font-size: 18px;
  color: var(--cream);
}

.footer__col p {
  font-size: 13px;
  line-height: 1.9;
}

.footer__col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col ul li a, .footer__col ul li span {
  font-size: 13px;
  color: rgba(250, 243, 231, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__col ul li a:hover { color: var(--accent-light); }

.footer__contact li { margin-bottom: 12px; }
.footer__contact svg { color: var(--primary-light); flex-shrink: 0; margin-top: 3px; }

.footer__bottom {
  border-top: 1px solid rgba(250, 243, 231, 0.1);
  padding: 20px 0;
  text-align: center;
}
.footer__bottom p { font-size: 13px; color: rgba(250, 243, 231, 0.4); }

/* ====== FLOATING CALL ====== */
.floating-call {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139, 94, 60, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: float-pulse 2s ease-in-out infinite;
}
.floating-call:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(139, 94, 60, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(139, 94, 60, 0.6); }
}

/* ====== ANIMATIONS ====== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 991px) {
  .about__grid { grid-template-columns: 1fr; gap: 80px; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__item--large { grid-column: span 2; grid-row: span 2; }
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .header__nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    background: var(--white);
    padding: 16px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-light);
  }
  .header__nav.open .header__nav-link { width: 100%; padding: 12px 16px; }
}

@media (max-width: 767px) {
  .header__top { display: none; }
  .header__logo-text span { display: none; }
  .hero__stats { gap: 0; flex-wrap: wrap; justify-content: center; }
  .hero__stat { padding: 8px 12px; }
  .hero__stat-divider { display: none; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--large { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .features__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 20px 16px; }
  .about__img-secondary { display: none; }
  .header__cta span { display: none; }
  .header__cta { padding: 8px; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .gallery__item--large { grid-column: span 1; grid-row: span 1; }
  .products__grid { grid-template-columns: 1fr; }
  .ads__grid { grid-template-columns: 1fr; }
}