/* ============================================
   СОВИНЬОН БЛАН — sovinon-blan.ru
   Modern Landing Page Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --clr-primary: #4a773c;
    --clr-primary-dark: #3a5f2e;
    --clr-primary-light: #6b9a5b;
    --clr-primary-pale: #e8f0e5;
    --clr-accent: #c4a35a;
    --clr-accent-light: #f5ecd7;
    --clr-text: #2c2c2c;
    --clr-text-light: #6b6b6b;
    --clr-bg: #fafaf8;
    --clr-white: #ffffff;
    --clr-dark: #1a1a1a;

    --ff-heading: 'Playfair Display', Georgia, serif;
    --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.16);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--clr-text);
    background: var(--clr-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--clr-primary);
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(74, 119, 60, 0.4);
}

.btn--primary:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74, 119, 60, 0.5);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

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

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: var(--ff-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--clr-white);
    transition: var(--transition);
}

.header--scrolled .logo-text {
    color: var(--clr-primary);
}

.logo-text span {
    font-weight: 400;
    font-style: italic;
    margin-left: 4px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    position: relative;
    padding: 4px 0;
}

.header--scrolled .nav-link {
    color: var(--clr-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--clr-white);
}

.header--scrolled .nav-link:hover {
    color: var(--clr-primary);
}

/* Burger */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 1001;
}

.header__burger span {
    display: block;
    height: 2px;
    background: var(--clr-white);
    border-radius: 2px;
    transition: var(--transition);
}

.header--scrolled .header__burger span {
    background: var(--clr-text);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.7) 0%,
        rgba(74, 119, 60, 0.4) 100%
    );
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}

.hero-slide__content h1 {
    font-family: var(--ff-heading);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    color: var(--clr-white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-slide__content p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: var(--transition);
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--clr-white);
    transform: scale(1.2);
}

.hero-btn-prev,
.hero-btn-next {
    color: var(--clr-white) !important;
    opacity: 0.6;
    transition: var(--transition);
}

.hero-btn-prev:hover,
.hero-btn-next:hover {
    opacity: 1;
}

.hero-btn-prev::after,
.hero-btn-next::after {
    font-size: 28px !important;
}

/* ============================================
   SECTIONS — Common
   ============================================ */
.section {
    padding: 100px 0;
}

.section--history,
.section--varieties,
.section--faq {
    background: var(--clr-white);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: var(--clr-primary-pale);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--ff-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--clr-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section__divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
    border-radius: 3px;
    margin: 16px auto 0;
}

.section__subtitle {
    font-size: 16px;
    color: var(--clr-text-light);
    margin-top: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-grid__image {
    position: relative;
}

.about-grid__image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-grid__accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--clr-primary-pale), var(--clr-accent-light));
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-grid__text .lead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--clr-text);
    margin-bottom: 16px;
}

.about-grid__text .lead em {
    color: var(--clr-primary);
    font-style: italic;
}

.about-grid__text p {
    margin-bottom: 14px;
    color: var(--clr-text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e8e8e8;
}

.about-stat {
    text-align: center;
}

.about-stat__number {
    font-family: var(--ff-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1;
}

.about-stat__plus {
    font-family: var(--ff-heading);
    font-size: 28px;
    color: var(--clr-primary);
}

.about-stat__label {
    display: block;
    font-size: 13px;
    color: var(--clr-text-light);
    margin-top: 4px;
}

/* ============================================
   HISTORY — Timeline
   ============================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-primary-pale), var(--clr-primary), var(--clr-primary-pale));
    transform: translateX(-50%);
}

.timeline__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline__item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

.timeline__item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline__marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--clr-primary);
    border: 3px solid var(--clr-white);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--clr-primary-pale);
    z-index: 2;
}

.timeline__card {
    background: var(--clr-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

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

.timeline__year {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-accent);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline__card h3 {
    font-family: var(--ff-heading);
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--clr-dark);
}

.timeline__card p {
    font-size: 14px;
    color: var(--clr-text-light);
    line-height: 1.7;
}

/* ============================================
   GEOGRAPHY
   ============================================ */
.geo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.geo-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--clr-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.geo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.geo-card__img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.geo-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.1));
}

