:root {
    --color-red: #D30010;
    --color-gold: #E6B391;
    --color-bordeaux: #6B1A2A;
    --color-white: #FFFFFF;
    --color-cream: #FDFBF7;
    --color-dark: #1A1311;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-text: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    color: var(--color-white);
    background-color: var(--color-cream);
    line-height: 1.5;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Base animations */
.fade-in-section {
    opacity: 1;
    transform: none;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

.articles-page.fade-in-section,
.article-detail-page.fade-in-section,
.reviews-page.fade-in-section,
.calc-page.fade-in-section,
.faq-page.fade-in-section,
.breadcrumb-page.fade-in-section {
    opacity: 1;
    transform: none;
}

/* Header */
.header {
    padding: 14px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-gold);
    letter-spacing: 0.1em;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav__link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}

.lang-switch:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 120px;
    background-color: var(--color-dark);
}

.hero__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 19, 17, 0.95) 0%, rgba(26, 19, 17, 0.7) 45%, rgba(26, 19, 17, 0.1) 100%);
    z-index: 2;
}

.hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero__content {
    max-width: 650px;
}

.hero__subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 30px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero__title span {
    color: var(--color-red);
    font-style: italic;
    font-weight: 600;
}

.hero__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 50px;
    line-height: 1.6;
}

.hero__features {
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 4;
}

/* Actions */
.actions {
    background-color: var(--color-cream);
    padding: 60px 0 40px;
    position: relative;
    z-index: 5;
}

.actions__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.action-card {
    display: flex;
    align-items: center;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.action-card--red {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-bordeaux) 100%);
    color: var(--color-white);
}

