/* ============================================================
   Cofella.az — Əsas Stil Faylı
   Rəng Palitəsi: Light/Açıq — ağ, bej, qəhvəyi
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

/* ── CSS Dəyişənləri ──────────────────────────────────────── */
:root {
  --primary:       #6B3A2A;
  --primary-dark:  #4e2a1d;
  --primary-light: #8b5243;
  --accent:        #C9A96E;
  --accent-dark:   #a8854d;
  --beige:         #F5F0E8;
  --beige-dark:    #ece4d4;
  --warm-white:    #FEFCF9;
  --text-dark:     #1E1E1E;
  --text-gray:     #6B6B6B;
  --text-light:    #9A9A9A;
  --border:        #E8E0D5;
  --border-dark:   #d4c9b8;
  --white:         #ffffff;
  --black:         #000000;
  --shadow-sm:     0 2px 8px rgba(107,58,42,0.08);
  --shadow-md:     0 8px 32px rgba(107,58,42,0.12);
  --shadow-lg:     0 20px 60px rgba(107,58,42,0.16);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main:     'Poppins', sans-serif;
  --font-display:  'Playfair Display', serif;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

img, video, iframe, embed, object, picture, svg { max-width: 100%; height: auto; display: block; }
img { -ms-interpolation-mode: bicubic; }

/* Mobil üçün universal overflow qoruması */
.container, .container--wide, .container--sm,
.section, .section-header, .section-title, .section-subtitle,
.page-hero__inner, .page-hero__title, .page-hero__sub,
.hero-slide__content, .hero-slide__title, .hero-slide__subtitle,
.about-preview, .about-preview__content, .about-preview__text,
.product-card, .product-card__body, .product-card__name, .product-card__desc,
.value-card, .value-card__title, .value-card__text,
.service-card, .service-card__title, .service-card__desc,
.extra-feature-card, .patent-card,
.blog-card, .blog-card__body, .blog-card__title, .blog-card__excerpt,
.location-card, .location-card__body,
.contact-form, .contact-info, .contact-info__item,
.footer, .footer-grid, .footer-col, .footer-bottom {
  max-width: 100%;
}
a   { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-main); border: none; background: none; }
input, textarea, select { font-family: var(--font-main); }

/* ── Lottie Preloader ─────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0;
  background: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
#lottie-loader { width: 180px; height: 180px; }
.loader-brand {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ── Konteynerlər ─────────────────────────────────────────── */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; width: 100%; }
.container--sm   { max-width: 800px;  margin: 0 auto; padding: 0 20px; width: 100%; }

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(254,252,249,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.header__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}
.header__logo img { height: 42px; width: auto; }
.header__logo-text span { color: var(--accent); }

.nav__list {
  display: flex; align-items: center; gap: 4px;
}
.nav__link {
  display: block; padding: 8px 14px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-dark); border-radius: var(--radius-sm);
  position: relative; overflow: hidden;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary);
  border-radius: 1px; transition: width 0.3s ease;
}
.nav__link:hover, .nav__link.active { color: var(--primary); }
.nav__link:hover::after, .nav__link.active::after { width: calc(100% - 28px); }

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

/* Dil seçici */
.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  background: var(--beige); border-radius: 20px; padding: 4px;
}
.lang-switcher a {
  padding: 4px 10px; border-radius: 16px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--text-gray); transition: var(--transition);
}
.lang-switcher a.active, .lang-switcher a:hover {
  background: var(--primary); color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px 0; cursor: pointer;
}
.hamburger span {
  display: block; height: 2px; background: var(--text-dark);
  border-radius: 1px; transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; top: 72px;
  background: var(--warm-white); z-index: 999;
  padding: 24px 20px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__link {
  display: block; padding: 14px 16px;
  font-size: 1rem; font-weight: 500;
  color: var(--text-dark); border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border);
}
.mobile-nav__link:hover { background: var(--beige); color: var(--primary); }
.mobile-lang { display: flex; gap: 8px; margin-top: 24px; }
.mobile-lang a {
  flex: 1; text-align: center; padding: 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.875rem; color: var(--text-gray);
}
.mobile-lang a.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ── Düymələr ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,58,42,0.3);
}
.btn--outline {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary); color: var(--white);
  transform: translateY(-2px);
}
.btn--accent {
  background: var(--accent); color: var(--white); border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-dark); border-color: var(--accent-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.3);
}
.btn--white {
  background: var(--white); color: var(--primary); border-color: var(--white);
}
.btn--white:hover { background: var(--beige); transform: translateY(-2px); }
.btn--sm  { padding: 8px 20px; font-size: 0.8rem; }
.btn--lg  { padding: 16px 40px; font-size: 1rem; }
.btn--full { width: 100%; }

