/* ============================================================
   ЧАЙНЫЙ ДОМ — Главная таблица стилей
   Версия 1.0
   ============================================================ */

/* ── Переменные ── */
:root {
    --c-green-deep:    #2D5A1B;
    --c-green-medium:  #3D7A26;
    --c-green-light:   #7FAF5B;
    --c-green-pale:    #EEF5E8;
    --c-beige:         #F5EDD6;
    --c-rice:          #FAF3E0;
    --c-gold:          #C9A84C;
    --c-gold-light:    #E8C97A;
    --c-graphite:      #2C2C2C;
    --c-brown:         #8B5E3C;
    --c-brown-light:   #B8845A;
    --c-cream:         #FDF8F0;
    --c-text:          #3A3026;
    --c-text-soft:     #6B5C4C;
    --c-text-muted:    #9E8E7E;
    --c-border:        #DDD3BC;
    --c-border-light:  #EEE7D6;
    --c-white:         #FFFFFF;
    --c-shadow:        rgba(45, 90, 27, 0.12);

    --font-heading:    'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:       'Nunito', 'Helvetica Neue', Arial, sans-serif;

    --header-h:        72px;
    --container:       1280px;
    --gap:             24px;

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --shadow-xs: 0 1px 4px rgba(0,0,0,.06);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.09);
    --shadow-md: 0 4px 18px rgba(0,0,0,.13);
    --shadow-lg: 0 8px 36px rgba(0,0,0,.16);
    --shadow-xl: 0 16px 56px rgba(0,0,0,.20);

    --ease:      cubic-bezier(.25,.46,.45,.94);
    --ease-out:  cubic-bezier(.16,1,.3,1);
}

/* ── Сброс ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-cream);
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ── Утилиты ── */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gap);
}
.section { padding-block: 80px; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* ── Кнопки ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: background .25s var(--ease), color .25s var(--ease),
                border-color .25s var(--ease), box-shadow .25s var(--ease),
                transform .2s var(--ease);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--c-green-deep);
    color: var(--c-white);
    border-color: var(--c-green-deep);
}
.btn-primary:hover {
    background: var(--c-green-medium);
    border-color: var(--c-green-medium);
    box-shadow: 0 4px 18px rgba(45,90,27,.35);
}

.btn-outline {
    background: transparent;
    color: var(--c-green-deep);
    border-color: var(--c-green-deep);
}
.btn-outline:hover {
    background: var(--c-green-deep);
    color: var(--c-white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border);
}
.btn-outline-dark:hover {
    background: var(--c-text);
    color: var(--c-white);
    border-color: var(--c-text);
}

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

.btn-hero-primary {
    background: var(--c-gold);
    color: var(--c-graphite);
    border-color: var(--c-gold);
    padding: 16px 36px;
    font-size: 16px;
}
.btn-hero-primary:hover {
    background: var(--c-gold-light);
    border-color: var(--c-gold-light);
    box-shadow: 0 6px 24px rgba(201,168,76,.45);
}

.btn-hero-outline {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255,255,255,.7);
    padding: 16px 36px;
    font-size: 16px;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--c-white);
}

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }

