:root {
    --primary: #a43757;
    --primary-dark: #7a1738;
    --primary-soft: #ffd9df;
    --accent: #ff7e9f;
    --ink: #1a1c1c;
    --muted: #5d5f5f;
    --surface: #f9f9f9;
    --surface-alt: #f3f3f4;
    --white: #fff;
    --border: #eadde0;
    --shadow: 0 18px 50px rgba(80, 30, 46, .11);
    --radius: 24px;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
body.menu-open, body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    line-height: 1.18;
}
h1 { max-width: 760px; margin-bottom: 24px; color: var(--primary); font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.04em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.25rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--tinted { background: var(--surface-alt); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: 12px; color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(164, 55, 87, .1);
    backdrop-filter: blur(12px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { color: var(--primary); font-family: "Trebuchet MS", sans-serif; font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { color: var(--muted); font-size: .93rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--primary); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; }
.menu-button__line { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--primary); transition: .2s; }

.hero { position: relative; overflow: hidden; padding: 80px 0 112px; background: var(--white); }
.hero::after { content: ""; position: absolute; right: -160px; top: 5%; width: 520px; height: 520px; background: var(--primary-soft); border-radius: 50%; filter: blur(80px); opacity: .48; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.hero__lead { max-width: 630px; margin-bottom: 34px; color: var(--muted); font-size: 1.17rem; }
.hero__visual { justify-self: end; width: min(100%, 430px); padding: 18px; background: linear-gradient(145deg, var(--primary-soft), var(--white)); border-radius: 48px 48px 160px 48px; transform: rotate(2deg); box-shadow: var(--shadow); }
.hero__visual img { width: 100%; height: min(65vh, 590px); object-fit: cover; object-position: center top; border-radius: 32px 32px 145px 32px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 26px; border: 2px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--primary-dark); background: var(--accent); }
.button--primary:hover { background: #ff94af; }
.button--secondary { color: var(--primary); background: transparent; border-color: var(--primary); }
.button--secondary:hover { color: var(--white); background: var(--primary); }
.button--light { color: var(--primary-dark); background: var(--white); }
.button--full { width: 100%; margin-top: auto; }

.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-heading p:last-child { color: var(--muted); font-size: 1.1rem; }
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.recipe-card, .product-card, .review-card { background: var(--white); border: 1px solid rgba(164, 55, 87, .08); border-radius: var(--radius); box-shadow: 0 6px 25px rgba(80, 30, 46, .06); }
.recipe-card { overflow: hidden; transition: transform .25s, box-shadow .25s; }
.recipe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.recipe-card__trigger { width: 100%; padding: 0; color: inherit; background: transparent; border: 0; cursor: pointer; text-align: left; }
.recipe-card__trigger > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.recipe-card__body { display: block; padding: 22px 24px; }
.recipe-card__title { display: block; margin-bottom: 8px; font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif; font-size: 1.35rem; font-weight: 700; line-height: 1.18; }
.meta { display: block; margin: 0; color: var(--muted); font-size: .92rem; }

.videos { background: var(--white); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 980px; margin-inline: auto; }
.video-card { overflow: hidden; background: #111; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.video-card iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; }
.section-action { display: flex; justify-content: center; margin-top: 38px; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.about-photo { position: sticky; top: 110px; padding: 16px; background: var(--primary-soft); border-radius: 44px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px; }
.about-content > p:not(.eyebrow, .lead-accent, .quote) { color: var(--muted); }
.lead-accent { color: var(--primary); font-size: 1.1rem; font-weight: 800; }
.plain-list, .check-list, .star-list, .dash-list { margin: 0 0 24px; padding: 0; list-style: none; }
.plain-list li { margin: 5px 0; }
.plain-list li::before { content: "— "; color: var(--primary); }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.about-columns h3 { margin-bottom: 18px; }
.check-list li, .star-list li { position: relative; margin-bottom: 12px; padding-left: 28px; color: var(--muted); font-size: .94rem; }
.check-list li::before, .star-list li::before { position: absolute; left: 0; color: var(--primary); font-weight: 900; }
.check-list li::before { content: "✓"; }
.star-list li::before { content: "★"; }
.quote { margin-top: 30px; padding: 24px 0 0 24px; color: var(--primary); border-top: 1px solid var(--border); border-left: 4px solid var(--accent); font-style: italic; font-weight: 650; }

.products { background: var(--white); }
.product-group + .product-group { margin-top: 88px; }
.group-title { display: flex; align-items: center; gap: 22px; margin-bottom: 38px; color: var(--primary); text-align: center; text-transform: uppercase; letter-spacing: .12em; }
.group-title::before, .group-title::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--accent)); }
.group-title::after { transform: rotate(180deg); }
.group-title span { padding: 10px 22px; background: #fff2f5; border-radius: 999px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.product-grid--books { max-width: 850px; margin-inline: auto; grid-template-columns: repeat(2, 1fr); }
.product-grid--programs { align-items: stretch; }
.product-grid--programs > .product-card { height: 100%; }
.product-card { display: flex; min-height: 100%; flex-direction: column; overflow: hidden; }
.product-card--featured { border: 2px solid var(--accent); }
.product-card > img { width: 100%; height: 235px; object-fit: cover; background: var(--surface-alt); }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.product-card h4 { min-height: 2.4em; margin-bottom: 8px; text-transform: uppercase; }
.product-card p, .product-card li { color: var(--muted); font-size: .92rem; }
.product-card strong { color: var(--ink); }
.price { margin-bottom: 18px; color: var(--primary) !important; font-family: "Trebuchet MS", sans-serif; font-size: 1.35rem !important; font-weight: 900; }
.dash-list li { margin-bottom: 7px; padding-left: 18px; }
.dash-list li::before { content: "—"; margin-left: -18px; margin-right: 8px; color: var(--primary); }
.badge { align-self: flex-start; margin-bottom: 12px; padding: 5px 11px; color: var(--primary-dark); background: var(--primary-soft); border-radius: 99px; font-size: .75rem; font-weight: 800; }
.gift-box { margin: 4px 0 22px; padding: 16px; background: #fff2f5; border: 1px solid var(--border); border-radius: 14px; }
.gift-box strong { color: var(--primary); }
.gift-box p { margin: 6px 0 0; }

@media (min-width: 981px) {
    .product-grid--programs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .product-grid--programs > .product-card { grid-column: span 2; }
    .product-grid--programs > .product-card:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
}

.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: 24px; transition: transform .45s ease; }
.review-card { min-width: calc((100% - 48px) / 3); padding: 26px; }
.review-card__person { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.review-card__person img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); font-weight: 900; }
.review-card blockquote { min-height: 150px; margin: 0; padding: 18px; color: var(--muted); background: var(--surface-alt); border-radius: 4px 18px 18px; font-size: .94rem; font-style: italic; }
.rating { margin: 18px 0 0; color: var(--accent); letter-spacing: .12em; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.carousel__button { width: 46px; height: 46px; color: var(--primary); background: var(--white); border: 1px solid var(--border); border-radius: 50%; cursor: pointer; font-size: 1.25rem; }
.carousel__button:hover { color: var(--white); background: var(--primary); }
.carousel__button:disabled { cursor: not-allowed; opacity: .35; }
.carousel__status { min-width: 64px; margin: 0; color: var(--muted); text-align: center; }

.contact { color: var(--white); background: var(--primary); }
.contact__heading { margin-bottom: 42px; }
.contact__heading h2 { margin-bottom: 14px; }
.contact__heading p:last-child { color: #ffe9ee; }
.contact .eyebrow { color: var(--primary-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin-inline: auto; }
.contact-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 26px; color: var(--ink); background: var(--white); border-radius: 20px; text-decoration: none; box-shadow: 0 16px 40px rgba(58, 8, 25, .18); transition: transform .2s, box-shadow .2s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(58, 8, 25, .25); }
.contact-card__icon { display: grid; width: 54px; height: 54px; place-items: center; color: var(--white); background: var(--ink); border-radius: 16px; font-size: .9rem; font-weight: 900; letter-spacing: -.05em; }
.contact-card__icon--telegram { background: #229ed9; font-size: 1.35rem; }
.contact-card__content { display: flex; min-width: 0; flex-direction: column; }
.contact-card__content strong { color: var(--primary); font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif; font-size: 1.25rem; }
.contact-card__content > span { overflow: hidden; color: var(--muted); font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.contact-card__content small { margin-top: 5px; color: var(--muted); }
.contact-card__arrow { color: var(--primary); font-size: 1.45rem; }
.contact__note { margin: 28px 0 0; color: #ffe9ee; font-size: .9rem; text-align: center; }
.site-footer { padding: 36px 0; background: var(--white); border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .85rem; }

.info-modal {
    width: min(1040px, calc(100% - 32px));
    max-height: min(880px, calc(100dvh - 32px));
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border: 0;
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(42, 9, 19, .28);
}
.info-modal::backdrop { background: rgba(24, 13, 17, .72); backdrop-filter: blur(5px); }
.info-modal__surface { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); max-height: inherit; }
.info-modal[data-kind="recipe"] { width: min(704px, calc(100% - 32px)); border-radius: 0; }
.info-modal[data-kind="recipe"] .info-modal__surface { display: block; }
.info-modal[data-kind="recipe"] .info-modal__content { display: none; }
.info-modal__visual { min-height: 440px; overflow: auto; background: #eee8e6; }
.info-modal__visual img { width: 100%; min-height: 100%; object-fit: cover; }
.info-modal[data-kind="recipe"] .info-modal__visual img { min-height: 0; object-fit: contain; }
.info-modal__content { padding: 58px 42px 42px; overflow-y: auto; }
.info-modal__content h2 { margin-bottom: 24px; color: var(--primary); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.info-modal__details > :last-child { margin-bottom: 0; }
.info-modal__details .price { margin-top: -12px; }
.info-modal__details .dash-list { margin-bottom: 24px; }
.info-modal__details .payment-methods > strong { display: block; margin-bottom: 12px; color: var(--ink); }
.info-modal__details .purchase-note { margin-top: 28px; padding: 20px; background: #fff2f5; border: 1px solid var(--border); border-radius: 16px; }
.info-modal__details .purchase-note strong { display: block; margin-bottom: 6px; color: var(--primary); }
.info-modal__details .purchase-note a:not(.button) { color: var(--primary); font-weight: 800; }
.info-modal__details .purchase-note .button { margin-top: 18px; }
.info-modal__close { position: absolute; z-index: 2; top: 16px; right: 16px; display: grid; width: 42px; height: 42px; place-items: center; color: var(--primary); background: rgba(255, 255, 255, .94); border: 1px solid var(--border); border-radius: 50%; box-shadow: 0 5px 18px rgba(80, 30, 46, .13); cursor: pointer; font-size: 1.75rem; line-height: 1; }
.info-modal__close:hover { color: var(--white); background: var(--primary); }

@media (max-width: 980px) {
    .section { padding: 76px 0; }
    .hero__grid, .about-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
    .about-columns { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .review-card { min-width: calc((100% - 24px) / 2); }
    .video-grid { gap: 18px; }
}

@media (max-width: 720px) {
    .container { width: min(100% - 32px, var(--container)); }
    .section { padding: 64px 0; }
    .menu-button { display: block; z-index: 2; }
    .main-nav { position: fixed; inset: 76px 0 auto; display: none; padding: 24px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 14px 8px; }
    .menu-button[aria-expanded="true"] .menu-button__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-button[aria-expanded="true"] .menu-button__line:nth-child(2) { opacity: 0; }
    .menu-button[aria-expanded="true"] .menu-button__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { padding: 56px 0 72px; }
    .hero__grid, .about-grid { grid-template-columns: 1fr; }
    .hero__visual { justify-self: center; width: min(100%, 390px); }
    .about-photo { position: static; max-width: 430px; margin-inline: auto; }
    .recipe-grid, .product-grid, .product-grid--books, .contact-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: minmax(0, 390px); justify-content: center; gap: 24px; }
    .product-card > img { height: auto; aspect-ratio: 4 / 3; }
    .review-card { min-width: 100%; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
    .info-modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 20px; }
    .info-modal__surface { display: block; overflow-y: auto; }
    .info-modal__visual { min-height: 0; max-height: 65dvh; overflow: auto; }
    .info-modal__visual img { min-height: 0; }
    .info-modal__content { padding: 30px 24px; overflow: visible; }
    .info-modal__content h2 { margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