/* WhatsApp float düyməsi */
.whatsapp-float {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  left: auto !important;
  z-index: 99999 !important;
  width: 56px; height: 56px;
  background: #25D366; color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); animation: waBounce 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  color: var(--white);
}
@keyframes waBounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

/* ── Section Başlıqlar ────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px; border-radius: 20px;
  background: var(--beige); color: var(--primary);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text-dark); margin-bottom: 16px;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 1rem; color: var(--text-gray);
  max-width: 560px; margin: 0 auto;
}

/* ── Hero Slider ──────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; margin-top: 72px;
}
.hero-slider { width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide__bg {
  position: absolute; inset: 0;
  background: #000;
}
.hero-slide__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}
.hero-slide__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 1;
}
.hero-slide__content {
  position: relative; z-index: 2;
  max-width: 680px; color: var(--white);
}
.hero-slide__tag {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(201,169,110,0.25); border: 1px solid rgba(201,169,110,0.5);
  color: var(--accent); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero-slide__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 20px;
}
.hero-slide__subtitle {
  font-size: 1.1rem; opacity: 0.9; margin-bottom: 32px; max-width: 520px;
}
.hero-slide__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Slider kontrollar */
.hero-controls {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: var(--transition); border: none;
}
.hero-dot.active { width: 28px; border-radius: 4px; background: var(--white); }
.hero-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: 0; right: 0; display: flex; justify-content: space-between;
  padding: 0 24px; z-index: 10; pointer-events: none;
}
.hero-arrow {
  pointer-events: all;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  backdrop-filter: blur(4px); transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }
.hero-scroll {
  position: absolute; bottom: 40px; right: 40px; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 0.75rem; font-weight: 500;
  writing-mode: vertical-rl;
}
.hero-scroll::before {
  content: ''; display: block; width: 1px; height: 48px;
  background: rgba(255,255,255,0.4);
  animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--beige { background: var(--beige); }
.section--dark  { background: var(--primary); color: var(--white); }

/* ── Haqqımızda Qısa (Ana Səhifə) ────────────────────────── */
.about-preview {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch;
}
.about-preview__img {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 620px;
}
.about-preview__video {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
}
.about-preview__video video {
  width: 100%; display: block; object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-preview__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.about-preview__img:hover img { transform: scale(1.04); }
.about-preview__badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.about-preview__badge-icon { font-size: 2rem; }
.about-preview__badge-num { font-size: 1.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.about-preview__badge-label { font-size: 0.75rem; color: var(--text-gray); }
.about-preview__content { display: flex; flex-direction: column; gap: 24px; }
.about-preview__text { font-size: 1rem; color: var(--text-gray); line-height: 1.8; }
.about-preview__features { display: flex; flex-direction: column; gap: 12px; }
.about-preview__feature {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--text-dark); font-weight: 500;
}
.about-preview__feature i { color: var(--accent); font-size: 1.1rem; width: 20px; }

/* ── Before / After Slider ────────────────────────────────── */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 1398 / 1125;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
  user-select: none;
  touch-action: none;
  --ba-percent: 50%;
}
.ba-slider__img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.ba-slider__img img {
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.ba-slider__img--after {
  clip-path: inset(0 0 0 var(--ba-percent));
}
.ba-slider__label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: none;
  z-index: 5;
}
.ba-slider__label--before { left: 16px; }
.ba-slider__label--after { right: 16px; }
.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  margin: 0;
}
.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: var(--ba-percent);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  color: var(--primary);
  pointer-events: none;
  z-index: 11;
}
.ba-slider__handle::before {
  content: '';
  position: absolute;
  top: -1000px;
  bottom: -1000px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.8);
  pointer-events: none;
}

