/* ============================================
   ТЕРРИТОРИЯ КАЧЕСТВА — Premium Light Theme
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Light palette */
    --bg-primary: #FAFBFC;
    --bg-secondary: #F0F4F3;
    --bg-card: #FFFFFF;
    --bg-hero-overlay: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(240,244,243,0.7) 100%);
    
    /* Text */
    --text-primary: #1A2332;
    --text-secondary: #5A6B7D;
    --text-muted: #8A99AB;
    
    /* Accent — elegant emerald-green */
    --accent: #2D9F6F;
    --accent-light: #3DB883;
    --accent-pale: rgba(45,159,111,0.08);
    --accent-glow: rgba(45,159,111,0.25);
    
    /* Telegram */
    --telegram: #229ED9;
    --telegram-hover: #1A8CC8;
    
    /* Decorative */
    --border: rgba(26,35,50,0.08);
    --border-hover: rgba(45,159,111,0.3);
    --shadow-sm: 0 1px 3px rgba(26,35,50,0.06);
    --shadow-md: 0 4px 20px rgba(26,35,50,0.08);
    --shadow-lg: 0 12px 40px rgba(26,35,50,0.10);
    --shadow-card: 0 8px 32px rgba(26,35,50,0.06);
    --shadow-card-hover: 0 16px 48px rgba(26,35,50,0.12);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,251,252,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: transform 0.3s var(--ease-out);
}

.nav-logo:hover {
    transform: scale(1.03);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--accent);
    background: var(--accent-pale);
}

.nav-catalog { position: relative; display: flex; align-items: center; }

.nav-catalog-trigger {
    margin-left: -12px;
    padding: 8px 10px;
    border: 0;
    border-radius: 100px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.88rem;
    cursor: pointer;
}

.nav-catalog-trigger i { font-size: 0.7rem; }

.catalog-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 220px;
    padding: 8px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.2s var(--ease-out);
}

.nav-catalog.open .catalog-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }

.catalog-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
}

.catalog-dropdown a i { width: 18px; color: var(--accent); }

.language-switcher { display: flex; gap: 3px; margin-left: auto; }

.lang-button {
    padding: 6px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.lang-button.active { color: white; background: var(--accent); }

.nav-toggle { display: flex; margin-left: 12px; }

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(11, 25, 38, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.site-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 21;
    width: min(320px, 88vw);
    padding: 20px 14px;
    background: #fff;
    box-shadow: 16px 0 45px rgba(10, 38, 58, 0.18);
    transform: translateX(-105%);
    transition: transform 0.28s var(--ease-out);
}

.site-drawer.open { transform: translateX(0); }

.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 18px; font-size: 1.1rem; font-weight: 800; }
.drawer-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--accent-pale); color: var(--accent); cursor: pointer; font-size: 1.15rem; }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a { display: flex; align-items: center; gap: 14px; padding: 13px 10px; border-radius: var(--radius-sm); color: #07548b; font-weight: 500; }
.drawer-links a:hover { background: #eff8f5; color: var(--accent); }
.drawer-links i { width: 24px; text-align: center; font-size: 1.2rem; }
.drawer-register-btn {
    margin-top: 8px;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(67, 162, 115, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(67, 162, 115, 0.12) 0%, rgba(67, 162, 115, 0.08) 100%);
    color: #07548b;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(11, 25, 38, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.drawer-register-btn:hover {
    background: linear-gradient(180deg, rgba(67, 162, 115, 0.18) 0%, rgba(67, 162, 115, 0.1) 100%);
    border-color: rgba(67, 162, 115, 0.28);
    box-shadow: 0 12px 28px rgba(11, 25, 38, 0.07);
    transform: translateY(-1px);
}
.drawer-register-wrap { display: flex; flex-direction: column; }
.drawer-register-panel {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0 0 0 12px;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease, margin-top 0.22s ease;
}
.drawer-register-wrap.open .drawer-register-panel {
    max-height: 180px;
    margin-top: 10px;
    opacity: 1;
    transform: translateY(0);
}
.drawer-register-option {
    display: block;
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 8px;
    border: 1px solid rgba(7, 84, 139, 0.1);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    color: #07548b;
    text-align: left;
    font-weight: 500;
    box-shadow: 0 8px 18px rgba(11, 25, 38, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.drawer-register-option:hover {
    background: linear-gradient(180deg, #f8fdfb 0%, #eef8f4 100%);
    color: var(--accent);
    border-color: rgba(67, 162, 115, 0.22);
    box-shadow: 0 10px 22px rgba(11, 25, 38, 0.06);
    transform: translateX(2px);
}
.drawer-languages { margin: 20px 10px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.8rem; }
.drawer-language-switcher { margin: 10px 0 0; justify-content: flex-start; }

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Keep the hero image clean; the transition is handled by the color veil below. */
.hero-bg::after {
    display: none;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
    filter: contrast(1.08) saturate(1.15);
}

.hero:hover .hero-bg-img {
    transform: scale(1.0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.72) 0%,
        rgba(250,251,252,0.50) 45%,
        rgba(240,244,243,0.30) 100%
    );
}

/* Softly dissolve the hero image into the next light section. */
.hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 210px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(240,244,243,0) 0%, rgba(240,244,243,0.42) 38%, var(--bg-secondary) 88%, var(--bg-secondary) 100%);
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 110px 24px 70px;
}

.hero-content {
    text-align: left;
    max-width: 620px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent-pale);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid rgba(45,159,111,0.15);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
    align-self: flex-start;
}

.hero-title {
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #1A7A55 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero-doctor-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero-doctor-card {
    position: relative;
    width: 420px;
    background: transparent;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 15px 35px rgba(26, 35, 50, 0.15));
    transition: transform 0.5s var(--ease-out);
}