/* ── Заголовки секций ── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-green-medium);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    color: var(--c-graphite);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-desc {
    max-width: 580px;
    margin-inline: auto;
    color: var(--c-text-soft);
    font-size: 17px;
    line-height: 1.65;
}
.section-footer { text-align: center; margin-top: 48px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(250, 243, 224, 0);
    backdrop-filter: blur(0px);
    transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header--scrolled,
.page-inner .site-header {
    background: rgba(250, 243, 224, .96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(45,90,27,.12);
}
.page-home .site-header {
    background: transparent;
}
.page-home .site-header--scrolled {
    background: rgba(250, 243, 224, .96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(45,90,27,.12);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 24px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    color: var(--c-green-deep);
    transition: opacity .2s;
}
.page-home .site-header:not(.site-header--scrolled) .header-logo { color: var(--c-white); }
.header-logo:hover { opacity: .85; }
.logo-icon { color: currentColor; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
    color: currentColor;
}
.logo-tagline {
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--c-text-muted);
    text-transform: uppercase;
    margin-top: 1px;
}
.page-home .site-header:not(.site-header--scrolled) .logo-tagline { color: rgba(255,255,255,.6); }

/* Nav */
.header-nav { flex: 1; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.nav-link {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-soft);
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.page-home .site-header:not(.site-header--scrolled) .nav-link { color: rgba(255,255,255,.85); }
.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--c-green-deep);
    background: var(--c-green-pale);
}
.page-home .site-header:not(.site-header--scrolled) .nav-link:hover,
.page-home .site-header:not(.site-header--scrolled) .nav-item.active .nav-link {
    color: var(--c-white);
    background: rgba(255,255,255,.15);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.header-messengers {
    display: flex;
    gap: 6px;
}
.messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background .2s, color .2s;
}
.messenger-link--tg { color: #229ED9; }
.messenger-link--tg:hover { background: rgba(34,158,217,.12); }
.messenger-link--wa { color: #25D366; }
.messenger-link--wa:hover { background: rgba(37,211,102,.12); }
.page-home .site-header:not(.site-header--scrolled) .messenger-link { color: rgba(255,255,255,.8); }
.page-home .site-header:not(.site-header--scrolled) .messenger-link:hover { background: rgba(255,255,255,.15); color: var(--c-white); }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    border-radius: var(--radius-sm);
    transition: background .2s;
}
.hamburger:hover { background: var(--c-green-pale); }
.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s, background .2s;
}
.page-home .site-header:not(.site-header--scrolled) .hamburger-line { background: var(--c-white); }
.hamburger.is-active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu { display: none; }
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1100;
    opacity: 0;
    transition: opacity .35s var(--ease);
}
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 90vw);
    height: 100dvh;
    background: var(--c-rice);
    z-index: 1101;
    display: flex;
    flex-direction: column;
    padding: 20px 24px 32px;
    overflow-y: auto;
    transform: translateX(110%);
    transition: transform .4s var(--ease-out);
    box-shadow: var(--shadow-xl);
}
.mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu-panel { transform: none; }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.mobile-menu-close {
    font-size: 28px;
    line-height: 1;
    color: var(--c-text-soft);
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
}
.mobile-menu-close:hover { color: var(--c-text); background: var(--c-border-light); }
.mobile-nav-list { flex: 1; }
.mobile-nav-item { border-bottom: 1px solid var(--c-border-light); }
.mobile-nav-link {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--c-text);
    transition: color .2s, padding-left .2s;
}
.mobile-nav-item.active .mobile-nav-link,
.mobile-nav-link:hover {
    color: var(--c-green-deep);
    padding-left: 6px;
}
.mobile-menu-footer {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.mobile-menu-footer .btn { flex: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    position: relative;
    min-height: calc(100dvh - var(--header-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--c-green-deep);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .5;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 40, 12, .85) 0%,
        rgba(40, 70, 25, .65) 50%,
        rgba(10, 25, 8, .75) 100%
    );
}
.hero-section .container { position: relative; z-index: 1; padding-block: 80px; }
.hero-content { max-width: 680px; }
.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5.5vw, 66px);
    font-weight: 600;
    color: var(--c-white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -.02em;
}
.hero-desc {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-gold);
    line-height: 1;
}
.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    margin-top: 2px;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.2);
}
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: bounceHint 2s ease-in-out infinite;
    z-index: 1;
}
.hero-scroll-arrow {
    width: 2px;
    height: 24px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.hero-scroll-arrow::after {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.7);
    animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}
@keyframes bounceHint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section { background: var(--c-cream); }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.category-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border-light);
    text-decoration: none;
    color: var(--c-text);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
    display: flex;
    flex-direction: column;
}
.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.category-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--c-beige);
}
.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.category-card:hover .category-card-img img { transform: scale(1.06); }
.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,40,12,.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.category-card:hover .category-card-overlay { opacity: 1; }
.category-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.category-card-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-green-medium);
    margin-bottom: 8px;
    display: block;
}
.category-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--c-graphite);
    margin-bottom: 10px;
    line-height: 1.2;
}
.category-card-desc {
    font-size: 14px;
    color: var(--c-text-soft);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}
.category-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-green-deep);
    transition: gap .2s;
}
.category-card:hover .category-card-link { gap: 10px; }

/* ============================================================
   HOW TO CHOOSE
   ============================================================ */