/* ── Əlavə Funksiyalar Kartları ───────────────────────────── */
.extra-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.extra-feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.extra-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.extra-feature-card__img {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
}
.extra-feature-card__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.extra-feature-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.extra-feature-card__desc {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ── Patent Texnologiyaları Kartları ──────────────────────── */
.patent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.patent-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.patent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.patent-card__img {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 140px;
}
.patent-card__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.patent-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.patent-card__desc {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ── Məhsullar Kartları ───────────────────────────────────── */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.product-card__img {
  aspect-ratio: 4/3; overflow: hidden; position: relative;
  background: var(--white); display: flex; align-items: center; justify-content: center;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: contain;
  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;
  background: var(--accent); color: var(--white);
  padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}
.product-card__body { padding: 20px 24px 24px; }
.product-card__name {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--text-dark);
}
.product-card__desc {
  font-size: 0.875rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 16px;
}
.product-card__footer {
  display: flex; align-items: center; justify-content: center;
}
.product-card__footer .btn { width: 100%; justify-content: center; }

/* Filtr tabs */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-tab {
  padding: 8px 20px; border-radius: 50px; border: 2px solid var(--border);
  font-size: 0.875rem; font-weight: 500; color: var(--text-gray);
  cursor: pointer; transition: var(--transition); background: var(--white);
}
.filter-tab.active, .filter-tab:hover {
  border-color: var(--primary); background: var(--primary); color: var(--white);
}

/* ── Statistika ───────────────────────────────────────────── */
.stats-section { background: var(--primary); padding: 72px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 40px;
}
.stat-item { text-align: center; color: var(--white); }
.stat-item__num {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; line-height: 1; color: var(--accent); margin-bottom: 8px;
}
.stat-item__num span { font-size: 0.6em; }
.stat-item__label { font-size: 0.9rem; opacity: 0.85; font-weight: 500; }

/* ── Xidmətlər ────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px; border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 0; background: var(--primary);
  transition: height 0.3s ease;
}
.service-card:hover::before { height: 100%; }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--border-dark); }
.service-card__icon {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  background: var(--beige); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary); margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-card__icon { background: var(--primary); color: var(--white); }
.service-card__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.service-card__desc { font-size: 0.875rem; color: var(--text-gray); line-height: 1.7; }
.service-card[data-service-modal] { cursor: pointer; }
.service-card[data-service-modal]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.service-detail-modal[hidden] { display: none; }
.service-detail-modal {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(35, 22, 17, 0.78);
}
.service-detail-modal__panel {
  position: relative; width: min(100%, 620px); max-height: calc(100vh - 48px);
  overflow-y: auto; padding: 48px 42px 40px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-lg); text-align: center;
}
.service-detail-modal__close {
  position: absolute; top: 14px; right: 16px;
  display: flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--beige); color: var(--primary);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.service-detail-modal__close:hover,
.service-detail-modal__close:focus-visible { background: var(--primary); color: var(--white); outline: none; }
.service-detail-modal__icon {
  display: flex; width: 68px; height: 68px; margin: 0 auto 20px;
  align-items: center; justify-content: center; border-radius: var(--radius-md);
  background: var(--beige); color: var(--primary); font-size: 1.65rem;
}
.service-detail-modal__title {
  margin-bottom: 16px; color: var(--text-dark);
  font-family: var(--font-display); font-size: clamp(1.45rem, 3vw, 2rem);
}
.service-detail-modal__text {
  margin: 0; color: var(--text-gray); font-size: 1rem; line-height: 1.8;
  white-space: pre-line; text-align: left;
}

@media (max-width: 640px) {
  .service-detail-modal { padding: 16px; }
  .service-detail-modal__panel { max-height: calc(100vh - 32px); padding: 44px 24px 30px; }
}

/* ── Partnyorlar ──────────────────────────────────────────── */
.partners-section {
  padding: 76px 0 84px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--beige);
}
.partners-section .section-header { margin-bottom: 34px; }
.partners-section__empty {
  margin: 0; color: var(--text-gray); text-align: center;
}
.partners-marquee {
  width: 100%; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.partners-marquee__track {
  display: flex; width: max-content;
  animation: partners-scroll 30s linear infinite;
  will-change: transform;
}
.partners-marquee:hover .partners-marquee__track,
.partners-marquee:focus-within .partners-marquee__track { animation-play-state: paused; }
.partners-marquee__group {
  display: flex; flex-shrink: 0; align-items: center;
  gap: 28px; padding-right: 28px;
}
.partner-logo {
  display: flex; width: 190px; height: 104px; flex-shrink: 0;
  align-items: center; justify-content: center;
  padding: 18px 24px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.partner-logo img {
  display: block; max-width: 100%; max-height: 68px;
  object-fit: contain;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .partners-section { padding: 56px 0 62px; }
  .partners-marquee__group { gap: 16px; padding-right: 16px; }
  .partner-logo { width: 152px; height: 88px; padding: 14px 18px; }
  .partner-logo img { max-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .partners-marquee__track { animation: none; }
  .partners-marquee__group[aria-hidden="true"] { display: none; }
}

/* ── Qalereya ─────────────────────────────────────────────── */
.gallery-chooser-section { background: linear-gradient(180deg, var(--white), var(--beige)); }
.gallery-chooser {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px; max-width: 980px; margin: 0 auto;
}
.gallery-choice {
  position: relative; display: flex; min-height: 210px; align-items: center; gap: 24px;
  overflow: hidden; padding: 34px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.gallery-choice::after {
  content: ''; position: absolute; right: -54px; bottom: -74px;
  width: 190px; height: 190px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}
.gallery-choice:hover,
.gallery-choice:focus-visible {
  transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-lg); outline: none;
}
.gallery-choice__icon {
  position: relative; z-index: 1; display: flex; width: 86px; height: 86px; flex: 0 0 86px;
  align-items: center; justify-content: center; border-radius: 24px;
  background: var(--beige); color: var(--primary); font-size: 2rem;
}
.gallery-choice--videos .gallery-choice__icon { background: var(--primary); color: var(--white); }
.gallery-choice__body { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.gallery-choice__body strong { color: var(--text-dark); font-family: var(--font-display); font-size: 1.8rem; }
.gallery-choice__body small { color: var(--text-gray); font-size: 0.9rem; }
.gallery-choice__arrow { position: relative; z-index: 1; margin-left: auto; color: var(--primary); font-size: 1.25rem; }
.gallery-media-section { min-height: 520px; }
.gallery-section-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px;
}
.gallery-section-switch {
  display: flex; gap: 6px; padding: 5px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--beige);
}
.gallery-section-switch a {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 17px;
  border-radius: 999px; color: var(--text-gray); font-size: 0.85rem; font-weight: 600;
}
.gallery-section-switch a.active { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px;
}
.gallery-card {
  overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; padding: 0; border: 0; background: #241811; cursor: zoom-in;
}
.gallery-grid--video .gallery-card__media { aspect-ratio: 16 / 9; cursor: pointer; }
.gallery-card__media:focus-visible { outline: 4px solid var(--accent); outline-offset: -4px; }
.gallery-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-card:hover .gallery-card__media img { transform: scale(1.045); }
.gallery-card__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(30, 18, 8, 0.5); color: var(--white); font-size: 1.5rem;
  opacity: 0; transition: opacity 0.25s ease;
}
.gallery-card__media:hover .gallery-card__overlay,
.gallery-card__media:focus-visible .gallery-card__overlay { opacity: 1; }
.gallery-card__play {
  position: absolute; top: 50%; left: 50%; display: flex; width: 66px; height: 66px;
  align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%; background: rgba(107,58,42,0.92); color: var(--white); font-size: 1.25rem;
  transform: translate(-50%, -50%); box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.gallery-card__play i { margin-left: 3px; }
.gallery-card__body { padding: 20px 22px 22px; }
.gallery-card__body h2 { margin-bottom: 7px; font-size: 1.05rem; }
.gallery-card__body p {
  display: -webkit-box; overflow: hidden; color: var(--text-gray); font-size: 0.86rem; line-height: 1.65;
  -webkit-box-orient: vertical; -webkit-line-clamp: 3;
}
.gallery-empty {
  display: flex; min-height: 280px; align-items: center; justify-content: center;
  flex-direction: column; gap: 18px; border: 2px dashed var(--border);
  border-radius: var(--radius-lg); background: var(--beige); color: var(--text-gray); text-align: center;
}
.gallery-empty i { color: var(--accent); font-size: 3.2rem; }
.gallery-empty p { font-size: 1rem; }
.gallery-modal[hidden] { display: none; }
.gallery-modal {
  position: fixed; inset: 0; z-index: 100000; display: flex;
  align-items: center; justify-content: center;
  padding: 72px 92px 28px; background: rgba(16, 10, 7, 0.95);
}
.gallery-modal__close,
.gallery-modal__nav {
  display: flex; width: 52px; height: 52px; align-items: center; justify-content: center;
  padding: 0; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%;
  background: rgba(255,255,255,0.12); color: var(--white); cursor: pointer;
}
.gallery-modal__close:hover,
.gallery-modal__close:focus-visible,
.gallery-modal__nav:hover,
.gallery-modal__nav:focus-visible { border-color: var(--white); background: rgba(255,255,255,0.24); outline: none; }
.gallery-modal__close { position: absolute; top: 16px; right: 20px; font-size: 2rem; line-height: 1; }
.gallery-modal__nav { position: absolute; top: 50%; z-index: 2; font-size: 1.2rem; transform: translateY(-50%); }
.gallery-modal__nav--prev { left: 24px; }
.gallery-modal__nav--next { right: 24px; }
.gallery-modal__nav[hidden] { display: none; }
.gallery-lightbox__figure {
  display: flex; width: 100%; min-width: 0; height: 100%; margin: 0; align-items: center;
  justify-content: center; flex-direction: column;
}
.gallery-lightbox__image {
  display: block; width: auto; height: auto;
  max-width: min(100%, calc(100vw - 184px)); max-height: calc(100vh - 185px);
  border-radius: 12px; object-fit: contain; box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}
.gallery-lightbox__figure figcaption {
  display: flex; max-width: 820px; margin-top: 14px; align-items: center;
  justify-content: center; flex-wrap: wrap; gap: 6px 14px; color: var(--white); text-align: center;
}
.gallery-lightbox__figure figcaption strong { width: 100%; font-size: 1rem; }
.gallery-lightbox__description { color: rgba(255,255,255,0.72); font-size: 0.86rem; }
.gallery-lightbox__counter { color: var(--accent); font-weight: 700; }
.gallery-video-modal { display: flex; align-items: center; justify-content: center; }
.gallery-video-modal__panel { width: min(100%, 1040px); }
.gallery-video-modal__panel h2 { margin-bottom: 14px; color: var(--white); font-size: 1.2rem; text-align: center; }
.gallery-video-modal__frame {
  position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 14px; background: #000; box-shadow: 0 18px 60px rgba(0,0,0,0.45);
}
.gallery-video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-choice { min-height: 180px; padding: 26px; }
  .gallery-choice__icon { width: 70px; height: 70px; flex-basis: 70px; font-size: 1.65rem; }
  .gallery-choice__body strong { font-size: 1.5rem; }
}

@media (max-width: 640px) {
  .gallery-chooser { grid-template-columns: 1fr; gap: 18px; }
  .gallery-choice { min-height: 150px; padding: 22px; }
  .gallery-section-toolbar { align-items: stretch; flex-direction: column; }
  .gallery-section-toolbar > .btn { align-self: flex-start; }
  .gallery-section-switch { display: grid; grid-template-columns: repeat(2, 1fr); }
  .gallery-section-switch a { justify-content: center; padding-inline: 12px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-modal { padding: 64px 50px 20px; }
  .gallery-modal__close,
  .gallery-modal__nav { width: 40px; height: 40px; }
  .gallery-modal__close { top: 12px; right: 12px; }
  .gallery-modal__nav--prev { left: 6px; }
  .gallery-modal__nav--next { right: 6px; }
  .gallery-lightbox__image { max-width: calc(100vw - 100px); max-height: calc(100vh - 190px); }
  .gallery-video-modal { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-choice,
  .gallery-card,
  .gallery-card__media img,
  .gallery-card__overlay { transition: none; }
}

/* ── Lokasiya Kartları ────────────────────────────────────── */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 28px; }
.location-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  transition: var(--transition);
}
.location-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.location-card__img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.location-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.location-card:hover .location-card__img img { transform: scale(1.06); }
.location-card__placeholder {
  width: 100%; height: 100%; background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--primary); opacity: 0.4;
}
.location-card__body { padding: 20px 24px 24px; }
.location-card__name { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.location-card__info { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.location-card__info-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.85rem; color: var(--text-gray);
}
.location-card__info-row i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* Xəritə görünüşü switcher */
.view-switcher {
  display: flex; background: var(--beige); border-radius: var(--radius-sm);
  padding: 4px; gap: 4px;
}
.view-btn {
  padding: 8px 20px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--text-gray);
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 6px;
}
.view-btn.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
#google-map { width: 100%; height: 520px; }

