/* ==========================================================================
   Artsakh Diocese — նոր դիզայն
   Գունային համակարգը հիմնված է կայքի օրիգինալ զինանշանի վրա։
   ========================================================================== */

@font-face {
    font-family: 'TT Norms';
    src: url('../../fonts/TTNorms-Regular.woff') format('woff'),
         url('../../fonts/TTNorms-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TT Norms';
    src: url('../../fonts/TTNorms-Medium.woff') format('woff'),
         url('../../fonts/TTNorms-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TT Norms';
    src: url('../../fonts/TTNorms-Bold.woff') format('woff'),
         url('../../fonts/TTNorms-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arnamu Serif';
    src: url('../../fonts/arnamu_serif.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arnamu Serif';
    src: url('../../fonts/arnamu_serif_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --burgundy: #5a0f1a;
    --burgundy-dark: #3b0910;
    --burgundy-light: #7c1c2b;
    --gold: #c9a227;
    --gold-light: #e6cd7a;
    --gold-dark: #9c7c14;
    --cream: #faf7f2;
    --paper: #fffdf9;
    --ink: #2b2320;
    --muted: #6f625c;
    --line: #e7ded2;
    --shadow: 0 18px 45px rgba(59, 9, 16, 0.10);
    --radius: 18px;
    --container: 1240px;
    --serif: 'Arnamu Serif', Georgia, 'Times New Roman', serif;
    --sans: 'TT Norms', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--gold-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--burgundy-dark);
    margin: 0 0 .6em;
}

p {
    margin: 0 0 1.1em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.site {
    overflow: hidden;
}

.site-main {
    min-height: 40vh;
}

/* --------------------------------------------------------------------------
   Կոճակներ
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all .25s ease;
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--burgundy-dark);
    box-shadow: 0 10px 24px rgba(201, 162, 39, .28);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    transform: translateY(-2px);
}

.btn--ghost {
    border-color: var(--gold);
    color: var(--burgundy);
    background: transparent;
}

.btn--ghost:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Վերին տեղեկատվական գոտի
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--burgundy-dark);
    color: rgba(255, 255, 255, .82);
    font-size: 13.5px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
}

.topbar__left,
.topbar__right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar__item svg {
    width: 15px;
    height: 15px;
    fill: var(--gold);
    flex: none;
}

.topbar__item--phones a {
    color: inherit;
    margin-right: 10px;
}

.topbar__item--phones a:hover {
    color: var(--gold-light);
}

.topbar__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar__social a {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: background .2s ease;
}

.topbar__social a:hover {
    background: var(--gold);
}

.topbar__social img {
    width: 13px;
    height: 13px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.topbar__search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.topbar__search svg {
    width: 16px;
    height: 16px;
    fill: var(--gold);
}

.topbar__search:hover {
    color: var(--gold-light);
}


/* --------------------------------------------------------------------------
   Հիմնական վերնամաս և նավիգացիա
   -------------------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 253, 249, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}

.header.is-scrolled {
    box-shadow: 0 10px 30px rgba(59, 9, 16, .08);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 86px;
}

.header__logo {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.header__logo img {
    height: 62px;
    width: auto;
    object-fit: contain;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu__item {
    position: relative;
}

.menu__link {
    display: inline-flex;
    align-items: center;
    padding: 10px 13px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 8px;
    white-space: nowrap;
}

.menu__link:hover,
.menu__item.current-item > .menu__link,
.menu__item--parent-active > .menu__link {
    color: var(--burgundy);
    background: rgba(201, 162, 39, .12);
}

.menu__item_sub > .menu__link::after {
    content: '';
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.menu__sub-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 250px;
    padding: 10px;
    margin: 0;
    list-style: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s ease;
    z-index: 20;
}

.menu__item_sub:hover > .menu__sub-list,
.menu__item_sub:focus-within > .menu__sub-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu__sub-list .menu__item {
    width: 100%;
}

.menu__sub-list .menu__link {
    display: block;
    padding: 9px 12px;
    font-size: 14.5px;
    white-space: normal;
}

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

.header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all .2s ease;
}

.header__icon svg {
    width: 19px;
    height: 19px;
    fill: var(--burgundy);
}

.header__icon:hover {
    border-color: var(--gold);
    background: rgba(201, 162, 39, .12);
}

.header__btn {
    padding: 11px 22px;
    font-size: 14px;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--burgundy);
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Բջջային մենյու
   -------------------------------------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 88vw);
    background: var(--paper);
    z-index: 200;
    transform: translateX(105%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 5, 9, .55);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 190;
}

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

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.mobile-menu__logo {
    height: 48px;
    width: auto;
}

.mobile-menu__close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: var(--burgundy);
    cursor: pointer;
}

.mobile-menu__body {
    padding: 14px 22px;
    flex: 1;
}

.mobile-menu__list,
.mobile-menu__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__list > .menu__item {
    border-bottom: 1px solid var(--line);
}

.mobile-menu__list .menu__link {
    display: block;
    padding: 13px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.mobile-menu__list .menu__sub-list {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 10px 14px;
    min-width: 0;
    background: transparent;
}

.mobile-menu__list .menu__sub-list .menu__link {
    padding: 8px 0;
    font-size: 15px;
    color: var(--muted);
}

.mobile-menu__foot {
    padding: 20px 22px 28px;
    border-top: 1px solid var(--line);
    background: var(--cream);
}

.mobile-menu__phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.mobile-menu__phones a {
    font-weight: 700;
    color: var(--burgundy);
}

.mobile-menu__address {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 14px;
}

.mobile-menu__social {
    display: flex;
    gap: 10px;
}

.mobile-menu__social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--burgundy);
}

.mobile-menu__social img {
    width: 15px;
    height: 15px;
    filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   Որոնման պատուհան
   -------------------------------------------------------------------------- */
.search-popup {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(30, 5, 9, .82);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
}

.search-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.search-popup__close {
    position: absolute;
    top: 26px;
    right: 30px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.search-popup__form {
    width: min(720px, 100%);
}

.search-popup__label {
    display: block;
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: 30px;
    color: #fff;
}

.search-popup__row {
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 999px;
    padding: 8px;
}

.search-popup__row input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 10px 18px;
    font: inherit;
    font-size: 17px;
    color: var(--ink);
    outline: none;
}


/* --------------------------------------------------------------------------
   Ընդհանուր բաժիններ
   -------------------------------------------------------------------------- */
.section {
    padding: 84px 0;
}

.section--seo {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.section__head {
    margin-bottom: 42px;
}

.section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.section__title {
    font-size: clamp(28px, 3.4vw, 44px);
    margin: 0;
}

.section__title strong {
    color: var(--burgundy);
}

.seo-block {
    max-width: 900px;
}

.seo-block .format-text {
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: var(--burgundy-dark);
}

.hero__slider {
    position: relative;
}

.hero__slide {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(30, 5, 9, .92) 0%, rgba(59, 9, 16, .72) 45%, rgba(59, 9, 16, .25) 100%);
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 720px;
    padding: 70px 0;
    color: #fff;
}

.hero__title {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.12;
    color: #fff;
    margin-bottom: 22px;
}

.hero__title-accent {
    color: var(--gold-light);
}

.hero__title-sub {
    display: block;
    font-size: .62em;
    font-weight: 400;
    color: rgba(255, 255, 255, .9);
    margin-top: 8px;
}

.hero__text {
    font-size: 18px;
    color: rgba(255, 255, 255, .86);
    max-width: 600px;
}

.hero__text a {
    color: var(--gold-light);
}

.hero__nav {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

.hero__arrow {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.hero__arrow svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.hero__arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.hero .slick-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex !important;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 5;
}

.hero .slick-dots li button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    font-size: 0;
    cursor: pointer;
}

.hero .slick-dots li.slick-active button {
    background: var(--gold);
    width: 26px;
    border-radius: 6px;
}


/* --------------------------------------------------------------------------
   Ծառայությունների քարտեր
   -------------------------------------------------------------------------- */
.section--services {
    background: var(--cream);
}

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

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.service-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--line);
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-card:hover .service-card__media img {
    transform: scale(1.06);
}

.service-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    flex: 1;
}

.service-card__title {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.3;
    color: var(--burgundy-dark);
}

.service-card__title strong {
    color: var(--burgundy);
}

.service-card__text {
    font-size: 15px;
    color: var(--muted);
}

.service-card__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
}

.service-card__more svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --------------------------------------------------------------------------
   Թվեր
   -------------------------------------------------------------------------- */
.section--stats {
    padding: 0;
    background: var(--burgundy);
    color: #fff;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding: 64px 0;
}

.stats__head {
    color: #fff;
}

.stats__eyebrow {
    display: block;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.stats__title {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.25;
}

.stats__row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(255, 255, 255, .04);
    transition: background .2s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.stat__num {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    color: var(--gold-light);
}

.stat__label {
    font-size: 15px;
    color: rgba(255, 255, 255, .82);
}

.stat__label strong {
    color: #fff;
}


/* --------------------------------------------------------------------------
   Հայտարարություններ
   -------------------------------------------------------------------------- */
.section--announcements {
    background: var(--paper);
}

.announcements {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.announcement {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    color: #fff;
    background: var(--burgundy-dark);
}

.announcement__media {
    position: absolute;
    inset: 0;
}

.announcement__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.announcement::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 5, 9, 0) 35%, rgba(30, 5, 9, .88) 100%);
}

.announcement:hover .announcement__media img {
    transform: scale(1.06);
}

.announcement__title {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.3;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Նորությունների քարտեր
   -------------------------------------------------------------------------- */
.section--news {
    background: var(--cream);
}

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

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.news-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--line);
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card:hover .news-card__media img {
    transform: scale(1.05);
}

.news-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
}

.news-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    flex: 1;
}

.news-card__date {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--gold-dark);
}

.news-card__title {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.3;
    color: var(--burgundy-dark);
}

.news-card__excerpt {
    font-size: 15px;
    color: var(--muted);
}

.news-card__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--burgundy);
}

.news-card__more svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}


/* --------------------------------------------------------------------------
   Էջի վերնագիր և breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
    padding: 18px 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.breadcrumbs a {
    color: var(--burgundy);
}

.breadcrumbs .rank-math-breadcrumb,
.breadcrumbs nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.page-head {
    margin-bottom: 40px;
}

.page-head--center {
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.page-head__title {
    font-size: clamp(30px, 4vw, 50px);
    margin: 0 0 14px;
}

.page-head__title .accent {
    color: var(--gold-dark);
}

.page-head__desc {
    color: var(--muted);
    max-width: 820px;
}

.empty-note {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Տեքստի ձևաչափ
   -------------------------------------------------------------------------- */
.format-text {
    font-size: 17px;
    line-height: 1.8;
}

.format-text h1,
.format-text h2,
.format-text h3,
.format-text h4 {
    margin-top: 1.4em;
}

