/* Xaçmaz Şərab ASC — DLE template styles */

:root {
  --primary: #4a0404;
  --on-primary: #ffffff;
  --on-primary-container: #d26a5f;
  --primary-container: #4a0404;
  --secondary: #61603f;
  --background: #f8faf5;
  --surface: #f8faf5;
  --surface-container: #edeee9;
  --surface-container-low: #f3f4ef;
  --surface-container-lowest: #ffffff;
  --surface-container-high: #e7e9e3;
  --on-surface: #191c19;
  --on-surface-variant: #524341;
  --outline: #89726f;
  --outline-variant: #dcc0bd;
  --error: #ba1a1a;
  --container-max: 1280px;
  --margin-desktop: 64px;
  --margin-mobile: 20px;
  --section-gap: 120px;
  --gutter: 24px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: Inter, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
.btn {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined", sans-serif !important;
  font-weight: normal;
  font-style: normal;
  font-size: 1.25em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  -webkit-font-smoothing: antialiased;
  speak: never;
}

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--margin-mobile);
  padding-right: var(--margin-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--margin-desktop);
    padding-right: var(--margin-desktop);
  }
}

/* ——— Header & Premium navigation ——— */
.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
}

.header-top {
  display: none;
  border-bottom: 1px solid rgba(220, 192, 189, 0.25);
  background: rgba(74, 4, 4, 0.04);
}

@media (min-width: 900px) {
  .header-top {
    display: block;
  }
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.header-top__mark {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a0404;
}

.header-top__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(248, 250, 245, 0.97);
  border-bottom: 1px solid rgba(220, 192, 189, 0.35);
  transition: box-shadow 0.3s;
  overflow: visible;
}

.site-nav.is-scrolled {
  box-shadow: 0 12px 40px -20px rgba(74, 4, 4, 0.28);
}

.site-nav__bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  height: 64px;
  position: relative;
  overflow: visible;
}

.site-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  height: 100%;
}

.site-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.site-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(25, 28, 25, 0.72);
  transition: color 0.25s ease;
}

.site-menu > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: #4a0404;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.site-menu > li > a:hover,
.site-menu > li > a.is-active {
  color: #4a0404;
}

.site-menu > li > a:hover::after,
.site-menu > li > a.is-active::after {
  transform: scaleX(1);
}

.site-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.5);
  box-shadow: 0 16px 36px -18px rgba(74, 4, 4, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s;
  z-index: 200;
}

/* Hover boşluğunu bağlayan görünməz körpü */
.site-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.has-sub:hover > .site-submenu,
.has-sub:focus-within > .site-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-submenu a {
  display: block;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #524341;
  transition: color 0.2s, background 0.2s;
}

.site-submenu a:hover {
  color: #4a0404;
  background: rgba(74, 4, 4, 0.05);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #524341;
}

.lang-switch .is-active {
  color: #4a0404;
}

.lang-switch .sep {
  width: 1px;
  height: 10px;
  background: rgba(220, 192, 189, 0.7);
}

