/* McDonald's Vivid Theme - Gold IRA Rollover Guide - Enhanced Design */
:root {
    --viv-crimson: #da291c;
    --viv-crimson-dark: #b71c1c;
    --viv-amber: #ffc72c;
    --viv-amber-light: #ffe066;
    --viv-amber-dark: #e5a800;
    --viv-charcoal: #27251f;
    --viv-slate: #292929;
    --viv-ivory: #fffef9;
    --viv-pearl: #f7f5f0;
    --viv-cream: #faf8f3;
    --viv-stone: #6b6b6b;
    --viv-graphite: #4a4a4a;
    --viv-divider: #e8e4dc;
    --viv-shadow-soft: rgba(39, 37, 31, 0.12);
    --viv-shadow-medium: rgba(39, 37, 31, 0.22);
    --viv-shadow-heavy: rgba(39, 37, 31, 0.35);
    --viv-shadow-amber: rgba(255, 199, 44, 0.35);
    --viv-shadow-crimson: rgba(218, 41, 28, 0.25);
    --viv-positive: #2e7d32;
    --viv-negative: #c62828;
    --viv-gradient-warm: linear-gradient(145deg, #da291c 0%, #ffc72c 100%);
    --viv-gradient-sunset: linear-gradient(135deg, #ffc72c 0%, #da291c 50%, #b71c1c 100%);
    --viv-gradient-gold: linear-gradient(145deg, #ffc72c 0%, #e5a800 50%, #c9960a 100%);
    --viv-radius-sm: 8px;
    --viv-radius-md: 14px;
    --viv-radius-lg: 20px;
    --viv-radius-xl: 28px;
    --viv-transition-fast: 0.2s ease;
    --viv-transition-medium: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --viv-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Nunito Sans', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.78;
    color: var(--viv-charcoal);
    background: var(--viv-ivory);
    background-image:
        radial-gradient(ellipse at 10% 20%, rgba(255, 199, 44, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(218, 41, 28, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(180deg, transparent 0px, transparent 100px, rgba(255, 199, 44, 0.02) 100px, rgba(255, 199, 44, 0.02) 101px);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--viv-amber);
    color: var(--viv-charcoal);
}

.viv-wrapper {
    max-width:100%;
    margin: 0 auto;
    padding: 0 32px;
}

/* Skip Link for Accessibility */
.viv-skip-link {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--viv-charcoal);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--viv-radius-sm);
    z-index: 10001;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 700;
}

.viv-skip-link:focus {
    top: 10px;
}

/* Reading Progress Bar */
.viv-reading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background: var(--viv-gradient-warm);
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px var(--viv-shadow-amber), 0 0 30px rgba(255, 199, 44, 0.2);
}

.viv-reading-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: viv-progress-shine 1.5s infinite;
}

@keyframes viv-progress-shine {
    0% { opacity: 0; transform: translateX(-100px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(0); }
}

/* Alert Banner Component */
.viv-alert-strip {
    background: var(--viv-gradient-warm);
    color: #fff;
    padding: 16px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--viv-shadow-crimson);
}

.viv-alert-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: viv-sweep 3s infinite;
}

.viv-alert-strip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

@keyframes viv-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.viv-alert-strip span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.viv-alert-strip span::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: viv-pulse 1.5s infinite;
}

@keyframes viv-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

/* Header Navigation */
.viv-masthead {
    background: rgba(255, 254, 249, 0.97);
    border-bottom: 4px solid var(--viv-amber);
    position: sticky;
    top: 0;
    z-index: 900;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 25px var(--viv-shadow-soft);
}

.viv-masthead::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--viv-gradient-sunset);
    opacity: 0.7;
}

.viv-masthead-inner {
    max-width:100%;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.viv-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--viv-charcoal);
    transition: transform var(--viv-transition-fast);
}

.viv-brand:hover {
    transform: scale(1.02);
}