.format-text a {
    color: var(--burgundy);
    text-decoration: underline;
    text-decoration-color: rgba(201, 162, 39, .6);
    text-underline-offset: 3px;
}

.format-text a:hover {
    color: var(--gold-dark);
}

.format-text ul,
.format-text ol {
    padding-left: 1.3em;
    margin-bottom: 1.2em;
}

.format-text li {
    margin-bottom: .4em;
}

.format-text blockquote {
    margin: 1.6em 0;
    padding: 20px 26px;
    border-left: 4px solid var(--gold);
    background: var(--paper);
    border-radius: 0 12px 12px 0;
    font-family: var(--serif);
    font-size: 20px;
    color: var(--burgundy-dark);
}

.format-text img {
    border-radius: 12px;
}

.format-text table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.4em;
}

.format-text th,
.format-text td {
    padding: 10px 14px;
    border: 1px solid var(--line);
    text-align: left;
}

.format-text th {
    background: var(--paper);
    color: var(--burgundy-dark);
}

/* Էջավորում */
.wp-pagenavi {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 44px;
}

.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 500;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}


/* --------------------------------------------------------------------------
   Իրադարձություններ
   -------------------------------------------------------------------------- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.event-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.event-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--line);
}

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

.event-card__date {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--burgundy);
    color: #fff;
    line-height: 1.1;
}

.event-card__day {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--gold-light);
}

.event-card__month {
    font-size: 12px;
}

.event-card__body {
    padding: 20px 22px 24px;
}

.event-card__title {
    font-size: 20px;
    margin: 0 0 10px;
}

.event-card__title a {
    color: var(--burgundy-dark);
}

.event-card__more {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
}

/* --------------------------------------------------------------------------
   Ծրագրեր և դրամահավաք
   -------------------------------------------------------------------------- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.program-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.program-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--line);
}

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

.program-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--burgundy-dark);
    font-size: 12px;
    font-weight: 700;
}

.program-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    flex: 1;
}

.program-card__title {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.3;
    color: var(--burgundy-dark);
}

.program-card__excerpt {
    font-size: 15px;
    color: var(--muted);
}

.program-card__more {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
}

.program-card__give {
    margin-top: 8px;
}

.program-card--paper {
    background: var(--paper);
    min-height: 200px;
    justify-content: center;
    background-image: radial-gradient(circle at 20% 20%, rgba(201, 162, 39, .12), transparent 60%);
}

/* --------------------------------------------------------------------------
   Թեմի նյութեր (reviews)
   -------------------------------------------------------------------------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 22px;
    padding: 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.review-card__media {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--line);
}

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

.review-card__title {
    font-size: 22px;
    margin-bottom: 10px;
}

.review-card__text {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Քարտեզի քարտեր
   -------------------------------------------------------------------------- */
.map-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.map-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--burgundy-dark);
}

.map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.map-card:hover img {
    transform: scale(1.06);
}

.map-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    background: linear-gradient(180deg, rgba(30, 5, 9, 0) 40%, rgba(30, 5, 9, .85) 100%);
}

.map-card__title {
    font-family: var(--serif);
    font-size: 22px;
    color: #fff;
}


/* --------------------------------------------------------------------------
   Տեսադասեր
   -------------------------------------------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.video-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.video-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--line);
}

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

.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 5, 9, .35);
    transition: background .2s ease;
}

.video-card__play svg {
    width: 64px;
    height: 64px;
    fill: #fff;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}

.video-card__play:hover {
    background: rgba(30, 5, 9, .55);
}

.video-card__title {
    padding: 18px 20px 22px;
    font-size: 19px;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Ենթակատեգորիաներ
   -------------------------------------------------------------------------- */
.subcat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.subcat-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
}

.subcat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.subcat-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--line);
}

.subcat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.subcat-card:hover .subcat-card__media img {
    transform: scale(1.05);
}

.subcat-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
}

.subcat-card__title {
    font-family: var(--serif);
    font-size: 19px;
    color: var(--burgundy-dark);
}

.subcat-card__count {
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Համայնքներ
   -------------------------------------------------------------------------- */
.villages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.village-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.village-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--line);
}

.village-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.village-card:hover .village-card__media img {
    transform: scale(1.05);
}

.village-card__body {
    padding: 20px 22px 24px;
}

.village-card__title {
    font-size: 21px;
    margin: 0 0 8px;
}

.village-card__title a {
    color: var(--burgundy-dark);
}

.village-card__meta {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 10px;
}

.village-card__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
}

/* --------------------------------------------------------------------------
   Ընտրության քարտեր
   -------------------------------------------------------------------------- */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 900px;
    margin: 0 auto;
}

.choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 48px 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    transition: all .25s ease;
}

.choice-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    color: var(--ink);
}

.choice-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(201, 162, 39, .14);
}

.choice-card__icon svg {
    width: 30px;
    height: 30px;
    fill: var(--burgundy);
}

.choice-card__title {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--burgundy-dark);
}

.choice-card__more {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
}


/* --------------------------------------------------------------------------
   Առանձին էջ / հոդված
   -------------------------------------------------------------------------- */
.article {
    padding-top: 56px;
}

.article__head {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.article__title {
    font-size: clamp(30px, 4vw, 50px);
    margin: 0 0 12px;
}

.article__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.article__cats a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(201, 162, 39, .14);
    font-size: 13px;
    font-weight: 700;
    color: var(--burgundy);
}

.article__media {
    max-width: 1000px;
    margin: 0 auto 36px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article__media img {
    width: 100%;
    height: auto;
}

.article__content {
    max-width: fit-content;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Ծառայության / համայնքի hero
   -------------------------------------------------------------------------- */
.service-hero {
    position: relative;
    background: var(--burgundy-dark);
    color: #fff;
    overflow: hidden;
}

.service-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.service-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(30, 5, 9, .92), rgba(59, 9, 16, .55));
}

.service-hero__inner {
    position: relative;
    z-index: 2;
    padding: 90px 24px;
    max-width: 900px;
}

.service-hero__title {
    font-size: clamp(32px, 4.6vw, 56px);
    color: #fff;
    margin-bottom: 18px;
}

.service-hero__desc {
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
}

.service-hero__desc a {
    color: var(--gold-light);
}

.service-hero__form {
    margin-top: 26px;
    background: rgba(255, 255, 255, .96);
    border-radius: var(--radius);
    padding: 24px;
    color: var(--ink);
}

/* Ենթաբաժիններ */
.subservices {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.subservices__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.subservice {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    background: var(--cream);
    transition: all .2s ease;
}

.subservice:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Պատկերասրահ
   -------------------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-grid__item {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--line);
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

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

/* --------------------------------------------------------------------------
   Ակորդեոն
   -------------------------------------------------------------------------- */
.accordion {
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion__item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    overflow: hidden;
}

.accordion__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 22px;
    border: 0;
    background: transparent;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--burgundy-dark);
    text-align: left;
    cursor: pointer;
}

.accordion__btn svg {
    width: 22px;
    height: 22px;
    fill: var(--gold-dark);
    flex: none;
    transition: transform .25s ease;
}

.accordion__item.is-open .accordion__btn svg {
    transform: rotate(180deg);
}

.accordion__content {
    display: none;
    padding: 0 22px 20px;
    color: var(--muted);
}

.accordion__item.is-open .accordion__content {
    display: block;
}


/* --------------------------------------------------------------------------
   Կոնտակտներ
   -------------------------------------------------------------------------- */
.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacts-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 50%;
    background: rgba(201, 162, 39, .14);
}

.contact-card__icon svg {
    width: 22px;
    height: 22px;
    fill: var(--burgundy);
}

.contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-card__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.contact-card__body a {
    font-weight: 500;
}

.contact-card--social {
    flex-direction: column;
}

.contact-card__social {
    display: flex;
    gap: 10px;
}

.contact-card__social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--burgundy);
}

.contact-card__social img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.contacts-map {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.contacts-map img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   Քարտեզի էջ
   -------------------------------------------------------------------------- */
.map-page {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.map-page__image img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.states-table {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}

/* --------------------------------------------------------------------------
   Որոնման արդյունքներ
   -------------------------------------------------------------------------- */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 900px;
}

.search-result {
    padding: 22px 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.search-result__title {
    font-size: 22px;
    margin-bottom: 8px;
}

.search-result__excerpt {
    color: var(--muted);
    margin-bottom: 10px;
}

.search-result__more {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
}

.search-empty {
    max-width: 700px;
    padding: 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.search-empty__form {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.search-empty__form input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: inherit;
    outline: none;
}

.search-empty__form input:focus {
    border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.not-found {
    padding: 100px 0;
}

.not-found__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.not-found__code {
    font-family: var(--serif);
    font-size: clamp(90px, 16vw, 180px);
    line-height: 1;
    color: var(--gold);
    opacity: .55;
}

.not-found__title {
    font-size: clamp(26px, 3.4vw, 40px);
    margin: 10px 0 12px;
}

.not-found__text {
    color: var(--muted);
    margin-bottom: 26px;
}

.not-found__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}


/* --------------------------------------------------------------------------
   Ստորին հատված
   -------------------------------------------------------------------------- */
.footer {
    position: relative;
    background: var(--burgundy-dark);
    color: rgba(255, 255, 255, .78);
    overflow: hidden;
}

.footer__decor {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .18), transparent 65%);
    pointer-events: none;
}

.footer__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 50px;
    padding: 70px 24px 50px;
}

.footer__logo img {
    height: 74px;
    width: auto;
    margin-bottom: 18px;
}

.footer__slogan {
    font-size: 15px;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 20px;
}

.footer__slogan p {
    margin-bottom: .6em;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: background .2s ease;
}

.footer__social a:hover {
    background: var(--gold);
}