.geo-card__body {
    padding: 20px;
}

.geo-card__body h3 {
    font-family: var(--ff-heading);
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--clr-dark);
}

.geo-card__body p {
    font-size: 14px;
    color: var(--clr-text-light);
    line-height: 1.7;
}

.geo-card__body strong {
    color: var(--clr-primary);
}

/* ============================================
   VARIETIES — Slider
   ============================================ */
.varieties-slider {
    max-width: 1000px;
    margin: 0 auto;
}

.variety-card {
    background: var(--clr-bg);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    height: 100%;
}

.variety-card:hover {
    border-color: var(--clr-primary-pale);
    box-shadow: var(--shadow-md);
}

.variety-card__icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.variety-card h3 {
    font-family: var(--ff-heading);
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--clr-dark);
}

.variety-card p {
    font-size: 14px;
    color: var(--clr-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.variety-card__tags span {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--clr-primary-pale);
    color: var(--clr-primary);
}

.varieties-pagination {
    margin-top: 30px !important;
    position: relative !important;
}

.varieties-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--clr-primary-pale);
    opacity: 1;
}

.varieties-pagination .swiper-pagination-bullet-active {
    background: var(--clr-primary);
    width: 28px;
    border-radius: 5px;
}

/* ============================================
   TASTING
   ============================================ */
.tasting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tasting-step {
    position: relative;
    background: var(--clr-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

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

.tasting-step__number {
    position: absolute;
    top: 10px;
    right: 16px;
    font-family: var(--ff-heading);
    font-size: 52px;
    font-weight: 700;
    color: var(--clr-primary-pale);
    line-height: 1;
}

.tasting-step__icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.tasting-step h3 {
    font-family: var(--ff-heading);
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--clr-dark);
}

.tasting-step p {
    font-size: 14px;
    color: var(--clr-text-light);
    line-height: 1.7;
}

/* ============================================
   TOP-10
   ============================================ */
.section--top10 {
    background: linear-gradient(to bottom, var(--clr-bg), var(--clr-white));
}

.top10-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.top10-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--clr-white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.top10-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-left: 3px solid var(--clr-primary);
}

.top10-card__rank {
    font-family: var(--ff-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--clr-primary);
    min-width: 48px;
    text-align: center;
    line-height: 1;
}

.top10-card__body {
    flex: 1;
}

.top10-card__body h3 {
    font-family: var(--ff-heading);
    font-size: 18px;
    color: var(--clr-dark);
    margin-bottom: 4px;
}

.top10-card__region {
    font-size: 13px;
    color: var(--clr-accent);
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.top10-card__body p {
    font-size: 13px;
    color: var(--clr-text-light);
    line-height: 1.5;
}

.top10-card__price {
    text-align: right;
    min-width: 110px;
}

.top10-card__price .price {
    font-family: var(--ff-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--clr-dark);
    white-space: nowrap;
}

.top10-card__rating {
    font-size: 14px;
    color: var(--clr-accent);
    margin-top: 4px;
}



/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--clr-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--clr-primary-pale);
    box-shadow: var(--shadow-sm);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: var(--clr-dark);
    transition: var(--transition);
    gap: 16px;
}

.faq-item__question:hover {
    color: var(--clr-primary);
}

.faq-item__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--clr-primary);
}

.faq-item.active .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item__answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--clr-text-light);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--clr-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand .logo-text {
    color: var(--clr-white);
}

.footer__brand p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer__links h4,
.footer__info h4 {
    font-family: var(--ff-heading);
    font-size: 16px;
    color: var(--clr-white);
    margin-bottom: 16px;
}