.viv-brand-icon {
    width: 48px;
    height: 48px;
    background: var(--viv-gradient-warm);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 6px 20px var(--viv-shadow-amber), inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.viv-brand-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    animation: viv-icon-shine 3s infinite;
}

@keyframes viv-icon-shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.viv-brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--viv-charcoal) 0%, var(--viv-graphite) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.viv-main-menu {
    display: flex;
    gap: 6px;
    align-items: center;
}

.viv-menu-item {
    color: var(--viv-charcoal);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: var(--viv-radius-sm);
    transition: all var(--viv-transition-medium);
    position: relative;
    overflow: hidden;
}

.viv-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 199, 44, 0.15);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--viv-transition-medium);
    border-radius: var(--viv-radius-sm);
}

.viv-menu-item::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--viv-gradient-warm);
    border-radius: 2px;
    transition: all var(--viv-transition-medium);
    transform: translateX(-50%);
}

.viv-menu-item:hover::before {
    transform: scaleX(1);
}

.viv-menu-item:hover {
    color: var(--viv-crimson);
}

.viv-menu-item:hover::after {
    width: 50%;
}

.viv-menu-item--current {
    background: var(--viv-amber);
    color: var(--viv-charcoal);
    box-shadow: 0 4px 15px var(--viv-shadow-amber);
}

.viv-menu-item--current::after {
    display: none;
}

/* Burger Menu */
.viv-burger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 950;
    border-radius: var(--viv-radius-sm);
    transition: background var(--viv-transition-fast);
}

.viv-burger-btn:hover {
    background: rgba(255, 199, 44, 0.15);
}

.viv-burger-line {
    width: 28px;
    height: 3px;
    background: var(--viv-charcoal);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.viv-burger-btn.opened .viv-burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--viv-crimson);
}

.viv-burger-btn.opened .viv-burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.viv-burger-btn.opened .viv-burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--viv-crimson);
}

.viv-drawer-nav {
    display: none;
    flex-direction: column;
    padding: 0;
    background: var(--viv-ivory);
    border-top: 2px solid var(--viv-divider);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.viv-drawer-nav.revealed {
    display: flex;
    max-height: 400px;
    padding: 24px 32px;
}

.viv-drawer-link {
    padding: 16px 0;
    color: var(--viv-charcoal);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-bottom: 1px solid var(--viv-divider);
    transition: all var(--viv-transition-fast);
    display: flex;
    align-items: center;
    gap: 12px;
}

.viv-drawer-link::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--viv-amber);
    border-radius: 50%;
    transition: all var(--viv-transition-fast);
}

.viv-drawer-link:last-child {
    border-bottom: none;
}

.viv-drawer-link:hover {
    color: var(--viv-crimson);
    padding-left: 12px;
}

.viv-drawer-link:hover::before {
    width: 20px;
    border-radius: 2px;
    background: var(--viv-gradient-warm);
}

/* Hero Banner */
.viv-hero-banner {
    background: linear-gradient(160deg, var(--viv-slate) 0%, var(--viv-charcoal) 40%, #1a1917 100%);
    color: #fff;
    padding: 110px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.viv-hero-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -25%;
    width: 80%;
    height: 180%;
    background: radial-gradient(ellipse, rgba(255, 199, 44, 0.2) 0%, transparent 60%);
    pointer-events: none;
    animation: viv-float 12s ease-in-out infinite;
}

.viv-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 70%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(218, 41, 28, 0.15) 0%, transparent 55%);
    pointer-events: none;
    animation: viv-float 15s ease-in-out infinite reverse;
}

@keyframes viv-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 20px) scale(1.05); }
}

.viv-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 199, 44, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(218, 41, 28, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.viv-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 5;
}

.viv-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--viv-amber);
    color: var(--viv-charcoal);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 32px;
    box-shadow: 0 6px 25px var(--viv-shadow-amber), inset 0 1px 0 rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
}

.viv-hero-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: viv-tag-shine 2.5s infinite;
}