.footer__social img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.footer__title {
    font-size: 18px;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.footer-menu,
.footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-menu a {
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
}

.footer-menu a:hover {
    color: var(--gold-light);
}

.footer-menu .sub-menu {
    padding-left: 14px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-menu .sub-menu a {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

.footer__contact {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    background: rgba(201, 162, 39, .16);
}

.footer__contact-icon svg {
    width: 17px;
    height: 17px;
    fill: var(--gold-light);
}

.footer__contact-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 15px;
}

.footer__contact-body a {
    color: rgba(255, 255, 255, .82);
}

.footer__contact-body a:hover {
    color: var(--gold-light);
}

.footer__bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.footer__copy a {
    color: var(--gold-light);
}

.footer__note {
    max-width: 640px;
    margin: 0;
}

/* Վերև բարձրանալու կոճակ */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--burgundy);
    box-shadow: 0 10px 24px rgba(59, 9, 16, .3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top svg {
    width: 22px;
    height: 22px;
    fill: var(--gold-light);
}

.to-top:hover {
    background: var(--gold);
}

.to-top:hover svg {
    fill: var(--burgundy-dark);
}

/* Թաքնված popup-ներ */
.popup-post {
    display: none;
}


/* --------------------------------------------------------------------------
   Հարմարեցում սարքերին
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
    .header__inner {
        gap: 18px;
    }

    .menu__link {
        padding: 9px 9px;
        font-size: 14px;
    }

    .header__btn {
        display: none;
    }

    .services-grid,
    .news-grid,
    .events-grid,
    .programs-grid,
    .video-grid,
    .subcat-grid,
    .villages-grid,
    .map-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer__col--contacts {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    .topbar__item:not(.topbar__item--phones) {
        display: none;
    }

    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header__inner {
        min-height: 74px;
        justify-content: space-between;
    }

    .header__logo img {
        height: 52px;
    }

    .hero__slide {
        min-height: 520px;
    }

    .hero__nav {
        right: 24px;
        bottom: 24px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .contacts-layout,
    .map-page {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .section {
        padding: 56px 0;
    }

    .section__head--row {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-grid,
    .news-grid,
    .events-grid,
    .programs-grid,
    .video-grid,
    .subcat-grid,
    .villages-grid,
    .map-cards,
    .announcements,
    .choice-grid {
        grid-template-columns: 1fr;
    }

    .hero__slide {
        min-height: 460px;
    }

    .hero__content {
        padding: 50px 0;
    }

    .hero__nav {
        display: none;
    }

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

    .review-card {
        grid-template-columns: 1fr;
    }

    .review-card__media {
        aspect-ratio: 16 / 10;
    }

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

    .footer__inner {
        grid-template-columns: 1fr;
        padding: 50px 24px 36px;
    }

    .footer__col--contacts {
        grid-column: auto;
    }

    .footer__bottom-inner {
        flex-direction: column;
    }

    .search-popup__row {
        flex-direction: column;
        border-radius: 18px;
    }

    .search-popup__row input {
        padding: 12px 16px;
    }

    .search-popup__label {
        font-size: 24px;
    }

    .article__head {
        text-align: left;
    }

    .article__cats {
        justify-content: flex-start;
    }

    .service-hero__inner {
        padding: 60px 24px;
    }

    .subservices__inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 16px;
    }

    .subservice {
        white-space: nowrap;
    }
}

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

    .topbar__inner {
        min-height: 40px;
        font-size: 12.5px;
    }

    .topbar__search span {
        display: none;
    }

    .header__icon {
        display: none;
    }

    .header__logo img {
        height: 44px;
    }

    .hero__title {
        font-size: 30px;
    }

    .hero__text {
        font-size: 16px;
    }

    .section__title {
        font-size: 26px;
    }

    .page-head__title {
        font-size: 28px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   Թեմայի ռեժիմի փոխարկիչ (Light / Dark)
   ========================================================================== */
:root {
    color-scheme: light;
}

body {
    transition: background-color .3s ease, color .3s ease;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
}

.theme-toggle__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .62);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.theme-toggle__btn svg {
    width: 15px;
    height: 15px;
}

.theme-toggle__btn:hover {
    color: var(--gold-light);
}

.theme-toggle__btn[aria-pressed="true"] {
    background: var(--gold);
    color: var(--burgundy-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.mobile-menu__theme {
    margin-top: 18px;
}

.mobile-menu__theme .theme-toggle {
    border-color: var(--line);
    background: var(--paper);
}

.mobile-menu__theme .theme-toggle__btn {
    color: var(--muted);
}

.mobile-menu__theme .theme-toggle__btn[aria-pressed="true"] {
    color: var(--burgundy-dark);
}

/* Սոցիալական պատկերակներ՝ միշտ տեսանելի */
.topbar__social a {
    background: rgba(255, 255, 255, .10);
}

.topbar__social img {
    filter: brightness(0) invert(1);
    opacity: .92;
}

.topbar__social a:hover {
    background: var(--gold);
}

.topbar__social a:hover img {
    opacity: 1;
}

/* ==========================================================================
   Բաժիններ՝ նոր ժամանակակից դիզայն
   ========================================================================== */
.section--services {
    position: relative;
    background:
        radial-gradient(circle at 8% 0%, rgba(201, 162, 39, .10), transparent 34%),
        var(--cream);
}

.section--services .section__head {
    position: relative;
    padding-left: 22px;
}

.section--services .section__head::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--gold), var(--burgundy));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    position: relative;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(59, 9, 16, .05);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(201, 162, 39, .55), transparent 45%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

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

.service-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
}

.service-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 5, 9, 0) 45%, rgba(30, 5, 9, .55) 100%);
    opacity: .75;
    transition: opacity .3s ease;
}

.service-card:hover .service-card__media::after {
    opacity: .95;
}

.service-card__index {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 253, 249, .92);
    color: var(--burgundy);
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    backdrop-filter: blur(6px);
}

.service-card__body {
    position: relative;
    padding: 26px 26px 24px;
}

.service-card__title {
    font-size: 23px;
}

.service-card__more {
    padding-top: 6px;
    transition: gap .2s ease, color .2s ease;
}

.service-card:hover .service-card__more {
    gap: 8px;
    color: var(--burgundy);
}

/* ==========================================================================
   Վանքերն ու եկեղեցիները՝ նոր դիզայն
   ========================================================================== */
.section--stats {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(201, 162, 39, .18), transparent 38%),
        linear-gradient(135deg, #4a0c15 0%, var(--burgundy) 55%, #3b0910 100%);
}

.stats__decor {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 70% 50%, #000 0%, transparent 72%);
    pointer-events: none;
}

.stats {
    position: relative;
    z-index: 1;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    padding: 78px 0;
}

.stats__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.stats__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.stats__eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold-light);
}

.stats__title {
    font-size: clamp(30px, 3.4vw, 46px);
    max-width: 460px;
}

.stats__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid rgba(230, 205, 122, .45);
    border-radius: 999px;
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.stats__link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.stats__link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--burgundy-dark);
}

.stats__row {
    gap: 22px;
}

.stat {
    position: relative;
    overflow: hidden;
    padding: 30px 28px 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: .7;
}

.stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .09);
    border-color: rgba(230, 205, 122, .45);
}

.stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(201, 162, 39, .16);
    color: var(--gold-light);
}

.stat__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.stat__num {
    font-size: clamp(46px, 5.4vw, 72px);
    letter-spacing: -.02em;
}

.stat__label {
    font-size: 15.5px;
    line-height: 1.55;
}

/* ==========================================================================
   Լրահոս՝ ժամանակակից լրատվական բաժին
   ========================================================================== */
.section--news {
    position: relative;
    background:
        radial-gradient(circle at 92% 8%, rgba(201, 162, 39, .09), transparent 30%),
        var(--cream);
}

.section--news .section__head {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.section--news .section__title {
    position: relative;
    display: inline-block;
}

.section--news .section__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -23px;
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--burgundy));
}

.news-grid {
    gap: 26px;
}

.news-card {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(59, 9, 16, .05);
}

.news-card__media {
    position: relative;
}

.news-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 253, 249, .92);
    color: var(--burgundy);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.news-card__body {
    padding: 24px 24px 22px;
}

.news-card__date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.news-card__date::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.news-card__title {
    transition: color .2s ease;
}

.news-card:hover .news-card__title {
    color: var(--burgundy);
}

.news-card__more {
    transition: gap .2s ease;
}

.news-card:hover .news-card__more {
    gap: 8px;
}

/* Առաջին՝ գլխավոր նորությունը */
.news-card--featured {
    position: relative;
    grid-column: span 2;
    grid-row: span 2;
    min-height: 520px;
    border: 0;
    background: var(--burgundy-dark);
}

.news-card--featured .news-card__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
}

.news-card--featured .news-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 5, 9, .05) 20%, rgba(30, 5, 9, .88) 100%);
}

.news-card--featured .news-card__badge {
    top: 22px;
    left: 22px;
}

.news-card--featured .news-card__body {
    position: relative;
    z-index: 2;
    flex: none;
    margin-top: auto;
    padding: 34px;
    background: transparent;
}

.news-card--featured .news-card__date {
    color: var(--gold-light);
}

.news-card--featured .news-card__title {
    font-size: clamp(26px, 2.6vw, 36px);
    color: #fff;
}

.news-card--featured .news-card__excerpt {
    max-width: 620px;
    color: rgba(255, 255, 255, .82);
}

.news-card--featured .news-card__more {
    color: var(--gold-light);
}

.news-card--featured:hover .news-card__title {
    color: var(--gold-light);
}

/* ==========================================================================
   Արցախի հոգևոր-մշակութային ժառանգության գրասենյակ
   ========================================================================== */
.section--seo {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 100%, rgba(201, 162, 39, .12), transparent 36%),
        var(--paper);
}

.seo-block {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 54px 58px 50px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--paper);
    box-shadow: 0 24px 60px rgba(59, 9, 16, .07);
}

.seo-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 58px;
    width: 90px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--gold), var(--burgundy));
}

.seo-block__decor {
    position: absolute;
    top: 6px;
    right: 34px;
    font-family: var(--serif);
    font-size: 150px;
    line-height: 1;
    color: var(--gold);
    opacity: .14;
    pointer-events: none;
}

.seo-block__head {
    position: relative;
    margin-bottom: 22px;
}

.seo-block__head .section__title {
    font-size: clamp(28px, 3.2vw, 42px);
    max-width: 820px;
}

.seo-block__body {
    position: relative;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.seo-block__body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Մուգ ռեժիմ (Dark Mode)
   ========================================================================== */
[data-theme="dark"] {
    --cream: #0f0d0c;
    --paper: #191614;
    --ink: #f2e9dd;
    --muted: #b7a99b;
    --line: #332b25;
    --burgundy: #e2b45f;
    --burgundy-dark: #f6e6c4;
    --burgundy-light: #8e2b3a;
    --gold: #d9b45c;
    --gold-light: #f1d99b;
    --gold-dark: #d9b45c;
    --shadow: 0 18px 45px rgba(0, 0, 0, .55);
    color-scheme: dark;
}

[data-theme="dark"] body {
    background: var(--cream);
    color: var(--ink);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--burgundy-dark);
}

[data-theme="dark"] a {
    color: var(--gold-light);
}

[data-theme="dark"] a:hover {
    color: var(--gold);
}

[data-theme="dark"] .topbar {
    background: #140406;
}

[data-theme="dark"] .header {
    background: rgba(15, 13, 12, .96);
    border-bottom-color: var(--line);
}

[data-theme="dark"] .header.is-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
}

[data-theme="dark"] .header__logo img,
[data-theme="dark"] .mobile-menu__logo {
    filter: brightness(1.12) saturate(1.05);
}

[data-theme="dark"] .menu__link {
    color: var(--ink);
}

[data-theme="dark"] .menu__link:hover,
[data-theme="dark"] .menu__item.current-item > .menu__link,
[data-theme="dark"] .menu__item--parent-active > .menu__link {
    color: var(--gold-light);
    background: rgba(217, 180, 92, .12);
}

