/* NYME landing — light, modern, minimal */

:root {
    --bg: #fbf8f3;
    --bg-card: #ffffff;
    --bg-soft: #f4ede2;
    --ink: #2a2520;
    --ink-soft: #6e6358;
    --ink-muted: #a89c8e;
    --accent: #b88968;
    --accent-soft: #e8d6c4;
    --line: #ece4d6;
    --gold: #d4a574;
    --shadow-sm: 0 1px 3px rgba(60, 45, 25, 0.04);
    --shadow-md: 0 12px 28px rgba(60, 45, 25, 0.06);
    --shadow-lg: 0 24px 48px rgba(60, 45, 25, 0.08);
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 28px;
    --t: 0.25s ease;
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === HERO === */
.hero {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    padding-bottom: 80px;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.nav__links {
    display: flex;
    gap: 36px;
}

.nav__links a {
    font-size: 14px;
    color: var(--ink-soft);
    transition: color var(--t);
}

.nav__links a:hover { color: var(--accent); }

.hero__inner {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__title {
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 28px;
}

.hero__sub {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 520px;
    margin: 0 0 32px;
}

.hero__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero__rating-num {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--ink);
}

.hero__stars {
    color: var(--gold);
    font-size: 20px;
    letter-spacing: 2px;
}

.hero__rating-meta {
    font-size: 14px;
    color: var(--ink-muted);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: #fff;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    transition: transform var(--t), background var(--t);
}

.hero__cta:hover {
    transform: translateY(-2px);
    background: var(--accent);
}

.hero__visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    height: 480px;
}

.hero__visual-card {
    position: relative;
    border-radius: var(--r-lg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-soft);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform var(--t);
}

.hero__visual-card:hover {
    transform: translateY(-4px);
}

.hero__visual-card--nm { transform: translateY(20px); }
.hero__visual-card--nw { transform: translateY(-20px); }
.hero__visual-card--nm:hover { transform: translateY(16px); }
.hero__visual-card--nw:hover { transform: translateY(-24px); }

.hero__visual-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

/* === BENEFITS === */
.benefits {
    padding: 80px 0;
    background: var(--bg);
}

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

.benefit {
    text-align: center;
    padding: 32px 24px;
}

.benefit__icon {
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.benefit h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 12px;
}

.benefit p {
    color: var(--ink-soft);
    font-size: 15px;
    margin: 0;
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--ink-soft);
    font-size: 17px;
    margin: 0;
}

/* === PRODUCTS === */
.products {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product {
    background: var(--bg-card);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t);
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product__image {
    aspect-ratio: 1 / 1;
    background: var(--bg-soft);
    background-size: cover;
    background-position: center;
    position: relative;
}

.product__rating {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: var(--shadow-sm);
}

.product__rating-star { color: var(--gold); font-size: 14px; }

.product__rating-fb {
    color: var(--ink-muted);
    font-weight: 400;
    font-size: 12px;
    margin-left: 2px;
}

.product__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product__name {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
    margin: 0 0 12px;
    line-height: 1.25;
    color: var(--ink);
}

.product__price {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    margin-top: auto;
}

.product__price-old {
    color: var(--ink-muted);
    text-decoration: line-through;
    font-weight: 400;
    font-size: 14px;
    margin-left: 8px;
}

.product__buy {
    display: flex;
    gap: 8px;
}

.product__mp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 6px;
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid var(--line);
    transition: all var(--t);
    color: var(--ink-soft);
    background: var(--bg);
    text-align: center;
    white-space: nowrap;
}

.product__mp:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--ink);
    transform: translateY(-1px);
}

.product__mp--wb:hover { background: #fdf0fa; border-color: #cb11ab; color: #cb11ab; }
.product__mp--ozon:hover { background: #e8f0ff; border-color: #005bff; color: #005bff; }
.product__mp--ya:hover { background: #ffeae5; border-color: #fc3f1d; color: #fc3f1d; }

/* === REVIEWS === */
.reviews {
    padding: 100px 0;
    background: var(--bg-soft);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.review {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
}

.review__quote {
    font-family: var(--serif);
    font-size: 64px;
    color: var(--accent-soft);
    line-height: 0.6;
    height: 28px;
    margin-bottom: 4px;
}

.review__text {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.55;
    margin: 0 0 20px;
    flex: 1;
}

.review__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    font-size: 13px;
}

.review__author {
    font-weight: 500;
    color: var(--ink);
}

.review__rating {
    color: var(--gold);
    letter-spacing: 1px;
}

/* === ABOUT === */
.about {
    padding: 100px 0;
    background: var(--bg);
}

.about__inner {
    max-width: 760px;
    text-align: center;
}

.about h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.about__copy p {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 18px;
}

.about__meta {
    margin-top: 36px !important;
    color: var(--ink-muted) !important;
    font-size: 14px !important;
}

.about__marketplaces {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.mp-link {
    padding: 12px 24px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--t);
    background: var(--bg-card);
}

.mp-link:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

/* === FOOTER === */
.footer {
    padding: 56px 0 32px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color var(--t);
}
.footer__col a:hover { color: #fff; }

.footer__brand {
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: 0.18em;
    color: #fff;
    margin-bottom: 6px;
}

.footer__tag {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 220px;
    line-height: 1.5;
}

.footer__heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 6px;
}

.footer__legal div { font-size: 14px; color: rgba(255, 255, 255, 0.85); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 880px) {
    .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .footer__top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
}

/* === DOC PAGES (privacy / terms) === */
.hero--doc {
    padding-bottom: 0;
    background: var(--bg-soft);
}

.nav__brand a { color: inherit; }

.doc { padding: 60px 0 100px; background: var(--bg); }

.doc__inner {
    max-width: 760px;
}

.doc__back {
    display: inline-block;
    color: var(--ink-soft);
    font-size: 14px;
    margin-bottom: 28px;
    transition: color var(--t);
}
.doc__back:hover { color: var(--accent); }

.doc h1 {
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.doc__meta {
    color: var(--ink-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.doc h2 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    margin: 36px 0 14px;
    color: var(--ink);
}

.doc p, .doc ul {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 14px;
}

.doc ul { padding-left: 24px; }
.doc li { margin-bottom: 6px; }

.doc a { color: var(--accent); border-bottom: 1px solid transparent; transition: border var(--t); }
.doc a:hover { border-bottom-color: var(--accent); }

/* === RESPONSIVE === */
@media (max-width: 880px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__visual {
        height: 360px;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .nav__links { display: none; }

    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefits { padding: 56px 0; }
    .products, .reviews, .about { padding: 64px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .product__mp { padding: 11px 6px; font-size: 11px; }
    .product__mp-icon { width: 13px; height: 13px; }
    .nav { padding: 20px 16px; }
    .hero__title { letter-spacing: -0.02em; }
    .hero__rating-num { font-size: 30px; }
}