.choose-section { position: relative; background: var(--c-beige); }
.choose-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5 C20 12,14 22,14 30 C14 42,22 50,30 50 C38 50,46 42,46 30 C46 22,40 12,30 5 Z' fill='none' stroke='%232D5A1B' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E") repeat;
    opacity: .6;
}
.choose-section .container { position: relative; }
.choose-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.choose-card {
    background: var(--c-white);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    border: 1px solid var(--c-border-light);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.choose-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.choose-card-icon {
    color: var(--c-green-medium);
    margin-bottom: 16px;
}
.choose-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--c-graphite);
    margin-bottom: 10px;
}
.choose-card-desc {
    font-size: 13px;
    color: var(--c-text-soft);
    line-height: 1.6;
    margin-bottom: 16px;
}
.choose-card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-green-deep);
    transition: color .2s;
}
.choose-card-link:hover { color: var(--c-green-medium); }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantages-section { background: var(--c-cream); }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.advantage-item { text-align: center; padding: 8px; }
.advantage-icon {
    color: var(--c-green-medium);
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
}
.advantage-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--c-graphite);
    margin-bottom: 10px;
}
.advantage-desc {
    font-size: 14px;
    color: var(--c-text-soft);
    line-height: 1.65;
}

/* ============================================================
   RITUAL
   ============================================================ */
.ritual-section { background: var(--c-green-deep); color: var(--c-white); }
.ritual-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.ritual-content .section-eyebrow { color: var(--c-gold-light); }
.ritual-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 24px;
    line-height: 1.2;
}
.ritual-text {
    color: rgba(255,255,255,.8);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 20px;
}
.ritual-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 5/4;
    background: rgba(255,255,255,.07);
}
.ritual-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.popular-section { background: var(--c-rice); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border-light);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.product-card-img {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--c-beige);
    overflow: hidden;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--c-gold);
    color: var(--c-graphite);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    letter-spacing: .05em;
}
.product-card-badge--new { background: var(--c-green-medium); color: var(--c-white); }
.product-card-badge--premium { background: var(--c-graphite); color: var(--c-gold); }

.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-green-medium);
    margin-bottom: 6px;
    display: block;
}
.product-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--c-graphite);
    margin-bottom: 10px;
    line-height: 1.25;
}
.product-card-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.note {
    font-size: 11px;
    padding: 3px 10px;
    background: var(--c-green-pale);
    color: var(--c-green-deep);
    border-radius: 20px;
    font-weight: 600;
}
.product-card-desc {
    font-size: 13px;
    color: var(--c-text-soft);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--c-border-light);
}
.product-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-green-deep);
}
.product-card-actions {
    display: flex;
    gap: 8px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background: var(--c-green-deep); }
.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}
.cta-content .section-eyebrow { color: var(--c-gold-light); }
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 16px;
    line-height: 1.2;
}
.cta-desc {
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-decoration {
    width: 280px;
    flex-shrink: 0;
    opacity: .8;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs-wrap {
    background: var(--c-beige);
    border-bottom: 1px solid var(--c-border-light);
    padding-block: 12px;
}
.breadcrumbs-wrap .pathway,
.breadcrumbs-wrap ol,
.breadcrumbs-wrap ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--c-text-muted);
    list-style: none;
}
.breadcrumbs-wrap li + li::before {
    content: '/';
    margin-right: 6px;
    color: var(--c-border);
}
.breadcrumbs-wrap a { color: var(--c-text-soft); transition: color .2s; }
.breadcrumbs-wrap a:hover { color: var(--c-green-deep); }

/* ============================================================
   INNER PAGE LAYOUT
   ============================================================ */
.page-wrap { padding-block: 56px 80px; }
.page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.page-layout:has(.page-sidebar) {
    grid-template-columns: 1fr 300px;
}
.page-main { min-width: 0; }
.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ============================================================
   ARTICLE / PRODUCT PAGE
   ============================================================ */
.com-content-article {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    border: 1px solid var(--c-border-light);
    box-shadow: var(--shadow-xs);
}
.com-content-article h1,
.com-content-article .page-header h1,
.com-content-article .page-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 600;
    color: var(--c-graphite);
    margin-bottom: 24px;
    line-height: 1.2;
}
.com-content-article h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--c-graphite);
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.3;
}
.com-content-article h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--c-graphite);
    margin-top: 28px;
    margin-bottom: 12px;
}
.com-content-article p { margin-bottom: 18px; color: var(--c-text-soft); line-height: 1.75; }
.com-content-article ul, .com-content-article ol {
    margin-left: 24px;
    margin-bottom: 20px;
    color: var(--c-text-soft);
    line-height: 1.75;
    list-style: disc;
}
.com-content-article ol { list-style: decimal; }
.com-content-article li { margin-bottom: 8px; }
.com-content-article strong { color: var(--c-text); font-weight: 700; }
.com-content-article blockquote {
    border-left: 3px solid var(--c-gold);
    padding: 16px 24px;
    background: var(--c-rice);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--c-text-soft);
}
.com-content-article .article-info-block,
.com-content-article .com-content-article__info { display: none; }

