/* ==========================================================================
   STYLE SYSTEM: Joint Performance Tech (jointperformancetech.info)
   Archetype: saxon_architectural | City: Dresden
   ========================================================================== */

:root {
    --primary: #78350f;
    --primary-hover: #78350fdd;
    --primary-light: #78350f15;
    --secondary: #9a3412;
    --secondary-hover: #9a3412dd;
    --secondary-light: #9a341218;
    --accent: #b45309;
    --accent-light: #b4530920;
    --bg-light: #f7efe5;
    --bg-card: #ffffff;
    --text-dark: #3e2723;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-focus: #78350f;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 35px rgba(0,0,0,0.15);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Cormorant Garamond', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1200px;
}

/* Universal Reset & Base Styling */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-dark);
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.15rem; letter-spacing: -0.015em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-hover); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.top-bar {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.775rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-item svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Clean Sleek Single-Line Navigation Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-height: 64px;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    gap: 1rem;
    width: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    display: block;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.725rem;
    color: var(--text-muted);
    display: block;
    white-space: nowrap;
    margin-top: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.4rem 0.65rem;
    white-space: nowrap;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.lang-switcher {
    display: inline-flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0,0,0,0.04);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.25rem 0.55rem;
    font-size: 0.775rem;
    font-weight: 800;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.cart-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.45rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.cart-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.95rem 2.15rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Hero Section */
.hero {
    padding: 4.5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.badge-pill {
    display: inline-block;
    font-size: 0.775rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.hero-title {
    margin-bottom: 1.25rem;
}

.hero-text {
    font-size: 1.075rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

/* Clean Spaced Horizontal Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
}

/* Clean Spaced Hero Trust Items */
.hero-trust-row, .hero-trust-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    list-style: none;
    padding: 0;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-trust-item svg {
    width: 17px;
    height: 17px;
    fill: var(--primary);
    flex-shrink: 0;
}

/* Clean Interactive Scenario Selectors (Zero Emojis, Elegant Layout) */
.hero-scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0 1.25rem;
}

.hero-scenario-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.85rem 0.65rem;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.hero-scenario-btn:hover {
    border-color: var(--primary);
}

.hero-scenario-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.hero-scenario-btn.active .scenario-btn-title,
.hero-scenario-btn.active .scenario-btn-sub {
    color: #ffffff;
}

.scenario-btn-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.scenario-btn-sub {
    display: block;
    font-size: 0.725rem;
    color: var(--text-muted);
}

.scenario-detail-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 0.75rem;
}

.scenario-metric-badge {
    display: inline-block;
    font-size: 0.775rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.scenario-detail-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.scenario-detail-card p {
    font-size: 0.925rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.scenario-rec-tag {
    display: block;
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    padding: 0.6rem 0.85rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

/* Sections General */
.section {
    padding: 4.5rem 0;
}

.section-light {
    background: var(--bg-card);
}

.section-tint {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.ingredient-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.ingredient-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ingredient-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.ingredient-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

.ingredient-icon-wrap svg {
    width: 22px;
    height: 22px;
}

.ingredient-amount {
    display: inline-block;
    font-size: 0.775rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.4rem;
}

.ambassador-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    align-items: center;
}

.ambassador-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ambassador-content {
    padding: 2rem 2rem 2rem 0;
}

.ambassador-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    line-height: 1.65;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cert-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.article-body {
    padding: 1.5rem;
    flex: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.775rem;
    color: var(--text-muted);
    padding: 0.65rem 1.5rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.article-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    align-items: stretch;
    margin-top: 1.5rem;
}

.tier-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}

.tier-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #ffffff;
    font-size: 0.725rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.tier-title {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    text-align: center;
}

.tier-price-box {
    text-align: center;
    margin: 1rem 0;
}

.tier-price-current {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.tier-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.4rem;
}

.tier-price-per {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.tier-features {
    list-style: none;
    margin: 1.25rem 0 1.75rem;
    padding: 0;
}

.tier-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.tier-feature-item svg {
    width: 15px;
    height: 15px;
    fill: var(--primary);
    flex-shrink: 0;
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.825rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.775rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-card);
    z-index: 2001;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

/* Rich Cart Item Rendering */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.cart-item-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.03);
    padding: 4px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    display: block;
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.cart-item-caps {
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.cart-item-price-unit {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
}

.cart-item-ctrls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.cart-qty-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.cart-qty-num {
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    color: var(--text-dark);
}

.cart-remove-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 1.25rem;
    cursor: pointer;
    margin-left: 0.25rem;
}

.cart-remove-btn:hover {
    opacity: 0.75;
}

/* Spacious Medical Assessment Quiz Styling */
.quiz-question-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.quiz-q-badge {
    display: inline-block;
    font-size: 0.775rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.quiz-question-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.35;
}

.quiz-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.quiz-opt-btn {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.15rem 1.35rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    width: 100%;
    color: var(--text-dark);
}

.quiz-opt-btn:hover {
    border-color: var(--primary);
    background: var(--bg-card);
}

.quiz-opt-btn.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary);
}

.quiz-opt-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    background: #ffffff;
}

.quiz-opt-btn.selected .quiz-opt-radio {
    border-color: var(--primary);
    background: var(--primary);
}

.quiz-opt-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    transition: var(--transition);
}