[data-theme="dark"] .menu__sub-list {
    background: var(--paper);
    border-color: var(--line);
}

[data-theme="dark"] .mobile-menu {
    background: var(--paper);
}

[data-theme="dark"] .mobile-menu__foot {
    background: var(--cream);
}

[data-theme="dark"] .mobile-menu__close {
    color: var(--gold-light);
    border-color: var(--line);
}

[data-theme="dark"] .search-popup {
    background: rgba(0, 0, 0, .86);
}

[data-theme="dark"] .search-popup__row {
    background: var(--paper);
    border: 1px solid var(--line);
}

[data-theme="dark"] .search-popup__row input {
    color: var(--ink);
}

[data-theme="dark"] .section--services {
    background:
        radial-gradient(circle at 8% 0%, rgba(217, 180, 92, .10), transparent 34%),
        var(--cream);
}

[data-theme="dark"] .section--news {
    background:
        radial-gradient(circle at 92% 8%, rgba(217, 180, 92, .08), transparent 30%),
        var(--cream);
}

[data-theme="dark"] .news-card__badge,
[data-theme="dark"] .service-card__index {
    background: rgba(20, 4, 6, .82);
    color: var(--gold-light);
    border: 1px solid rgba(217, 180, 92, .35);
}

[data-theme="dark"] .section--announcements,
[data-theme="dark"] .section--seo {
    background: var(--paper);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .event-card,
[data-theme="dark"] .program-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .subcat-card {
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
}

[data-theme="dark"] .service-card__title,
[data-theme="dark"] .news-card__title,
[data-theme="dark"] .event-card__title,
[data-theme="dark"] .program-card__title,
[data-theme="dark"] .review-card__title,
[data-theme="dark"] .subcat-card__title {
    color: var(--burgundy-dark);
}

[data-theme="dark"] .service-card__text,
[data-theme="dark"] .news-card__excerpt,
[data-theme="dark"] .program-card__excerpt,
[data-theme="dark"] .review-card__text {
    color: var(--muted);
}

[data-theme="dark"] .service-card__more {
    color: var(--gold-light);
}

[data-theme="dark"] .section--stats {
    background:
        radial-gradient(circle at 85% 20%, rgba(217, 180, 92, .16), transparent 38%),
        linear-gradient(135deg, #2a0a10 0%, #1a0508 100%);
}

[data-theme="dark"] .stat {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .12);
}

[data-theme="dark"] .stat:hover {
    background: rgba(255, 255, 255, .08);
}

[data-theme="dark"] .footer {
    background: #140406;
}

[data-theme="dark"] .breadcrumbs {
    background: var(--paper);
    border-color: var(--line);
}

[data-theme="dark"] .btn--ghost {
    color: var(--gold-light);
    border-color: var(--gold);
}

[data-theme="dark"] .btn--ghost:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .btn--primary {
    color: #1a1208;
}

[data-theme="dark"] .btn--primary:hover {
    color: #1a1208;
}

[data-theme="dark"] .format-text {
    color: var(--ink);
}

[data-theme="dark"] .format-text a {
    color: var(--gold-light);
}

[data-theme="dark"] .format-text blockquote {
    background: rgba(217, 180, 92, .08);
    border-left-color: var(--gold);
    color: var(--ink);
}

[data-theme="dark"] .format-text th {
    background: var(--paper);
    color: var(--burgundy-dark);
}

[data-theme="dark"] .format-text th,
[data-theme="dark"] .format-text td {
    border-color: var(--line);
}

[data-theme="dark"] .to-top {
    background: var(--paper);
    border: 1px solid var(--line);
}

[data-theme="dark"] .to-top svg {
    fill: var(--gold-light);
}

[data-theme="dark"] .to-top:hover {
    background: var(--gold);
}

[data-theme="dark"] .to-top:hover svg {
    fill: #1a1208;
}

[data-theme="dark"] .popup-post {
    background: var(--paper);
    color: var(--ink);
}

[data-theme="dark"] .news-card--featured {
    background: #1a0508;
}

[data-theme="dark"] .news-card--featured .news-card__title {
    color: #fff;
}

[data-theme="dark"] .news-card--featured .news-card__excerpt {
    color: rgba(255, 255, 255, .82);
}

[data-theme="dark"] .news-card--featured .news-card__date,
[data-theme="dark"] .news-card--featured .news-card__more {
    color: var(--gold-light);
}

[data-theme="dark"] .seo-block {
    background: var(--paper);
    border-color: var(--line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

[data-theme="dark"] .seo-block__body {
    color: var(--muted);
}

[data-theme="dark"] .section__eyebrow {
    color: var(--gold-light);
}

[data-theme="dark"] .section__title strong {
    color: var(--gold-light);
}

[data-theme="dark"] .page-head__desc,
[data-theme="dark"] .empty-note,
[data-theme="dark"] .search-result__excerpt,
[data-theme="dark"] .search-empty {
    color: var(--muted);
}

[data-theme="dark"] .empty-note {
    border-color: var(--line);
}

[data-theme="dark"] .search-empty__form input {
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
}

[data-theme="dark"] .article__content {
    color: var(--ink);
}

[data-theme="dark"] .article__cats a {
    background: var(--paper);
    border-color: var(--line);
    color: var(--gold-light);
}

[data-theme="dark"] .service-hero {
    background: #1a0508;
}

[data-theme="dark"] .subservice {
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
}

[data-theme="dark"] .subservice:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .map-card,
[data-theme="dark"] .announcement {
    background: #1a0508;
}

[data-theme="dark"] .hero {
    background: #1a0508;
}

[data-theme="dark"] .hero__title,
[data-theme="dark"] .hero__title-accent {
    color: #fff;
}

[data-theme="dark"] .hero__text {
    color: rgba(255, 255, 255, .82);
}

[data-theme="dark"] .hero__arrow {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

[data-theme="dark"] .hero__arrow:hover {
    background: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .wp-pagenavi a,
[data-theme="dark"] .wp-pagenavi span {
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
}

[data-theme="dark"] .wp-pagenavi a:hover,
[data-theme="dark"] .wp-pagenavi span.current {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .event-card__date {
    background: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .mobile-menu__social a {
    background: var(--gold);
}

[data-theme="dark"] .mobile-menu__social img {
    filter: brightness(0);
}

[data-theme="dark"] .topbar__social a {
    background: rgba(255, 255, 255, .10);
}

[data-theme="dark"] .topbar__social img {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .theme-toggle {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .theme-toggle__btn {
    color: rgba(255, 255, 255, .62);
}

[data-theme="dark"] .theme-toggle__btn[aria-pressed="true"] {
    background: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .mobile-menu__theme .theme-toggle {
    background: var(--paper);
    border-color: var(--line);
}

[data-theme="dark"] .mobile-menu__theme .theme-toggle__btn {
    color: var(--muted);
}

[data-theme="dark"] .mobile-menu__theme .theme-toggle__btn[aria-pressed="true"] {
    color: #1a1208;
}

/* ==========================================================================
   Նոր բաժինների ադապտիվություն
   ========================================================================== */
@media (max-width: 1180px) {
    .news-card--featured {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 420px;
    }

    .stats {
        gap: 36px;
        padding: 64px 0;
    }
}

@media (max-width: 980px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 56px 0;
    }

    .stats__title {
        max-width: 100%;
    }

    .seo-block {
        padding: 44px 40px 40px;
    }

    .seo-block::before {
        left: 40px;
    }
}

@media (max-width: 760px) {
    .section--services .section__head {
        padding-left: 18px;
    }

    .news-card--featured {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 380px;
    }

    .news-card--featured .news-card__body {
        padding: 24px;
    }

    .news-card--featured .news-card__title {
        font-size: 26px;
    }

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

    .stat {
        padding: 24px;
    }

    .seo-block {
        padding: 34px 24px 30px;
        border-radius: 20px;
    }

    .seo-block::before {
        left: 24px;
        width: 64px;
    }

    .seo-block__decor {
        top: 10px;
        right: 18px;
        font-size: 100px;
    }

    .seo-block__body {
        font-size: 16px;
    }

    .theme-toggle__btn {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 520px) {
    .topbar__right {
        gap: 12px;
    }

    .topbar__social {
        gap: 6px;
    }

    .topbar__social a {
        width: 22px;
        height: 22px;
    }

    .topbar__social img {
        width: 12px;
        height: 12px;
    }

    .theme-toggle {
        padding: 2px;
    }

    .theme-toggle__btn {
        width: 24px;
        height: 24px;
    }

    .theme-toggle__btn svg {
        width: 13px;
        height: 13px;
    }

    .news-card--featured {
        min-height: 340px;
    }

    .news-card--featured .news-card__title {
        font-size: 23px;
    }

    .stats__link {
        padding: 9px 15px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .topbar__social {
        display: none;
    }
}

/* ==========================================================================
   Կոնտակտներ՝ նոր ժամանակակից դիզայն
   ========================================================================== */
.section--contacts {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 0%, rgba(201, 162, 39, .10), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(90, 15, 26, .06), transparent 38%),
        var(--cream);
}

.contacts-glow {
    position: absolute;
    top: -160px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .16), transparent 68%);
    pointer-events: none;
}

.contacts-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 38px;
    margin-bottom: 44px;
    border-bottom: 1px solid var(--line);
}

.contacts-hero__title {
    margin: 0 0 14px;
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.1;
}

.contacts-hero__desc {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
    font-size: 16.5px;
}

.contacts-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: none;
    padding-bottom: 4px;
}

.contacts-hero__actions .btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.contacts-layout {
    grid-template-columns: 1.15fr .85fr;
    gap: 36px;
}

.contacts-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px 24px 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 46px;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, var(--gold), var(--burgundy));
    opacity: .85;
}

.contact-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, .45);
    box-shadow: var(--shadow);
}

.contact-tile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.contact-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(201, 162, 39, .14);
    color: var(--burgundy);
}

.contact-tile__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-tile__num {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--gold-dark);
    opacity: .8;
}

.contact-tile__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.contact-tile__value {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-tile__value a {
    color: var(--ink);
}

.contact-tile__value a:hover {
    color: var(--gold-dark);
}

.contact-tile__value--text {
    font-size: 15px;
    font-weight: 400;
    color: var(--muted);
}

.contact-tile--social {
    grid-column: 1 / -1;
}

.contact-tile__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.contact-tile__social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--burgundy);
    transition: transform .2s ease, background .2s ease;
}

.contact-tile__social a:hover {
    transform: translateY(-2px);
    background: var(--gold);
}

.contact-tile__social img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.contacts-side {
    position: sticky;
    top: 104px;
}

.contacts-panel {
    position: relative;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(59, 9, 16, .08);
}

.contacts-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 26px;
    width: 84px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--gold), var(--burgundy));
}

.contacts-panel__head {
    padding: 26px 26px 16px;
}

.contacts-panel__eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.contacts-panel__title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.contacts-panel__address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 14.5px;
    color: var(--muted);
}