.action-card--gold {
    background: linear-gradient(135deg, #D4A373 0%, #B5835A 100%);
    color: var(--color-white);
}

.action-card__icon {
    margin-right: 30px;
    flex-shrink: 0;
}

.action-card__content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.action-card__content p {
    font-size: 15px;
    opacity: 0.9;
    max-width: 300px;
    line-height: 1.4;
}

.action-card__arrow {
    margin-left: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.action-card:hover .action-card__arrow {
    background-color: rgba(255,255,255,0.2);
}

/* Stats */
.stats {
    background-color: var(--color-cream);
    padding: 20px 0 60px;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    color: var(--color-dark);
}

.stat-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 13px;
    opacity: 0.6;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    
    .hero__title {
        font-size: 56px;
    }
    
    .hero__features {
        flex-direction: column;
    }
    
    .actions__grid {
        grid-template-columns: 1fr;
    }
    
    .stats__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 42px;
    }
    
    .action-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .action-card__icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .action-card__arrow {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .stats__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Calc Header */
.calc-header {
    background-color: var(--color-dark);
    position: relative;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.calc-header .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.calc-title {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.1em;
    color: var(--color-gold);
}

/* Inner pages: light header */
body.calc-body .header--premium {
    background: rgba(253, 251, 247, 0.96);
    box-shadow: 0 1px 20px rgba(31, 23, 18, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
body.calc-body .header--premium.header--scrolled {
    background: rgba(253, 251, 247, 0.99);
    box-shadow: 0 2px 24px rgba(31, 23, 18, 0.12);
}
body.calc-body .logo--premium {
    color: #7A4F2E;
}
body.calc-body .logo--premium svg path {
    fill: #B5835A;
}
body.calc-body .nav--premium .nav__link {
    color: rgba(31, 23, 18, 0.7);
}
body.calc-body .nav--premium .nav__link:hover {
    color: #B5835A;
}
body.calc-body .lang-switch--premium {
    color: rgba(31, 23, 18, 0.6);
    border-color: rgba(31, 23, 18, 0.18);
}
body.calc-body .lang-switch--premium:hover {
    border-color: #B5835A;
    color: #B5835A;
}
body.calc-body .nav-burger {
    border-color: rgba(31, 23, 18, 0.2);
}
body.calc-body .nav-burger:hover {
    border-color: #B5835A;
}
body.calc-body .nav-burger span {
    background: rgba(31, 23, 18, 0.7);
}

/* Calc Page */
.calc-body {
    background-color: #FDFBF7;
    background-image: none;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    color: #333;
}
.calc-page {
    padding-top: 100px;
}
.calc-intro {
    max-width: 880px;
    margin: 0 auto 26px;
    text-align: center;
}
.calc-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.calc-intro__title {
    max-width: 780px;
    margin: 0 auto 14px;
    font-family: var(--font-heading);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    font-weight: 700;
    color: var(--color-dark);
}
.calc-intro__text {
    max-width: 760px;
    margin: 0 auto 16px;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: #5f534b;
}
.calc-intro__points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.calc-intro__points li {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.1);
    border: 1px solid rgba(212, 163, 115, 0.22);
    font-family: var(--font-body);
    font-size: 12px;
    color: #6d5d52;
}

/* User Info */
.user-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.user-details h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-dark);
    margin-bottom: 5px;
}
.user-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}
.user-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Bazi Grid */
.bazi-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border: 1px solid #eee;
}
.bazi-chart {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    flex: 1 1 auto;
}
.bazi-extra {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #f0f0f0;
    background: #fbfaf8;
    flex: 0 0 auto;
}
.bazi-col {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #f0f0f0;
    text-align: center;
    min-width: 0;
}
.bazi-chart .bazi-col:last-child,
.bazi-extra .bazi-col:last-child {
    border-right: none;
}
.bazi-day-master {
    background-color: rgba(230, 179, 145, 0.1);
}
.bazi-header {
    padding: clamp(9px, 1.8vw, 15px) clamp(4px, 1.2vw, 10px);
    font-size: clamp(10px, 1.6vw, 13px);
    font-weight: 600;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    min-height: clamp(46px, 8vw, 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1.2;
}
.bazi-header small {
    font-weight: 400;
    color: #999;
}
.bazi-stem, .bazi-branch {
    padding: clamp(12px, 3.4vw, 25px) clamp(4px, 1.4vw, 10px);
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.char {
    font-family: var(--font-heading);
    font-size: clamp(26px, 8.5vw, 46px);
    line-height: 1.1;
    font-weight: 400;
}
.pinyin {
    font-size: clamp(10px, 2.7vw, 14px);
    margin-top: clamp(4px, 1.2vw, 8px);
    font-weight: 500;
}

/* Element Colors */
.element-water { color: #2B6CB0; }
.element-wood { color: #2F855A; }
.element-fire { color: var(--color-red); }
.element-earth { color: #975A16; }
.element-metal { color: #718096; }

/* Hidden Stems */
.bazi-hidden {
    padding: clamp(8px, 2vw, 15px) clamp(3px, 1vw, 10px);
    flex-grow: 1;
    background-color: #FAFAFA;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.hidden-stem {
    font-size: clamp(8px, 2.15vw, 13px);
    margin-bottom: clamp(5px, 1.4vw, 10px);
    font-weight: 500;
}
.hidden-element {
    display: block;
    font-size: clamp(7px, 1.85vw, 11px);
    color: #999;
    font-weight: 400;
    margin-top: 2px;
}

@media (min-width: 1100px) {
    .bazi-grid {
        flex-direction: row;
        align-items: stretch;
        gap: 28px;
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible;
    }
    .bazi-chart,
    .bazi-extra {
        background: white;
        border: 1px solid #eee;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .bazi-chart {
        flex-basis: calc(100% - 320px);
    }
    .bazi-extra {
        flex-basis: 292px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 0;
    }
}

/* Stars Section */
.stars-header h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}
.stars-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 60px;
}
.star-card {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f5f5f5;
    transition: transform 0.3s;
}
.star-card:hover {
    transform: translateY(-5px);
}
.star-icon {
    margin-bottom: 15px;
}
.star-card h4 {
    font-size: 14px;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.star-card p {
    font-size: 12px;
    color: #888;
}

/* Premium Banner */
.premium-banner {
    background: linear-gradient(135deg, #FDFBF7 0%, #E6D5C3 100%);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid rgba(230, 179, 145, 0.3);
}
.premium-content {
    max-width: 500px;
}
.premium-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-dark);
    margin-bottom: 15px;
}
.premium-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}
.btn span {
    background: rgba(0,0,0,0.15);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
}

.course-banner {
    background-color: var(--color-bordeaux);
    background: linear-gradient(90deg, var(--color-bordeaux) 0%, var(--color-dark) 100%);
    border-radius: 16px;
    padding: 35px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .stars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .bazi-grid {
        border-radius: 12px;
        gap: 12px;
    }
    .bazi-extra .bazi-hidden {
        display: none;
    }
    .stars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .premium-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .course-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 420px) {
    .premium-banner {
        padding: 22px 16px;
    }
    .premium-content {
        max-width: 100%;
        min-width: 0;
    }
    .premium-content h3 {
        font-size: 24px;
    }
    .premium-banner .btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }
}


/* Calc Form */
.calc-form-section {
    margin-bottom: 40px;
}
.bazi-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    align-items: flex-end;
}
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}
.form-group label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}
.bazi-form input, .bazi-form select {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}
.bazi-form input:focus, .bazi-form select:focus {
    border-color: var(--color-gold);
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}
.btn--red {
    background: linear-gradient(145deg, #c8001a 0%, #7a0012 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(164, 31, 43, 0.32), 0 1px 4px rgba(0,0,0,0.1);
}
.btn--red:hover {
    background: linear-gradient(145deg, #e0001e 0%, #9a0018 100%);
    box-shadow: 0 8px 28px rgba(164, 31, 43, 0.45), 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.btn--outline-gold {
    background: transparent;
    color: #D4A373;
    border: 1px solid rgba(212, 163, 115, 0.5);
    box-shadow: none;
}
.btn--outline-gold:hover {
    border-color: #D4A373;
    background: rgba(212, 163, 115, 0.08);
    transform: translateY(-1px);
}
.bazi-form .btn {
    height: 44px;
    align-self: flex-end;
}
@media (max-width: 768px) {
    .bazi-form {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Autocomplete for City */
.autocomplete-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.autocomplete-list.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.autocomplete-list li {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

.autocomplete-list li:last-child {
    border-bottom: none;
}

.autocomplete-list li:hover {
    background-color: #fdfbf7;
    color: #d30010;
}

/* About Section */
.about {
    background-color: var(--color-cream);
    padding: 100px 0;
    color: var(--color-dark);
}

.about__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about__image {
    flex: 1;
    max-width: 450px;
}

.about__photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #E6D5C3;
    background-image: linear-gradient(135deg, #FDFBF7 0%, #E6D5C3 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(26, 19, 17, 0.4);
    font-family: var(--font-heading);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(230, 179, 145, 0.3);
}

.about__content {
    flex: 1.2;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.about__subtitle {
    font-size: 20px;
    color: var(--color-red);
    margin-bottom: 30px;
    font-weight: 500;
}

.about__text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.about__list {
    list-style: none;
    margin-top: 30px;
}

.about__list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--color-dark);
}

.about__list li span {
    color: var(--color-gold);
    display: flex;
}

@media (max-width: 900px) {
    .about__inner {
        flex-direction: column;
        text-align: center;
    }
    .about__list li {
        justify-content: center;
    }
}

/* =========================================================================
   LUXURY DARK THEME OVERRIDES (FOR INDEX.HTML)
   ========================================================================= */

body:has(.luxury-main) {
    background-color: #FFFDF7;
    color: #FDFBF7;
}


.header--premium {
    background: linear-gradient(to bottom, rgba(5, 4, 6, 0.92) 0%, rgba(5, 4, 6, 0) 100%);
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: background 0.4s;
}
.header--premium.header--scrolled {
    background: linear-gradient(to bottom, rgba(5, 4, 6, 0.97) 0%, rgba(5, 4, 6, 0.6) 100%);
}

.logo--premium {
    color: #D4A373;
}

.logo__home-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
}
.logo__home-link:hover {
    opacity: 0.7;
}

.logo--light {
    color: #ffffff;
}
.logo--light svg path {
    fill: #B5835A;
}

.nav--premium .nav__link {
    color: rgba(253, 251, 247, 0.8);
}
.nav--premium .nav__link:hover {
    color: #D4A373;
}

.lang-switch--premium {
    color: rgba(253, 251, 247, 0.8);
    border-color: rgba(212, 163, 115, 0.3);
}

/* Hero Section */
.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background-color: #050406;
}
.hero-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #E6C684 15%, #C09947 30%, #E9C577 45%, #FFFFBD 60%, #E5C98D 75%, #C09947 88%,
        transparent 100%
    );
    /* Keep the hero divider behind the overlapping stats cards (z-index: 6). */
    z-index: 1;
    pointer-events: none;
}

.hero-premium__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    z-index: 1;
    opacity: 1;
}

.hero-premium__layer {
    position: absolute;
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    z-index: 3;
}

.hero-premium__layer--person {
    bottom: 5vh;
    right: 5vw;
    width: 50vw;
    height: 105vh;
    background-size: contain;
    background-position: bottom center;
    /* Fade the bottom into the fog */
    mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 25%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 25%);
    /* Realistic rim light instead of cheap glow */
    filter: drop-shadow(-5px 0 10px rgba(230, 179, 145, 0.15)) drop-shadow(5px 0 15px rgba(255, 255, 255, 0.1));
}

/* New Layer: Fog */
.hero-premium__fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: linear-gradient(to top, #050406 10%, rgba(5,4,6,0.8) 40%, transparent 100%);
    z-index: 4;
}