/* Product layout styles (used in article content HTML) */
.tea-product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tea-product-gallery {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.tea-product-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-beige);
    aspect-ratio: 1;
}
.tea-product-image img { width: 100%; height: 100%; object-fit: cover; }

.tea-product-info { padding-top: 0; }
.tea-product-category {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-green-medium);
    margin-bottom: 8px;
    display: block;
}
.tea-product-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 600;
    color: var(--c-graphite);
    line-height: 1.15;
    margin-bottom: 16px;
}
.tea-product-tagline {
    font-size: 17px;
    color: var(--c-text-soft);
    line-height: 1.65;
    margin-bottom: 28px;
    font-style: italic;
}
.tea-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.tea-product-price {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--c-green-deep);
}
.tea-product-weight-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.tea-weight-btn {
    padding: 8px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-soft);
    transition: all .2s;
    cursor: pointer;
    background: transparent;
}
.tea-weight-btn.active,
.tea-weight-btn:hover {
    border-color: var(--c-green-deep);
    color: var(--c-green-deep);
    background: var(--c-green-pale);
}

.tea-product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.tea-product-actions .btn { flex: 1; min-width: 180px; }

.tea-profile {
    background: var(--c-rice);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 28px;
}
.tea-profile-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    margin-bottom: 16px;
}
.tea-profile-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--c-border-light);
    gap: 12px;
}
.tea-profile-row:last-child { border-bottom: none; }
.tea-profile-key {
    font-size: 13px;
    color: var(--c-text-muted);
    flex-shrink: 0;
    min-width: 100px;
}
.tea-profile-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    text-align: right;
}

.tea-brew {
    background: var(--c-green-pale);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(45,90,27,.12);
}
.tea-brew-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--c-green-deep);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tea-brew-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.tea-brew-item { text-align: center; }
.tea-brew-val {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-green-deep);
    display: block;
}
.tea-brew-label { font-size: 11px; color: var(--c-text-muted); margin-top: 2px; }

/* FAQ */
.tea-faq { margin-top: 40px; }
.tea-faq-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--c-graphite);
    margin-bottom: 20px;
}
.faq-item {
    border-bottom: 1px solid var(--c-border-light);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--c-text);
    gap: 16px;
    transition: color .2s;
    user-select: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}
.faq-question:hover { color: var(--c-green-deep); }
.faq-question.is-open { color: var(--c-green-deep); }
.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s var(--ease), background .2s, border-color .2s;
    font-size: 16px;
    color: var(--c-text-muted);
    line-height: 1;
}
.faq-question.is-open .faq-icon {
    transform: rotate(45deg);
    background: var(--c-green-deep);
    border-color: var(--c-green-deep);
    color: var(--c-white);
}
.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s var(--ease);
}
.faq-answer-inner {
    padding: 0 0 20px;
    font-size: 14px;
    color: var(--c-text-soft);
    line-height: 1.7;
}