@keyframes viv-tag-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.viv-hero-headline {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 26px 0;
    background: linear-gradient(to right, #fff 0%, var(--viv-amber-light) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: viv-headline-gradient 4s ease infinite;
    text-shadow: 0 0 60px rgba(255, 199, 44, 0.3);
}

@keyframes viv-headline-gradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.viv-hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0 auto 42px;
    max-width: 700px;
}

.viv-hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.viv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 38px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    border-radius: 12px;
    transition: all var(--viv-transition-medium);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.viv-btn-primary {
    background: var(--viv-gradient-gold);
    color: var(--viv-charcoal);
    box-shadow: 0 8px 30px var(--viv-shadow-amber), inset 0 1px 0 rgba(255,255,255,0.4);
}

.viv-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.viv-btn-primary:hover::before {
    left: 100%;
}

.viv-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px var(--viv-shadow-amber);
}

.viv-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.viv-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
}

/* Stats Counter Component */
.viv-metrics-bar {
    background: linear-gradient(180deg, var(--viv-pearl) 0%, var(--viv-cream) 100%);
    padding: 60px 0;
    border-bottom: 3px solid var(--viv-divider);
    position: relative;
}

.viv-metrics-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--viv-amber), transparent);
}

.viv-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.viv-metric-block {
    text-align: center;
    padding: 36px 24px;
    background: linear-gradient(145deg, #fff 0%, var(--viv-ivory) 100%);
    border-radius: var(--viv-radius-lg);
    box-shadow: 0 8px 30px var(--viv-shadow-soft), inset 0 1px 0 rgba(255,255,255,0.9);
    border: 2px solid transparent;
    transition: all var(--viv-transition-medium);
    position: relative;
    overflow: hidden;
}

.viv-metric-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--viv-gradient-warm);
    transform: scaleX(0);
    transition: transform var(--viv-transition-medium);
}

.viv-metric-block:hover::before {
    transform: scaleX(1);
}

.viv-metric-block:hover {
    border-color: var(--viv-amber);
    transform: translateY(-8px);
    box-shadow: 0 18px 45px var(--viv-shadow-medium), 0 8px 25px var(--viv-shadow-amber);
}

.viv-metric-num {
    font-size: 48px;
    font-weight: 900;
    background: var(--viv-gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 14px;
    display: block;
}

.viv-metric-label {
    font-size: 13px;
    color: var(--viv-stone);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Table of Contents */
.viv-toc {
    background: linear-gradient(135deg, var(--viv-pearl) 0%, var(--viv-cream) 100%);
    border: 2px solid var(--viv-divider);
    border-radius: var(--viv-radius-lg);
    padding: 32px;
    margin: 50px 0;
    box-shadow: 0 6px 25px var(--viv-shadow-soft);
}

.viv-toc-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--viv-charcoal);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.viv-toc-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--viv-gradient-warm);
    border-radius: 2px;
}

.viv-toc-list {
    list-style: none;
    counter-reset: toc-counter;
}

.viv-toc-item {
    counter-increment: toc-counter;
    margin-bottom: 12px;
}

.viv-toc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--viv-graphite);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--viv-radius-sm);
    transition: all var(--viv-transition-fast);
}

.viv-toc-link::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: 13px;
    font-weight: 800;
    color: var(--viv-amber-dark);
    min-width: 28px;
}

.viv-toc-link:hover {
    background: rgba(255, 199, 44, 0.15);
    color: var(--viv-crimson);
    padding-left: 24px;
}

/* Main Article Content */
.viv-content-area {
    padding: 80px 0;
}

.viv-article-body {
    max-width: 800px;
    margin: 0 auto;
}

.viv-lead-text {
    font-size: 22px;
    line-height: 1.9;
    color: var(--viv-charcoal);
    margin-bottom: 50px;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(255, 199, 44, 0.1), rgba(218, 41, 28, 0.06));
    border-radius: var(--viv-radius-lg);
    border-left: 6px solid var(--viv-amber);
    position: relative;
    box-shadow: 0 6px 25px var(--viv-shadow-soft);
}

