:root {
    --primary: #12355B;
    --primary-light: #1a4a7a;
    --primary-dark: #0d2640;
    --secondary: #0F9D58;
    --secondary-light: #1ab368;
    --secondary-dark: #0a7a42;
    --accent: #D4AF37;
    --accent-light: #e6c84a;
    --accent-dark: #b8941f;
    --background: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-primary: #263238;
    --text-secondary: #546E7A;
    --text-light: #78909C;
    --border: #E0E7EF;
    --shadow-sm: 0 2px 8px rgba(18, 53, 91, 0.08);
    --shadow-md: 0 8px 32px rgba(18, 53, 91, 0.12);
    --shadow-lg: 0 20px 60px rgba(18, 53, 91, 0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 96px 0;
}

.section-padding-sm {
    padding: 64px 0;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(15, 157, 88, 0.1), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag i {
    color: var(--secondary);
    font-size: 11px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.section-subtitle.left {
    margin-left: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    border-color: var(--secondary);
    box-shadow: 0 4px 20px rgba(15, 157, 88, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), #074f2b);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(15, 157, 88, 0.45);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary-dark);
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-dark {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 13px;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-green {
    background: rgba(15, 157, 88, 0.12);
    color: var(--secondary-dark);
}

.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-dark);
}

.badge-blue {
    background: rgba(18, 53, 91, 0.1);
    color: var(--primary);
}

.highlight {
    color: var(--secondary);
}

.highlight-gold {
    color: var(--accent);
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider-gold {
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 4px;
    margin: 16px auto 32px;
}

.divider-gold.left {
    margin-left: 0;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.card-glass {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 28px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.grid {
    display: grid;
    gap: 28px;
}

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

.flex {
    display: flex;
}

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

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

.flex-gap {
    display: flex;
    gap: 16px;
}

.bg-primary {
    background: var(--primary);
}

.bg-dark {
    background: linear-gradient(135deg, #0d1f33, var(--primary-dark));
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.bg-light {
    background: var(--background);
}

.bg-white {
    background: #fff;
}

.text-white {
    color: #fff;
}

.text-white .section-title {
    color: #fff;
}

.text-white .section-subtitle {
    color: rgba(255,255,255,0.75);
}

.text-white .section-tag {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--accent-light);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.icon-circle-primary {
    background: linear-gradient(135deg, rgba(18,53,91,0.12), rgba(18,53,91,0.06));
    color: var(--primary);
}

.icon-circle-secondary {
    background: linear-gradient(135deg, rgba(15,157,88,0.15), rgba(15,157,88,0.07));
    color: var(--secondary);
}

.icon-circle-gold {
    background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.08));
    color: var(--accent);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.stat-number.white {
    color: #fff;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.stat-label.white {
    color: rgba(255,255,255,0.7);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(18, 53, 91, 0.08);
    color: var(--primary);
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: #fff;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.12);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.select-control {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: #fff;
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.12);
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600&q=80') center/cover no-repeat;
    opacity: 0.08;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 580px;
    margin: 0 auto 24px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-top: 16px;
}

.breadcrumb a {
    color: var(--accent-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb i {
    font-size: 10px;
}

.progress-bar-wrap {
    background: rgba(18,53,91,0.1);
    border-radius: 50px;
    height: 8px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: width 1s ease;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--secondary);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    background: #fff;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(15, 157, 88, 0.04);
}

.accordion-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-title i {
    color: var(--secondary);
    width: 20px;
}

.accordion-icon {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.accordion-content {
    padding: 0 24px 20px 56px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    background: #fff;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--secondary), var(--accent), var(--primary));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px;
}

.timeline-dot {
    position: absolute;
    left: -31px;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.2);
    z-index: 1;
}

.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.table-premium {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-premium thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.table-premium th {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: left;
}

.table-premium td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.table-premium tbody tr:hover {
    background: rgba(15, 157, 88, 0.04);
}

.table-premium tbody tr:last-child td {
    border-bottom: none;
}

.table-premium .positive {
    color: var(--secondary);
    font-weight: 600;
}

.table-premium .negative {
    color: #e53935;
    font-weight: 600;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list li i {
    color: var(--secondary);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split-image {
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.split-image:hover img {
    transform: scale(1.04);
}

.split-content {
    padding: 60px 52px;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-content.dark {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.split-content.dark .section-title {
    color: #fff;
}

.split-content.dark .section-subtitle {
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
}

.dashboard-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.dashboard-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 157, 88, 0.2);
}

.dashboard-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.dashboard-value {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.dashboard-change {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.dashboard-change.up {
    background: rgba(15, 157, 88, 0.12);
    color: var(--secondary-dark);
}

.dashboard-change.down {
    background: rgba(229, 57, 53, 0.1);
    color: #c62828;
}

.dashboard-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.dashboard-bar {
    height: 6px;
    background: rgba(18, 53, 91, 0.08);
    border-radius: 50px;
    margin-top: 14px;
    overflow: hidden;
}

.dashboard-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.comparison-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.comparison-header {
    padding: 28px 28px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.comparison-header.gold {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.comparison-header.green {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.comparison-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.comparison-price {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin: 12px 0 4px;
}

.comparison-price span {
    font-size: 16px;
    font-weight: 500;
}

.comparison-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.comparison-body {
    background: #fff;
    padding: 28px;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list li i {
    color: var(--secondary);
    width: 16px;
}

.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(18, 53, 91, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.nav-logo-sub {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.3px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff !important;
    border-radius: 50px !important;
    padding: 9px 22px !important;
    box-shadow: 0 4px 15px rgba(15, 157, 88, 0.3);
}

.nav-cta:hover {
    box-shadow: 0 6px 20px rgba(15, 157, 88, 0.45) !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(160deg, var(--primary-dark), var(--primary));
    z-index: 2000;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    border-left: 1px solid rgba(212,175,55,0.2);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.mobile-nav-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: rgba(255,255,255,0.2);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.mobile-nav-link i {
    color: var(--accent);
    width: 18px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    backdrop-filter: blur(2px);
}

.mobile-overlay.show {
    display: block;
}

.footer {
    background: linear-gradient(160deg, #071524, #0d2640, var(--primary-dark));
    color: rgba(255,255,255,0.75);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.footer-brand-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.65);
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-link i {
    font-size: 11px;
    color: var(--secondary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-newsletter-text {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
    line-height: 1.7;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
}

.footer-newsletter-input {
    flex: 1;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.footer-newsletter-input::placeholder {
    color: rgba(255,255,255,0.35);
}

.footer-newsletter-input:focus {
    border-color: var(--secondary);
    background: rgba(255,255,255,0.1);
}

.footer-newsletter-btn {
    padding: 11px 18px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-newsletter-btn:hover {
    background: linear-gradient(135deg, var(--secondary-dark), #074f2b);
    transform: translateY(-1px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-link {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    transition: var(--transition);
}

.footer-bottom-link:hover {
    color: var(--accent-light);
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1920&q=85');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    transition: transform 8s ease;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,21,36,0.92) 0%, rgba(13,38,64,0.85) 50%, rgba(18,53,91,0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: 80px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.35);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-eyebrow i {
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-title span.gold {
    color: var(--accent-light);
}

.hero-title span.green {
    color: #4fc98b;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
}

.hero-stat-lbl {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.hero-badge {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    width: 300px;
    z-index: 1;
    padding-top: 100px;
}

.hero-badge-img {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(212,175,55,0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-badge-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.hero-badge-role {
    font-size: 12px;
    color: var(--accent-light);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-badge-stat {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-badge-stat:last-child {
    border-bottom: none;
}

.hero-badge-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.hero-badge-stat-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-light);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.topic-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    group: true;
}

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

.topic-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.topic-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.topic-card:hover .topic-img-wrap img {
    transform: scale(1.07);
}

.topic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,38,64,0.7), transparent);
}

.topic-cat {
    position: absolute;
    top: 14px;
    left: 14px;
}

.topic-body {
    padding: 24px;
}

.topic-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.topic-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.why-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: rgba(15, 157, 88, 0.2);
}

.why-card-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(15,157,88,0.12), rgba(212,175,55,0.08));
    color: var(--secondary);
}

.why-card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.why-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=1200&q=70') center/cover;
    opacity: 0.06;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

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

.stat-icon {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 12px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-quote {
    font-size: 48px;
    color: var(--accent);
    font-family: serif;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.4;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(15,157,88,0.2);
}

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-light);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 13px;
    margin-top: 2px;
}

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

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

.article-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

.article-img-wrap {
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.article-date {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-body {
    padding: 24px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition);
}

.article-card:hover .article-title {
    color: var(--secondary);
}

.article-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin: 0 24px;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
}

.newsletter-section::after {
    content: '';
    position: absolute;
    left: -60px;
    bottom: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(15, 157, 88, 0.08);
}

.newsletter-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 64px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.15);
}

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

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.checklist-item:hover {
    border-color: rgba(15, 157, 88, 0.2);
    box-shadow: var(--shadow-md);
}

.checklist-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.checklist-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.checklist-sub {
    font-size: 12px;
    color: var(--text-light);
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1200&q=70') center/cover;
    opacity: 0.07;
}

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

.budget-section-alt {
    background: var(--background);
}

.alternating-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.alternating-section.reverse .alt-img {
    order: 2;
}

.alternating-section.reverse .alt-content {
    order: 1;
}

.alt-img {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.alt-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.alternating-section:hover .alt-img img {
    transform: scale(1.04);
}

.alt-content {
    padding: 52px 48px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.alt-content.dark {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.alt-content.dark .alt-title {
    color: #fff;
}

.alt-content.dark .alt-text {
    color: rgba(255,255,255,0.75);
}

.alt-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.3;
}

.alt-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.categories-section {
    background: linear-gradient(180deg, var(--background), #e8f0fe);
}

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

.cat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.cat-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.cat-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
    color: var(--primary);
    transition: var(--transition);
}

.cat-card:hover .cat-icon {
    color: var(--secondary);
}

.cat-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.cat-count {
    font-size: 12px;
    color: var(--text-light);
}

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

.glossary-item {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 24px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
}

.glossary-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.glossary-term {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.glossary-def {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(212,175,55,0.1);
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.info-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.hours-item {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.hours-day {
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 2px;
}

.calculator-static {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.calc-input-group {
    margin-bottom: 20px;
}

.calc-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.calc-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.calc-input:focus {
    border-color: var(--secondary);
}

.calc-result {
    background: linear-gradient(135deg, rgba(15,157,88,0.08), rgba(212,175,55,0.06));
    border: 1px solid rgba(15,157,88,0.2);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    margin-top: 16px;
}

.calc-result-value {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-dark);
}

.calc-result-label {
    font-size: 13px;
    color: var(--text-light);
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--secondary) 60%, var(--border) 60%);
    outline: none;
    cursor: pointer;
    margin-top: 8px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15,157,88,0.4);
}

.tip-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tip-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(15,157,88,0.2);
    transform: translateX(6px);
}

.tip-num {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: rgba(15,157,88,0.12);
    line-height: 1;
    flex-shrink: 0;
    min-width: 52px;
}

.tip-content-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.tip-content-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

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

.resource-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resource-img-wrap {
    overflow: hidden;
}

.resource-card:hover .resource-img {
    transform: scale(1.06);
}

.resource-body {
    padding: 24px;
}

.resource-category {
    margin-bottom: 10px;
}

.resource-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.resource-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

@media (max-width: 1200px) {
    .hero-badge {
        display: none;
    }

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

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

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

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

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

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

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

    .newsletter-inner {
        grid-template-columns: 1fr;
        padding: 48px 40px;
        gap: 32px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .split-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-image {
        height: 340px;
    }

    .split-content {
        padding: 48px 40px;
    }

    .alternating-section {
        grid-template-columns: 1fr;
    }

    .alternating-section.reverse .alt-img {
        order: 0;
    }

    .alternating-section.reverse .alt-content {
        order: 0;
    }

    .alt-img {
        min-height: 280px;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

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

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

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

    .comparison-card + .comparison-card {
        margin-top: 0;
    }
}

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

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-title {
        font-size: clamp(28px, 8vw, 44px);
    }

    .hero-stats {
        gap: 28px;
        flex-wrap: wrap;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

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

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

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

    .newsletter-inner {
        padding: 40px 28px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .split-content {
        padding: 36px 28px;
    }

    .alt-content {
        padding: 36px 28px;
    }

    .newsletter-section {
        margin: 0 12px;
        border-radius: var(--radius-lg);
    }

    .accordion-content {
        padding-left: 24px;
    }
}

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

    .section-padding {
        padding: 48px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

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

    .mobile-nav {
        width: 80%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 28px 20px;
    }

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

    .newsletter-inner {
        padding: 32px 20px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

.hero.hero-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

.hero-split-left {
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-split-left .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1920&q=85');
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 8s ease;
    z-index: 0;
}

.hero-split-left:hover .hero-bg {
    transform: scale(1);
}

.hero-split-left .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,21,36,0.94) 0%, rgba(13,38,64,0.88) 60%, rgba(18,53,91,0.80) 100%);
    z-index: 1;
}

.hero-split-left-inner {
    position: relative;
    z-index: 2;
    padding: 0 52px 0 48px;
    max-width: 640px;
}

.hero-split-left-inner .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.35);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-split-left-inner .hero-eyebrow i {
    color: var(--accent);
}

.hero-split-right {
    position: relative;
    background: linear-gradient(160deg, var(--primary-dark) 0%, #081c36 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-split-right-img-wrap {
    position: relative;
    height: 58%;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-split-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 6s ease;
}

.hero-split-right:hover .hero-split-photo {
    transform: scale(1.04);
}

.hero-split-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,21,36,0.15) 0%, rgba(8,28,54,0.65) 100%);
}

.hero-split-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 28px 36px 36px;
}

.hero-split-advisor-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-split-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-split-metric {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    transition: var(--transition);
}

.hero-split-metric:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(212,175,55,0.3);
}

.hero-split-metric-icon {
    font-size: 16px;
    margin-bottom: 6px;
    display: block;
}

.hero-split-metric-icon.up { color: #4fc98b; }
.hero-split-metric-icon.shield { color: var(--accent-light); }
.hero-split-metric-icon.users { color: #60a5fa; }

.hero-split-metric-value {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.hero-split-metric-label {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    margin-top: 3px;
    letter-spacing: 0.3px;
}

.hero-split-topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hero-split-topic-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(15,157,88,0.12);
    border: 1px solid rgba(15,157,88,0.22);
    border-radius: 50px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    transition: var(--transition);
    cursor: default;
    white-space: nowrap;
    overflow: hidden;
}

.hero-split-topic-tag i {
    color: var(--secondary);
    font-size: 10px;
    flex-shrink: 0;
}

.hero-split-topic-tag:hover {
    background: rgba(15,157,88,0.22);
    border-color: rgba(15,157,88,0.4);
    color: #fff;
}

@media (max-width: 992px) {
    .hero.hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-split-left {
        padding: 120px 0 56px;
        min-height: 60vh;
    }

    .hero-split-left-inner {
        padding: 0 24px;
        max-width: 100%;
    }

    .hero-split-right {
        min-height: 520px;
    }

    .hero-split-right-img-wrap {
        height: 280px;
    }

    .hero-split-cards {
        padding: 24px 24px 32px;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero-split-topics {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-split-metric-row {
        gap: 8px;
    }

    .hero-split-cards {
        padding: 20px 16px 28px;
    }
}

@media (max-width: 576px) {
    .hero-split-left-inner {
        padding: 0 16px;
    }

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

    .hero-split-metric-value {
        font-size: 14px;
    }

    .hero-split-advisor-card {
        padding: 12px 14px;
    }
}

.hero.hero-v3 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-v3-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=85');
    background-size: cover;
    background-position: center 30%;
    z-index: 0;
}

.hero-v3-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,21,36,0.95) 0%, rgba(12,35,60,0.90) 45%, rgba(18,53,91,0.82) 100%);
    z-index: 1;
}

.hero-v3-diagonal {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: var(--background);
    clip-path: polygon(0 70%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 2;
}

.hero-v3-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 120px;
    padding-bottom: 160px;
}

.hero-v3-top {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-v3-top .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212,175,55,0.14);
    border: 1px solid rgba(212,175,55,0.35);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-v3-top .hero-eyebrow i {
    color: var(--accent);
}

.hero-v3-top .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5.5vw, 66px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-v3-top .hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 660px;
}

.hero-v3-top .hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-v3-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 10px 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-v3-trust-faces {
    display: flex;
}

.hero-v3-trust-faces img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212,175,55,0.5);
    margin-left: -10px;
}

.hero-v3-trust-faces img:first-child {
    margin-left: 0;
}

.hero-v3-trust-stars {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.hero-v3-trust-label {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
}

.hero-v3-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.hero-v3-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-v3-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,157,88,0.06), rgba(212,175,55,0.04));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-v3-card:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(212,175,55,0.28);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.hero-v3-card:hover::before {
    opacity: 1;
}

.hero-v3-card.featured {
    background: linear-gradient(135deg, rgba(15,157,88,0.18), rgba(15,157,88,0.08));
    border-color: rgba(15,157,88,0.4);
}

.hero-v3-card.featured:hover {
    border-color: rgba(15,157,88,0.65);
    background: linear-gradient(135deg, rgba(15,157,88,0.25), rgba(15,157,88,0.12));
}

.hero-v3-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(15,157,88,0.25), rgba(212,175,55,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hero-v3-card.featured .hero-v3-card-icon {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
}

.hero-v3-card-body {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-v3-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.hero-v3-card-text {
    font-size: 12px;
    color: rgba(255,255,255,0.62);
    line-height: 1.5;
}

.hero-v3-card-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.hero-v3-card:hover .hero-v3-card-arrow {
    background: var(--secondary);
    color: #fff;
    transform: translateX(2px);
}

.hero-v3-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 44px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-v3-stat {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.hero-v3-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.hero-v3-ticker {
    position: relative;
    z-index: 3;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    border-top: 1px solid rgba(212,175,55,0.2);
    padding: 14px 0;
    overflow: hidden;
}

.hero-v3-ticker::before,
.hero-v3-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.hero-v3-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-dark), transparent);
}

.hero-v3-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-dark), transparent);
}

.hero-v3-ticker-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: ticker-scroll 32s linear infinite;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-v3-tick {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    padding: 0 28px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.hero-v3-tick i {
    color: var(--accent);
    font-size: 12px;
}

@media (max-width: 992px) {
    .hero-v3-cards {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 14px;
    }

    .hero-v3-inner {
        padding-top: 110px;
        padding-bottom: 130px;
    }

    .hero-v3-stats {
        margin-top: 32px;
        gap: 0;
        flex-wrap: wrap;
        padding: 20px 12px;
    }

    .hero-v3-stat {
        min-width: 50%;
        padding: 12px 0;
    }

    .hero-v3-stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-v3-top .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-v3-top .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-v3-trust {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: var(--radius-md);
        padding: 14px 18px;
    }

    .hero-v3-diagonal {
        height: 80px;
    }

    .hero-v3-inner {
        padding-bottom: 100px;
    }
}

@media (max-width: 576px) {
    .hero-v3-stat {
        min-width: 50%;
    }

    .hero-v3-tick {
        padding: 0 18px;
        font-size: 12px;
    }

    .hero-v3-inner {
        padding-top: 96px;
    }
}

/* ===== CARD & GRID CONTENT CENTERING ===== */

/* Generic card body */
.card-body,
.card-title,
.card-text {
    text-align: center;
}

/* Topic cards */
.topic-body,
.topic-title,
.topic-desc {
    text-align: center;
}

/* Why cards (children) */
.why-card-title,
.why-card-text {
    text-align: center;
}

/* Article cards */
.article-body,
.article-title,
.article-text {
    text-align: center;
}
.article-meta {
    justify-content: center;
    text-align: center;
}

/* Resource cards */
.resource-body,
.resource-title,
.resource-text,
.resource-category {
    text-align: center;
}

/* Comparison card body */
.comparison-body {
    text-align: center;
}
.comparison-list li {
    justify-content: center;
    text-align: center;
}

/* Dashboard cards */
.dashboard-card {
    text-align: center;
}
.dashboard-metric {
    justify-content: center;
    gap: 12px;
}

/* Checklist items — stack icon above text and center */
.checklist-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Tip cards — stack and center */
.tip-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.tip-num {
    text-align: center;
    min-width: unset;
}
.tip-content-title,
.tip-content-text {
    text-align: center;
}

/* Glossary items */
.glossary-term,
.glossary-def {
    text-align: center;
}

/* Contact info items — center icon + text */
.info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.info-label,
.info-value {
    text-align: center;
}

/* Stat items */
.stat-item {
    text-align: center;
}

/* Testimonial card */
.testimonial-card {
    text-align: center;
}
.testimonial-author {
    justify-content: center;
}
.testimonial-text {
    text-align: center;
}

/* Hero v3 cards */
.hero-v3-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero-v3-card-icon {
    margin: 0 auto;
}
.hero-v3-card-body {
    text-align: center;
}
.hero-v3-card-arrow {
    margin: 0 auto;
}

/* Grid containers — center items horizontally */
.grid,
.grid-2,
.grid-3,
.grid-4,
.topics-grid,
.cat-grid,
.stats-grid,
.checklist-grid,
.glossary-grid,
.hero-v3-cards {
    justify-items: center;
}

/* Ensure grid children still fill their column */
.grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.topics-grid > *,
.cat-grid > *,
.stats-grid > *,
.checklist-grid > *,
.glossary-grid > *,
.hero-v3-cards > * {
    width: 100%;
}

/* ===== FLEX-BETWEEN SECTION HEADER — ANCHOR ALIGNMENT FIX ===== */

/* Ensure flex items stay on the same row, vertically centred */
.flex-between {
    align-items: center;
}

/* Left group (section-tag + section-title) takes available space */
.flex-between > div {
    flex: 1 1 auto;
    min-width: 0;
}

/* Anchor / button stays shrunk, never stretches, sits vertically centred */
.flex-between > a,
.flex-between > button {
    flex: 0 0 auto;
    align-self: center;
    white-space: nowrap;
}

/* On narrow screens stack the button below the title group */
@media (max-width: 600px) {
    .flex-between {
        flex-direction: column;
        align-items: flex-start;
    }

    .flex-between > a,
    .flex-between > button {
        align-self: flex-start;
        margin-top: 4px;
    }
}

/* ===== DASHBOARD-CARD — 1-COLUMN LAYOUT ON PHONES ===== */

@media (max-width: 480px) {
    /* Any grid that directly contains dashboard-cards collapses to 1 column */
    .grid-4:has(> .dashboard-card),
    .grid-3:has(> .dashboard-card),
    .grid-2:has(> .dashboard-card),
    .grid:has(> .dashboard-card) {
        grid-template-columns: 1fr;
    }

    /* dashboard-card itself stretches full width */
    .dashboard-card {
        width: 100%;
    }
}

/* ===== WHY-CARD — 1-COLUMN LAYOUT ON PHONES ===== */

@media (max-width: 480px) {
    /* Any grid directly containing why-cards collapses to 1 column */
    .grid-4:has(> .why-card),
    .grid-3:has(> .why-card),
    .grid-2:has(> .why-card),
    .grid:has(> .why-card) {
        grid-template-columns: 1fr;
    }

    /* why-card stretches to full width */
    .why-card {
        width: 100%;
    }
}

/* ===== FLEX-BETWEEN — CENTER ALL CONTENT ON PHONES ===== */

@media (max-width: 600px) {
    /* Stack children vertically and center everything */
    .flex-between {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Inner div (section-tag + section-title) centers its own content */
    .flex-between > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    /* section-tag pill centers itself */
    .flex-between .section-tag {
        align-self: center;
    }

    /* Anchor / button centered below the title */
    .flex-between > a,
    .flex-between > button {
        align-self: center;
        margin-top: 8px;
    }
}

/* ===== FLEX-BETWEEN — CENTER ALL CONTENT (ALL SCREEN SIZES) ===== */

/* Stack children vertically and center the whole block */
.flex-between {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Inner div (section-tag + section-title) centers its own children */
.flex-between > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* section-tag pill centers itself */
.flex-between .section-tag {
    align-self: center;
}

/* section-title centered */
.flex-between .section-title {
    text-align: center;
}

/* Anchor / button centers below the title */
.flex-between > a,
.flex-between > button {
    align-self: center;
    margin-top: 12px;
}

/* ===== SPLIT-CONTENT — CENTERED ON PHONE ===== */

@media (max-width: 768px) {
    /* Center all text inside split-content when stacked on mobile */
    .split-content {
        text-align: center;
        align-items: center;
    }

    /* Center the divider and subtitle inside split-content */
    .split-content .divider-gold.left {
        margin-left: auto;
        margin-right: auto;
    }

    .split-content .section-subtitle.left {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .split-content .section-tag {
        align-self: center;
    }

    .split-content .feature-list li {
        justify-content: center;
    }

    .split-content .btn {
        align-self: center;
    }
}

/* ===== GRID-3 CARDS — TEXT ABOVE IMAGE ON PHONE ===== */

@media (max-width: 768px) {
    /* Turn each card into a column and reverse so text comes first */
    .grid-3 > .card {
        display: flex;
        flex-direction: column-reverse;
    }

    /* Push card-img to the bottom (after text) */
    .grid-3 > .card .card-img {
        order: 2;
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    /* Keep card-body on top (before image) */
    .grid-3 > .card .card-body {
        order: 1;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
}

/* ===== GRID-3 ALTERNATING-SECTION — TEXT ABOVE IMAGE ON PHONE ===== */

@media (max-width: 768px) {
    /* The alternating-section inside grid-3 spans full width & stacks vertically */
    .grid-3 > .alternating-section {
        grid-template-columns: 1fr !important;
        grid-column: span 1 !important;
    }

    /* alt-content (text) comes FIRST — order 1 */
    .grid-3 > .alternating-section .alt-content {
        order: 1;
        padding: 32px 24px;
        text-align: center;
        align-items: center;
    }

    /* alt-img (image) comes SECOND — order 2, below text */
    .grid-3 > .alternating-section .alt-img {
        order: 2;
        min-height: 220px;
    }

    /* Also handle the grid itself so it's a single column */
    .grid-3:has(> .alternating-section) {
        grid-template-columns: 1fr;
    }
}

/* ===== GRID-3 TOPIC-CARD — TEXT ABOVE IMAGE ON PHONE ===== */

@media (max-width: 768px) {
    /* Each topic-card becomes a column-reverse flex so body shows above image */
    .grid-3 > .topic-card {
        display: flex;
        flex-direction: column-reverse;
    }

    /* topic-img-wrap goes BELOW (order 2) */
    .grid-3 > .topic-card .topic-img-wrap {
        order: 2;
        height: 180px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    /* topic-body (text) stays ON TOP (order 1) */
    .grid-3 > .topic-card .topic-body {
        order: 1;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        text-align: center;
    }
}

/* ===== DASHBOARD-CARD — CENTER ALL CONTENT ON PHONES ===== */

@media (max-width: 480px) {
    /* Center the whole card */
    .dashboard-card {
        text-align: center;
    }

    /* Metric row: center value + badge side by side */
    .dashboard-metric {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    /* Value (big number) centered */
    .dashboard-value {
        text-align: center;
    }

    /* Label below the value centered */
    .dashboard-label {
        text-align: center;
    }

    /* Progress bar still full width, centered block */
    .dashboard-bar {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

/* ===== DASHBOARD-CARD ICON CENTERING ===== */

.dashboard-card .icon-circle {
    margin-left: auto;
    margin-right: auto;
}

.dashboard-card i {
    text-align: center;
}

/* ===== NEWSLETTER-SECTION — CENTER ALL CONTENT ON PHONES ===== */

@media (max-width: 768px) {
    .newsletter-inner {
        text-align: center;
        justify-items: center;
    }

    .newsletter-inner .section-tag {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-form {
        justify-content: center;
    }

    .newsletter-form-submit {
        text-align: center;
    }

    .newsletter-form-submit .btn {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== CONTACT-SECTION — PHONE INTERFACE OPTIMIZATIONS ===== */

@media (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 32px 20px;
        text-align: center;
        border-radius: var(--radius-md);
    }

    .contact-info-card .section-tag,
    .contact-form-card .section-tag {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info-card h2,
    .contact-form-card h2 {
        text-align: center;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .info-icon {
        margin: 0 auto;
    }

    .hours-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hours-item {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .contact-form-card .grid-2 {
        grid-template-columns: 1fr;
    }

    .contact-form-card .form-group {
        text-align: left;
    }

    .contact-form-card .form-label {
        text-align: left;
    }
}

/* ===== HOURS-GRID — 2 COLUMNS 2 ROWS ON PHONES ===== */

@media (max-width: 768px) {
    .hours-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
}

/* ===== SECTION-TAG & SECTION-TITLE — CENTERED ON PHONES ===== */

@media (max-width: 768px) {
    .section-tag {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        text-align: center;
    }
}

/* ===== SECTION-TAG GUARANTEED CENTERING ON PHONES ===== */

@media (max-width: 768px) {
    .section-tag {
        display: inline-flex !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
    }

    div:has(> .section-tag),
    header:has(> .section-tag),
    section:has(> .section-tag) {
        text-align: center;
    }
}

/* ===== DIVIDER-GOLD — CENTERED BELOW SECTION-TITLE ON PHONES ===== */

@media (max-width: 768px) {
    .divider-gold,
    .divider-gold.left {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ===== CONTACT-INFO-CARD — LEFT ALIGNED EXCEPT ON PHONES ===== */

@media (min-width: 769px) {
    .contact-info-card {
        text-align: left !important;
    }

    .contact-info-card .section-tag {
        display: inline-flex !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .contact-info-card h2 {
        text-align: left !important;
    }

    .contact-info-card .info-item {
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 16px !important;
    }

    .contact-info-card .info-icon {
        margin: 0 !important;
    }

    .contact-info-card .info-label,
    .contact-info-card .info-value {
        text-align: left !important;
    }

    .contact-info-card .hours-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .contact-info-card .hours-item {
        text-align: left !important;
    }
}

/* ===== ACCORDION FUNCTIONALITY STYLES ===== */

.accordion-content {
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active {
    border-color: var(--secondary);
}

.accordion-item.active .accordion-header {
    background: rgba(15, 157, 88, 0.05);
}

.accordion-item.active .accordion-icon {
    color: var(--secondary);
}

/* ===== SPLIT-CONTENT & DASHBOARD-CARD — LEFT ALIGNED EXCEPT ON PHONES ===== */

@media (min-width: 769px) {
    /* Force left alignment on split-content and all its children */
    .split-content,
    .split-content *,
    .dashboard-card,
    .dashboard-card * {
        text-align: left !important;
    }

    .split-content {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .split-content .section-tag {
        display: inline-flex !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        align-self: flex-start !important;
    }

    .split-content .divider-gold,
    .split-content .divider-gold.left {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .split-content .section-subtitle,
    .split-content .section-subtitle.left {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .split-content .feature-list li {
        justify-content: flex-start !important;
    }

    .split-content .btn {
        align-self: flex-start !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    /* dashboard-card metric layout */
    .dashboard-metric {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .dashboard-card .icon-circle {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .split-content .section-title {
        font-size: clamp(24px, 2.5vw, 32px) !important;
    }

    .dashboard-bar {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ===== COMPARISON CARD LIST ITEM ALIGNMENT ===== */

.comparison-card .comparison-body ul li,
.comparison-list li {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.comparison-card .comparison-body ul li i,
.comparison-list li i {
    flex-shrink: 0 !important;
    width: 20px !important;
    margin-top: 3px !important;
    text-align: center !important;
}

/* ===== RETIREMENT INVESTMENT VEHICLES GRID-2 CARD LEFT ALIGNMENT ===== */

@media (min-width: 769px) {
    .grid-2 > .card,
    .grid-2 > .card *,
    .grid-2 .card-body,
    .grid-2 .card-text {
        text-align: left !important;
    }

    .grid-2 > .card .icon-circle {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .grid-2 > .card div[style*="text-align: center"] {
        text-align: left !important;
    }
}

/* ===== DASHBOARD-CARD CONTENT CENTERING (GLOBAL) ===== */

.dashboard-card,
.dashboard-card * {
    text-align: center !important;
}

.dashboard-metric {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
}

.dashboard-value,
.dashboard-label {
    text-align: center !important;
}

.dashboard-card .icon-circle {
    margin-left: auto !important;
    margin-right: auto !important;
}

.dashboard-bar {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}
