/* ============================================
   CORDINOX MX - Global Stylesheet v2.0
   Premium Health & Nutra Design System
   ============================================ */

:root {
    --primary: #C0392B;
    --primary-deep: #A93226;
    --primary-light: #E74C3C;
    --primary-pale: #FDF2F0;
    --accent: #2E86C1;
    --accent-dark: #2471A3;
    --accent-light: #5DADE2;
    --accent-pale: #EBF5FB;
    --teal: #1ABC9C;
    --teal-dark: #17A589;
    --teal-pale: #E8F8F5;
    --amber: #F39C12;
    --amber-pale: #FEF9E7;
    --purple: #8E44AD;
    --purple-pale: #F4ECF7;
    --text: #1E2A3A;
    --text-mid: #4A5568;
    --text-light: #718096;
    --border: #E2E8F0;
    --border-light: #EDF2F7;
    --white: #fff;
    --off-white: #F7FAFC;
    --bg-warm: #FFFBF7;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,.06), 0 4px 10px rgba(0,0,0,.04);
    --shadow-xl: 0 20px 40px rgba(0,0,0,.08), 0 8px 16px rgba(0,0,0,.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -.02em;
    line-height: 1.25;
    color: var(--text);
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

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

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

/* ===== PROMO BAR ===== */
.promo-bar {
    background: linear-gradient(90deg, var(--primary), var(--primary-deep));
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: .84rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    letter-spacing: .01em;
}
.promo-bar::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { to { left: 150%; } }
.promo-bar span { color: #FFD700; }

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: box-shadow .3s;
    padding: 10px 0;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-light);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-bottle {
    width: 32px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.1));
    transition: transform .3s;
}
.logo:hover .logo-bottle {
    transform: scale(1.08) rotate(-3deg);
}
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.header-nav a {
    color: var(--text-mid);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
    position: relative;
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform .25s;
}
.header-nav a:hover { color: var(--primary); }
.header-nav a:hover::after { transform: scaleX(1); }
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: .88rem;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(192,57,43,.2);
}
.header-cta::after { display: none; }
.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(192,57,43,.3);
    color: var(--white) !important;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
    transition: .3s;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* Mobile header */
.mobile-menu-toggle { display: none; }

@media (max-width: 1024px) {
    .header-nav { display: none; }
    .header-cta { display: none; }
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid var(--border);
        border-radius: 8px;
        width: 40px; height: 40px;
        cursor: pointer;
        padding: 0;
    }
    .mobile-menu-toggle svg { width: 20px; height: 20px; color: var(--text); }
}

/* Mobile dropdown menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.4);
    z-index: 9998;
}
.mobile-menu.open { display: block; }
.mobile-menu-panel {
    position: absolute;
    top: 0; right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    animation: slideRight .25s ease;
}
@keyframes slideRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    margin-bottom: 16px;
}
.mobile-menu-panel a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}
.mobile-menu-panel a:hover { color: var(--primary); }
.mobile-menu-panel .mobile-menu-cta {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(192,57,43,.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(192,57,43,.35);
    color: var(--white);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: .2s;
}
.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-pale);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: .76rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.section-header h2 {
    font-size: 2.1rem;
    margin-bottom: 14px;
    letter-spacing: -.03em;
}
.section-header p {
    color: var(--text-mid);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
    padding: 16px 0;
    font-size: .84rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-light); margin: 0 8px; font-size: .7rem; }
.breadcrumb .current { color: var(--text-mid); font-weight: 600; }

/* ===== PAGE HERO (Inner pages) ===== */
.page-hero {
    background: linear-gradient(170deg, var(--primary-pale) 0%, var(--accent-pale) 50%, var(--off-white) 100%);
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 14px;
    letter-spacing: -.03em;
}
.page-hero p {
    color: var(--text-mid);
    font-size: 1.08rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

/* ============================================
   CONTENT STYLES (Articles & Pages)
   ============================================ */
.content-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0 60px;
}

/* Headings */
.content-body h2 {
    font-size: 1.55rem;
    margin-top: 48px;
    margin-bottom: 18px;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
    position: relative;
    letter-spacing: -.02em;
}
.content-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1px;
}
.content-body h3 {
    font-size: 1.22rem;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--text);
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}
.content-body h4 {
    font-size: 1.05rem;
    margin-top: 28px;
    margin-bottom: 10px;
    color: var(--text);
}
.content-body > p:first-of-type {
    font-size: 1.08rem;
    color: var(--text-mid);
    line-height: 1.85;
}
.content-body p {
    color: var(--text-mid);
    font-size: .97rem;
    line-height: 1.85;
    margin-bottom: 18px;
}
.content-body strong {
    color: var(--text);
    font-weight: 600;
}