.lang-switch--mobile {
  justify-content: center;
  margin-top: 20px;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #4a0404;
  background: transparent;
  border: 1px solid rgba(74, 4, 4, 0.2);
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle.is-active {
  background: rgba(74, 4, 4, 0.06);
  border-color: #4a0404;
}

.menu-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.menu-toggle__bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #4a0404;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active .menu-toggle__bars span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bars span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 1100px) {
  .site-menu {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  background: rgba(25, 28, 25, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__panel {
  width: min(100%, 400px);
  height: 100%;
  background: linear-gradient(180deg, #f8faf5 0%, #f3f0ea 100%);
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(24px);
  transition: transform 0.35s ease;
  box-shadow: -20px 0 50px -30px rgba(0, 0, 0, 0.35);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(220, 192, 189, 0.35);
}

.mobile-menu__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #524341;
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #4a0404;
  border: 1px solid rgba(220, 192, 189, 0.5);
  background: transparent;
  cursor: pointer;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__list a {
  display: block;
  padding: 14px 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #191c19;
  border-bottom: 1px solid rgba(220, 192, 189, 0.25);
}

.mobile-menu__list a:hover {
  color: #4a0404;
  padding-left: 8px;
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: filter 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-primary.lg {
  padding: 16px 40px;
}

.btn-primary.block {
  width: 100%;
  padding: 14px;
  font-size: 11px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}

.btn-outline.sm {
  padding: 12px 24px;
  font-size: 12px;
}

.btn-outline.fill:hover {
  background: var(--primary);
  color: var(--on-primary);
}

body.menu-open {
  overflow: hidden;
}

/* Footer nav polish */
.footer-col ul a {
  position: relative;
  display: inline-block;
  transition: color 0.2s, transform 0.2s;
}

.footer-col ul a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

/* ——— Hero ——— */
.hero {
  background: var(--surface);
  padding: 80px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--outline-variant) 10%, transparent);
}

.hero-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 64px;
  }

  .hero-content {
    grid-column: span 7;
  }

  .hero-media {
    grid-column: span 5;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  margin-bottom: 32px;
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  color: var(--primary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
  border-radius: 9999px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 32px;
}

.hero h1 .italic {
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  font-size: 18px;
  line-height: 30px;
  color: color-mix(in srgb, var(--on-surface) 80%, transparent);
  max-width: 42rem;
  margin: 0 0 40px;
}

.hero-features {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hero-features {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-feature {
  display: flex;
  gap: 16px;
}

.hero-feature .material-symbols-outlined {
  color: var(--primary);
  font-size: 30px;
}

.hero-feature h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.hero-feature p {
  margin: 4px 0 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--on-surface) 60%, transparent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-media {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  z-index: 10;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid var(--surface-container-lowest);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame {
  position: absolute;
  inset: -40px -40px auto auto;
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
  transform: translate(16px, 16px);
  z-index: 0;
  pointer-events: none;
}

.hero-stat {
  display: none;
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--primary);
  padding: 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  z-index: 20;
  color: var(--on-primary);
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .hero-stat {
    display: block;
  }
}

/* ——— Sections shared ——— */
.section {
  padding: var(--section-gap) 0;
}

.section--surface {
  background: var(--surface);
}

.section--muted {
  background: var(--surface-container-low);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.section-label.block {
  display: block;
  margin-bottom: 16px;
}

.section-label .line {
  width: 48px;
  height: 1px;
  background: color-mix(in srgb, var(--primary) 40%, transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 24px;
}

.section-title.tight {
  margin-bottom: 40px;
  line-height: 1.25;
}

.section-desc {
  font-size: 16px;
  line-height: 24px;
  color: color-mix(in srgb, var(--on-surface) 60%, transparent);
  margin: 24px 0 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
  }
}

.section-head .max {
  max-width: 42rem;
}

.text-center {
  text-align: center;
}

.section-divider {
  width: 64px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto 80px;
}

/* ——— Heritage ——— */
.heritage-grid {
  display: grid;
  gap: 80px;
  align-items: center;
}

@media (min-width: 1024px) {
  .heritage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .heritage-text {
    order: 1;
  }

  .heritage-media {
    order: 2;
  }
}

.heritage-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 18px;
  line-height: 30px;
  color: color-mix(in srgb, var(--on-surface) 70%, transparent);
}

.heritage-body p {
  margin: 0;
}

.heritage-stats {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--outline-variant) 30%, transparent);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.heritage-stats .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 4px;
}

.heritage-stats .label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--on-surface) 50%, transparent);
}

.heritage-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid color-mix(in srgb, var(--outline-variant) 20%, transparent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.heritage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heritage-note {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 24px;
  background: var(--surface-container-low);
  border: 1px solid color-mix(in srgb, var(--outline-variant) 10%, transparent);
}

.heritage-note-icon {
  flex-shrink: 0;
  padding: 12px;
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  border-radius: 9999px;
  color: var(--primary);
}

.heritage-note p {
  margin: 0;
  font-size: 14px;
  color: var(--on-surface-variant);
}

/* ——— Home split layout (sol məzmun + sağ sənəd paneli) ——— */
.hero--compact {
  padding: 56px 0 48px;
}

.home-split {
  padding-top: 48px;
  padding-bottom: 64px;
}

.home-layout {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 1100px) {
  .home-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
  }
}

.home-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Ana səhifə — premium xəbərlər */
.home-news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.home-news__all {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.home-news__all:hover {
  opacity: 0.75;
}

.home-news__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: news-card;
}

@media (min-width: 700px) {
  .home-news__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.45);
  border-top: 3px solid #4a0404;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -28px rgba(74, 4, 4, 0.42);
}

.news-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(145deg, #3a0303 0%, #6b1a1a 55%, #4a0404 100%);
  counter-increment: news-card;
}

.news-card__media::after {
  content: counter(news-card, decimal-leading-zero);
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.9;
  transition: transform 0.6s ease, opacity 0.3s;
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
  opacity: 1;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}

.news-card__date {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(74, 4, 4, 0.65);
}

.news-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.32;
  color: #4a0404;
}

.news-card__title a:hover {
  opacity: 0.85;
}