.contacts-panel__address svg {
    width: 16px;
    height: 16px;
    flex: none;
    margin-top: 4px;
    fill: var(--gold-dark);
}

.contacts-map {
    padding: 0 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
}

.contacts-map__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--cream);
}

.contacts-map__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contacts-panel__foot {
    margin-top: 16px;
    padding: 14px 26px 20px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
    color: var(--muted);
}

.contacts-panel__foot a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--gold-dark);
}

.contacts-panel__foot a svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    transition: transform .2s ease;
}

.contacts-panel__foot a:hover svg {
    transform: translateX(2px);
}

/* Մուգ ռեժիմ */
[data-theme="dark"] .section--contacts {
    background:
        radial-gradient(circle at 92% 0%, rgba(217, 180, 92, .10), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(217, 180, 92, .05), transparent 38%),
        var(--cream);
}

[data-theme="dark"] .contact-tile,
[data-theme="dark"] .contacts-panel {
    background: var(--paper);
    border-color: var(--line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

[data-theme="dark"] .contact-tile:hover {
    border-color: rgba(217, 180, 92, .5);
}

[data-theme="dark"] .contact-tile__icon {
    background: rgba(217, 180, 92, .14);
    color: var(--gold-light);
}

[data-theme="dark"] .contact-tile__label,
[data-theme="dark"] .contact-tile__num,
[data-theme="dark"] .contacts-panel__eyebrow {
    color: var(--gold-light);
}

[data-theme="dark"] .contact-tile__value a {
    color: var(--ink);
}

[data-theme="dark"] .contact-tile__value a:hover {
    color: var(--gold-light);
}

[data-theme="dark"] .contact-tile__value--text,
[data-theme="dark"] .contacts-panel__address,
[data-theme="dark"] .contacts-panel__foot {
    color: var(--muted);
}

[data-theme="dark"] .contacts-panel__address svg {
    fill: var(--gold-light);
}

[data-theme="dark"] .contacts-map__frame {
    border-color: var(--line);
    background: var(--paper);
}

[data-theme="dark"] .contacts-panel__foot a {
    color: var(--gold-light);
}

[data-theme="dark"] .contact-tile__social a {
    background: var(--gold);
}

[data-theme="dark"] .contact-tile__social img {
    filter: brightness(0);
}

/* Ադապտիվություն */
@media (max-width: 1180px) {
    .contacts-layout {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .contact-tile {
        padding: 22px 20px;
    }
}

@media (max-width: 980px) {
    .contacts-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding-bottom: 28px;
        margin-bottom: 34px;
    }

    .contacts-layout {
        grid-template-columns: 1fr;
    }

    .contacts-side {
        position: static;
    }

    .contacts-map__frame {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 760px) {
    .contacts-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contacts-hero__title {
        font-size: 32px;
    }

    .contacts-hero__desc {
        font-size: 15.5px;
    }

    .contacts-hero__actions {
        width: 100%;
    }

    .contacts-hero__actions .btn {
        flex: 1;
    }

    .contact-tile--social {
        grid-column: auto;
    }

    .contacts-panel__head {
        padding: 22px 22px 14px;
    }

    .contacts-panel::before {
        left: 22px;
    }

    .contacts-map {
        padding: 0 16px;
    }
}

/* ==========================================================================
   Գրադարան / Թեմական հրատարակություններ
   ========================================================================== */
.section--library {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 0%, rgba(201, 162, 39, .10), transparent 34%),
        var(--cream);
}

.library-glow {
    position: absolute;
    top: -180px;
    left: -140px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 15, 26, .08), transparent 66%);
    pointer-events: none;
}

.library-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 44px;
    padding: 52px 54px;
    margin-bottom: 48px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(201, 162, 39, .26), transparent 42%),
        linear-gradient(135deg, #4a0c15 0%, #2a0509 100%);
    box-shadow: 0 30px 70px rgba(59, 9, 16, .22);
}

.library-hero__ring {
    position: absolute;
    top: -120px;
    right: -90px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(230, 205, 122, .22);
    box-shadow: 0 0 0 46px rgba(230, 205, 122, .06), 0 0 0 92px rgba(230, 205, 122, .035);
    pointer-events: none;
}

.library-hero__text {
    position: relative;
    z-index: 1;
}

.library-hero__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.library-hero__title {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.1;
    color: #fff;
}

.library-hero__desc {
    max-width: 720px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .78);
}

.library-hero__desc a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.library-hero__stat {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 188px;
    height: 188px;
    flex: none;
    padding: 0 18px;
    border: 1px solid rgba(230, 205, 122, .38);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
    text-align: center;
}

.library-hero__stat-num {
    font-family: var(--serif);
    font-size: 62px;
    line-height: 1;
    color: var(--gold-light);
}

.library-hero__stat-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

.library-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.library-section-title {
    position: relative;
    margin: 0;
    font-size: clamp(22px, 2.4vw, 32px);
}

.library-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -17px;
    width: 54px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--burgundy));
}

.library-section-note {
    font-size: 13.5px;
    color: var(--muted);
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 54px;
}

.library-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    color: var(--ink);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.library-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 162, 39, .45);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.library-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--line);
}

.library-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.library-card:hover .library-card__media img {
    transform: scale(1.05);
}

.library-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
}

.library-card__num {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 253, 249, .92);
    color: var(--burgundy);
    font-family: var(--serif);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .08em;
    backdrop-filter: blur(6px);
}

.library-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 22px 24px;
    flex: 1;
}

.library-card__title {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.3;
    color: var(--burgundy-dark);
}

.library-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gold-dark);
}

.library-card__meta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform .2s ease;
}

.library-card:hover .library-card__meta svg {
    transform: translateX(3px);
}

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

.pub-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    color: var(--ink);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pub-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, .45);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.pub-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--line);
}

.pub-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.pub-card:hover .pub-card__media img {
    transform: scale(1.05);
}

.pub-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
}

.pub-card__tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid rgba(230, 205, 122, .35);
    border-radius: 999px;
    background: rgba(30, 5, 9, .72);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    backdrop-filter: blur(6px);
}

.pub-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    flex: 1;
}

.pub-card__date {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--gold-dark);
}

.pub-card__title {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.3;
    color: var(--burgundy-dark);
    transition: color .2s ease;
}

.pub-card:hover .pub-card__title {
    color: var(--burgundy);
}

.pub-card__excerpt {
    font-size: 15px;
    color: var(--muted);
}

.pub-card__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--burgundy);
    transition: gap .2s ease;
}

.pub-card:hover .pub-card__more {
    gap: 8px;
}

.pub-card__more svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

/* Մուգ ռեժիմ */
[data-theme="dark"] .section--library {
    background:
        radial-gradient(circle at 88% 0%, rgba(217, 180, 92, .08), transparent 34%),
        var(--cream);
}

[data-theme="dark"] .library-card,
[data-theme="dark"] .pub-card {
    background: var(--paper);
    border-color: var(--line);
}

[data-theme="dark"] .library-card__num {
    background: rgba(20, 4, 6, .82);
    border: 1px solid rgba(217, 180, 92, .35);
    color: var(--gold-light);
}

[data-theme="dark"] .library-card__title,
[data-theme="dark"] .pub-card__title {
    color: var(--burgundy-dark);
}

[data-theme="dark"] .library-card__meta,
[data-theme="dark"] .pub-card__date {
    color: var(--gold-light);
}

[data-theme="dark"] .pub-card:hover .pub-card__title {
    color: var(--gold-light);
}

[data-theme="dark"] .pub-card__more {
    color: var(--gold-light);
}

[data-theme="dark"] .pub-card__tag {
    background: rgba(0, 0, 0, .72);
}

/* Ադապտիվություն */
@media (max-width: 1180px) {
    .library-hero {
        padding: 44px 40px;
        gap: 32px;
    }

    .library-hero__stat {
        width: 160px;
        height: 160px;
    }

    .library-hero__stat-num {
        font-size: 52px;
    }

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

@media (max-width: 980px) {
    .library-hero {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 26px;
        padding: 38px 32px;
        border-radius: 24px;
        margin-bottom: 38px;
    }

    .library-hero__stat {
        width: auto;
        height: auto;
        flex-direction: row;
        gap: 10px;
        padding: 12px 22px;
        border-radius: 999px;
    }

    .library-hero__stat-num {
        font-size: 34px;
    }

    .library-hero__stat-label {
        font-size: 11px;
    }

    .library-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 760px) {
    .library-hero {
        padding: 30px 24px;
    }

    .library-hero__title {
        font-size: 30px;
    }

    .library-hero__desc {
        font-size: 15px;
    }

    .library-grid,
    .pub-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .library-card__title,
    .pub-card__title {
        font-size: 19px;
    }

    .pub-card__body {
        padding: 20px;
    }
}

/* ==========================================================================
   Գրադարան՝ Թեմական հրատարակություններ (single-faq)
   ========================================================================== */
.section--books {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 4%, rgba(201, 162, 39, .10), transparent 34%),
        var(--cream);
}

.books-glow {
    position: absolute;
    top: -160px;
    left: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 15, 26, .07), transparent 66%);
    pointer-events: none;
}

.books-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 46px 52px;
    margin-bottom: 40px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 86% 14%, rgba(201, 162, 39, .24), transparent 42%),
        linear-gradient(135deg, #4a0c15 0%, #2a0509 100%);
    box-shadow: 0 30px 70px rgba(59, 9, 16, .22);
}

.books-hero__ring {
    position: absolute;
    top: -130px;
    right: -100px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid rgba(230, 205, 122, .2);
    box-shadow: 0 0 0 40px rgba(230, 205, 122, .05), 0 0 0 80px rgba(230, 205, 122, .03);
    pointer-events: none;
}

.books-hero__text {
    position: relative;
    z-index: 1;
}

.books-hero__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.books-hero__title {
    margin: 0 0 14px;
    font-size: clamp(30px, 3.8vw, 50px);
    line-height: 1.1;
    color: #fff;
}

.books-hero__desc {
    max-width: 720px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .78);
}

.books-hero__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    flex: none;
    border: 1px solid rgba(230, 205, 122, .35);
    border-radius: 28px;
    background: rgba(255, 255, 255, .05);
    color: var(--gold-light);
    backdrop-filter: blur(6px);
}

.books-hero__icon svg {
    width: 52px;
    height: 52px;
    fill: currentColor;
}

.books-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.books-layout--side {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
    align-items: start;
}

.books-content {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 34px 36px;
    box-shadow: 0 20px 50px rgba(59, 9, 16, .06);
}

.books-modern {
    counter-reset: bookcat;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--muted);
}

.books-modern .bookmarks__item {
    counter-increment: bookcat;
    margin: 0 0 14px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .25s ease, background .25s ease;
}

.books-modern .bookmarks__item:last-child {
    margin-bottom: 0;
}