/* New Layer: Particles (animated) */
.hero-premium__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        radial-gradient(1.5px 1.5px at 20px 30px, rgba(212, 163, 115, 0.6), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, rgba(212, 163, 115, 0.4), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, rgba(212, 163, 115, 0.3), rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 90px 40px, rgba(212, 163, 115, 0.5), rgba(0,0,0,0));
    background-size: 200px 200px;
    animation: drift 60s linear infinite;
    opacity: 0.6;
}

@keyframes drift {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-200px) translateX(-50px); }
}

.hero-premium__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,4,6,0) 0%, rgba(5,4,6,0) 34%, rgba(5,4,6,0.44) 72%, rgba(5,4,6,0.78) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-premium__container {
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-premium__left {
    max-width: 650px;
}

.hero-premium__subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #FFE1A6;
    margin-bottom: 25px;
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, rgba(22, 13, 10, 0.72) 0%, rgba(54, 30, 22, 0.56) 55%, rgba(20, 12, 10, 0.68) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 10px 34px rgba(0, 0, 0, 0.42),
        0 2px 10px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 235, 180, 0.22),
        inset 0 -1px 0 rgba(180, 120, 60, 0.12);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
    max-width: 100%;
    line-height: 1.25;
}
.hero-premium__subtitle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(135deg,
        #E6C684 0%,
        #C09947 23%,
        #E9C577 41%,
        #9E6F06 59%,
        #FFFFBD 77%,
        #E5C98D 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.gold-dot {
    width: 6px;
    height: 6px;
    background-color: #C29B62;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(194, 155, 98, 0.6);
}

.hero-premium__title {
    font-family: var(--font-heading);
    font-size: 70px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    text-shadow: 0 5px 28px rgba(0, 0, 0, 0.45);
}

.glow-red--elegant {
    color: #D30010;
    -webkit-text-fill-color: #D30010;
    font-style: italic;
    font-weight: 600;
}

.hero-premium__text {
    font-size: 19px;
    color: rgba(253, 251, 247, 0.75);
    margin-bottom: 45px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 620px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.52);
}

.hero-premium__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.btn-luxury-primary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(145deg, rgba(164, 31, 43, 0.9) 0%, rgba(107, 26, 42, 0.8) 100%);
    color: #FDFBF7;
    border: none;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 15px 35px rgba(164, 31, 43, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}
.btn-luxury-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(135deg,
        #E6C684 0%, #C09947 23%, #E9C577 41%, #9E6F06 59%, #FFFFBD 77%, #E5C98D 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.btn-luxury-primary:hover {
    box-shadow: 0 20px 45px rgba(164, 31, 43, 0.4), 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-3px);
    background: linear-gradient(145deg, rgba(184, 41, 53, 0.95) 0%, rgba(127, 36, 52, 0.85) 100%);
}

.btn-premium--gold-glass {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.4s;
    cursor: pointer;
    font-weight: 600;
    background: rgba(212, 163, 115, 0.06);
    color: #D4A373;
    border: none;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(212, 163, 115, 0.12),
        inset 0 1px 0 rgba(255, 235, 180, 0.15);
}
.btn-premium--gold-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(135deg,
        #E6C684 0%, #C09947 23%, #E9C577 41%, #9E6F06 59%, #FFFFBD 77%, #E5C98D 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.btn-premium--gold-glass:hover {
    background: rgba(212, 163, 115, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 8px 24px rgba(212, 163, 115, 0.22), inset 0 1px 0 rgba(255, 235, 180, 0.2);
}

.hero-premium__features-new {
    display: flex;
    gap: 20px;
}

.feature-mini-card {
    background: rgba(15, 12, 14, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 163, 115, 0.12);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.feature-mini-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 163, 115, 0.3), transparent);
}
.feature-mini-card:hover {
    background: rgba(20, 15, 18, 0.6);
    transform: translateY(-4px);
    border-color: rgba(212, 163, 115, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.feature-mini-card__icon {
    flex-shrink: 0;
    color: #C29B62;
    background: rgba(212, 163, 115, 0.08);
    padding: 12px;
    border-radius: 12px;
}

.feature-mini-card__text h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #FDFBF7;
    margin-bottom: 6px;
}

.feature-mini-card__text p {
    font-size: 13px;
    color: rgba(253, 251, 247, 0.6);
    line-height: 1.5;
}

/* Stats Strip */
.stats-strip {
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 6;
    margin-top: -48px;
}

.stats-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stats-strip__inner .stat-premium {
    background: #0e0c0b;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.20);
}
.stats-strip__inner .stat-premium:nth-child(1) { background-image: url('img/CH_1.png'); }
.stats-strip__inner .stat-premium:nth-child(2) { background-image: url('img/CH_2.png'); }
.stats-strip__inner .stat-premium:nth-child(3) { background-image: url('img/CH_3.png'); }
.stats-strip__inner .stat-premium:nth-child(4) { background-image: url('img/CH_4.png'); }

.stats-strip__inner .stat-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg,
        #E6C684 0%, #C09947 23%, #E9C577 41%, #9E6F06 59%, #FFFFBD 77%, #E5C98D 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}


.stats-strip__inner .stat-premium .stat-premium__content {
    position: relative;
    z-index: 2;
    padding: 26px 20px 24px;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
}

.stats-strip__inner .stat-premium .stat-premium__top {
    display: flex;
    align-items: center;
    width: 100%;
}

.stats-strip__inner .stat-premium .stat-premium__heading {
    flex: 0 0 66.666%;
    min-width: 0;
}

.stats-strip__inner .stat-premium .stat-premium__stat {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffebb6;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.stats-strip__inner .stat-premium .stat-premium__sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffebb6;
    line-height: 1.3;
    margin-top: 4px;
}

.stats-strip__inner .stat-premium .stat-premium__ornament {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 13px 0;
}

.stats-strip__inner .stat-premium .stat-premium__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192, 153, 71, 0.5), transparent);
    display: block;
}

.stats-strip__inner .stat-premium .stat-premium__desc {
    font-size: 13px;
    color: #ffebb6;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    padding: 0 18px;
}