.news-card__excerpt {
  margin: 0 0 16px;
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(25, 28, 25, 0.68);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt img,
.news-card__excerpt br + br {
  display: none;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  transition: gap 0.2s;
}

.news-card__link:hover {
  gap: 10px;
}

.news-card__link .material-symbols-outlined {
  font-size: 16px;
}

.home-products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.products-grid--home {
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .products-grid--home {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .products-grid--home {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #2a0202;
  border: none;
  color: #f6efe8;
}

.home-masthead {
  width: 100%;
  background: #2a0202;
}

.home-hero--masthead {
  background-color: #1a0101;
  background-image:
    linear-gradient(180deg, rgba(26, 1, 1, 0.55) 0%, rgba(42, 2, 2, 0.42) 40%, rgba(26, 1, 1, 0.62) 100%),
    url("../images/hero-cellar.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.home-hero--masthead .home-hero__intro {
  position: relative;
  padding: 40px 20px 28px;
  background: transparent;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
  .home-hero--masthead .home-hero__intro {
    padding: 72px 48px 88px;
  }
}

.home-hero--masthead .home-hero__title {
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  white-space: nowrap;
}

@media (max-width: 520px) {
  .home-hero--masthead .home-hero__title {
    white-space: normal;
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
  }
}

.home-hero--masthead .home-hero__lead {
  max-width: 42rem;
  font-size: 13px;
}

@media (min-width: 768px) {
  .home-hero--masthead .home-hero__lead {
    font-size: 14px;
  }
}

.home-hero__intro {
  padding: 36px 28px 28px;
  text-align: center;
}

@media (min-width: 700px) {
  .home-hero__intro {
    padding: 48px 40px 36px;
  }
}

.home-hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246, 239, 232, 0.72);
}

.home-hero__rule {
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 140, 0.85), transparent);
}

.home-hero__title {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #faf6f0;
  text-align: center;
}

.home-hero__title a {
  color: inherit;
  text-decoration: none;
}

.home-hero__title a:hover {
  opacity: 0.92;
}

.home-hero__lead {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 14.5px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 239, 232, 0.78);
}

.home-hero__br {
  display: none;
}

@media (min-width: 700px) {
  .home-hero__lead {
    font-size: 16px;
  }

  .home-hero__br {
    display: inline;
  }
}

.home-hero__stats {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 24px 0 0;
  max-width: none;
  pointer-events: none;
}

@media (min-width: 768px) {
  .home-hero__stats {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 28px;
    width: auto;
    margin: 0;
    align-items: flex-end;
  }
}

.home-hero__stat,
.home-hero__years {
  flex: 0 0 auto;
  max-width: calc(50% - 6px);
  pointer-events: auto;
  border: 1px solid rgba(212, 175, 140, 0.45);
  background: rgba(20, 2, 2, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #faf6f0;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .home-hero__stat,
  .home-hero__years {
    max-width: none;
    padding: 14px 18px;
  }
}

.home-hero__stat {
  text-align: left;
}

.home-hero__years {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.home-hero__stat .num,
.home-hero__years .num {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 6px;
}

.home-hero__stat .num {
  font-size: 22px;
  color: #d4af8c;
}

.home-hero__years .num {
  font-size: 20px;
  color: #faf6f0;
}

@media (min-width: 700px) {
  .home-hero__stat .num {
    font-size: 34px;
  }

  .home-hero__years .num {
    font-size: 28px;
  }
}

.home-hero__stat .label,
.home-hero__years .label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ——— Home İrs diptych (Tarix × 2) ——— */
.home-irs {
  padding-top: 4px;
}

.home-irs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.home-irs__all {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.home-irs__all:hover {
  opacity: 0.75;
}

.home-irs__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: irs;
}

@media (min-width: 700px) {
  .home-irs__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.irs-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.45);
  overflow: hidden;
  min-width: 0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.irs-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -28px rgba(74, 4, 4, 0.4);
}

.irs-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(145deg, #3a0303 0%, #6b1a1a 55%, #4a0404 100%);
  counter-increment: irs;
}

.irs-card__media::after {
  content: counter(irs, decimal-leading-zero);
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.irs-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.88;
  transition: transform 0.6s ease, opacity 0.3s;
}

.irs-card:hover .irs-card__media img {
  transform: scale(1.04);
  opacity: 1;
}

.irs-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}

.irs-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.irs-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: #4a0404;
}

.irs-card__title a:hover {
  opacity: 0.85;
}

.irs-card__excerpt {
  margin: 0 0 16px;
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(25, 28, 25, 0.68);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.irs-card__excerpt img,
.irs-card__excerpt br + br {
  display: none;
}

.irs-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  transition: gap 0.2s;
}

.irs-card__link:hover {
  gap: 10px;
}

.irs-card__link .material-symbols-outlined {
  font-size: 16px;
}

.home-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-panel {
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.5);
  box-shadow: 0 18px 40px -28px rgba(74, 4, 4, 0.35);
  overflow: hidden;
}