.books-modern .bookmarks__item:hover {
    border-color: rgba(201, 162, 39, .45);
}

.books-modern .bookmarks__item-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 56px 18px 66px;
    cursor: pointer;
    transition: background .2s ease;
}

.books-modern .bookmarks__item-inner:hover {
    background: rgba(201, 162, 39, .06);
}

.books-modern .bookmarks__item-inner::before {
    content: counter(bookcat, decimal-leading-zero);
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(201, 162, 39, .14);
    color: var(--burgundy);
    font-family: var(--serif);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
}

.books-modern .bookmarks__item-inner::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -5px;
    border-right: 2px solid var(--gold-dark);
    border-bottom: 2px solid var(--gold-dark);
    transform: rotate(45deg);
    transition: transform .25s ease;
}

.books-modern .bookmarks__item.is-open .bookmarks__item-inner {
    background: rgba(201, 162, 39, .07);
}

.books-modern .bookmarks__item.is-open .bookmarks__item-inner::after {
    transform: rotate(-135deg);
    margin-top: -1px;
}

.books-modern .bookmarks__item-title {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--burgundy-dark);
}

.books-modern .bookmarks__item-content {
    display: none;
    padding: 18px 24px 22px 66px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.books-modern .bookmarks__item.is-open .bookmarks__item-content {
    display: block;
}

.books-modern .bookmarks__item-content strong {
    color: var(--ink);
    font-weight: 600;
}

.books-modern .bookmarks__list-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 4px 0;
    padding: 6px 13px 6px 7px;
    border-radius: 999px;
    background: rgba(90, 15, 26, .07);
    color: var(--burgundy);
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.books-modern .bookmarks__list-link::before {
    content: 'PDF';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--burgundy);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .06em;
}

.books-modern .bookmarks__list-link:hover {
    background: var(--burgundy);
    color: #fff;
}

.books-modern .bookmarks__list-link:hover::before {
    background: #fff;
    color: var(--burgundy);
}

.books-modern .bookmarks__item-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.books-modern .bookmarks__item-content li {
    position: relative;
    font-size: 13.5px;
    color: var(--muted);
}

.books-modern .bookmarks__item-content li + li::before {
    content: '•';
    position: absolute;
    left: -10px;
    color: var(--gold-dark);
}

.books-modern .bookmarks__item-content br {
    display: block;
    margin-bottom: 8px;
}

.books-side {
    position: sticky;
    top: 104px;
}

.books-side__head {
    margin-bottom: 16px;
}

.books-side__eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.books-side__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
}

.books-accordion .accordion__item {
    border-radius: 16px;
    background: var(--paper);
}

/* Մուգ ռեժիմ */
[data-theme="dark"] .section--books {
    background:
        radial-gradient(circle at 90% 4%, rgba(217, 180, 92, .08), transparent 34%),
        var(--cream);
}

[data-theme="dark"] .books-content,
[data-theme="dark"] .books-modern .bookmarks__item,
[data-theme="dark"] .books-accordion .accordion__item {
    background: var(--paper);
    border-color: var(--line);
    box-shadow: none;
}

[data-theme="dark"] .books-modern .bookmarks__item-inner::before {
    background: rgba(217, 180, 92, .14);
    color: var(--gold-light);
}

[data-theme="dark"] .books-modern .bookmarks__item.is-open .bookmarks__item-inner,
[data-theme="dark"] .books-modern .bookmarks__item-inner:hover {
    background: rgba(217, 180, 92, .08);
}

[data-theme="dark"] .books-modern .bookmarks__item-title {
    color: var(--burgundy-dark);
}

[data-theme="dark"] .books-modern .bookmarks__list-link {
    background: rgba(217, 180, 92, .12);
    color: var(--gold-light);
}

[data-theme="dark"] .books-modern .bookmarks__list-link::before {
    background: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .books-modern .bookmarks__list-link:hover {
    background: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .books-modern .bookmarks__list-link:hover::before {
    background: #1a1208;
    color: var(--gold-light);
}

[data-theme="dark"] .books-side__eyebrow {
    color: var(--gold-light);
}

/* Ադապտիվություն */
@media (max-width: 1180px) {
    .books-hero {
        padding: 40px 40px;
        gap: 28px;
    }

    .books-hero__icon {
        width: 96px;
        height: 96px;
        border-radius: 24px;
    }

    .books-hero__icon svg {
        width: 44px;
        height: 44px;
    }

    .books-layout--side {
        grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr);
    }
}

@media (max-width: 980px) {
    .books-hero {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 22px;
        padding: 34px 30px;
        border-radius: 24px;
        margin-bottom: 32px;
    }

    .books-hero__icon {
        width: 76px;
        height: 76px;
        border-radius: 20px;
    }

    .books-hero__icon svg {
        width: 36px;
        height: 36px;
    }

    .books-layout--side {
        grid-template-columns: 1fr;
    }

    .books-side {
        position: static;
    }

    .books-content {
        padding: 28px 26px;
    }
}

@media (max-width: 760px) {
    .books-hero {
        padding: 28px 22px;
    }

    .books-hero__title {
        font-size: 28px;
    }

    .books-hero__desc {
        font-size: 15px;
    }

    .books-content {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .books-modern .bookmarks__item-inner {
        padding: 16px 46px 16px 56px;
    }

    .books-modern .bookmarks__item-inner::before {
        left: 14px;
        min-width: 30px;
        height: 30px;
        font-size: 11.5px;
    }

    .books-modern .bookmarks__item-inner::after {
        right: 18px;
    }

    .books-modern .bookmarks__item-title {
        font-size: 17px;
    }

    .books-modern .bookmarks__item-content {
        padding: 16px 18px 18px 56px;
        font-size: 14.5px;
    }
}

@media (max-width: 520px) {
    .books-modern .bookmarks__item-inner {
        padding: 14px 38px 14px 50px;
    }

    .books-modern .bookmarks__item-inner::before {
        left: 10px;
        min-width: 28px;
        height: 28px;
    }

    .books-modern .bookmarks__item-inner::after {
        right: 14px;
    }

    .books-modern .bookmarks__item-content {
        padding: 14px 14px 16px 50px;
    }

    .books-modern .bookmarks__list-link {
        font-size: 13px;
    }
}

/* ==========================================================================
   Արցախի թեմի առաջնորդ
   ========================================================================== */
.section--leader {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 0%, rgba(201, 162, 39, .12), transparent 36%),
        var(--cream);
}

.leader-glow {
    position: absolute;
    top: -180px;
    right: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, .16), transparent 66%);
    pointer-events: none;
}

.leader-hero {
    position: relative;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    margin-bottom: 54px;
}

.leader-portrait {
    position: relative;
    padding: 14px;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(201, 162, 39, .55), rgba(90, 15, 26, .12));
    box-shadow: 0 30px 70px rgba(59, 9, 16, .18);
}

.leader-portrait__ring {
    position: absolute;
    inset: -24px;
    border: 1px solid rgba(201, 162, 39, .28);
    border-radius: 40px;
    transform: rotate(-4deg);
    pointer-events: none;
}

.leader-portrait__frame {
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--paper);
}

.leader-portrait__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.leader-portrait__badge {
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    padding: 9px 22px;
    border-radius: 999px;
    background: var(--burgundy-dark);
    color: var(--gold-light);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(59, 9, 16, .3);
}

.leader-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.leader-title {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.15;
}

.leader-lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.85;
}

.leader-lead p:last-child {
    margin-bottom: 0;
}

.leader-cta {
    margin-top: 12px;
}

.leader-cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.leader-body {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 46px 52px;
    box-shadow: 0 24px 60px rgba(59, 9, 16, .07);
}

.leader-body__head {
    margin-bottom: 30px;
}

.leader-body__title {
    margin: 0;
    font-size: clamp(26px, 3vw, 40px);
}

.leader-timeline {
    position: relative;
    margin-top: 10px;
}

.leader-timeline::before {
    content: '';
    position: absolute;
    left: 169px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(201, 162, 39, .1));
}

.leader-step {
    position: relative;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 34px;
    padding: 20px 0;
}

.leader-step + .leader-step {
    border-top: 1px dashed var(--line);
}

.leader-step__year {
    position: relative;
    padding-right: 26px;
    text-align: right;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--gold-dark);
}

.leader-step__year::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 9px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, .18);
}

.leader-step__text {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.85;
}

.leader-step__text strong {
    color: var(--ink);
}

.leader-step__text a {
    color: var(--burgundy);
    text-decoration: underline;
    text-decoration-color: rgba(201, 162, 39, .5);
    text-underline-offset: 3px;
}

.leader-step__text p:last-child {
    margin-bottom: 0;
}

.leader-extra {
    margin-top: 26px;
    color: var(--muted);
}

/* Մուգ ռեժիմ */
[data-theme="dark"] .section--leader {
    background:
        radial-gradient(circle at 86% 0%, rgba(217, 180, 92, .10), transparent 36%),
        var(--cream);
}

[data-theme="dark"] .leader-body,
[data-theme="dark"] .leader-portrait__frame {
    background: var(--paper);
    border-color: var(--line);
    box-shadow: none;
}

[data-theme="dark"] .leader-portrait__badge {
    background: #1a0508;
    color: var(--gold-light);
}

[data-theme="dark"] .leader-eyebrow,
[data-theme="dark"] .leader-step__year {
    color: var(--gold-light);
}

[data-theme="dark"] .leader-step__text a {
    color: var(--gold-light);
}

[data-theme="dark"] .leader-step + .leader-step {
    border-color: var(--line);
}

[data-theme="dark"] .leader-timeline::before {
    background: linear-gradient(180deg, var(--gold), rgba(217, 180, 92, .08));
}

/* Ադապտիվություն */
@media (max-width: 1180px) {
    .leader-hero {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 40px;
    }

    .leader-body {
        padding: 40px 38px;
    }
}

@media (max-width: 980px) {
    .leader-hero {
        grid-template-columns: 1fr;
        gap: 34px;
        align-items: start;
    }

    .leader-portrait {
        width: min(340px, 100%);
    }

    .leader-title {
        font-size: 38px;
    }

    .leader-body {
        padding: 32px 28px;
    }
}

@media (max-width: 760px) {
    .leader-portrait {
        width: min(300px, 100%);
    }

    .leader-title {
        font-size: 30px;
    }

    .leader-lead {
        font-size: 15.5px;
    }

    .leader-body {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .leader-timeline::before {
        left: 129px;
    }

    .leader-step {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 24px;
        padding: 16px 0;
    }

    .leader-step__year {
        font-size: 16.5px;
    }
}

@media (max-width: 560px) {
    .leader-timeline::before {
        left: 8px;
        top: 20px;
        bottom: 20px;
    }

    .leader-step {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 0 14px 30px;
    }

    .leader-step__year {
        padding-right: 0;
        text-align: left;
        font-size: 16px;
    }

    .leader-step__year::after {
        left: -27px;
        right: auto;
        top: 7px;
    }

    .leader-step__text {
        font-size: 15px;
    }
}

/* ==========================================================================
   Արցախի ժառանգություն
   ========================================================================== */
.heritage-page {
    background: var(--cream);
}

.heritage-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 78px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(201, 162, 39, .28), transparent 42%),
        linear-gradient(135deg, #4a0c15 0%, #2a0509 100%);
}