.viv-lead-text::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--viv-amber);
    opacity: 0.2;
    line-height: 1;
}

.viv-article-body h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--viv-charcoal);
    margin: 65px 0 30px 0;
    line-height: 1.25;
    position: relative;
    padding-left: 26px;
    scroll-margin-top: 100px;
}

.viv-article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 6px;
    background: var(--viv-gradient-warm);
    border-radius: 3px;
}

.viv-article-body h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--viv-slate);
    margin: 45px 0 22px 0;
    scroll-margin-top: 100px;
}

.viv-article-body p {
    margin-bottom: 24px;
    color: var(--viv-charcoal);
}

.viv-article-body strong {
    color: var(--viv-slate);
    font-weight: 700;
}

.viv-article-body ul,
.viv-article-body ol {
    margin: 32px 0;
    padding-left: 0;
    list-style: none;
}

.viv-article-body li {
    margin-bottom: 16px;
    line-height: 1.75;
    position: relative;
    padding-left: 34px;
}

.viv-article-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    background: var(--viv-gradient-warm);
    border-radius: 50%;
}

.viv-article-body ol {
    counter-reset: list-counter;
}

.viv-article-body ol li {
    counter-increment: list-counter;
}

.viv-article-body ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: var(--viv-gradient-warm);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Highlight Box */
.viv-highlight-box {
    background: linear-gradient(135deg, rgba(255, 199, 44, 0.12) 0%, rgba(218, 41, 28, 0.08) 100%);
    border: 2px solid var(--viv-amber);
    border-radius: var(--viv-radius-lg);
    padding: 28px 32px;
    margin: 36px 0;
    position: relative;
}

.viv-highlight-box::before {
    content: 'Important';
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--viv-amber);
    color: var(--viv-charcoal);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
}

/* Image Container */
.viv-figure {
    margin: 55px 0;
    border-radius: var(--viv-radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--viv-shadow-medium);
    border: 4px solid var(--viv-amber);
    position: relative;
    background: var(--viv-pearl);
}

.viv-figure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(39, 37, 31, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--viv-transition-medium);
}

.viv-figure:hover::before {
    opacity: 1;
}

.viv-figure img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--viv-transition-slow);
}

.viv-figure:hover img {
    transform: scale(1.05);
}

.viv-figure figcaption {
    padding: 16px 24px;
    background: var(--viv-charcoal);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

/* Related Articles Component */
.viv-related-section {
    margin: 75px 0;
    padding: 55px;
    background: linear-gradient(145deg, var(--viv-pearl) 0%, var(--viv-cream) 100%);
    border-radius: var(--viv-radius-xl);
    border: 2px solid var(--viv-divider);
    box-shadow: 0 10px 40px var(--viv-shadow-soft);
    position: relative;
}

.viv-related-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    height: 4px;
    background: var(--viv-gradient-warm);
    border-radius: 0 0 4px 4px;
}

.viv-related-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--viv-charcoal);
    margin-bottom: 35px;
    text-align: center;
    position: relative;
}

.viv-related-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--viv-gradient-warm);
    margin: 16px auto 0;
    border-radius: 2px;
}

.viv-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.viv-related-card {
    background: #fff;
    border-radius: var(--viv-radius-md);
    padding: 30px;
    text-decoration: none;
    color: var(--viv-charcoal);
    box-shadow: 0 6px 24px var(--viv-shadow-soft);
    transition: all var(--viv-transition-medium);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.viv-related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--viv-gradient-warm);
    transform: scaleX(0);
    transition: transform var(--viv-transition-medium);
}

.viv-related-card:hover::before {
    transform: scaleX(1);
}

.viv-related-card:hover {
    border-color: var(--viv-amber);
    transform: translateY(-8px);
    box-shadow: 0 16px 45px var(--viv-shadow-medium);
}