.hero-doctor-card:hover {
    transform: translateY(-6px) scale(1.015);
}

.hero-doctor-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.doctor-badge {
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 95%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 16px 32px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    border: 2px solid rgba(45, 159, 111, 0.25);
    box-shadow: 0 14px 35px rgba(26, 35, 50, 0.16);
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
}

.doctor-badge:hover {
    transform: translateX(-50%) translateY(-4px) scale(1.04);
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 18px 40px var(--accent-glow);
}

.doctor-badge:hover i {
    color: white;
}

.doctor-badge i {
    color: var(--accent);
    font-size: 1.25rem;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.8s var(--ease-out) 1.2s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    animation: scrollBounce 2s var(--ease-out) infinite;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #1A7A55 100%);
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-telegram {
    background: linear-gradient(135deg, var(--telegram) 0%, #1A7AB5 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(34,158,217,0.25);
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34,158,217,0.35);
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--accent-pale);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(45,159,111,0.15);
    transition: all 0.35s var(--ease-out);
}

.btn-card:hover {
    background: var(--accent);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-card i {
    transition: transform 0.3s var(--ease-out);
}

.btn-card:hover i {
    transform: translateX(4px);
}

.btn-submit {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, #1A7A55 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.35s var(--ease-out);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-pale);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* === CATEGORIES === */
.categories {
    padding: 100px 0 80px;
    background: var(--bg-secondary);
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: transparent;
    pointer-events: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: all 0.5s var(--ease-out);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* === CATEGORY PAGES === */
.product-page { background: var(--bg-secondary); min-height: 100vh; }
.product-page-main { padding: 120px 0 72px; }
.product-page-hero { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.product-page-copy { padding: 54px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.product-page-copy h1 { margin: 0 0 16px; color: var(--text-primary); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; }
.product-page-copy p { margin: 0; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; }
.product-page-image { min-height: 390px; background: #f5f8f6; }
.product-page-image img { width: 100%; height: 100%; object-fit: cover; }
.product-list-title { margin: 62px 0 24px; font-size: 1.7rem; color: var(--text-primary); }
.product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-list-item { padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.product-list-item i { color: var(--accent); font-size: 1.25rem; margin-bottom: 16px; }
.product-list-item h2 { margin: 0 0 8px; font-size: 1.08rem; color: var(--text-primary); }
.product-list-item p { margin: 0; color: var(--text-secondary); line-height: 1.55; font-size: .92rem; }

@media (max-width: 768px) {
    .product-page-main { padding: 94px 0 48px; }
    .product-page-hero { grid-template-columns: 1fr; }
    .product-page-copy { padding: 34px 24px; }
    .product-page-image { min-height: 260px; grid-row: 1; }
    .product-list { grid-template-columns: 1fr; }
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-hover);
}

.card-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.category-card:hover .card-image {
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(255,255,255,0.9) 100%);
}

/* Product photos in these cards remain clear to keep the labels readable. */
#card-beauty .card-image-overlay,
#card-cookware .card-image-overlay {
    background: linear-gradient(to bottom, transparent 70%, rgba(255,255,255,0.12) 100%);
}

.card-body {
    padding: 28px 28px 32px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.card-more-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Clean section headers: keep the layout focused on the main titles. */
.nutrilite-section > .container > .section-header > .section-tag,
.why-me > .container > .section-header > .section-tag,
.contact-info > .section-tag {
    display: none;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.card-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.card-tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.card-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-features {
    list-style: none;
    margin-bottom: 20px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.card-features li i {
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* === PRODUCT CATALOG === */
.catalog-section {
    padding: 96px 0;
    background: var(--bg-primary);
}

.catalog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.catalog-heading .section-title,
.catalog-heading .section-desc {
    text-align: left;
}

.catalog-heading .section-desc {
    margin: 0;
}

.catalog-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.catalog-filter {
    padding: 10px 18px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.catalog-filter:hover,
.catalog-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

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

.catalog-product {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.catalog-product:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
}

.catalog-product.is-hidden {
    display: none;
}

.catalog-product-image {
    height: 210px;
    overflow: hidden;
    background: #f6f8f7;
}

.catalog-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease-out);
}

.catalog-product:hover .catalog-product-image img {
    transform: scale(1.06);
}

.catalog-product-body {
    padding: 18px;
}

.catalog-product-body p {
    margin-bottom: 7px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.catalog-product-body h3 {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

.catalog-product-body span {
    color: var(--text-secondary);
    font-size: 0.83rem;
    line-height: 1.45;
}

/* === NUTRILITE SECTION === */
.nutrilite-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.nutrilite-content {
    max-width: 900px;
    margin: 0 auto;
}

.nutrilite-block {
    text-align: center;
    padding: 40px;
    margin-bottom: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nutrilite-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--accent);
}

.nutrilite-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.nutrilite-block p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* === HEMOSCAN BLOCK === */
.hemoscan-block {
    position: relative;
    padding: 48px 40px;
    margin-bottom: 48px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #F0F9F5 0%, #E8F5EE 50%, #F5FBF8 100%);
    border: 1px solid rgba(45,159,111,0.15);
    overflow: hidden;
}

.hemoscan-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

.hemoscan-content {
    position: relative;
    z-index: 1;
}

.hemoscan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--accent);
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hemoscan-block h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hemoscan-block p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 680px;
}

.hemoscan-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.7);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--accent);
    border: 1px solid rgba(45,159,111,0.15);
}

/* Nutrilite Features */
.nutrilite-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nutri-feature {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 32px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}

.nutri-feature:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.nutri-feature-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
    flex-shrink: 0;
    min-width: 52px;
}

.nutri-feature-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.nutri-feature-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* === WHY ME === */
.why-me {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.why-me::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
    pointer-events: none;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 840px;
    margin: 0 auto;
}

.advantage-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-hover);
}