.stats-strip__inner .stat-premium .stat-premium__icon {
    flex: 0 0 33.333%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .stats-strip {
        margin-top: -34px;
    }

    .stats-strip__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stats-strip__inner .stat-premium {
        border-radius: 12px;
    }

    .stats-strip__inner .stat-premium::before {
        border-radius: 12px;
    }

    .stats-strip__inner .stat-premium .stat-premium__content {
        min-height: 116px;
        padding: 18px 16px;
        justify-content: center;
    }

    .stats-strip__inner .stat-premium .stat-premium__top {
        gap: 12px;
    }

    .stats-strip__inner .stat-premium .stat-premium__icon {
        flex: 0 0 42px;
    }

    .stats-strip__inner .stat-premium .stat-premium__icon svg {
        width: 30px;
        height: 30px;
    }

    .stats-strip__inner .stat-premium .stat-premium__heading {
        flex: 1 1 auto;
    }

    .stats-strip__inner .stat-premium .stat-premium__stat {
        font-size: 22px;
        line-height: 1.1;
    }

    .stats-strip__inner .stat-premium .stat-premium__sub {
        font-size: 15px;
        line-height: 1.2;
        margin-top: 3px;
    }

    .stats-strip__inner .stat-premium .stat-premium__ornament,
    .stats-strip__inner .stat-premium .stat-premium__desc {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats-strip { margin-top: -28px; }
    .stats-strip__inner { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stats-strip__inner .stat-premium .stat-premium__content {
        min-height: 104px;
        padding: 15px 12px;
    }
    .stats-strip__inner .stat-premium:nth-child(2) { border-right: none; }
    .stats-strip__inner .stat-premium:nth-child(3),
    .stats-strip__inner .stat-premium:nth-child(4) { border-top: 1px solid rgba(212, 163, 115, 0.12); }
}

@media (max-width: 480px) {
    .stats-strip__inner { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stats-strip__inner .stat-premium .stat-premium__content {
        min-height: 94px;
        padding: 14px 10px;
    }
    .stats-strip__inner .stat-premium .stat-premium__top {
        gap: 8px;
    }
    .stats-strip__inner .stat-premium .stat-premium__icon {
        flex-basis: 32px;
    }
    .stats-strip__inner .stat-premium .stat-premium__icon svg {
        width: 24px;
        height: 24px;
    }
    .stats-strip__inner .stat-premium .stat-premium__stat {
        font-size: 18px;
    }
    .stats-strip__inner .stat-premium .stat-premium__sub {
        font-size: 13px;
    }
}

/* New About Section */
.about-section {
    position: relative;
    max-width: 1260px;
    margin: 60px auto;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 340px 1fr;
    align-items: center;
    gap: 60px;
    border-radius: 28px;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/BGperson.png') center / cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.about-photo {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    box-shadow:
        0 32px 80px rgba(20, 10, 3, 0.45),
        0 10px 28px rgba(20, 10, 3, 0.22);
}

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

.about-content {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    background: none;
}

.about-content h2 {
    margin: 0 0 16px;
    font-family: "Cormorant Garamond", "Playfair Display", serif;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 500;
    color: #1f1712;
}

.about-content p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(31, 23, 18, 0.75);
}

.about-content .lead {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.55;
    color: #a96f3c;
}

.pain-list {
    display: grid;
    gap: 0;
    margin-bottom: 28px;
}

.pain-list div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(178, 128, 75, 0.18);
    font-size: 16px;
    color: #241a14;
}

.pain-list span {
    flex: 0 0 auto;
    color: #c48848;
    font-size: 16px;
    line-height: 1;
}

.about-content .final {
    margin: 0 0 28px;
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    line-height: 1.2;
    color: #211711;
}

.about-content .final strong {
    color: #a86a33;
    font-weight: 500;
}

.about-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    cursor: pointer;
    color: #1f1712;
    border: none;
    background: #fffdf7;
    box-shadow: 0 4px 18px rgba(180, 115, 45, 0.18), 0 1px 4px rgba(0,0,0,0.08);
    transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0s;
}
.about-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(135deg,
        #E6C684 0%, #C09947 23%, #E9C577 41%, #9E6F06 59%, #FFFFBD 77%, #E5C98D 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.35s;
}
.about-btn:hover,
.about-btn:active {
    background: linear-gradient(145deg, #c8001a 0%, #7a0012 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        0 8px 28px rgba(211, 0, 16, 0.45),
        0 15px 35px rgba(164, 31, 43, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.12);
}
.about-btn:active {
    transform: translateY(0);
    box-shadow:
        0 4px 14px rgba(211, 0, 16, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.about-ctas .btn-premium--gold-glass {
    background: rgba(253, 251, 247, 0.95);
    border: 1px solid rgba(180, 130, 80, 0.35);
    color: #7A4F2E;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.07);
    backdrop-filter: none;
}
.about-ctas .btn-premium--gold-glass:hover {
    background: linear-gradient(145deg, #c8001a 0%, #7a0012 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(164, 31, 43, 0.35);
    transform: translateY(-2px);
}

.about-cta-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(31, 23, 18, 0.45);
    margin: 28px 0 12px;
}
.about-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .about-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 30px;
    }
    .about-photo { aspect-ratio: 3 / 4; max-width: 260px; margin: 0 auto; }
    .about-content { padding: 20px 0; }
    .about-content h2 { font-size: 34px; }
}

/* Glassmorphism About Section */
.about-premium {
    padding: 50px 0 70px;
    position: relative;
    z-index: 5;
    background-color: #FFFDF7;
}

.glass-panel {
    background: #FFFFFF;
    border: 1px solid rgba(212, 163, 115, 0.2);
    border-radius: 24px;
    padding: 40px 50px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.about-premium__inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
}
.about-premium__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('img/BGperson.png');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.about-premium__inner > * {
    position: relative;
    z-index: 1;
}

.about-premium__image {
    flex: 1;
}

.about-premium__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    border: 1px solid rgba(212, 163, 115, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    filter: brightness(0.9) contrast(1.1);
}

.about-premium__content {
    flex: 1.2;
}

.section-title-premium {
    font-family: var(--font-heading);
    font-size: 48px;
    color: #1A1311;
    margin-bottom: 10px;
}

.about-premium__subtitle {
    font-size: 20px;
    color: #B5835A;
    margin-bottom: 30px;
    font-weight: 500;
}

.about-premium__text {
    font-size: 16px;
    color: #4A4340;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-premium__list {
    list-style: none;
    margin-top: 30px;
}

.about-premium__list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #1A1311;
    margin-bottom: 15px;
}

/* Tools Section */
.tools-premium {
    padding: 60px 0 100px;
}

.tools-premium__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.glass-card-large {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 163, 115, 0.15);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card-large::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(212, 163, 115, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.glass-card-large:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 163, 115, 0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.glass-card-large:hover::before {
    opacity: 1;
}

.glass-card-large--red:hover {
    border-color: rgba(211, 0, 16, 0.5);
}
.glass-card-large--red::before {
    background: radial-gradient(circle at 0% 0%, rgba(211, 0, 16, 0.15) 0%, transparent 60%);
}

.glass-card-large__content {
    position: relative;
    z-index: 2;
}

.glass-card-large__content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #FDFBF7;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.glass-card-large__content p {
    font-size: 15px;
    color: rgba(253, 251, 247, 0.6);
    line-height: 1.5;
    max-width: 350px;
}