.viv-related-card-icon {
    width: 50px;
    height: 50px;
    background: var(--viv-gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px var(--viv-shadow-amber);
}

.viv-related-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--viv-charcoal);
}

.viv-related-card-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--viv-charcoal);
}

.viv-related-card-desc {
    font-size: 14px;
    color: var(--viv-stone);
    line-height: 1.6;
}

/* FAQ Accordion Section */
.viv-faq-section {
    margin: 80px 0;
    padding: 70px 0;
    border-top: 3px solid var(--viv-divider);
    position: relative;
}

.viv-faq-section::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--viv-gradient-warm);
}

.viv-faq-heading {
    text-align: center;
    margin-bottom: 55px;
}

.viv-faq-heading h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--viv-charcoal);
    margin-bottom: 16px;
}

.viv-faq-heading p {
    font-size: 18px;
    color: var(--viv-stone);
}

.viv-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.viv-accordion-panel {
    background: linear-gradient(145deg, #fff 0%, var(--viv-ivory) 100%);
    border: 2px solid var(--viv-divider);
    border-radius: var(--viv-radius-md);
    overflow: hidden;
    transition: all var(--viv-transition-medium);
    box-shadow: 0 4px 16px var(--viv-shadow-soft);
}

.viv-accordion-panel:hover {
    border-color: var(--viv-amber);
}

.viv-accordion-panel.expanded {
    border-color: var(--viv-crimson);
    box-shadow: 0 12px 40px var(--viv-shadow-medium);
}

.viv-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--viv-transition-fast);
}

.viv-accordion-trigger:hover {
    background: rgba(255, 199, 44, 0.1);
}

.viv-accordion-label {
    font-size: 19px;
    font-weight: 700;
    color: var(--viv-charcoal);
    line-height: 1.4;
}

.viv-accordion-chevron {
    width: 42px;
    height: 42px;
    background: linear-gradient(145deg, var(--viv-pearl) 0%, var(--viv-cream) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--viv-crimson);
    transition: all var(--viv-transition-medium);
    flex-shrink: 0;
    box-shadow: 0 3px 10px var(--viv-shadow-soft);
}

.viv-accordion-panel.expanded .viv-accordion-chevron {
    background: var(--viv-gradient-warm);
    color: #fff;
    transform: rotate(180deg);
    box-shadow: 0 4px 15px var(--viv-shadow-amber);
}

.viv-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.viv-accordion-panel.expanded .viv-accordion-body {
    max-height: 800px;
}

.viv-accordion-content {
    padding: 0 30px 28px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--viv-charcoal);
    border-top: 1px solid var(--viv-divider);
    margin-top: 0;
    padding-top: 24px;
}

/* Footer */
.viv-site-footer {
    background: linear-gradient(165deg, var(--viv-slate) 0%, var(--viv-charcoal) 50%, #1a1917 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 85px 0 50px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.viv-site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--viv-gradient-warm);
}

.viv-site-footer::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 199, 44, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.viv-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 55px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 2;
}

.viv-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.viv-footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.viv-footer-heading {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.viv-footer-menu {
    list-style: none;
}

.viv-footer-menu li {
    margin-bottom: 14px;
}

.viv-footer-menu a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--viv-transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.viv-footer-menu a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--viv-amber);
    transition: width var(--viv-transition-fast);
}

.viv-footer-menu a:hover {
    color: var(--viv-amber);
}

.viv-footer-menu a:hover::before {
    width: 16px;
}