.quiz-opt-btn.selected .quiz-opt-radio::after {
    opacity: 1;
}

.quiz-opt-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
}

.quiz-result-box {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.25rem;
    margin-top: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    display: none;
}

.quiz-result-heading {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.quiz-result-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
}

/* Order Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1.25rem;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.25rem;
    box-shadow: var(--shadow-xl);
    position: relative;
}

/* Legal Documents Modal Overlay */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1.25rem;
    backdrop-filter: blur(6px);
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.25rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 1px solid var(--border-color);
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.legal-modal-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    color: var(--text-muted);
    transition: var(--transition);
}

.legal-modal-close:hover {
    color: var(--primary);
}

.legal-modal-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 1rem 0;
    border-top: 2px solid var(--primary);
    box-shadow: 0 -4px 25px rgba(0,0,0,0.25);
    display: none;
}

.cookie-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.825rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.cookie-banner-text strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-label {
    display: block;
    font-size: 0.825rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Dedicated Rich Article Layout System */
.article-header-wrap {
    margin-bottom: 2rem;
}

.article-main-title {
    font-size: 2.35rem;
    line-height: 1.25;
    margin: 0.75rem 0 1rem;
    letter-spacing: -0.015em;
}

.article-meta-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.article-lead-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.75rem 0;
}

.article-lead-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.65;
    margin: 0;
}