.side-panel__head {
  padding: 22px 22px 18px;
  background: #3a0303;
  color: #fff;
}

.side-panel__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 8px;
}

.side-panel__title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
}

.side-panel__all {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.side-panel__all:hover {
  color: #fff;
}

.side-docs {
  border-top: 1px solid rgba(220, 192, 189, 0.45);
}

.side-docs summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #4a0404;
  background: #fbfaf7;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.side-docs summary::-webkit-details-marker {
  display: none;
}

.side-docs summary::after {
  content: "+";
  font-size: 16px;
  color: rgba(74, 4, 4, 0.55);
  transition: transform 0.2s;
}

.side-docs[open] summary::after {
  transform: rotate(45deg);
}

.side-docs[open] summary {
  background: rgba(74, 4, 4, 0.06);
}

.side-docs__list {
  display: flex;
  flex-direction: column;
  padding: 4px 0 10px;
  background: #fff;
}

.side-docs__list a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  line-height: 1.4;
  color: #3a3332;
  border-left: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, padding-left 0.2s;
}

.side-docs__list a:hover {
  background: rgba(74, 4, 4, 0.04);
  color: #4a0404;
  border-left-color: #4a0404;
  padding-left: 22px;
}

.side-spotlight {
  display: block;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.5);
  border-top: 3px solid #4a0404;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.25s;
}

.side-spotlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -24px rgba(74, 4, 4, 0.4);
}

.side-spotlight__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a0404;
}

.side-spotlight__source {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(25, 28, 25, 0.55);
}

.side-spotlight__title {
  display: block;
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: #191c19;
}

.side-spotlight__text {
  display: block;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(25, 28, 25, 0.68);
}

.side-spotlight__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a0404;
}

.side-spotlight__link .material-symbols-outlined {
  font-size: 16px;
}

.side-promo {
  margin: 0;
  padding: 14px 14px 18px;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, #fff6d6 0%, transparent 55%),
    linear-gradient(165deg, #e8f6ff 0%, #fff8e8 48%, #ffe8c8 100%);
  border: 1px solid rgba(255, 200, 120, 0.45);
  box-shadow: 0 18px 36px -28px rgba(74, 4, 4, 0.35);
  text-align: center;
}

.side-promo__figure {
  position: relative;
  margin: 0 0 14px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  overflow: hidden;
}

.side-promo__figure::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background: radial-gradient(circle at 50% 30%, rgba(255, 220, 100, 0.45), transparent 70%);
  pointer-events: none;
  animation: promo-glow 4.5s ease-in-out infinite alternate;
}

.side-promo__figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  animation: promo-float 5s ease-in-out infinite;
}

.side-promo__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  color: #4a0404;
  letter-spacing: 0.02em;
}

.side-promo--premium {
  background:
    radial-gradient(ellipse 110% 80% at 50% 0%, rgba(232, 210, 140, 0.55) 0%, transparent 55%),
    linear-gradient(165deg, #f7f3e8 0%, #efe6d4 48%, #e8dfc8 100%);
  border-color: rgba(180, 150, 80, 0.4);
  box-shadow: 0 18px 36px -28px rgba(74, 4, 4, 0.28);
}

.side-promo--premium .side-promo__figure {
  background: rgba(255, 255, 255, 0.72);
}

.side-promo--premium .side-promo__figure::before {
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.28), transparent 70%);
}

.side-promo--premium .side-promo__title {
  color: #3d2e14;
}

@keyframes promo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes promo-glow {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .side-promo__figure img,
  .side-promo__figure::before {
    animation: none;
  }
}

/* ——— Əlaqə səhifəsi ——— */
.contact-page {
  padding-bottom: 48px;
}

.contact-page__hero {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(220, 192, 189, 0.4);
}

.contact-page__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #4a0404;
}

.contact-page__title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #4a0404;
}

.contact-page__dek {
  margin: 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(25, 28, 25, 0.7);
}

.contact-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background:
    linear-gradient(165deg, #fff 0%, #fbf7f4 100%);
  border: 1px solid rgba(220, 192, 189, 0.5);
  border-top: 3px solid #4a0404;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -28px rgba(74, 4, 4, 0.45);
  border-color: rgba(74, 4, 4, 0.25);
}

.contact-card__icon {
  font-size: 22px;
  color: #4a0404;
}

.contact-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(74, 4, 4, 0.65);
}

.contact-card__value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  color: #191c19;
  word-break: break-word;
}

.contact-map {
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid rgba(220, 192, 189, 0.45);
  background: #1a0505;
}

.contact-map__head {
  padding: 20px 22px;
  background: #3a0303;
  color: #f6efe8;
}

.contact-map__title {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
}