/* Lists */
.content-body ul {
    color: var(--text-mid);
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}
.content-body ul li {
    margin-bottom: 10px;
    line-height: 1.75;
    padding-left: 28px;
    position: relative;
    font-size: .95rem;
}
.content-body ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}
.content-body ol {
    color: var(--text-mid);
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
    counter-reset: ol-counter;
}
.content-body ol li {
    margin-bottom: 12px;
    line-height: 1.75;
    padding-left: 36px;
    position: relative;
    font-size: .95rem;
    counter-increment: ol-counter;
}
.content-body ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-pale);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blockquotes */
.content-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    margin: 28px 0;
    background: var(--accent-pale);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-mid);
    position: relative;
    font-size: .95rem;
    line-height: 1.8;
}
.content-body blockquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 3rem;
    color: var(--accent-light);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: .5;
}
.content-body img {
    border-radius: var(--radius-md);
    margin: 28px 0;
    box-shadow: var(--shadow-sm);
}

/* Tables */
.content-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 28px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    font-size: .9rem;
}
.content-body thead th {
    background: linear-gradient(135deg, var(--text), #2c3e50);
    color: var(--white);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.content-body tbody td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-mid);
    vertical-align: top;
}
.content-body tbody tr:nth-child(even) {
    background: var(--off-white);
}
.content-body tbody tr:hover {
    background: var(--accent-pale);
}
.content-body tbody tr:last-child td {
    border-bottom: none;
}
/* Fallback for th/td without thead */
.content-body th {
    background: linear-gradient(135deg, var(--text), #2c3e50);
    color: var(--white);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.content-body td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-mid);
}

/* Section divider */
.content-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 40px 0;
}

/* ===== CTA BOX (inside content) ===== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-pale) 0%, var(--accent-pale) 100%);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    margin: 44px 0;
    border: 1px solid rgba(192,57,43,.08);
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--teal));
}
.cta-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
}
.cta-box p {
    color: var(--text-mid);
    margin-bottom: 22px;
    font-size: .95rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}
.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.blog-card-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}
.blog-card-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.05) 100%);
}
.blog-card-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 12px;
    width: fit-content;
}
.blog-card-tag.tag-vascular { background: var(--primary-pale); color: var(--primary); }
.blog-card-tag.tag-hipertension { background: var(--accent-pale); color: var(--accent); }
.blog-card-tag.tag-colesterol { background: var(--amber-pale); color: #D4880F; }
.blog-card-tag.tag-ingredientes { background: var(--teal-pale); color: var(--teal-dark); }
.blog-card-tag.tag-prevencion { background: var(--purple-pale); color: var(--purple); }
/* Fallback */
.blog-card-tag:not([class*="tag-"]) { background: var(--primary-pale); color: var(--primary); }
.blog-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: -.01em;
}
.blog-card-body h3 a {
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
}
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p {
    color: var(--text-light);
    font-size: .87rem;
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .76rem;
    color: var(--text-light);
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}
.blog-card-meta svg {
    width: 13px; height: 13px;
    opacity: .5;
}

/* ===== ARTICLE META ===== */
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 18px 24px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}
.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .84rem;
    color: var(--text-mid);
}
.article-meta-item svg {
    width: 15px; height: 15px;
    color: var(--text-light);
}
.article-tag {
    background: var(--primary-pale);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .03em;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 28px 24px;
    margin-bottom: 36px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.toc::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent), var(--teal));
    border-radius: 0 2px 2px 0;
}
.toc h4 {
    font-size: .88rem;
    margin-bottom: 16px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}