/* ── Bloq Kartları ────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 28px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border); transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  background: var(--beige); color: var(--primary);
  font-size: 0.75rem; font-weight: 600; margin-bottom: 12px;
}
.blog-card__title {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; line-height: 1.4;
  color: var(--text-dark); flex: 1;
}
.blog-card:hover .blog-card__title { color: var(--primary); }
.blog-card__excerpt { font-size: 0.875rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 16px; }
.blog-card__meta { display: flex; align-items: center; justify-content: space-between; }
.blog-card__date { font-size: 0.8rem; color: var(--text-light); }
.blog-card__views { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }

/* ── CTA Bölməsi ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 96px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(201,169,110,0.1);
}
.cta-section__inner { position: relative; z-index: 1; text-align: center; color: var(--white); }
.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px;
}
.cta-section__sub { font-size: 1.1rem; opacity: 0.85; margin-bottom: 40px; }
.cta-section__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Əlaqə Səhifəsi ───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info__item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border); transition: var(--transition);
}
.contact-info__item:hover { box-shadow: var(--shadow-sm); border-color: var(--accent); }
.contact-info__icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--beige); display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem; flex-shrink: 0;
}
.contact-info__label { font-size: 0.8rem; color: var(--text-gray); margin-bottom: 4px; }
.contact-info__value { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); }
.contact-info__value a:hover { color: var(--primary); }

/* Forma */
.contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; color: var(--text-dark); }
.form-label .req { color: var(--primary); }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text-dark); background: var(--warm-white);
  transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(107,58,42,0.08); }