.contact-map__text {
  margin: 0;
  font-size: 13px;
  color: rgba(246, 239, 232, 0.72);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  background: #f4efe9;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(196, 165, 116, 0.18), transparent 55%),
    linear-gradient(165deg, #fff 0%, #f8f3ee 100%);
  border: 1px solid rgba(220, 192, 189, 0.5);
}

@media (min-width: 700px) {
  .contact-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

.contact-cta__title {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #4a0404;
}

.contact-cta__text {
  margin: 0;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(25, 28, 25, 0.7);
}

.contact-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 14px 22px;
  background: #4a0404;
  color: #f6efe8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, gap 0.2s ease;
}

.contact-cta__btn .material-symbols-outlined {
  font-size: 16px;
}

.contact-cta__btn:hover {
  background: #2a0303;
  gap: 12px;
  color: #f6efe8;
}

.contact-feedback {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.contact-form .form-table {
  border-collapse: collapse;
}

.contact-form .form-table td {
  padding: 0;
  border: 0;
  vertical-align: top;
}

/* ——— Sənədlər arxivi (Tam arxiv) ——— */
.archive-page {
  padding-bottom: 40px;
}

.archive-page__hero {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(220, 192, 189, 0.4);
}

.archive-page__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #4a0404;
}

.archive-page__title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #4a0404;
}

.archive-page__dek {
  margin: 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(25, 28, 25, 0.7);
}

.archive-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .archive-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.archive-year {
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.45);
  padding: 22px 22px 8px;
}

.archive-year__title {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(220, 192, 189, 0.35);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #4a0404;
}

.archive-year__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-year__list a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid rgba(220, 192, 189, 0.25);
  font-size: 14px;
  color: rgba(25, 28, 25, 0.78);
  transition: color 0.2s, padding-left 0.2s;
}

.archive-year__list li:last-child a {
  border-bottom: none;
}

.archive-year__list a:hover {
  color: #4a0404;
  padding-left: 6px;
}

/* ——— Home split layout end ——— */

/* ——— Documents vault (legacy accordion, kept if used elsewhere) ——— */
.docs-vault {
  background: #f3f0ea;
  position: relative;
}

.docs-vault__intro {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .docs-vault__intro {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.docs-vault__title {
  margin-bottom: 12px;
}

.docs-vault__archive-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a0404;
  border-bottom: 1px solid rgba(74, 4, 4, 0.35);
  padding-bottom: 6px;
  transition: gap 0.25s;
  flex-shrink: 0;
}

.docs-vault__archive-link:hover {
  gap: 14px;
}

.docs-arrow {
  font-size: 16px;
}

.docs-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.docs-acc {
  background: #ffffff;
  border: 1px solid rgba(220, 192, 189, 0.55);
  box-shadow: 0 18px 40px -28px rgba(74, 4, 4, 0.35);
  overflow: hidden;
}

.docs-acc__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: #3a0303;
  color: #fff;
  user-select: none;
}

.docs-acc__summary::-webkit-details-marker {
  display: none;
}

.docs-acc__year {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  min-width: 90px;
}

.docs-acc__meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.docs-acc__chev {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s;
}

.docs-acc[open] .docs-acc__chev {
  transform: rotate(45deg);
}

.docs-acc .docs-rows {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fbfaf7;
}

.docs-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(220, 192, 189, 0.4);
  background: #fff;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

@media (max-width: 700px) {
  .docs-row {
    grid-template-columns: 1fr auto;
  }

  .docs-row__type {
    grid-column: 1 / -1;
  }
}

.docs-row:hover {
  border-color: #4a0404;
  transform: translateX(4px);
  box-shadow: 0 12px 24px -18px rgba(74, 4, 4, 0.45);
}

.docs-row__type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(74, 4, 4, 0.7);
}

.docs-row__name {
  font-size: 15px;
  line-height: 1.4;
  color: #191c19;
}

.docs-row__go {
  color: #4a0404;
  font-size: 18px;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.2s;
}

.docs-row:hover .docs-row__go {
  opacity: 1;
  transform: translateX(3px);
}

/* ——— Products (Microless-style, brand) ——— */
.products-grid,
.news-list:has(.product-card) {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .products-grid,
  .news-list:has(.product-card) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .products-grid,
  .news-list:has(.product-card) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.45);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 4, 4, 0.22);
  box-shadow: 0 22px 44px -28px rgba(74, 4, 4, 0.35);
}

.product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background:
    linear-gradient(180deg, #fbf8f4 0%, #f3ece6 100%);
  overflow: hidden;
}

.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  padding: 14px 18px 0;
  background: #fff;
}

.product-card__amount {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #4a0404;
}