.toc h4::before {
    content: '';
    width: 18px; height: 18px;
    background: var(--primary-pale);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toc ul {
    list-style: none;
    padding: 0;
    counter-reset: toc-counter;
}
.toc li {
    padding: 0;
    counter-increment: toc-counter;
}
.toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-mid);
    font-size: .87rem;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background .2s, color .2s;
}
.toc a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-light);
    min-width: 22px;
    text-align: center;
}
.toc a:hover {
    background: var(--primary-pale);
    color: var(--primary);
    text-decoration: none;
}
.toc a:hover::before {
    color: var(--primary);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 740px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover {
    border-color: var(--border);
}
.faq-item.open {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(192,57,43,.08);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: .94rem;
    user-select: none;
    transition: background .2s, color .2s;
    gap: 16px;
}
.faq-question:hover { background: var(--off-white); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon {
    width: 28px; height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--primary-pale);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform .3s, background .3s;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: var(--white);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 24px 20px;
}
.faq-answer p {
    color: var(--text-mid);
    font-size: .91rem;
    line-height: 1.75;
}

/* ===== ORDER FORM ===== */
.order-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}
.order-form-card h3 {
    color: var(--text);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 6px;
}
.order-form-subtitle {
    text-align: center;
    color: var(--text-mid);
    font-size: .9rem;
    margin-bottom: 24px;
}
.form-timer {
    text-align: center;
    background: var(--primary-pale);
    color: var(--primary);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: 24px;
    border: 1px solid rgba(192,57,43,.1);
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: .84rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    background: var(--white);
    color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192,57,43,.08);
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: #A0AEC0;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.phone-input-wrap { display: flex; gap: 8px; }
.phone-prefix {
    min-width: 88px;
    padding: 14px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-family: inherit;
    background: var(--off-white);
    color: var(--text);
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    user-select: none;
}
.phone-input-wrap input { flex: 1; }
.btn-order {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(192,57,43,.25);
    letter-spacing: .01em;
}
.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(192,57,43,.35);
}
.form-trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.form-trust span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .74rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, #1a2a3a, #152231);
    color: rgba(255,255,255,.6);
    padding: 56px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 28px;
}
.footer-brand .footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
}
.footer-brand p {
    font-size: .86rem;
    line-height: 1.7;
    color: rgba(255,255,255,.7);
}
nav.footer-col h4,
.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-size: .92rem;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: .02em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .86rem;
    transition: color .2s, padding-left .2s;
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
    text-align: center;
    font-size: .8rem;
}
.footer-disclaimer {
    font-size: .73rem;
    color: rgba(255,255,255,.55);
    margin-top: 16px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* ===== FLOATING CTA (Mobile) ===== */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    z-index: 99;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid var(--border-light);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== READING PROGRESS BAR ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 200;
    transition: width .1s linear;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s, background .2s;
    z-index: 90;
    color: var(--text-mid);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== ORDER MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }
body.modal-open { overflow: hidden; }
.modal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalIn .3s ease;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.modal-card::-webkit-scrollbar {
    display: none;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: .2s;
}
.modal-close:hover { background: var(--off-white); color: var(--text); }
.modal-product {
    max-width: 120px;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.1));
}
.modal-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 6px;
    color: var(--text);
}
.modal-card > p {
    font-size: .88rem;
    color: var(--text-mid);
    text-align: center;
    margin-bottom: 20px;
}
.modal-price {
    text-align: center;
    margin-bottom: 16px;
}
.modal-badges {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.modal-badges span {
    font-size: .72rem;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.form-message {
    text-align: center;
    margin-top: 12px;
    font-size: .88rem;
    font-weight: 600;
}
.form-message.error { color: #EF4444; }
.form-message.success { color: var(--teal); }
#submitBtn:disabled { opacity: .7; cursor: not-allowed; }
@media (max-width: 480px) {
    .modal-card { padding: 28px 20px; }
    .modal-card h2 { font-size: 1.15rem; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ===== THANK YOU PAGE ===== */
.thankyou-wrap {
    text-align: center;
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.thankyou-icon {
    width: 100px; height: 100px;
    background: var(--teal-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(26,188,156,.15);
}
.thankyou-wrap h1 { font-size: 2rem; margin-bottom: 12px; }
.thankyou-wrap p { color: var(--text-mid); max-width: 500px; margin: 0 auto 24px; font-size: 1.05rem; }

/* ===== 404 PAGE ===== */
.error-wrap {
    text-align: center;
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.error-code {
    font-family: 'Outfit', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}
.error-wrap h2 { font-size: 1.6rem; margin-bottom: 12px; }
.error-wrap p { color: var(--text-mid); max-width: 480px; margin: 0 auto 28px; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: flex-start;
}
.contact-info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-bottom: 14px;
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
}
.contact-info-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.contact-icon {
    width: 52px; height: 52px;
    min-width: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon.ci-phone { background: var(--primary-pale); color: var(--primary); }
.contact-icon.ci-email { background: var(--accent-pale); color: var(--accent); }
.contact-icon.ci-hours { background: var(--teal-pale); color: var(--teal-dark); }
.contact-icon:not([class*="ci-"]) { background: var(--primary-pale); color: var(--primary); }
.contact-info-card h4 {
    font-size: .92rem;
    margin-bottom: 4px;
}
.contact-info-card p {
    font-size: .88rem;
    color: var(--text-mid);
    line-height: 1.5;
}

/* ===== ABOUT PAGE VALUES ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform .3s;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.value-card:hover::before { transform: scaleX(1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .header-nav { display: none; }
    .nav-toggle { display: block; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .section-header h2 { font-size: 1.4rem; }
    .section-header p { font-size: .92rem; }
    .section-header { margin-bottom: 32px; }
    .page-hero h1 { font-size: 1.4rem; }
    .page-hero p { font-size: .92rem; }
    .page-hero { padding: 32px 0 28px; }
    .blog-grid { grid-template-columns: 1fr; gap: 18px; }
    .blog-card-placeholder { height: 160px; }
    .blog-card-body { padding: 18px 20px 20px; }
    .blog-card-body h3 { font-size: .97rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-brand p { font-size: .82rem; }
    .footer-col a { font-size: .84rem; }
    .header-cta { display: none; }
    .floating-cta { display: flex; }
    .content-body { padding: 20px 0 32px; }
    .content-body h2 { font-size: 1.28rem; margin-top: 32px; margin-bottom: 14px; }
    .content-body h3 { font-size: 1.08rem; margin-top: 24px; padding-left: 12px; }
    .content-body p { font-size: .9rem; line-height: 1.75; margin-bottom: 14px; }
    .content-body ul li, .content-body ol li { font-size: .88rem; line-height: 1.7; }
    .content-body blockquote { padding: 16px 18px; font-size: .88rem; }
    .content-body table { font-size: .82rem; }
    .content-body thead th, .content-body th { padding: 10px 12px; font-size: .74rem; }
    .content-body tbody td, .content-body td { padding: 10px 12px; }
    .order-form-card { padding: 24px 18px; }
    .toc { padding: 20px 18px 16px; }
    .toc a { font-size: .82rem; padding: 6px 10px; }
    .article-meta { padding: 12px 14px; gap: 10px; }
    .article-meta-item { font-size: .78rem; }
    .cta-box { padding: 28px 22px; }
    .cta-box h3 { font-size: 1.15rem; }
    .cta-box p { font-size: .88rem; }
    .values-grid { grid-template-columns: 1fr; }
    .value-card { padding: 24px 20px; }
    .contact-info-card { padding: 16px; }
    .contact-icon { width: 44px; height: 44px; min-width: 44px; }
    .faq-question { padding: 14px 16px; font-size: .88rem; }
    .faq-answer p { font-size: .85rem; }
    .btn-primary { padding: 14px 28px; font-size: .92rem; }
    .btn-order { padding: 16px; font-size: 1rem; }
    .back-to-top { bottom: 68px; right: 14px; width: 40px; height: 40px; }
    .breadcrumb { font-size: .78rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .page-hero h1 { font-size: 1.2rem; }
    .page-hero p { font-size: .85rem; }
    .page-hero { padding: 24px 0 22px; }
    .promo-bar { font-size: .7rem; padding: 8px 10px; }
    .section { padding: 36px 0; }
    .section-header h2 { font-size: 1.2rem; }
    .section-header { margin-bottom: 24px; }
    .section-label { font-size: .7rem; padding: 5px 12px; }
    .content-body h2 { font-size: 1.15rem; }
    .content-body h3 { font-size: 1rem; }
    .blog-card-body { padding: 16px; }
    .blog-card-body h3 { font-size: .92rem; }
    .blog-card-body p { font-size: .82rem; }
    .toc a { font-size: .78rem; }
    .footer-grid { gap: 20px; }
    .form-trust { gap: 8px; }
    .form-trust span { font-size: .68rem; }
    .logo-text { font-size: 1.3rem; }
    .logo-bottle { width: 28px; }
}