.form-control.is-invalid { border-color: #e53e3e; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-error { font-size: 0.8rem; color: #e53e3e; margin-top: 4px; display: block; }
.form-success {
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: #f0fdf4; border: 1px solid #86efac; color: #15803d;
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-weight: 500;
}
.form-error-msg {
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626;
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}

/* ── Səhifə Başlığı (Inner pages) ────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
  padding: 80px 0 60px; margin-top: 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -5%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(107,58,42,0.05);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-gray); margin-bottom: 16px;
}
.page-hero__breadcrumb a:hover { color: var(--primary); }
.page-hero__breadcrumb i { font-size: 0.7rem; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--text-dark); margin-bottom: 12px;
}
.page-hero__title span { color: var(--primary); }
.page-hero__sub { font-size: 1.05rem; color: var(--text-gray); max-width: 600px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--text-dark); color: rgba(255,255,255,0.8);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand__logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white);
}
.footer-brand__logo img { height: 36px; }
.footer-brand__desc { font-size: 0.875rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-col__title {
  font-size: 0.9rem; font-weight: 600; color: var(--white);
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; margin-bottom: 12px;
}
.footer-contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom__text { font-size: 0.825rem; }
.footer-bottom__links { display: flex; gap: 20px; }
.footer-bottom__links a { font-size: 0.825rem; transition: var(--transition); }
.footer-bottom__links a:hover { color: var(--accent); }

/* ── Pagination ───────────────────────────────────────────── */
.pagination { margin-top: 48px; }
.pagination__list { display: flex; justify-content: center; gap: 8px; }
.pagination__btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-size: 0.9rem; font-weight: 500;
  color: var(--text-gray); transition: var(--transition); background: var(--white);
}
.pagination__btn:hover, .pagination__btn.active {
  border-color: var(--primary); background: var(--primary); color: var(--white);
}