.heritage-hero__ring {
    position: absolute;
    top: -160px;
    right: -120px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid rgba(230, 205, 122, .2);
    box-shadow: 0 0 0 52px rgba(230, 205, 122, .05), 0 0 0 104px rgba(230, 205, 122, .03);
    pointer-events: none;
}

.heritage-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 54px;
}

.heritage-hero__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.heritage-hero__title {
    margin: 0 0 18px;
    font-size: clamp(30px, 3.9vw, 52px);
    line-height: 1.15;
    color: #fff;
}

.heritage-hero__desc {
    max-width: 700px;
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 1.8;
}

.heritage-hero__desc p:last-child {
    margin-bottom: 0;
}

.heritage-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.heritage-hero__actions .btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.heritage-hero__actions .btn--ghost {
    color: var(--gold-light);
    border-color: rgba(230, 205, 122, .5);
}

.heritage-hero__actions .btn--ghost:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1208;
}

.heritage-hero__media {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 380px;
    padding: 12px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(230, 205, 122, .5), rgba(255, 255, 255, .08));
    box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}

.heritage-hero__frame {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--paper);
}

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

.heritage-hero__seal {
    position: absolute;
    top: -18px;
    right: -18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--burgundy-dark);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .3);
}

.heritage-hero__seal svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.heritage-main {
    padding: 68px 0 72px;
}

.heritage-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr);
    gap: 40px;
    align-items: start;
}

.heritage-content {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 40px 42px;
    box-shadow: 0 20px 50px rgba(59, 9, 16, .06);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.8;
}

.heritage-content p {
    color: var(--muted);
}

.heritage-content .office-text {
    font-size: 17.5px;
    line-height: 1.85;
    color: var(--ink);
}

.heritage-content .office-text strong {
    color: var(--burgundy);
}

.heritage-content > p:first-of-type:not(.office-text) {
    margin-bottom: 0;
}

.heritage-content .info-items-list {
    margin: 30px 0;
}

.heritage-content .info-items-list .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.heritage-content .info-items-list .row > [class*="col-"] {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    min-width: 0;
}

.heritage-content .info-item {
    height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--cream);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.heritage-content .info-item:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, .45);
    box-shadow: var(--shadow);
}

.heritage-content .info-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.heritage-content .info-text {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ink);
}

.heritage-content .info-content img {
    width: 100%;
    border-radius: 14px;
    margin: 0;
}

.heritage-content .service-title {
    margin: 32px 0 18px;
    padding: 0;
    font-size: 20px;
    line-height: 1.4;
}

.heritage-content .service-title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.heritage-content .service-title a::after {
    content: '';
    width: 9px;
    height: 9px;
    flex: none;
    border-right: 2px solid var(--gold-light);
    border-bottom: 2px solid var(--gold-light);
    transform: rotate(-45deg);
}

.heritage-content .service-title a:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(59, 9, 16, .22);
}

.heritage-content a {
    color: var(--burgundy);
    text-decoration: underline;
    text-decoration-color: rgba(201, 162, 39, .5);
    text-underline-offset: 3px;
}

.heritage-content a:hover {
    color: var(--gold-dark);
}

.heritage-gallery-block {
    margin-top: 30px;
    padding: 32px 34px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.heritage-gallery-block__head {
    margin-bottom: 22px;
}

.heritage-gallery-block__title {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 30px);
}

.heritage-gallery-block__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.heritage-gallery-block__item {
    display: block;
    aspect-ratio: 16 / 11;
    border-radius: 16px;
    overflow: hidden;
    background: var(--cream);
}

.heritage-gallery-block__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s ease;
}

.heritage-gallery-block__item:hover img {
    transform: scale(1.05);
}

.heritage-seo {
    margin-top: 30px;
    padding: 32px 34px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.heritage-seo__title {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.4vw, 30px);
}

.heritage-seo .format-text {
    color: var(--muted);
}

.heritage-sidebar {
    position: sticky;
    top: 104px;
}

.heritage-widget {
    margin-bottom: 22px;
    padding: 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(59, 9, 16, .05);
}

.heritage-widget__head {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.heritage-widget__eyebrow {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.heritage-widget__title {
    margin: 0;
    font-size: 23px;
}

.heritage-news {
    margin: 0;
    padding: 0;
    list-style: none;
}

.heritage-news__item + .heritage-news__item {
    border-top: 1px solid var(--line);
}

.heritage-news__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    color: var(--ink);
    font-size: 14.5px;
    line-height: 1.5;
    transition: color .2s ease;
}

.heritage-news__item a:hover {
    color: var(--burgundy);
}

.heritage-news__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.heritage-news__item svg {
    width: 16px;
    height: 16px;
    flex: none;
    fill: var(--gold-dark);
    transition: transform .2s ease;
}

.heritage-news__item a:hover svg {
    transform: translateX(3px);
}

.heritage-widget__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 16px;
    padding: 11px 18px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--burgundy);
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease;
}

.heritage-widget__more svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.heritage-widget__more:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

.heritage-widget__empty {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
}

.heritage-social {
    display: flex;
    gap: 10px;
}

.heritage-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--burgundy);
    color: #fff;
    transition: transform .2s ease, background .2s ease;
}

.heritage-social a:hover {
    transform: translateY(-2px);
    background: var(--gold);
    color: var(--burgundy-dark);
}

.heritage-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.heritage-faq-section {
    padding: 0 0 84px;
}

.heritage-faq {
    max-width: 1000px;
    margin: 0 auto;
}

.heritage-faq__head {
    margin-bottom: 28px;
    text-align: center;
}

.heritage-faq__title {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: .08em;
}

.heritage-acc__item {
    margin-bottom: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.heritage-acc__item.is-open {
    border-color: rgba(201, 162, 39, .45);
    box-shadow: 0 18px 40px rgba(59, 9, 16, .08);
}

.heritage-acc__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: background .2s ease;
}

.heritage-acc__inner:hover {
    background: rgba(201, 162, 39, .06);
}

.heritage-acc__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(201, 162, 39, .14);
    color: var(--burgundy);
    font-family: var(--serif);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    flex: none;
}

.heritage-acc__title {
    flex: 1;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--burgundy-dark);
}

.heritage-acc__chevron {
    position: relative;
    width: 34px;
    height: 34px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: transform .25s ease, background .2s ease;
}

.heritage-acc__chevron::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gold-dark);
    border-bottom: 2px solid var(--gold-dark);
    transform: translate(-50%, -65%) rotate(45deg);
}

.heritage-acc__item.is-open .heritage-acc__chevron {
    transform: rotate(180deg);
    background: rgba(201, 162, 39, .12);
}

.heritage-acc__content {
    display: none;
    padding: 0 24px 24px 78px;
    border-top: 1px solid var(--line);
}

.heritage-acc__item.is-open .heritage-acc__content {
    display: block;
}

.heritage-acc__desc {
    padding-top: 18px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.85;
}

.heritage-acc__desc h2 {
    font-size: 19px;
    color: var(--burgundy);
}

.heritage-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.heritage-gallery__item {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--line);
}

.heritage-gallery__item img {
    width: 100%;
    height: 100%;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover;
    transition: transform .4s ease;
}

.heritage-gallery__item:hover img {
    transform: scale(1.06);
}

/* Մուգ ռեժիմ */
[data-theme="dark"] .heritage-page {
    background: var(--cream);
}

[data-theme="dark"] .heritage-content,
[data-theme="dark"] .heritage-gallery-block,
[data-theme="dark"] .heritage-seo,
[data-theme="dark"] .heritage-widget,
[data-theme="dark"] .heritage-acc__item {
    background: var(--paper);
    border-color: var(--line);
    box-shadow: none;
}

[data-theme="dark"] .heritage-content .info-item {
    background: rgba(217, 180, 92, .06);
    border-color: var(--line);
}

[data-theme="dark"] .heritage-content .office-text,
[data-theme="dark"] .heritage-content .info-text {
    color: var(--ink);
}

[data-theme="dark"] .heritage-content a,
[data-theme="dark"] .heritage-widget__more {
    color: var(--gold-light);
}

[data-theme="dark"] .heritage-news__item a {
    color: var(--ink);
}

[data-theme="dark"] .heritage-news__item a:hover {
    color: var(--gold-light);
}

[data-theme="dark"] .heritage-widget__more:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .heritage-acc__num {
    background: rgba(217, 180, 92, .14);
    color: var(--gold-light);
}

[data-theme="dark"] .heritage-acc__title {
    color: var(--burgundy-dark);
}

[data-theme="dark"] .heritage-acc__desc h2 {
    color: var(--gold-light);
}

[data-theme="dark"] .heritage-social a {
    background: var(--gold);
    color: #1a1208;
}

[data-theme="dark"] .heritage-widget__eyebrow {
    color: var(--gold-light);
}

/* Ադապտիվություն */
@media (max-width: 1180px) {
    .heritage-hero__inner {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 38px;
    }

    .heritage-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, .7fr);
        gap: 30px;
    }

    .heritage-content {
        padding: 32px 30px;
    }
}

@media (max-width: 980px) {
    .heritage-hero {
        padding: 52px 0 58px;
    }

    .heritage-hero__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .heritage-hero__media {
        justify-self: start;
        max-width: 340px;
    }

    .heritage-layout {
        grid-template-columns: 1fr;
    }

    .heritage-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .heritage-widget {
        margin-bottom: 0;
        height: 100%;
    }
}