.article-takeaways-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.takeaways-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.article-takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.takeaway-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.925rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.takeaway-item svg {
    width: 18px;
    height: 18px;
    fill: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.article-evidence-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid #10b981;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.evidence-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.evidence-title {
    font-size: 0.775rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #059669;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.evidence-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.article-body-content {
    font-size: 1.025rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-section {
    margin: 2rem 0;
}

.article-section-heading {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    color: var(--text-dark);
}

.article-section-p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.article-quote-box {
    background: var(--bg-card);
    border-left: 5px solid var(--secondary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem 1.75rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-sm);
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.article-quote-box cite {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    font-style: normal;
}

.article-bottom-cta {
    margin-top: 3.5rem;
    padding: 2.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}


/* 4 Phases of Rebuilding Grid & Cards */
.formula-phases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.phase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.phase-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.phase-step-badge {
    display: inline-block;
    font-size: 0.775rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.phase-card h4 {
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
    color: var(--text-dark);
    font-weight: 700;
}

.phase-card p {
    font-size: 0.925rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* About Us 4 Pillars Grid & Flex Cards */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-pillar-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-pillar-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.pillar-content {
    flex: 1;
    min-width: 0;
}

.pillar-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    color: var(--text-dark);
}

.pillar-content p {
    font-size: 0.925rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-muted);
}

/* FAQ Accordion (Closed by default with + expander) */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    user-select: none;
    gap: 1rem;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* Articles Typography */
.article-section-p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.article-section-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 0.75rem 0;
}


/* Compact Index FAQ Teaser */
.index-faq-teaser-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.faq-teaser-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-teaser-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-teaser-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.faq-teaser-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .ambassador-card { grid-template-columns: 1fr; }
    .ambassador-content { padding: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .nav-links { display: none; }
    .site-kpi-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    h1 { font-size: 2.15rem; }
    h2 { font-size: 1.75rem; }
    .section { padding: 3.5rem 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-kpi-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; padding: 1rem; }
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
    .hero-cta-group { flex-direction: column; width: 100%; }
    .hero-cta-group .btn { width: 100%; }
}


/* --- ARCHETYPE BESPOKE RULES --- */

        /* Archetype Top Bar & Footer */
        .top-bar { background: #261607; color: #fffbeb; border-bottom: 1px solid #b45309; }
        .top-bar-item svg { color: #fbbf24; }
        .site-footer { background: #261607; color: #fffbeb; border-top: 2px solid #b45309; }
        .site-footer a { color: #fde68a; }
        .site-footer a:hover { color: #ffffff; }
        .footer-col h4 { color: #ffffff; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); color: #fef3c7; }

        /* Saxon Sandstone Masonry & Roman Arch Structure */
        body { background-color: #f7efe5; color: #3e2723; font-family: 'Albert Sans', sans-serif; }
        .site-header { background: #ffffff; border-bottom: 2px solid #78350f; }
        .brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; color: #78350f; }
        .brand-sub { color: #9a3412; font-weight: 600; font-family: 'Albert Sans', sans-serif; font-size: 0.8rem; }
        .nav-link { font-size: 0.95rem; font-weight: 700; color: #78350f; }
        .hero { background: #eae0d5; border-bottom: 2px solid #d6c7b2; padding: 4.5rem 0; position: relative; }
        .hero-title { font-family: 'Cormorant Garamond', serif; font-size: 2.85rem; color: #78350f; line-height: 1.2; }
        .hero-highlight { color: #9a3412; }
        .hero-widget-card { background: #ffffff; border: 2px solid #78350f; border-radius: 12px; padding: 2rem; box-shadow: 0 8px 24px rgba(120,53,15,0.1); }
        .site-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: #ffffff; border: 2px solid #78350f; border-radius: 12px; padding: 1.5rem; box-shadow: 0 6px 20px rgba(120,53,15,0.1); margin-top: -2.5rem; position: relative; z-index: 10; }
        .site-kpi-item { text-align: center; border-right: 1px solid #d6c7b2; padding: 0.5rem; }
        .site-kpi-item:last-child { border-right: none; }
        .site-kpi-val { font-size: 1.75rem; font-weight: 900; color: #78350f; font-family: 'Cormorant Garamond', serif; }
        .site-kpi-lbl { font-size: 0.75rem; font-weight: 700; color: #8d4004; text-transform: uppercase; }
        .ambassador-card { background: #ffffff; border: 2px solid #78350f; border-radius: 12px; box-shadow: 0 6px 20px rgba(120,53,15,0.08); }
        .ambassador-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #78350f; border-color: #78350f; }
        .pillar-card { background: #ffffff; border: 1px solid #d6c7b2; border-top: 5px solid #78350f; padding: 2rem; border-radius: 8px; }
        .ingredient-card { background: #ffffff; border: 1px solid #d6c7b2; border-top: 4px solid #9a3412; border-radius: 8px; }
        .cert-card { background: #ffffff; border: 1px solid #d6c7b2; border-left: 5px solid #78350f; border-radius: 8px; }
        .tier-card { background: #ffffff; border: 2px solid #d6c7b2; border-radius: 12px; transition: all 0.25s; }
        .tier-card.popular { border-color: #78350f; box-shadow: 0 8px 24px rgba(120,53,15,0.15); }
        .tier-bottle-wrap { background: #f2e9dc; border: 1px solid #d6c7b2; border-radius: 8px; padding: 1.25rem; margin: 1rem 0; text-align: center; }
        .tier-bottle-img { max-height: 220px; width: auto; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(120, 53, 15, 0.2)); transition: transform 0.3s; }
        .tier-card:hover .tier-bottle-img { transform: scale(1.04); }
        .btn { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 700; border-radius: 4px; letter-spacing: 0.03em; }
        .btn-primary { background: #78350f; border-color: #78350f; color: #ffffff; }
        .btn-primary:hover { background: #9a3412; }
        