.adv-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.25rem;
    color: var(--accent);
    transition: all 0.4s var(--ease-out);
}

.advantage-card:hover .adv-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.advantage-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.advantage-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* === CONTACT === */
.contact-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-buttons {
    margin-bottom: 32px;
}

.contact-trust {
    display: flex;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-item i {
    color: var(--accent);
}

/* Form */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.form-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s var(--ease-out);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-response {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    text-align: center;
    font-weight: 500;
}

.form-response.success {
    background: rgba(45,159,111,0.1);
    color: var(--accent);
    border: 1px solid rgba(45,159,111,0.2);
}

.form-response.error {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,0.2);
}

.hidden {
    display: none !important;
}

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

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(14px);
        opacity: 0.3;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

/* Scroll Reveal Base States */
.reveal,
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: all 0.8s var(--ease-out);
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-up {
    transform: translateY(50px);
    transition-delay: var(--delay, 0s);
}

/* Active (visible) states */
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-logo .logo-text { display: none; }

    .language-switcher:not(.drawer-language-switcher) { margin-left: auto; }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250,251,252,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
        gap: 32px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-doctor-card {
        width: 260px;
    }

    .hero-doctor-img {
        height: 300px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .catalog-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .hemoscan-block {
        padding: 32px 24px;
    }
    
    .nutri-feature {
        padding: 20px 24px;
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-card {
        padding: 28px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    /* Reduce animation distance on mobile */
    .reveal { transform: translateY(24px); }
    .reveal-left { transform: translateX(-30px); }
    .reveal-right { transform: translateX(30px); }
    .reveal-up { transform: translateY(30px); }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }

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

    .catalog-product-image {
        height: 230px;
    }
    
    .card-body {
        padding: 20px 20px 24px;
    }
    
    .nutrilite-block {
        padding: 28px 20px;
    }
}