.viv-footer-legal {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

/* Contact Form Styles */
.viv-contact-form {
    max-width: 620px;
    margin: 0 auto;
    padding: 45px;
    background: linear-gradient(145deg, #fff 0%, var(--viv-ivory) 100%);
    border-radius: var(--viv-radius-xl);
    box-shadow: 0 12px 45px var(--viv-shadow-soft);
    border: 2px solid var(--viv-divider);
}

.viv-form-row {
    margin-bottom: 28px;
}

.viv-form-label {
    display: block;
    font-weight: 800;
    font-size: 13px;
    color: var(--viv-charcoal);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.viv-form-input,
.viv-form-textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid var(--viv-divider);
    border-radius: var(--viv-radius-sm);
    transition: all var(--viv-transition-fast);
    background: var(--viv-ivory);
}

.viv-form-input:focus,
.viv-form-textarea:focus {
    outline: none;
    border-color: var(--viv-amber);
    box-shadow: 0 0 0 5px var(--viv-shadow-amber);
    background: #fff;
}

.viv-form-textarea {
    min-height: 160px;
    resize: vertical;
}

.viv-form-submit {
    width: 100%;
    padding: 18px;
    background: var(--viv-gradient-warm);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    border: none;
    border-radius: var(--viv-radius-sm);
    cursor: pointer;
    transition: all var(--viv-transition-medium);
    box-shadow: 0 6px 25px var(--viv-shadow-crimson);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.viv-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--viv-shadow-crimson);
}

/* Page Header for Secondary Pages */
.viv-page-header {
    background: linear-gradient(160deg, var(--viv-slate) 0%, var(--viv-charcoal) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.viv-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 199, 44, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.viv-page-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.viv-page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 2;
}

/* Legal Pages Content */
.viv-legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 70px 32px;
}

.viv-legal-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--viv-charcoal);
    margin: 48px 0 22px 0;
    position: relative;
    padding-left: 20px;
}

.viv-legal-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--viv-gradient-warm);
    border-radius: 2px;
}

.viv-legal-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--viv-slate);
    margin: 36px 0 16px 0;
}

.viv-legal-content p {
    margin-bottom: 20px;
    color: var(--viv-charcoal);
}

.viv-legal-content ul {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.viv-legal-content li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.viv-legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--viv-amber);
    border-radius: 50%;
}

/* Additional Info Box */
.viv-info-card {
    background: linear-gradient(145deg, var(--viv-pearl) 0%, var(--viv-cream) 100%);
    border: 2px solid var(--viv-divider);
    border-radius: var(--viv-radius-lg);
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.viv-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--viv-charcoal);
    margin-bottom: 18px;
}

.viv-info-card p {
    margin-bottom: 12px;
    color: var(--viv-graphite);
}

/* Lazy Load Image Placeholder */
.viv-lazy-placeholder {
    background: linear-gradient(135deg, var(--viv-pearl) 0%, var(--viv-cream) 100%);
    animation: viv-lazy-pulse 1.5s ease-in-out infinite;
}

@keyframes viv-lazy-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .viv-wrapper {
        padding: 0 28px;
    }

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

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

    .viv-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .viv-masthead { position: relative !important; }
    .viv-burger-btn {
        display: flex;
    }

    .viv-main-menu {
        display: none;
    }

    .viv-hero-headline {
        font-size: 36px;
    }

    .viv-hero-desc {
        font-size: 17px;
    }

    .viv-hero-btns {
        flex-direction: column;
        align-items: stretch;
        padding: 0 24px;
    }

    .viv-metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .viv-metric-num {
        font-size: 36px;
    }

    .viv-article-body h2 {
        font-size: 28px;
    }

    .viv-article-body h3 {
        font-size: 22px;
    }

    .viv-related-grid {
        grid-template-columns: 1fr;
    }

    .viv-related-section {
        padding: 35px 28px;
    }

    .viv-faq-heading h2 {
        font-size: 30px;
    }

    .viv-accordion-trigger {
        padding: 22px 24px;
    }

    .viv-accordion-label {
        font-size: 17px;
    }

    .viv-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .viv-page-title {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .viv-wrapper {
        padding: 0 20px;
    }

    .viv-hero-banner {
        padding: 80px 0 70px;
    }

    .viv-hero-headline {
        font-size: 30px;
    }

    .viv-metrics-grid {
        grid-template-columns: 1fr;
    }

    .viv-lead-text {
        padding: 28px 24px;
        font-size: 18px;
    }

    .viv-contact-form {
        padding: 30px 24px;
    }

    .viv-article-body h2 {
        font-size: 24px;
    }

    .viv-toc {
        padding: 24px;
    }
}