.product-card__currency {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a0404;
  opacity: 0.72;
  transform: translateY(-0.12em);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 18px 20px;
}

.product-card__cat {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(74, 4, 4, 0.55);
}

.product-card__title {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: #191c19;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__title a:hover {
  color: #4a0404;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a0404;
  transition: gap 0.2s ease;
}

.product-card__cta .material-symbols-outlined {
  font-size: 16px;
}

.product-card__cta:hover {
  gap: 10px;
}

/* Fullstory məhsul */
.product-detail {
  margin: 0 0 32px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.45);
}

.product-detail__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 24px;
  background:
    linear-gradient(180deg, #fbf8f4 0%, #f0e8e0 100%);
}

.product-detail__media img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 480px !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.product-card__price--hero {
  padding: 18px 24px 20px;
  border-top: 1px solid rgba(220, 192, 189, 0.4);
  background: #fff;
}

.product-card__price--hero .product-card__amount {
  font-size: clamp(2.4rem, 5vw, 3.25rem);
}

.product-card__price--hero .product-card__currency {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.full-story__text .product-detail + p {
  margin-top: 0;
}

/* ——— Content area (inner pages) ——— */
.content-wrap {
  padding: 0 0 var(--section-gap);
}

.content-wrap .container {
  padding-top: 40px;
}

.content-wrap .speedbar,
.speedbar {
  font-size: 13px;
  color: var(--on-surface-variant);
  margin-bottom: 32px;
}

.speedbar--clean {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.speedbar--clean a {
  color: var(--primary);
}

.speedbar--clean a:hover {
  text-decoration: underline;
}

.speedbar-sep {
  opacity: 0.4;
}

.speedbar a:hover {
  color: var(--primary);
}

/* ——— Category hero (Tarix) ——— */
.cat-hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    linear-gradient(135deg, rgba(74, 4, 4, 0.94) 0%, rgba(74, 4, 4, 0.82) 50%, rgba(25, 28, 25, 0.75) 100%),
    linear-gradient(180deg, #4a0404, #2a0202);
  color: #fff;
  border-bottom: 1px solid color-mix(in srgb, var(--outline-variant) 20%, transparent);
}

.cat-hero__inner {
  max-width: 720px;
}

.cat-hero__eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
}

.cat-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cat-hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  max-width: 36rem;
  opacity: 0.85;
}

/* ——— Tarix heritage feed ——— */
.heritage-feed {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 40px;
}

.heritage-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface-container-lowest);
  border: 1px solid color-mix(in srgb, var(--outline-variant) 25%, transparent);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .heritage-card {
    grid-template-columns: 320px 1fr;
    min-height: 240px;
  }
}

.heritage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(74, 4, 4, 0.35);
}

.heritage-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--surface-container);
}

@media (min-width: 768px) {
  .heritage-card__media {
    height: 100%;
    min-height: 240px;
    max-height: 280px;
  }
}

.heritage-card__media a {
  display: block;
  width: 100%;
  height: 100%;
}

.heritage-card__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}

.heritage-card:hover .heritage-card__media img {
  transform: scale(1.04);
}

.heritage-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.heritage-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.heritage-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
}

.heritage-card__date {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--on-surface-variant);
}

.heritage-card__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--primary);
}

.heritage-card__title a:hover {
  color: color-mix(in srgb, var(--primary) 80%, #000);
}

.heritage-card__excerpt {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--on-surface) 70%, transparent);
}

.heritage-card__excerpt img,
.heritage-card__excerpt h1 {
  display: none !important;
}

.heritage-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  width: fit-content;
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  padding-bottom: 4px;
  transition: gap 0.2s ease, border-color 0.2s;
}

.heritage-card__link:hover {
  gap: 12px;
  border-color: var(--primary);
}

.heritage-card__link .material-symbols-outlined {
  font-size: 16px;
}

/* Short stories / news list */
.news-list {
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .news-list {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.short-story {
  display: flex;
  flex-direction: column;
  background: var(--surface-container-lowest);
  border: 1px solid color-mix(in srgb, var(--outline-variant) 20%, transparent);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.short-story:hover {
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.1);
}

.short-story__img {
  position: relative;
  width: 100%;
  height: 240px;
  max-height: 240px;
  overflow: hidden;
  background: #2a1818;
  flex-shrink: 0;
}

.short-story__img a {
  display: block;
  width: 100%;
  height: 100%;
}

.short-story__img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 240px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.short-story__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.short-story__date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 12px;
}

.short-story__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 12px;
  line-height: 1.3;
}

.short-story__title a:hover {
  color: color-mix(in srgb, var(--primary) 80%, #000);
}

.short-story__text {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--on-surface) 70%, transparent);
  margin: 0 0 20px;
  flex: 1;
}