@media (max-width: 760px) {
    .heritage-hero {
        padding: 42px 0 48px;
    }

    .heritage-hero__title {
        font-size: 30px;
    }

    .heritage-hero__desc {
        font-size: 15px;
    }

    .heritage-hero__actions .btn {
        flex: 1;
    }

    .heritage-main {
        padding: 48px 0 52px;
    }

    .heritage-content {
        padding: 24px 20px;
        border-radius: 20px;
        font-size: 15.5px;
    }

    .heritage-content .info-items-list .row {
        grid-template-columns: 1fr;
    }

    .heritage-content .service-title {
        font-size: 17px;
    }

    .heritage-content .service-title a {
        padding: 16px 18px;
    }

    .heritage-gallery-block,
    .heritage-seo {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .heritage-gallery-block__grid {
        grid-template-columns: 1fr;
    }

    .heritage-sidebar {
        grid-template-columns: 1fr;
    }

    .heritage-faq-section {
        padding-bottom: 56px;
    }

    .heritage-acc__inner {
        padding: 16px 18px;
        gap: 12px;
    }

    .heritage-acc__title {
        font-size: 16.5px;
    }

    .heritage-acc__content {
        padding: 0 18px 18px 18px;
    }

    .heritage-acc__desc {
        font-size: 14.5px;
    }

    .heritage-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 520px) {
    .heritage-hero__media {
        max-width: 260px;
    }

    .heritage-hero__seal {
        width: 48px;
        height: 48px;
        top: -12px;
        right: -12px;
    }

    .heritage-hero__seal svg {
        width: 22px;
        height: 22px;
    }

    .heritage-acc__num {
        min-width: 32px;
        height: 26px;
        font-size: 11.5px;
    }

    .heritage-acc__chevron {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   «ԸՆԾԱ» սոցիալ-հոգևոր-հոգեբանական կենտրոն
   ========================================================================== */
.yntsa-page {
    background: var(--cream);
}

.yntsa-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.yntsa-section-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.15;
}

.yntsa-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 80px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 16%, rgba(201, 162, 39, .28), transparent 42%),
        linear-gradient(135deg, #4a0c15 0%, #2a0509 100%);
}

.yntsa-hero__ring {
    position: absolute;
    top: -170px;
    right: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 1px solid rgba(230, 205, 122, .2);
    box-shadow: 0 0 0 54px rgba(230, 205, 122, .05), 0 0 0 108px rgba(230, 205, 122, .03);
    pointer-events: none;
}

.yntsa-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 54px;
}

.yntsa-hero .yntsa-eyebrow {
    color: var(--gold-light);
}

.yntsa-hero__title {
    margin: 0 0 18px;
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 1.05;
    color: #fff;
}

.yntsa-hero__quote {
    margin: 0 0 20px;
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--gold);
    font-family: var(--serif);
    font-size: clamp(19px, 2.1vw, 25px);
    line-height: 1.5;
    color: var(--gold-light);
}

.yntsa-hero__quote cite {
    display: block;
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 12.5px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.yntsa-hero__desc {
    max-width: 640px;
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 1.8;
}

.yntsa-hero__desc p:last-child {
    margin-bottom: 0;
}

.yntsa-hero .btn {
    margin-top: 14px;
}

.yntsa-hero .btn.btn--primary {
    padding: 13px 26px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--burgundy-dark);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(201, 162, 39, .28);
}

.yntsa-hero .btn.btn--primary:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
}

.yntsa-banner .btn {
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
}

.yntsa-hero .btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.yntsa-hero__media {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 420px;
}

.yntsa-hero__frame {
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    overflow: hidden;
    background: var(--paper);
    border: 10px solid rgba(255, 255, 255, .1);
    box-shadow: 0 32px 70px rgba(0, 0, 0, .35);
}

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

.yntsa-about {
    padding: 82px 0;
}

.yntsa-about__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 52px;
    align-items: start;
}

.yntsa-about__subtitle {
    margin: 0 0 22px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.yntsa-quote {
    margin: 0 0 26px;
    padding: 22px 26px;
    border-left: 4px solid var(--gold);
    border-radius: 0 16px 16px 0;
    background: var(--paper);
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.6;
    color: var(--burgundy-dark);
    box-shadow: 0 14px 34px rgba(59, 9, 16, .06);
}

.yntsa-quote cite {
    display: block;
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.yntsa-about__body {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.yntsa-about__body p:last-child {
    margin-bottom: 0;
}

.yntsa-about__media {
    position: sticky;
    top: 104px;
}

.yntsa-about__frame {
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--line);
    box-shadow: 0 24px 60px rgba(59, 9, 16, .14);
}

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

.yntsa-about__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--burgundy);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    transition: background .2s ease, transform .2s ease;
}

.yntsa-about__cta:hover {
    background: var(--burgundy-dark);
    color: #fff;
    transform: translateY(-2px);
}

.yntsa-about__cta svg {
    width: 18px;
    height: 18px;
    flex: none;
    fill: currentColor;
}

.yntsa-banner {
    padding: 0 0 10px;
}

.yntsa-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 30px 36px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .18), transparent 42%),
        linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 20px 44px rgba(201, 162, 39, .24);
}

.yntsa-banner__title {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
    color: var(--burgundy-dark);
}

.yntsa-banner .btn {
    flex: none;
    background: var(--burgundy-dark);
    color: #fff;
}

.yntsa-banner .btn:hover {
    background: var(--burgundy);
    color: #fff;
}

.yntsa-banner .btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.yntsa-testimonial {
    padding: 72px 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.yntsa-testimonial__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
    gap: 48px;
    align-items: center;
}

.yntsa-quote--large {
    margin: 0;
    padding: 0 0 0 24px;
    border: 0;
    border-left: 4px solid var(--gold);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.55;
}

.yntsa-person {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    padding: 24px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.yntsa-person__photo {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--line);
}

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

.yntsa-person__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.yntsa-person__name {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}

.yntsa-person__role {
    margin: 0 0 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.yntsa-person__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--burgundy);
    color: #fff;
    transition: background .2s ease;
}

.yntsa-person__social:hover {
    background: var(--gold);
    color: var(--burgundy-dark);
}

.yntsa-person__social svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.yntsa-person__note {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
}

.yntsa-person__note a {
    color: var(--burgundy);
    font-weight: 700;
}

.yntsa-section-head {
    margin-bottom: 34px;
}

.yntsa-team {
    padding: 78px 0;
}

.yntsa-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.yntsa-member {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.yntsa-member:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, .45);
    box-shadow: var(--shadow);
}

.yntsa-member__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--line);
}

.yntsa-member__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.yntsa-member:hover .yntsa-member__media img {
    transform: scale(1.05);
}

.yntsa-member__link {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 253, 249, .92);
    color: var(--burgundy);
    backdrop-filter: blur(6px);
    transition: background .2s ease, color .2s ease;
}

.yntsa-member__link:hover {
    background: var(--gold);
    color: var(--burgundy-dark);
}

.yntsa-member__link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.yntsa-member__body {
    padding: 20px 22px 22px;
}

.yntsa-member__name {
    margin: 0 0 4px;
    font-size: 20px;
}

.yntsa-member__role {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
}

.yntsa-gallery-section {
    padding: 0 0 84px;
}

.yntsa-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.yntsa-gallery__item {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--line);
}

.yntsa-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.yntsa-gallery__item:hover img {
    transform: scale(1.06);
}

.yntsa-partners {
    padding: 0 0 84px;
}

.yntsa-partners__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.yntsa-partner {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.yntsa-partner:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, .45);
    box-shadow: var(--shadow);
}

.yntsa-partner__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--line);
}

.yntsa-partner__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.yntsa-partner:hover .yntsa-partner__media > img {
    transform: scale(1.04);
}

.yntsa-partner__logo {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 253, 249, .94);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.yntsa-partner__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yntsa-partner__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 24px 22px;
    flex: 1;
}

.yntsa-partner__name {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}

.yntsa-partner__desc {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
}

.yntsa-partner__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
}

.yntsa-partner__more svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform .2s ease;
}

.yntsa-partner__more:hover svg {
    transform: translateX(3px);
}

/* Մուգ ռեժիմ */
[data-theme="dark"] .yntsa-page {
    background: var(--cream);
}

[data-theme="dark"] .yntsa-about__body,
[data-theme="dark"] .yntsa-about__body p {
    color: var(--muted);
}

[data-theme="dark"] .yntsa-quote {
    background: var(--paper);
    border-color: var(--gold);
    color: var(--burgundy-dark);
    box-shadow: none;
}

[data-theme="dark"] .yntsa-testimonial {
    background: var(--paper);
    border-color: var(--line);
}

[data-theme="dark"] .yntsa-person {
    background: var(--cream);
    border-color: var(--line);
}

[data-theme="dark"] .yntsa-person__note a {
    color: var(--gold-light);
}

[data-theme="dark"] .yntsa-member,
[data-theme="dark"] .yntsa-partner {
    background: var(--paper);
    border-color: var(--line);
}

[data-theme="dark"] .yntsa-member__link {
    background: rgba(20, 4, 6, .82);
    color: var(--gold-light);
}

[data-theme="dark"] .yntsa-partner__more,
[data-theme="dark"] .yntsa-person__role,
[data-theme="dark"] .yntsa-about__subtitle,
[data-theme="dark"] .yntsa-eyebrow {
    color: var(--gold-light);
}

[data-theme="dark"] .yntsa-banner__inner {
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .14), transparent 42%),
        linear-gradient(135deg, #d9b45c 0%, #9c7c14 100%);
}

[data-theme="dark"] .yntsa-banner__title {
    color: #1a1208;
}

[data-theme="dark"] .yntsa-banner .btn {
    background: #1a1208;
    color: var(--gold-light);
}

[data-theme="dark"] .yntsa-partner__logo {
    background: rgba(255, 253, 249, .94);
}

/* Ադապտիվություն */
@media (max-width: 1180px) {
    .yntsa-hero__inner {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 40px;
    }

    .yntsa-about__inner {
        gap: 38px;
    }

    .yntsa-team__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 980px) {
    .yntsa-hero {
        padding: 54px 0 60px;
    }

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

    .yntsa-hero__media {
        justify-self: start;
        max-width: 360px;
    }

    .yntsa-about__inner {
        grid-template-columns: 1fr;
    }

    .yntsa-about__media {
        position: static;
        max-width: 420px;
    }

    .yntsa-testimonial__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .yntsa-team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yntsa-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .yntsa-hero {
        padding: 42px 0 48px;
    }

    .yntsa-hero__title {
        font-size: 34px;
    }

    .yntsa-hero__quote {
        font-size: 18px;
    }

    .yntsa-hero__desc {
        font-size: 15px;
    }

    .yntsa-about {
        padding: 52px 0;
    }

    .yntsa-section-title {
        font-size: 28px;
    }

    .yntsa-quote {
        padding: 18px 20px;
        font-size: 17px;
    }

    .yntsa-about__body {
        font-size: 15.5px;
    }

    .yntsa-banner__inner {
        padding: 24px 22px;
        border-radius: 18px;
    }

    .yntsa-testimonial {
        padding: 52px 0;
    }

    .yntsa-person {
        grid-template-columns: 110px minmax(0, 1fr);
        padding: 18px;
        gap: 16px;
    }

    .yntsa-person__name {
        font-size: 18px;
    }

    .yntsa-team {
        padding: 52px 0;
    }

    .yntsa-team__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .yntsa-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .yntsa-gallery-section {
        padding-bottom: 52px;
    }

    .yntsa-partners__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .yntsa-partner__body {
        padding: 20px;
    }

    .yntsa-partners {
        padding-bottom: 56px;
    }
}

@media (max-width: 520px) {
    .yntsa-hero__media {
        max-width: 280px;
    }

    .yntsa-person {
        grid-template-columns: 1fr;
    }

    .yntsa-person__photo {
        max-width: 160px;
    }

    .yntsa-member__body {
        padding: 16px 18px 18px;
    }
}