.glass-card-large__arrow {
    margin-left: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(212, 163, 115, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4A373;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.glass-card-large:hover .glass-card-large__arrow {
    background: rgba(212, 163, 115, 0.1);
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .hero-premium__bg {
        width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .hero-premium__overlay {
        background: linear-gradient(to bottom, rgba(5,4,6,0) 0%, rgba(5,4,6,0) 38%, rgba(5,4,6,0.46) 72%, rgba(5,4,6,0.8) 100%);
    }
    .hero-premium__title {
        font-size: 56px;
    }
    .hero-premium__features {
        flex-wrap: wrap;
    }
    .tools-premium__grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .hero-premium__ctas {
        flex-direction: column;
    }
    .about-premium__inner {
        flex-direction: column;
        padding: 40px 30px;
    }
    .glass-card-large {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    .glass-card-large__arrow {
        margin: 30px auto 0;
    }
}


/* =========================================================================
   DASHBOARD PANEL (STATS & TOOLS)
   ========================================================================= */

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-premium--outline-small {
    padding: 8px 16px;
    font-size: 11px;
    border: 1px solid rgba(212, 163, 115, 0.5);
    border-radius: 4px;
    color: #D4A373;
}
.btn-premium--outline-small:hover {
    background: rgba(212, 163, 115, 0.1);
}

.nav__link svg {
    margin-left: 2px;
    opacity: 0.7;
    margin-bottom: 2px;
}

/* Nav Dropdown */
.nav__dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.nav__dropdown-toggle {
    cursor: default;
    user-select: none;
}
.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: transparent;
    padding-top: 12px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 200;
    pointer-events: none;
}
.nav__dropdown-menu::before {
    content: '';
    position: absolute;
    inset: 12px 0 0 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
    z-index: -1;
}
.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}
.nav__dropdown-item {
    display: block;
    padding: 10px 22px;
    font-size: 12px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-dark);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.nav__dropdown-item:hover {
    background: rgba(212, 163, 115, 0.1);
    color: var(--color-gold);
}

/* Mobile nav sub-items */
.nav-mobile__sub {
    font-size: 17px !important;
    padding-left: 20px;
    opacity: 0.72;
}

/* Button variants */
.btn-premium {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-premium--red-glow {
    background: linear-gradient(135deg, #a3000b 0%, #4a0d16 100%);
    color: #FDFBF7;
    border: 1px solid rgba(211, 0, 16, 0.7);
    box-shadow: 0 0 20px rgba(211, 0, 16, 0.6), inset 0 0 10px rgba(255, 100, 100, 0.2);
}
.btn-premium--red-glow:hover {
    box-shadow: 0 0 30px rgba(211, 0, 16, 0.8), inset 0 0 15px rgba(255, 100, 100, 0.3);
}

.btn-premium--gold-glass {
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 163, 115, 0.4);
    color: #D4A373;
}
.btn-premium--gold-glass:hover {
    background: rgba(212, 163, 115, 0.1);
}

/* Feature mini cards refactored */
.hero-premium__features-new {
    display: flex;
    gap: 15px;
}

.feature-mini-card {
    background: rgba(15, 12, 14, 0.5);
    border: 1px solid rgba(212, 163, 115, 0.15);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 180px;
}

.feature-mini-card__text h4 {
    font-size: 13px;
    color: #FDFBF7;
    margin-bottom: 4px;
}
.feature-mini-card__text p {
    font-size: 11px;
    color: rgba(253, 251, 247, 0.5);
    line-height: 1.3;
}

/* Dashboard Panel */
.dashboard-panel {
    margin-top: 0;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
    background-color: #FFFDF7;
}

.dashboard-panel__inner.glass-panel {
    padding: 0;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(180, 130, 80, 0.18);
    border-radius: 16px;
}

.dashboard-panel__divider {
    text-align: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(180, 130, 80, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #B5835A;
}

.dashboard-panel__content {
    display: flex;
}

.dashboard-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(180, 130, 80, 0.1);
}

.stat-premium {
    background: #FFFFFF;
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-premium h4 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: #1A1311;
    margin: 12px 0 4px;
}
.stat-premium p {
    font-size: 13px;
    color: rgba(26, 19, 17, 0.5);
}

.dashboard-tools {
    flex: 1.5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(180, 130, 80, 0.1);
    border-left: 1px solid rgba(180, 130, 80, 0.1);
}

.tool-card {
    background: #FFFFFF;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background 0.3s;
    min-height: 240px;
}
.tool-card:hover {
    background-color: transparent;
}

.tool-card__content h3 {
    font-size: 13px;
    color: #1A1311;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}
.tool-card__content p {
    font-size: 12px;
    color: rgba(26, 19, 17, 0.55);
    line-height: 1.5;
}

.tool-card__arrow {
    margin-top: auto;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(164, 31, 43, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(164, 31, 43, 0.18) 0%, rgba(107, 26, 42, 0.12) 100%);
    color: #D30010;
    box-shadow: 0 0 8px rgba(164, 31, 43, 0.2);
    transition: all 0.3s;
    align-self: flex-start;
}
.tool-card:hover .tool-card__arrow {
    background: linear-gradient(145deg, rgba(164, 31, 43, 0.85) 0%, rgba(107, 26, 42, 0.75) 100%);
    border-color: rgba(164, 31, 43, 0.8);
    color: #FDFBF7;
    box-shadow: 0 0 16px rgba(164, 31, 43, 0.45);
}

/* backgrounds for tool cards based on type */
.tool-card {
    background-size: cover;
    background-position: center center;
}
.tool-card--bazi {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.72) 100%), url('img/pop_1.png');
}
.tool-card--compass {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.72) 100%), url('img/pop_2.png');
}
.tool-card--calendar {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.72) 100%), url('img/pop_3.png');
}
.tool-card--money {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.72) 100%), url('img/pop_4.png');
}
.tool-card--bazi:hover {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.35) 100%), url('img/pop_1.png');
}
.tool-card--compass:hover {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.35) 100%), url('img/pop_2.png');
}
.tool-card--calendar:hover {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.35) 100%), url('img/pop_3.png');
}
.tool-card--money:hover {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.35) 100%), url('img/pop_4.png');
}

@media (max-width: 1200px) {
    .dashboard-panel__content { flex-direction: column; }
    .dashboard-tools { border-left: none; border-top: 1px solid rgba(212, 163, 115, 0.1); }
    .hero-premium__layer--person { width: 60vw; right: 0vw; height: 85vh; bottom: 5vh; }
    .hero-premium__title { font-size: 54px; }
}
@media (max-width: 768px) {
    .dashboard-stats { grid-template-columns: 1fr; }
    .dashboard-tools { grid-template-columns: 1fr 1fr; }
    .hero-premium__features-new { flex-direction: column; }
    .hero-premium__layer--person { width: 95vw; right: -5vw; height: 70vh; bottom: 2vh; opacity: 0.8; }
    .hero-premium__title { font-size: 40px; }
    .btn-luxury-primary { padding: 14px 24px; font-size: 13px; }
    .btn-premium--gold-glass { padding: 14px 24px; font-size: 13px; }
    .hero-premium__ctas { flex-direction: column; gap: 15px; }
}