.footer__links a {
    display: block;
    font-size: 14px;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer__links a:hover {
    color: var(--clr-primary-light);
    padding-left: 4px;
}

.footer__info p {
    font-size: 14px;
    line-height: 1.7;
}

.footer__age {
    display: inline-block;
    margin-top: 12px !important;
    font-size: 20px !important;
    font-weight: 700;
    color: var(--clr-accent) !important;
    border: 2px solid var(--clr-accent);
    border-radius: var(--radius-sm);
    padding: 4px 12px;
}

.footer__bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-primary);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

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

.back-to-top:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-3px);
}

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

    .about-grid__image img {
        height: 350px;
    }

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

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

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

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 26, 0.97);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .header__nav.open {
        opacity: 1;
        visibility: visible;
    }

    .header__nav .nav-link {
        font-size: 22px;
        color: rgba(255, 255, 255, 0.9);
    }

    .header__burger {
        display: flex;
    }

    .header__nav.open + .header__burger span,
    .header__burger.active span {
        background: var(--clr-white) !important;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline__item:nth-child(odd),
    .timeline__item:nth-child(even) {
        padding-right: 0;
        padding-left: 55px;
        justify-content: flex-start;
    }

    .timeline__marker {
        left: 20px;
    }

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

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

    .top10-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .top10-card__price {
        text-align: center;
    }

    .top10-card:hover {
        transform: translateY(-2px);
        border-left: 1px solid #f0f0f0;
        border-top: 3px solid var(--clr-primary);
    }

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

    .hero-btn-prev,
    .hero-btn-next {
        display: none !important;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .about-stat__number {
        font-size: 28px;
    }
}

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

    .section {
        padding: 50px 0;
    }

    .section__header {
        margin-bottom: 40px;
    }

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

    .faq-item__question {
        font-size: 15px;
        padding: 16px 18px;
    }

    .faq-item__answer p {
        padding: 0 18px 16px;
        font-size: 14px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ============================================
   ANIMATIONS (extra)
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.about-grid__accent {
    animation: float 6s ease-in-out infinite;
}

/* ============================================
   CSS второй версии сайта
   ============================================ */
   
/* ========================================
   SAUVIGNON BLANC — sovinon-blan.ru
   ======================================== */

:root {
  --c-primary: #4a773c;
  --c-primary-light: #5d9a4c;
  --c-primary-dark: #3a5f2f;
  --c-primary-bg: #f0f5ed;
  --c-accent: #c9a84c;
  --c-accent-light: #e8d9a0;
  --c-dark: #1a1a1a;
  --c-text: #333333;
  --c-text-light: #666666;
  --c-bg: #ffffff;
  --c-bg-alt: #f8f9f7;
  --c-border: #e0e0e0;

  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 72px;
  --section-py: 100px;
  --container-max: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* CONTAINER */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* BUTTON */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74,119,60,.35);
}
.btn--primary:hover {
  background: var(--c-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(74,119,60,.45);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: var(--transition);
  background: transparent;
}
.header--scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header--scrolled .header__link { color: var(--c-text); }
.header--scrolled .header__link:hover,
.header--scrolled .header__link.active { color: var(--c-primary); }
.header--scrolled .header__logo-text { color: var(--c-dark); }

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
.header__logo-icon { font-size: 28px; }
.header__logo-text {
  font-family: var(--ff-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  transition: var(--transition);
}
.header__logo-text small {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header__nav {
  display: flex;
  gap: 32px;
}
.header__link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
  position: relative;
}
.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--c-primary);
  transition: var(--transition);
}
.header__link:hover::after,
.header__link.active::after { width: 100%; }
.header__link:hover { color: #fff; }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}
.header__burger span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.header--scrolled .header__burger span { background: var(--c-dark); }

/* ========================================
   HERO SLIDER
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
}
.hero-swiper {
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: relative;
  overflow: hidden;
}
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.swiper-slide-active .hero-slide__bg {
  transform: scale(1);
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,.65) 0%,
    rgba(74,119,60,.40) 100%
  );
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: #fff;
}
.hero-slide__title {
  font-family: var(--ff-heading);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s cubic-bezier(.4,0,.2,1) .3s;
}
.swiper-slide-active .hero-slide__title {
  opacity: 1;
  transform: translateY(0);
}
.hero-slide__subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  max-width: 600px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.4,0,.2,1) .5s;
}
.swiper-slide-active .hero-slide__subtitle {
  opacity: 1;
  transform: translateY(0);
}
.swiper-slide-active .btn {
  animation: fadeInUp .8s cubic-bezier(.4,0,.2,1) .7s both;
}

.hero-pagination .swiper-pagination-bullet {
  width: 12px; height: 12px;
  background: rgba(255,255,255,.4);
  opacity: 1;
  transition: var(--transition);
}
.hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 36px;
  border-radius: 6px;
}
.hero-btn-prev, .hero-btn-next { color: #fff !important; }
.hero-btn-prev::after, .hero-btn-next::after { font-size: 24px !important; }

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  animation: float 2s ease-in-out infinite;
}
.hero__scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,.7);
  border-bottom: 2px solid rgba(255,255,255,.7);
  transform: rotate(45deg);
}

/* ========================================
   SECTIONS (COMMON)
   ======================================== */
.section {
  padding: var(--section-py) 0;
}
.section--history,
.section--varieties,
.section--tasting { background: var(--c-bg-alt); }

.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__badge {
  display: inline-block;
  padding: 6px 20px;
  background: var(--c-primary-bg);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--ff-heading);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.2;
}
.section__divider {
  width: 60px; height: 3px;
  background: var(--c-primary);
  margin: 20px auto 0;
  border-radius: 2px;
}
.section__subtitle {
  margin-top: 16px;
  color: var(--c-text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   ABOUT
   ======================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.about__text p {
  margin-bottom: 16px;
  color: var(--c-text-light);
}
.about__lead {
  font-size: 18px;
  color: var(--c-text) !important;
  font-weight: 400;
  line-height: 1.8;
}
.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}
.feature-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card__icon { font-size: 36px; margin-bottom: 12px; }
.feature-card__title {
  font-family: var(--ff-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 6px;
}
.feature-card__text {
  font-size: 14px;
  color: var(--c-text-light);
}

/* ========================================
   GEOGRAPHY
   ======================================== */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.geo-card {
  background: var(--c-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.geo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.geo-card__image {
  height: 180px;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.geo-card:hover .geo-card__image {
  transform: scale(1.05);
}
.geo-card__body { padding: 24px; }
.geo-card__flag {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}
.geo-card__title {
  font-family: var(--ff-heading);
  font-size: 18px;
  color: var(--c-dark);
  margin-bottom: 8px;
}
.geo-card__text {
  font-size: 14px;
  color: var(--c-text-light);
  margin-bottom: 16px;
}
.geo-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 4px 12px;
  background: var(--c-primary-bg);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 500;
  border-radius: 50px;
}

/* ========================================
   VARIETIES SLIDER
   ======================================== */
.varieties-swiper {
  padding-bottom: 50px;
}
.variety-card {
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}
.variety-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.variety-card__visual {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.variety-card__glass {
  width: 60px; height: 100px;
  border-radius: 0 0 50% 50%;
  position: relative;
  opacity: .9;
}
.variety-card__glass::before {
  content: '';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid currentColor;
}
.variety-card__glass::after {
  content: '';
  position: absolute;
  bottom: -16px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 4px;
  border-radius: 2px;
  background: currentColor;
}
.variety-card__glass--light {
  background: linear-gradient(to bottom, #e8f5e9, #c8e6c9);
  color: #81c784;
}
.variety-card__glass--tropical {
  background: linear-gradient(to bottom, #fff9c4, #f0f4c3);
  color: #dce775;
}
.variety-card__glass--oaked {
  background: linear-gradient(to bottom, #ffe0b2, #ffcc02);
  color: #ffb74d;
}
.variety-card__glass--sweet {
  background: linear-gradient(to bottom, #ffcc80, #ff9800);
  color: #ff9800;
}
.variety-card__glass--sparkling {
  background: linear-gradient(to bottom, #e0f7fa, #b2ebf2);
  color: #4dd0e1;
}
.variety-card__title {
  font-family: var(--ff-heading);
  font-size: 20px;
  color: var(--c-dark);
  margin-bottom: 12px;
}
.variety-card__desc {
  font-size: 14px;
  color: var(--c-text-light);
  margin-bottom: 20px;
}
.variety-card__notes {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.variety-card__notes li {
  padding: 6px 14px;
  background: var(--c-primary-bg);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 50px;
}
.varieties-pagination .swiper-pagination-bullet {
  background: var(--c-primary);
}

/* ========================================
   TASTING
   ======================================== */
.tasting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.tasting-step {
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.tasting-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.tasting-step__number {
  position: absolute;
  top: -10px; right: -5px;
  font-family: var(--ff-heading);
  font-size: 80px;
  font-weight: 700;
  color: var(--c-primary-bg);
  line-height: 1;
  pointer-events: none;
}
.tasting-step__icon {
  font-size: 40px;
  margin-bottom: 16px;
  position: relative;
}
.tasting-step__title {
  font-family: var(--ff-heading);
  font-size: 18px;
  color: var(--c-dark);
  margin-bottom: 8px;
  position: relative;
}
.tasting-step__text {
  font-size: 14px;
  color: var(--c-text-light);
  position: relative;
}

.tasting-pairing {
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  text-align: center;
}
.tasting-pairing__title {
  font-family: var(--ff-heading);
  font-size: 24px;
  color: var(--c-dark);
  margin-bottom: 32px;
}
.pairing-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.pairing-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.pairing-item:hover {
  background: var(--c-primary-bg);
  transform: scale(1.05);
}
.pairing-item__icon { font-size: 36px; }
.pairing-item__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
}

/* ========================================
   TOP 10
   ======================================== */
.top10-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wine-card {
  display: flex;
  align-items: stretch;
  background: var(--c-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--c-border);
}
.wine-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-primary);
}
.wine-card__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 700;
}
.wine-card__body {
  padding: 24px 28px;
  flex: 1;
}
.wine-card__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.wine-card__name {
  font-family: var(--ff-heading);
  font-size: 20px;
  color: var(--c-dark);
}
.wine-card__region {
  font-size: 13px;
  color: var(--c-text-light);
}
.wine-card__desc {
  font-size: 14px;
  color: var(--c-text-light);
  margin-bottom: 12px;
}
.wine-card__meta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.wine-card__rating {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
}
.wine-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary);
}



/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(74,119,60,.35);
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--c-primary-light);
  transform: translateY(-3px);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .geo-grid { grid-template-columns: repeat(2, 1fr); }
  .tasting-grid { grid-template-columns: repeat(2, 1fr); }
  .pairing-grid { grid-template-columns: repeat(3, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --header-h: 60px;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .header__nav.open {
    opacity: 1;
    visibility: visible;
  }
  .header__nav .header__link {
    font-size: 20px;
    color: var(--c-dark);
  }
  .header__burger { display: flex; }

  .burger-open .header__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .burger-open .header__burger span:nth-child(2) { opacity: 0; }
  .burger-open .header__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .burger-open .header__burger span { background: var(--c-dark) !important; }

  .hero { min-height: 500px; }
  .hero-btn-prev, .hero-btn-next { display: none !important; }

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

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

  .timeline { padding-left: 28px; }
  .timeline__marker { left: -21px; }
  .timeline__card { padding: 20px; }

  .wine-card { flex-direction: column; }
  .wine-card__rank {
    min-width: unset;
    padding: 12px;
    font-size: 18px;
  }
  .wine-card__body { padding: 16px 20px; }
  .wine-card:hover { transform: translateX(0) translateY(-4px); }

  .tasting-pairing { padding: 28px 20px; }

  .section__header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .pairing-grid { grid-template-columns: repeat(2, 1fr); }
  .about__features { grid-template-columns: 1fr; }
  .footer__links { gap: 16px; }
  .wine-card__header { flex-direction: column; gap: 4px; }
}