/* Mətn içindəki təkrar şəkilləri gizlət */
.short-story__text img,
.short-story__text h1 {
  display: none !important;
}

.full-story {
  max-width: 800px;
}

.full-story__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary);
  margin: 0 0 16px;
  line-height: 1.2;
}

.full-story__meta {
  font-size: 13px;
  color: var(--on-surface-variant);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--outline-variant) 30%, transparent);
}

.full-story__text {
  font-size: 17px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--on-surface) 85%, transparent);
}

.full-story__text p {
  margin: 0 0 1.25em;
}

.full-story__text img {
  margin: 1.5em auto;
  border-radius: 2px;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
  display: block;
}

/* Pagination */
.navigation {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.navigation a,
.navigation span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--outline-variant) 40%, transparent);
  font-size: 14px;
  color: var(--on-surface);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.navigation a:hover,
.navigation span.nav_ext,
.navigation span:not(.nav_ext):not(.nav_prev):not(.nav_next) {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

/* Info / messages */
.dle-info,
.info-block {
  padding: 24px 32px;
  background: var(--surface-container-lowest);
  border: 1px solid color-mix(in srgb, var(--outline-variant) 30%, transparent);
  border-left: 3px solid var(--primary);
  margin: 24px 0;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--surface-container-low);
  padding: var(--section-gap) 0 0;
  border-top: 1px solid color-mix(in srgb, var(--outline-variant) 30%, transparent);
}

.footer-grid {
  display: grid;
  gap: var(--gutter);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 32px;
}

.footer-about {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-surface-variant);
  margin: 0 0 32px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--outline-variant);
  border-radius: 9999px;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--on-primary);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 32px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  color: var(--on-surface-variant);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-col .material-symbols-outlined {
  color: var(--primary);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-map {
  margin-top: 20px;
  border: 1px solid rgba(220, 192, 189, 0.45);
  overflow: hidden;
  border-radius: 4px;
  background: #f4efe9;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.footer-bottom {
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid color-mix(in srgb, var(--outline-variant) 10%, transparent);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copy {
  font-size: 14px;
  color: color-mix(in srgb, var(--on-surface-variant) 60%, transparent);
}

.footer-tags {
  display: flex;
  gap: 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--on-surface-variant) 40%, transparent);
}

/* ——— Forms (DLE) ——— */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--outline-variant) 50%, transparent);
  background: var(--surface-container-lowest);
  font-family: inherit;
  font-size: 15px;
  color: var(--on-surface);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Reduce section gap on mobile */
@media (max-width: 767px) {
  :root {
    --section-gap: 72px;
  }

  .product-card__body {
    padding: 12px 16px 18px;
  }

  .product-card__media {
    padding: 14px;
  }
}

/* ——— Haqqımızda long-read ——— */
.about-wrap {
  padding-top: 32px;
  padding-bottom: 72px;
}

.about-page__hero {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(220, 192, 189, 0.4);
}

.about-page__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #4a0404;
}

.about-page__title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: #4a0404;
}

.about-page__dek {
  margin: 0;
  max-width: 36rem;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(25, 28, 25, 0.7);
}

.about-page__figure {
  margin: 0 0 36px;
  overflow: hidden;
  background: #1a0101;
}

.about-page__figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-page__static {
  max-width: none;
  min-width: 0;
}

.about-page__static > p:first-child img,
.about-page__static > img:first-child {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 0 0 28px;
}

.about-page__static img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 0 28px;
}

.about-page__static p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(25, 28, 25, 0.82);
}

.about-page__static .about-static-heading {
  margin-top: 32px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a0404;
  scroll-margin-top: 88px;
}

.about-page__static h2,
.about-page__static h3 {
  margin: 32px 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: #4a0404;
  scroll-margin-top: 88px;
}

.about-page__static h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.about-page__static h3 {
  font-size: 1.15rem;
}

.about-page__static ul,
.about-page__static ol {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(25, 28, 25, 0.8);
}

.about-page__static li {
  margin-bottom: 8px;
}

.about-page__layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1000px) {
  .about-page__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
  }
}

.about-toc {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.45);
}

@media (min-width: 1000px) {
  .about-toc {
    position: sticky;
    top: 80px;
  }
}

.about-toc__label {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(74, 4, 4, 0.7);
}

.about-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: about-toc;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

@media (min-width: 1000px) {
  .about-toc__list {
    flex-direction: column;
    gap: 0;
  }
}

.about-toc__list li {
  counter-increment: about-toc;
}

.about-toc__list a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(25, 28, 25, 0.75);
  border-bottom: 1px solid transparent;
  transition: color 0.2s;
}