/* Related products */
.related-products { margin-top: 56px; }
.related-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--c-graphite);
    margin-bottom: 24px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.category-page-header {
    background: var(--c-green-deep);
    padding: 64px 0 52px;
    color: var(--c-white);
    margin-bottom: 48px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.category-page-header .section-eyebrow { color: var(--c-gold-light); }
.category-page-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 16px;
    line-height: 1.15;
}
.category-page-desc {
    font-size: 17px;
    color: rgba(255,255,255,.8);
    max-width: 600px;
    line-height: 1.7;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 20px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.contact-item-icon {
    color: var(--c-green-medium);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-item-text { font-size: 15px; color: var(--c-text-soft); }
.contact-item-text strong { color: var(--c-text); display: block; margin-bottom: 2px; }
.contact-item-text a { color: var(--c-green-deep); transition: color .2s; }
.contact-item-text a:hover { color: var(--c-green-medium); }

/* Contact form */
.contact-form { background: var(--c-rice); border-radius: var(--radius-lg); padding: 36px; }
.contact-form h3 { font-family: var(--font-heading); font-size: 22px; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--c-text-soft); margin-bottom: 6px; letter-spacing: .04em; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 15px;
    color: var(--c-text);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.form-control:focus {
    border-color: var(--c-green-medium);
    box-shadow: 0 0 0 3px rgba(61,122,38,.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================================
   ERROR PAGE
   ============================================================ */
.error-page, .offline-page {
    min-height: calc(100dvh - var(--header-h) - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}
.error-content, .offline-content {
    text-align: center;
    max-width: 500px;
}
.error-code {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 700;
    color: var(--c-green-deep);
    opacity: .15;
    line-height: 1;
    margin-bottom: -20px;
}
.error-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--c-graphite);
    margin-bottom: 16px;
}
.error-desc { color: var(--c-text-soft); margin-bottom: 32px; line-height: 1.7; }
.error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.error-decoration { margin-top: 48px; display: flex; justify-content: center; }
.offline-logo { margin-bottom: 24px; display: flex; justify-content: center; }
.offline-title { font-family: var(--font-heading); font-size: 36px; font-weight: 600; color: var(--c-graphite); margin-bottom: 8px; }
.offline-subtitle { font-size: 18px; color: var(--c-green-medium); font-weight: 600; margin-bottom: 16px; }
.offline-desc { color: var(--c-text-soft); line-height: 1.7; margin-bottom: 32px; }
.offline-contacts { margin-top: 24px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--c-graphite); color: var(--c-white); }
.footer-top { padding-block: 64px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 18px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 24px; max-width: 300px; }
.footer-messengers { display: flex; gap: 12px; }
.footer-messenger-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    padding: 8px 0;
    transition: color .2s;
}
.footer-messenger-link:hover { color: var(--c-white); }
.footer-nav-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 16px;
}
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    transition: color .2s;
}
.footer-nav-list a:hover { color: var(--c-white); }
.footer-contacts-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
}
.footer-contacts-list svg { flex-shrink: 0; margin-top: 1px; opacity: .6; }
.footer-contacts-list a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-contacts-list a:hover { color: var(--c-white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-block: 20px;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
    animation: fadeInUp .8s var(--ease-out) both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   JOOMLA MODULE RESETS
   ============================================================ */
.mod-breadcrumbs ol,
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    list-style: none;
    color: var(--c-text-muted);
}
.mod-breadcrumbs li + li::before,
.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin-right: 4px;
    color: var(--c-border);
}
.mod-breadcrumbs a { color: var(--c-text-soft); transition: color .2s; }
.mod-breadcrumbs a:hover { color: var(--c-green-deep); }

.com-content-category .com-content-category__items { margin-top: 0; }
.com-content-category__header { display: none; }
.category-list .items-leading { margin-bottom: 0; }
.category-list .page-header { display: none; }

/* Hide Joomla default page heading if we have custom content */
.com-content-category .page-header h1,
.com-content-category .page-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    color: var(--c-graphite);
    margin-bottom: 8px;
}

/* Joomla article items in category list as tea cards */
.com-content-category__items .items-row,
.item-separator { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .choose-grid { grid-template-columns: repeat(3, 1fr); }
    .advantages-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
    .footer-grid > *:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    .header-nav { display: none; }
    .hamburger { display: flex; }
    .header-cta { display: none !important; }
    .mobile-menu { display: block; }
    .hero-stats { gap: 16px; }
    .ritual-inner { grid-template-columns: 1fr; gap: 40px; }
    .ritual-image { max-width: 500px; }
    .cta-inner { grid-template-columns: 1fr; }
    .cta-decoration { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .tea-product { grid-template-columns: 1fr; }
    .tea-product-gallery { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .page-layout:has(.page-sidebar) { grid-template-columns: 1fr; }
    .page-sidebar { display: none; }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }
    .section { padding-block: 56px; }
    .categories-grid { grid-template-columns: 1fr; }
    .choose-grid { grid-template-columns: 1fr 1fr; }
    .advantages-grid { grid-template-columns: 1fr 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .btn-hero-primary, .btn-hero-outline { padding: 14px 28px; font-size: 15px; }
    .com-content-article { padding: 28px 24px; }
    .tea-brew-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    :root { --gap: 16px; }
    .choose-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .hero-stat-divider { display: none; }
    .product-card-footer { flex-direction: column; align-items: flex-start; }
    .product-card-actions { width: 100%; }
    .product-card-actions .btn { flex: 1; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .section-title { font-size: 26px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-header, .site-footer, .mobile-menu { display: none; }
    .page-wrap { padding: 0; }
    .com-content-article { box-shadow: none; border: none; padding: 0; }
}