/* ── Alert / Bildiriş ─────────────────────────────────────── */
.alert {
  padding: 14px 20px; border-radius: var(--radius-sm);
  display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; font-weight: 500;
  margin-bottom: 16px;
}
.alert--success { background:#f0fdf4; border:1px solid #86efac; color:#15803d; }
.alert--error   { background:#fef2f2; border:1px solid #fca5a5; color:#dc2626; }
.alert--info    { background:#eff6ff; border:1px solid #93c5fd; color:#1d4ed8; }

/* ── Haqqımızda Səhifəsi ──────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 24px; }
.value-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1px solid var(--border); text-align: center; transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--accent); }
.value-card__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--beige); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary); margin: 0 auto 16px;
}
.value-card__title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.value-card__text  { font-size: 0.875rem; color: var(--text-gray); line-height: 1.6; }

/* ── Bloq Detal ───────────────────────────────────────────── */
.blog-detail { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.blog-detail__content { background: var(--white); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--border); }
.blog-detail__img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.blog-detail__img img { width: 100%; height: 360px; object-fit: cover; }
.blog-detail__meta { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.blog-detail__cat { background: var(--beige); color: var(--primary); padding: 4px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.blog-detail__date, .blog-detail__views { font-size: 0.85rem; color: var(--text-gray); display: flex; align-items: center; gap: 6px; }
.blog-detail__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 24px; line-height: 1.3; }
.blog-content { font-size: 1rem; line-height: 1.85; color: var(--text-dark); }
.blog-content h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 28px 0 12px; color: var(--primary); }
.blog-content h3 { font-size: 1.2rem; margin: 24px 0 10px; }
.blog-content p  { margin-bottom: 16px; }
.blog-content ul { padding-left: 20px; margin-bottom: 16px; }
.blog-content ul li { margin-bottom: 6px; list-style: disc; }
.blog-content img { border-radius: var(--radius-md); margin: 20px 0; }
.blog-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget { background: var(--white); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); }
.sidebar-widget__title { font-size: 1rem; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--beige); }

/* ── Məhsul Detal ─────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-detail__img { border-radius: var(--radius-lg); overflow: hidden; }
.product-detail__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-detail__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 16px; }
.product-detail__price { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.product-detail__desc { font-size: 1rem; color: var(--text-gray); line-height: 1.8; margin-bottom: 28px; }

/* ── Axtarış ──────────────────────────────────────────────── */
.search-bar { position: relative; max-width: 480px; }
.search-bar input {
  width: 100%; padding: 12px 48px 12px 16px;
  border: 1.5px solid var(--border); border-radius: 50px;
  font-size: 0.9rem; outline: none; transition: var(--transition);
  background: var(--white);
}
.search-bar input:focus { border-color: var(--primary); }
.search-bar button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  transition: var(--transition);
}
.search-bar button:hover { background: var(--primary-dark); }

/* ── Boş vəziyyət ─────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 80px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.empty-state__icon { font-size: 4rem; color: var(--border-dark); }
.empty-state__title { font-size: 1.2rem; font-weight: 600; color: var(--text-dark); }
.empty-state__text  { font-size: 0.9rem; color: var(--text-gray); }

/* ── Xəta Səhifəsi ────────────────────────────────────────── */
.error-page { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.error-page__code { font-size: clamp(6rem, 15vw, 12rem); font-weight: 800; color: var(--beige-dark); line-height: 1; }
.error-page__title { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.error-page__text  { color: var(--text-gray); margin-bottom: 32px; }

/* ── Lokasiya Filtr toolbar ───────────────────────────────── */
.locations-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; margin-bottom: 32px;
}
.city-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.city-btn {
  padding: 7px 18px; border-radius: 50px; border: 1.5px solid var(--border);
  font-size: 0.85rem; font-weight: 500; color: var(--text-gray); cursor: pointer; transition: var(--transition);
  background: var(--white);
}
.city-btn.active, .city-btn:hover { border-color: var(--primary); background: var(--primary); color: var(--white); }