/* Print Styles */
@media print {
    .viv-alert-strip,
    .viv-masthead,
    .viv-reading-bar,
    .viv-site-footer,
    .viv-related-section {
        display: none;
    }

    .viv-article-body {
        max-width:100%;
    }

    .viv-figure {
        break-inside: avoid;
    }
}

/* ==================
   Company Logo Styles (110px height)
   ================== */
.fb-company-logo {
    width: 240px;
    height: 165px;
    object-fit: contain;
    background: var(--fb-white);
    border-radius: var(--fb-radius-sm);
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid var(--fb-gray-200);
}

.fb-company-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ==================
   Action Buttons (Go + Review)
   ================== */
.fb-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--fb-secondary);
    color: var(--fb-dark);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
    text-decoration: none;
}

.fb-btn-primary:hover {
    background: var(--fb-secondary-dark);
    color: var(--fb-dark);
    transform: translateY(-1px);
}

.fb-btn-review {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: var(--fb-primary);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: 2px solid var(--fb-primary);
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
    text-decoration: none;
}

.fb-btn-review:hover {
    background: var(--fb-primary);
    color: var(--fb-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fb-company-logo {
        width: 160px;
        height: 100px;
    }

    .fb-action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .fb-btn-primary,
    .fb-btn-review {
        padding: 8px 16px;
        font-size: 13px;
    }
}
/* ==================
   UNIVERSAL MOBILE FIX - Company Logos & Table Adaptivity
   Applied to all sites
   ================== */
@media (max-width: 768px) {
    /* Universal logo selectors */
    [class*='company-logo'],
    [class*='CompanyLogo'],
    [class*='company_logo'],
    img[class*='logo'][class*='company'],
    .company-logo,
    .fb-company-logo,
    .catCompanyLogo,
    .tf-company-card__logo,
    .th-company-logo,
    .op-company-logo,
    .card-logo,
    .review-logo {
        width: 140px !important;
        min-width: 140px !important;
        height: auto !important;
        min-height: 80px !important;
        max-height: 100px !important;
        padding: 8px !important;
        margin: 0 auto 12px !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    /* Center company info/cards */
    [class*='company-info'],
    [class*='CompanyInfo'],
    [class*='company_info'],
    .fb-company-info,
    .catCompanyInfo,
    .tf-company-card__info {
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Center company name */
    [class*='company-name'],
    [class*='CompanyName'],
    .catCompanyName,
    .tf-company-card__name {
        text-align: center !important;
    }
    
    /* Center rating/stars */
    [class*='rating'],
    [class*='Rating'],
    [class*='stars'],
    [class*='Stars'],
    .catRating,
    .catStars {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Buttons full width */
    [class*='action-btn'],
    [class*='ActionBtn'],
    [class*='btn-cta'],
    [class*='btn-primary'],
    [class*='btn-review'],
    .catBtnCta,
    .catBtnReview,
    .fb-btn-primary,
    .fb-btn-review,
    .tf-btn-primary,
    .tf-btn-outline {
        display: block !important;
        width: 100% !important;
        padding: 12px 20px !important;
        text-align: center !important;
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    
    /* Site logo bigger */
    [class*='site-logo'] img,
    [class*='SiteLogo'] img,
    .catLogo__icon,
    .tf-logo__icon,
    .th-logo__icon,
    header [class*='logo'] img {
        min-width: 45px !important;
        min-height: 45px !important;
    }
}


/* Max width 1400px for desktop */
.viv-wrapper, .viv-content, .viv-hero-inner, .viv-companies-container, 
.viv-article, .viv-container, .viv-footer-inner, .viv-main {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center buttons in company cards */
.viv-company-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.viv-td-action {
    text-align: center !important;
}
.viv-action-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
}