/* =========================================================================
   HAMBURGER BUTTON & MOBILE NAV
   ========================================================================= */

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(212, 163, 115, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: border-color 0.3s;
    flex-shrink: 0;
}
.nav-burger:hover { border-color: rgba(212, 163, 115, 0.7); }
.nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #D4A373;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: rgba(8, 6, 10, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(212, 163, 115, 0.2);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile.is-open { transform: translateX(0); }

.nav-mobile__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: 1px solid rgba(212, 163, 115, 0.3);
    border-radius: 8px;
    color: #D4A373;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}
.nav-mobile__close:hover { background: rgba(212, 163, 115, 0.1); }

.nav-mobile__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.nav-mobile__link {
    font-size: 22px;
    font-family: var(--font-heading);
    color: rgba(253, 251, 247, 0.8);
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 163, 115, 0.08);
    transition: color 0.3s, padding-left 0.3s;
    letter-spacing: 0.03em;
}
.nav-mobile__link:hover { color: #D4A373; padding-left: 8px; }

.nav-mobile__cta {
    margin-top: 30px;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 12px;
}

/* Backdrop */
.nav-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.nav-mobile-backdrop.is-open {
    opacity: 1;
    pointer-events: all;
}

/* =========================================================================
   FULL RESPONSIVE OVERRIDES
   ========================================================================= */

/* --- Tablet landscape: 1024px --- */
@media (max-width: 1024px) {
    .nav, .header__cta-desktop { display: none; }
    .nav-burger { display: flex; }
    .header { position: fixed; padding: 18px 0; }
    .hero-premium { padding-top: 80px; }
}

/* --- Tablet portrait: 900px --- */
@media (max-width: 900px) {
    .hero-premium__title { font-size: 48px; }
    .hero-premium__text { font-size: 17px; }
    .hero-premium__left { max-width: 100%; }
    .glass-panel { padding: 40px; }
    .about-premium__inner { flex-direction: column; gap: 30px; }
    .about-premium__image { max-width: 300px; align-self: center; }
}

/* --- Mobile: 768px --- */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    /* Header */
    .header { padding: 16px 0; }

    /* Hero */
    .hero-premium { min-height: 100svh; padding-top: 92px; padding-bottom: 30px; align-items: flex-end; }
    .hero-premium__container { padding-bottom: 16px; }
    .hero-premium__bg {
        background-position: right center;
        filter: none;
        transform: none;
        transform-origin: center;
    }
    .hero-premium__title { font-size: 36px; letter-spacing: -0.01em; margin-bottom: 22px; }
    .hero-premium__text { font-size: 15px; margin-bottom: 28px; line-height: 1.6; }
    .hero-premium__subtitle {
        font-size: 10px;
        letter-spacing: 0.08em;
        padding: 9px 16px;
        gap: 8px;
        margin-bottom: 22px;
    }
    .hero-premium__ctas { flex-direction: column; gap: 12px; margin-bottom: 22px; }
    .btn-luxury-primary, .btn-premium--gold-glass { width: 100%; justify-content: center; padding: 14px 20px; font-size: 12px; }

    .hero-premium__overlay {
        background: linear-gradient(to bottom, rgba(5,4,6,0) 0%, rgba(5,4,6,0) 40%, rgba(5,4,6,0.54) 72%, rgba(5,4,6,0.86) 100%);
    }

    /* Feature cards: 2 columns */
    .hero-premium__features-new { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .feature-mini-card { min-width: unset; padding: 12px 14px; gap: 10px; }
    .feature-mini-card__text h4 { font-size: 12px; }
    .feature-mini-card__text p { display: none; }

    /* About */
    .about-premium { padding: 60px 0; }
    .glass-panel { padding: 30px 20px; border-radius: 16px; }
    .section-title-premium { font-size: 36px; }
    .about-premium__subtitle { font-size: 16px; }
    .about-premium__text { font-size: 14px; }
    .about-premium__image { width: 100%; max-width: 240px; }

    /* Dashboard */
    .dashboard-panel { margin-top: -40px; padding-bottom: 60px; }
    .dashboard-stats { grid-template-columns: 1fr 1fr; }
    .dashboard-tools { grid-template-columns: 1fr 1fr; }
    .stat-premium { padding: 24px 16px; }
    .stat-premium h4 { font-size: 22px; margin: 10px 0 4px; }
    .tool-card { min-height: 180px; padding: 20px 16px; }
}

/* --- Mobile small: 480px --- */
@media (max-width: 480px) {
    .hero-premium { padding-top: 86px; }
    .hero-premium__bg {
        background-position: 82% center;
        filter: none;
    }
    .hero-premium__title { font-size: 30px; line-height: 1.12; }
    .hero-premium__subtitle { font-size: 9.5px; padding: 8px 14px; letter-spacing: 0.055em; }
    .btn-luxury-primary, .btn-premium--gold-glass { letter-spacing: 0.12em; }
    .hero-premium__overlay {
        background: linear-gradient(to bottom, rgba(5,4,6,0) 0%, rgba(5,4,6,0) 42%, rgba(5,4,6,0.5) 72%, rgba(5,4,6,0.84) 100%);
    }
    .hero-premium__features-new { grid-template-columns: 1fr; }
    .feature-mini-card { flex-direction: row; }
    .feature-mini-card__text p { display: block; }
    .dashboard-tools { grid-template-columns: 1fr; }
    .dashboard-stats { grid-template-columns: 1fr 1fr; }
    .glass-panel { padding: 24px 16px; }
    .about-premium__inner { padding: 0; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.footer {
    background-color: #050406;
    background-image: url('img/footer_1.jpg');
    background-size: cover;
    background-position: bottom;
    border-top: 1px solid rgba(180, 130, 80, 0.15);
    padding: 14px 0 0;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer__top {
    display: grid;
    grid-template-columns: minmax(260px, 1.15fr) minmax(360px, 1.4fr) minmax(260px, 0.95fr);
    align-items: center;
    gap: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(180, 130, 80, 0.1);
}

.footer__brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.footer__brand .logo {
    align-items: center;
    gap: 9px;
}

.footer__brand-home,
.footer__brand-home:visited,
.footer__brand-home:hover,
.footer__brand-home:active {
    color: #ffffff;
    text-decoration: none;
}

.footer__brand-home span {
    color: inherit;
}

.footer__brand .logo svg {
    width: 28px;
    height: 28px;
}

.footer__brand .logo span,
.footer__brand .logo__home-link {
    font-size: 12px;
    line-height: 1.05;
}

.footer__brand-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.35;
    margin-top: 0;
    max-width: 330px;
}

.footer__requisites {
    grid-column: 1 / -1;
    margin: -4px 0 0 42px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 10.5px;
    line-height: 1.35;
}

.footer__brand-desc br {
    display: none;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px 14px;
}

.footer__nav-title {
    grid-column: 1 / -1;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #B5835A;
    margin-bottom: 0;
    font-weight: 600;
}

.footer__nav-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.15;
    transition: color 0.3s;
}
.footer__nav-link:hover { color: #B5835A; }

.footer__contacts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
}

.footer__contacts .footer__nav-title {
    grid-column: 1 / -1;
}

.footer__contact-link {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}
.footer__contact-link:hover { color: #B5835A; }

.footer__socials {
    display: flex;
    gap: 7px;
    margin-top: 0;
}

.footer__social {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: 1px solid rgba(180, 130, 80, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}
.footer__social:hover {
    border-color: #B5835A;
    color: #B5835A;
    background: rgba(180, 130, 80, 0.08);
}

.footer__bottom {
    padding: 9px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(180, 130, 80, 0.1);
}

.footer__copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.25);
    max-width: 500px;
    text-align: right;
    line-height: 1.3;
}

.legal-page {
    min-height: 80vh;
    padding: 100px 0 80px;
}

.legal-shell {
    max-width: 920px;
    margin: 0 auto;
}

.legal-hero {
    margin-bottom: 34px;
}

.legal-kicker {
    color: #B5835A;
    font: 700 11px/1.2 var(--font-body);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.legal-title {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 600;
    line-height: 1;
    color: #1F1712;
}

.legal-lead {
    max-width: 760px;
    margin: 0;
    color: rgba(31, 23, 18, 0.68);
    font-size: 16px;
    line-height: 1.7;
}

.legal-section {
    border: 1px solid rgba(180, 130, 80, 0.18);
    border-radius: 12px;
    background: rgba(255, 253, 247, 0.88);
    padding: clamp(22px, 4vw, 34px);
    margin-bottom: 18px;
    box-shadow: 0 12px 36px rgba(43, 31, 24, 0.05);
}

.legal-section h2 {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 600;
    color: #1F1712;
}

.legal-section p,
.legal-section li {
    color: rgba(31, 23, 18, 0.74);
    font-size: 15px;
    line-height: 1.72;
}

.legal-section p {
    margin: 0 0 12px;
}

.legal-section ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 20px;
}

.legal-section a {
    color: #7A211C;
    font-weight: 700;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 14px 22px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

/* Articles Page */
.articles-page {
    min-height: 80vh;
    padding: 100px 0 80px;
}

.listing-head {
    max-width: 860px;
    margin: 0 0 30px;
}

.listing-head--narrow {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.listing-head__title {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 600;
    line-height: 1.02;
    color: #1F1712;
}

.listing-head__text {
    max-width: 720px;
    margin: 0;
    color: rgba(31, 23, 18, 0.62);
    font-size: 16px;
    line-height: 1.65;
}

.listing-head--narrow .listing-head__text {
    margin-left: auto;
    margin-right: auto;
}

.articles-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.articles-filter {
    position: relative;
    background: #FFFFFF;
    color: #655E58;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}
.articles-filter:hover {
    box-shadow: 0 4px 12px rgba(107, 26, 42, 0.3);
}
.articles-filter.active {
    box-shadow: 0 0 0 2px #FDFBF7, 0 0 0 4px #C09947;
}
.articles-filter:focus-visible {
    outline: 2px solid #6B1A2A;
    outline-offset: 5px;
}

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

.article-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(180, 130, 80, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.article-card__img-wrap {
    position: relative;
    overflow: hidden;
    background: #1a1311;
}

.article-card__img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    display: block;
    transform: scale(1.035);
    transition: transform 0.45s ease, filter 0.45s ease;
}
.article-card__img--placeholder {
    background: linear-gradient(135deg, #f0ebe3 0%, #ddd0bc 100%);
}
.article-card:hover .article-card__img {
    transform: scale(1.075);
    filter: saturate(1.08) contrast(1.03);
}

.article-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 100px;
}

.articles-filter.active,
.article-card__tag {
    background: linear-gradient(145deg, rgba(164, 31, 43, 0.9) 0%, rgba(107, 26, 42, 0.8) 100%);
    color: #FDFBF7;
}

.articles-filter::before,
.article-card__tag::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #E6C684 0%, #C09947 23%, #E9C577 41%, #9E6F06 59%, #FFFFBD 77%, #E5C98D 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.article-card__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card__date {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 8px;
}

.article-card__title {
    font-family: var(--font-text);
    font-size: 22px;
    font-weight: 600;
    color: #1a1311;
    line-height: 1.3;
    margin: 0 0 10px;
}

.article-card__desc {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
}

.article-card__more {
    font-size: 13px;
    color: #B5835A;
    font-weight: 500;
}

@media (max-width: 900px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .articles-grid { grid-template-columns: 1fr; }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 4px 0 28px;
}
.breadcrumbs__list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    flex-wrap: wrap;
    max-width: 760px;
    margin: 0 auto;
}
.breadcrumbs__link {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs__link:hover { color: var(--color-gold); }
.breadcrumbs__sep {
    font-size: 12px;
    color: #ccc;
}
.breadcrumbs__item--current {
    font-size: 13px;
    color: #bbb;
}

/* Article Detail Page */
.article-detail-page {
    padding: 100px 0 80px;
    min-height: 80vh;
}

.reviews-page,
.breadcrumb-page {
    padding: 100px 0 80px;
    min-height: 80vh;
}

.article-detail__inner {
    max-width: 760px;
    margin: 0 auto;
}

.article-detail__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.article-detail__tag {
    background: rgba(212, 163, 115, 0.15);
    color: #c08040;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212, 163, 115, 0.3);
}

.article-detail__date {
    font-size: 14px;
    color: rgba(31, 23, 18, 0.45);
}

.article-detail__title {
    font-family: var(--font-text);
    font-size: 42px;
    line-height: 1.15;
    font-weight: 600;
    color: #1a1108;
    margin: 0 0 32px;
}

.article-detail__hero {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 40px;
    display: block;
    object-fit: cover;
}

.article-detail__body {
    color: rgba(20, 14, 8, 0.8);
    font-size: 16px;
    line-height: 1.75;
}

.article-detail__body h2 {
    font-family: var(--font-text);
    font-size: 28px;
    font-weight: 600;
    color: #1a1108;
    margin: 40px 0 16px;
    line-height: 1.25;
}

.article-detail__body p {
    margin: 0 0 20px;
}

.article-detail__body :is(h1, h3, h4, h5, h6) {
    font-family: var(--font-text);
}

.article-detail__body strong {
    color: #1a1108;
    font-weight: 600;
}

.article-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0 28px;
}
.article-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(212, 163, 115, 0.07);
    border: 1px solid rgba(212, 163, 115, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
}
.article-feature-icon {
    font-size: 20px;
    color: var(--color-gold);
    min-width: 28px;
    text-align: center;
    line-height: 1;
}
.article-feature-text {
    font-size: 14px;
    color: #1a1108;
    font-weight: 500;
    line-height: 1.3;
}
@media (max-width: 540px) {
    .article-features-grid { grid-template-columns: 1fr; }
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 32px;
    font-size: 15px;
}

.article-table th {
    background: rgba(212, 163, 115, 0.12);
    color: #1a1108;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid rgba(212, 163, 115, 0.3);
}

.article-table td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(180, 130, 80, 0.12);
    color: rgba(20, 14, 8, 0.8);
}

.article-table tr:hover td {
    background: rgba(212, 163, 115, 0.06);
}

.article-callout {
    background: rgba(212, 163, 115, 0.08);
    border-left: 3px solid #D4A373;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 24px 0 32px;
}

.article-callout p {
    margin: 0 0 8px;
    color: rgba(20, 14, 8, 0.8);
    font-size: 15px;
}

.article-callout p:last-child { margin-bottom: 0; }

.article-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.article-list li {
    padding: 5px 0;
    color: rgba(20, 14, 8, 0.8);
}

.article-cta {
    background: linear-gradient(135deg, #1a0d08, #2d1c13);
    border-radius: 20px;
    padding: 52px 40px;
    text-align: center;
    margin: 48px 0 60px;
}
.article-cta__stars {
    color: var(--color-gold);
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 16px;
}
.article-cta__title {
    font-family: var(--font-text);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.article-cta__text {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .article-detail__title { font-size: 30px; }
    .article-detail__body h2 { font-size: 24px; }
    .article-table { font-size: 14px; }
    .article-table th, .article-table td { padding: 8px 10px; }
    .article-cta { flex-direction: column; align-items: flex-start; }
}

/* FAQ section inside articles */
.reviews-faq {
    background: rgba(212, 163, 115, 0.06);
    border-top: 1px solid rgba(212, 163, 115, 0.22);
    border-bottom: 1px solid rgba(212, 163, 115, 0.22);
    border-radius: 16px;
    margin: 52px 0 40px;
    padding: 44px 40px 36px;
}
.reviews-faq__title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 32px;
}
.reviews-faq__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--color-gold);
    margin: 12px auto 0;
    border-radius: 2px;
}
@media (max-width: 768px) {
    .reviews-faq { padding: 32px 20px 24px; }
}

/* FAQ Page */
.faq-page {
    min-height: 80vh;
    padding: 100px 0 80px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(180, 130, 80, 0.18);
    padding: 6px 0;
}

.faq-item summary {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: #B5835A;
    flex-shrink: 0;
    transition: transform 0.3s;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: #000000; }

.faq-item p {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.7;
    margin: 0 0 20px;
    padding-right: 32px;
}

@media (max-width: 600px) {
    .footer { padding-top: 12px; }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 10px;
    }

    .footer__brand {
        gap: 10px;
    }

    .footer__requisites {
        margin-left: 38px;
    }

    .footer__brand-desc {
        max-width: none;
    }

    .footer__nav {
        gap: 6px 10px;
    }

    .footer__nav-title {
        font-size: 10px;
    }

    .footer__contacts {
        grid-template-columns: 1fr;
        gap: 7px;
    }

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

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 0 10px;
    }

    .footer__legal {
        max-width: none;
        text-align: left;
    }
}