@media (min-width: 1000px) {
  .about-toc__list a {
    padding: 10px 0;
    border-bottom-color: rgba(220, 192, 189, 0.25);
  }
}

.about-toc__list a::before {
  content: counter(about-toc, decimal-leading-zero) ". ";
  font-family: "Playfair Display", Georgia, serif;
  color: #4a0404;
  margin-right: 2px;
}

.about-toc__list a:hover {
  color: #4a0404;
}

.about-intro {
  margin-bottom: 40px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.4);
  border-left: 3px solid #4a0404;
}

.about-intro p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(25, 28, 25, 0.82);
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-intro__note {
  font-size: 14.5px !important;
  color: rgba(25, 28, 25, 0.65) !important;
}

.about-chapter {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.about-chapter__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(220, 192, 189, 0.4);
}

.about-chapter__num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: #4a0404;
  line-height: 1;
}

.about-chapter__head h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #191c19;
}

.about-chapter > p,
.about-list,
.about-steps {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(25, 28, 25, 0.8);
}

.about-subhead {
  margin: 28px 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #4a0404;
}

.about-list,
.about-steps {
  padding-left: 1.25rem;
}

.about-list li,
.about-steps li {
  margin-bottom: 10px;
}

.about-cards {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

@media (min-width: 700px) {
  .about-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-card {
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.4);
}

.about-card h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #4a0404;
}

.about-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(25, 28, 25, 0.72);
}

.about-pills {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

@media (min-width: 700px) {
  .about-pills {
    grid-template-columns: 1fr 1fr;
  }
}

.about-pills > div {
  padding: 16px 18px;
  background: rgba(74, 4, 4, 0.04);
  border: 1px solid rgba(220, 192, 189, 0.35);
}

.about-pills__label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a0404;
}

.about-pills p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(25, 28, 25, 0.78);
}

.about-outro {
  margin-top: 16px;
  padding: 32px 28px;
  background: #2a0202;
  color: #f6efe8;
  scroll-margin-top: 88px;
}

.about-outro h2 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #d4af8c;
}

.about-outro p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(246, 239, 232, 0.85);
}

.home-about {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
  background: #2a0a0a;
  color: #f6efe8;
}

.home-about__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.home-about__media > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 360px;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.06);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-about.is-inview .home-about__media > img:first-child {
  transform: scale(1);
}

.home-about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 4, 4, 0.15) 0%, rgba(26, 4, 4, 0.55) 55%, #2a0a0a 100%),
    linear-gradient(90deg, rgba(42, 10, 10, 0.35) 0%, transparent 45%);
  pointer-events: none;
}

.home-about__panel {
  position: relative;
  z-index: 1;
  padding: 8px 28px 32px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease 0.12s, transform 0.7s ease 0.12s;
}

.home-about.is-inview .home-about__panel {
  opacity: 1;
  transform: translateY(0);
}

.home-about__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #c4a574;
}

.home-about__title {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #f6efe8;
}

.home-about__text {
  margin: 0 0 22px;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(246, 239, 232, 0.78);
}

.home-about__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f6efe8;
  border-bottom: 1px solid rgba(196, 165, 116, 0.55);
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.home-about__cta .material-symbols-outlined {
  font-size: 16px;
  transition: transform 0.25s ease;
}

.home-about__cta:hover {
  color: #c4a574;
  border-color: #c4a574;
  gap: 12px;
}

.home-about__cta:hover .material-symbols-outlined {
  transform: translateX(3px);
}

@media (min-width: 900px) {
  .home-about {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 340px;
  }

  .home-about__media {
    min-height: 100%;
  }

  .home-about__media > img:first-child {
    position: absolute;
    inset: 0;
    min-height: 100%;
    max-height: none;
  }

  .home-about__media::after {
    background:
      linear-gradient(90deg, transparent 40%, rgba(42, 10, 10, 0.75) 78%, #2a0a0a 100%),
      linear-gradient(180deg, rgba(26, 4, 4, 0.2) 0%, transparent 40%, rgba(26, 4, 4, 0.45) 100%);
  }

  .home-about__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 36px 40px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-about__media > img:first-child,
  .home-about__panel,
  .home-about__cta,
  .home-about__cta .material-symbols-outlined {
    transition: none;
  }

  .home-about__media > img:first-child {
    transform: none;
  }

  .home-about__panel {
    opacity: 1;
    transform: none;
  }
}

.home-about-teaser {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(220, 192, 189, 0.45);
  border-left: 3px solid #4a0404;
}

.home-about-teaser__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #4a0404;
}

.home-about-teaser__title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #191c19;
}

.home-about-teaser__text {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(25, 28, 25, 0.72);
}

.home-about-teaser__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a0404;
}

.home-about-teaser__link:hover {
  opacity: 0.8;
}