/* ======================================================
   СТРАНИЦА ОТЗЫВОВ (reviews.html)
   ====================================================== */
.reviews-hero {
    padding: 64px 0 44px;
    text-align: center;
}
.reviews-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 66px);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 16px;
}
.reviews-hero__title em {
    font-style: italic;
    color: var(--color-bordeaux);
}
.reviews-hero__sub {
    font-size: 16px;
    color: rgba(31,23,18,0.58);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.65;
}
.reviews-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.reviews-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.reviews-stat__val {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1;
}
.reviews-stat__lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(31,23,18,0.42);
}
.reviews-stat__sep {
    width: 1px;
    height: 48px;
    background: rgba(31,23,18,0.1);
}
.reviews-stars {
    display: flex;
    gap: 5px;
    justify-content: center;
    color: #D4A373;
    margin-bottom: 8px;
}
.reviews-rating-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(31,23,18,0.38);
    margin-bottom: 0;
}
.reviews-grid-section { padding: 12px 0 72px; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.review-card {
    background: #fff;
    border-radius: 18px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 2px 14px rgba(31,23,18,0.07);
    border: 1px solid rgba(212,163,115,0.1);
    transition: box-shadow 0.22s, transform 0.22s;
}
.review-card:hover {
    box-shadow: 0 8px 32px rgba(31,23,18,0.12);
    transform: translateY(-2px);
}
.review-card--dark {
    background: linear-gradient(145deg, #1f1712 0%, #291a10 100%);
    border-color: rgba(212,163,115,0.15);
}
.review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-card__ava {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A373 0%, #8B2635 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}
.review-card--dark .review-card__ava {
    background: rgba(212,163,115,0.18);
    color: #D4A373;
}
.review-card__meta { flex: 1; min-width: 0; }
.review-card__name {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-dark);
    margin-bottom: 2px;
}
.review-card--dark .review-card__name { color: #fff; }
.review-card__date {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(31,23,18,0.38);
}
.review-card--dark .review-card__date { color: rgba(255,255,255,0.35); }
.review-card__stars {
    display: flex;
    gap: 2px;
    color: #D4A373;
    flex-shrink: 0;
}
.review-card__text {
    font-size: 14px;
    line-height: 1.68;
    color: rgba(31,23,18,0.72);
    flex: 1;
}
.review-card--dark .review-card__text { color: rgba(255,255,255,0.74); }
.review-card__tag {
    display: inline-block;
    font-size: 10px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
    background: rgba(212,163,115,0.1);
    border-radius: 20px;
    padding: 4px 12px;
    align-self: flex-start;
}
.review-card--dark .review-card__tag {
    background: rgba(212,163,115,0.15);
    color: #D4A373;
}
.reviews-source {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    font-size: 13px;
    color: rgba(31,23,18,0.4);
}
.reviews-source a { color: var(--color-gold); text-decoration: none; }
.reviews-source a:hover { text-decoration: underline; }
.reviews-cta-wrap { padding: 0 0 80px; }

@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-stats { gap: 20px; }
    .reviews-stat__sep { display: none; }
    .reviews-hero { padding: 40px 0 28px; }
    .reviews-stat__val { font-size: 34px; }
}

/* SITE_ART_BEGIN */
.hero-premium__bg { background-image: url('img/optimized/hero-1672-088c89ccd740.webp'); }
.calc-body { background-image: url('img/optimized/calculator-1672-c8edb7a4a2df.webp'); }
@media (max-width: 768px) {
    .hero-premium__bg { background-image: url('img/optimized/hero-960-f7299eff50d5.webp'); }
    .calc-body { background-image: url('img/optimized/calculator-960-21ce0c39d7fd.webp'); }
}
/* SITE_ART_END */

a[data-topic-link],
section[aria-label="Связанные материалы"] a,
section[aria-label="Материалы к калькулятору"] a,
section[aria-label="Прогнозы на 2027 год"] a {
    color: #8b2631;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
