/* ==============================================================
   GLOBAL RESET — DARK, SUBDUED GOLD ACCENT
============================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-surface: #161616;
    --color-surface-elevated: #1e1e1e;
    --color-text-primary: #f0ece6;
    --color-text-secondary: #9a9288;
    --color-accent: #b8963a;
    --color-accent-dim: rgba(184, 150, 58, 0.12);
    --color-border: #282420;
    --color-border-light: #3a352a;
    --font-serif: 'Fraunces', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==============================================================
   TYPOGRAPHY
============================================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
}

h1 {
    font-size: clamp(2.8rem, 6.5vw, 4.6rem);
    letter-spacing: -0.025em;
}
h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    letter-spacing: -0.015em;
}
h3 {
    font-size: 1.4rem;
}

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

.section-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.6rem;
    opacity: 0.8;
}

.section-title {
    margin-bottom: 0.75rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 580px;
    margin-bottom: 2.5rem;
}

/* ==============================================================
   UNIFIED PAGE HERO — with background image support
============================================================== */
.page-hero {
    padding: 4rem 0 2.5rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* --- Subtle background image (design element) --- */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    /* =============================================
       REPLACE 'hero-bg.jpg' WITH YOUR IMAGE FILE
       Place the image in the same folder as style.css
    ============================================= */
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    pointer-events: none; /* allows clicking through to the text */
}

.page-hero .container {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.page-hero .section-label {
    margin-bottom: 0.5rem;
}

.page-hero h1 {
    margin-bottom: 0.75rem;
}

.page-hero .page-sub {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero .accent-underline {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 0.5rem 0 1.2rem;
    border-radius: 4px;
    opacity: 0.6;
}

/* ==============================================================
   BUTTONS
============================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.7rem 2rem;
    border-radius: 40px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #0a0a0a;
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background-color: #c9a34a;
    border-color: #c9a34a;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(184, 150, 58, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border-light);
}
.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 150, 58, 0.08);
}

.btn-sm {
    padding: 0.4rem 1.2rem;
    font-size: 0.75rem;
}
.btn-lg {
    padding: 0.9rem 2.8rem;
    font-size: 1rem;
}

/* ==============================================================
   HEADER
============================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}
.logo span {
    color: var(--color-accent);
}

.main-nav {
    display: none;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 2.4rem;
    font-weight: 500;
}
.nav-list a {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    transition: color 0.3s;
    position: relative;
    letter-spacing: 0.02em;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}
.nav-list a:hover {
    color: var(--color-text-primary);
}
.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 0.8rem;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .main-nav {
        display: block;
    }
    .header-actions {
        display: flex;
    }
    .mobile-toggle {
        display: none;
    }
}

/* ==============================================================
   HERO (Index)
============================================================== */
.hero {
    height: calc(100vh - var(--header-height));
    min-height: 620px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 24px 0 24px;
    align-self: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--color-accent-dim);
    color: var(--color-accent);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 0.25rem 1rem;
    border-radius: 40px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border: 1px solid rgba(184, 150, 58, 0.2);
}

.hero-title {
    margin-bottom: 1rem;
}
.hero-title-highlight {
    color: var(--color-accent);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.8rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.03em;
}
.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-trust span::before {
    content: '◆';
    color: var(--color-accent);
    font-size: 0.5rem;
    opacity: 0.6;
}

.hero-visual {
    flex: 1;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.3) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-left: 1px solid var(--color-border);
    filter: saturate(1.05) contrast(1.02);
}

@media (max-width: 767px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 3rem 0;
    }
    .hero-inner {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 24px;
    }
    .hero-visual {
        width: 100%;
        height: 280px;
        padding: 0 24px;
    }
    .hero-visual::before {
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, transparent 60%);
    }
    .hero-image {
        border-left: none;
        border-radius: 12px;
    }
}

/* ==============================================================
   KYIP STRIP
============================================================== */
.kyip-strip {
    background-color: var(--color-surface);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.kyip-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.kyip-strip-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}
.kyip-strip-text strong {
    color: var(--color-text-primary);
    margin-right: 0.5rem;
}

/* ==============================================================
   WHY RION
============================================================== */
.why-rion {
    padding: 5rem 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 2rem;
}

.why-card {
    background: var(--color-surface-elevated);
    padding: 2.2rem 2rem 2.4rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.why-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.why-card h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
}
.why-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==============================================================
   SERVICES SNAPSHOT
============================================================== */
.services-snapshot {
    padding: 5rem 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--color-surface-elevated);
    padding: 1.6rem 1.4rem;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}
.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.service-card .service-link {
    font-weight: 500;
    color: var(--color-accent);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}
.service-card .service-link:hover {
    opacity: 0.7;
}

.services-cta {
    text-align: center;
    margin-top: 2.8rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ==============================================================
   TAX STRIP
============================================================== */
.tax-strip {
    background: var(--color-surface);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.tax-strip-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.tax-strip-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}
.tax-strip-content p {
    color: var(--color-text-secondary);
    max-width: 480px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.tax-strip-badge {
    display: inline-block;
    background: var(--color-accent-dim);
    color: var(--color-accent);
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
    border: 1px solid rgba(184, 150, 58, 0.15);
}

.tax-strip-visual {
    display: none;
}
@media (min-width: 768px) {
    .tax-strip-visual {
        display: block;
    }
}

/* ==============================================================
   RETURN CALCULATOR
============================================================== */
.calculator-section {
    padding: 5rem 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.calc-card {
    background: var(--color-surface-elevated);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: border-color 0.3s ease;
}
.calc-card:hover {
    border-color: var(--color-border-light);
}

.calc-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}
.calc-card .calc-sub {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.calc-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.calc-form label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}
.calc-form input {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s;
    width: 100%;
}
.calc-form input:focus {
    outline: none;
    border-color: var(--color-accent);
}
.calc-form .calc-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.calc-result {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: var(--color-bg);
    border-radius: 12px;
    border-left: 3px solid var(--color-accent);
}
.calc-result p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}
.calc-result .result-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 0.2rem;
}

@media (min-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==============================================================
   HOW IT WORKS
============================================================== */
.how-it-works {
    padding: 5rem 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 0 0.5rem;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}
.step:hover .step-number {
    background: var(--color-accent-dim);
    transform: scale(1.05);
}
.step h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.step p {
    color: var(--color-text-secondary);
    max-width: 280px;
    margin: 0 auto;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==============================================================
   INSIGHTS PREVIEW
============================================================== */
.insights-preview {
    padding: 5rem 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.insight-card {
    background: var(--color-surface-elevated);
    padding: 1.6rem;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    transition: all 0.35s ease;
}
.insight-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.insight-tag {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    padding: 0.12rem 0.7rem;
    border-radius: 40px;
    margin-bottom: 0.4rem;
    border: 1px solid rgba(184, 150, 58, 0.08);
}

.insight-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}
.insight-card h3 a {
    color: var(--color-text-primary);
    transition: color 0.2s;
}
.insight-card h3 a:hover {
    color: var(--color-accent);
}

.insight-card p {
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
}

.insight-link {
    font-weight: 500;
    color: var(--color-accent);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}
.insight-link:hover {
    opacity: 0.7;
}

.insights-cta {
    text-align: center;
    margin-top: 2.8rem;
}

@media (min-width: 768px) {
    .insights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==============================================================
   FINAL CTA
============================================================== */
.final-cta {
    padding: 4.5rem 0;
    background: var(--color-surface);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.final-cta-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--color-text-primary);
}

.final-cta-sub {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* ==============================================================
   FOOTER
============================================================== */
.site-footer {
    background-color: var(--color-bg);
    color: var(--color-text-secondary);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.footer-brand .logo {
    color: var(--color-text-primary);
    font-size: 1.8rem;
}
.footer-tagline {
    margin: 0.4rem 0 1.2rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}
.footer-social a {
    color: var(--color-text-secondary);
    transition: color 0.3s;
}
.footer-social a:hover {
    color: var(--color-accent);
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--color-text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.35rem;
}
.footer-col ul a {
    font-size: 0.85rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.footer-col ul a:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.footer-contact a {
    color: var(--color-text-secondary);
    opacity: 0.7;
}
.footer-contact a:hover {
    color: var(--color-text-primary);
}
.footer-divider {
    opacity: 0.2;
}

.footer-compliance {
    font-weight: 500;
    color: var(--color-accent);
    font-size: 0.8rem;
}

.footer-risk {
    opacity: 0.4;
    max-width: 600px;
    margin: 0.4rem auto;
    font-size: 0.7rem;
}

.footer-copy {
    opacity: 0.3;
    margin-top: 0.5rem;
    font-size: 0.7rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ==============================================================
   PAGE-SPECIFIC STYLES
============================================================== */

/* --- KYIP --- */
.kyip-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--color-surface-elevated);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}
.form-step {
    display: none;
    animation: fadeStep 0.3s ease;
}
.form-step.active {
    display: block;
}
@keyframes fadeStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-family: var(--font-sans);
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}
.form-group .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group .radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    color: var(--color-text-primary);
    cursor: pointer;
}
.step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}
.kyip-results {
    text-align: center;
    padding: 1rem 0;
}
.result-profile {
    font-size: 2rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-accent);
    margin: 0.5rem 0;
}
.result-disclaimer {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    background: var(--color-accent-dim);
    padding: 1rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}
.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* --- Services Hub --- */
.service-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
}
.service-item:last-child {
    border-bottom: 0;
}
.service-item .service-icon {
    font-size: 2rem;
    line-height: 1;
}
.service-item h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
}
.service-item h2 a {
    color: var(--color-text-primary);
}
.service-item h2 a:hover {
    color: var(--color-accent);
}
.service-item p {
    color: var(--color-text-secondary);
}
.service-item .service-link {
    color: var(--color-accent);
    font-weight: 500;
}
.service-item .service-link:hover {
    opacity: 0.7;
}

/* --- Service Detail --- */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}
.service-detail-content h2 {
    margin-top: 1.5rem;
}
.service-detail-content ul {
    list-style: none;
    padding: 0;
}
.service-detail-content ul li {
    padding: 0.3rem 0;
    color: var(--color-text-secondary);
}
.service-detail-content ul li::before {
    content: "◆";
    color: var(--color-accent);
    margin-right: 0.5rem;
}
.sidebar-card {
    background: var(--color-surface-elevated);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}
.sidebar-card hr {
    border-color: var(--color-border);
    margin: 1rem 0;
}
.sidebar-card .sidebar-icon {
    font-size: 2rem;
    text-align: center;
}
.sidebar-card h3 {
    text-align: center;
}
.sidebar-card p {
    color: var(--color-text-secondary);
    text-align: center;
}
.service-detail-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.service-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}
.service-note a {
    color: var(--color-accent);
}
@media (max-width: 768px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Insights Hub --- */
.insights-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.insight-card-full {
    background: var(--color-surface-elevated);
    padding: 1.8rem;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    transition: all 0.35s ease;
}
.insight-card-full:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.insight-card-full .insight-tag {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    padding: 0.12rem 0.7rem;
    border-radius: 40px;
    margin-bottom: 0.4rem;
    border: 1px solid rgba(184, 150, 58, 0.08);
}
.insight-card-full h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}
.insight-card-full h2 a {
    color: var(--color-text-primary);
    transition: color 0.2s;
}
.insight-card-full h2 a:hover {
    color: var(--color-accent);
}
.insight-card-full p {
    color: var(--color-text-secondary);
    margin-bottom: 0.6rem;
}
@media (max-width: 768px) {
    .insights-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Article --- */
.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}
.article-body .insight-tag {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    padding: 0.12rem 0.7rem;
    border-radius: 40px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(184, 150, 58, 0.08);
}
.article-body h1 {
    margin-bottom: 0.3rem;
}
.article-meta {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.article-body p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}
.article-body h2 {
    margin-top: 2rem;
    font-family: var(--font-serif);
}
.article-body ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--color-text-secondary);
}
.article-body ul li {
    margin-bottom: 0.5rem;
}
.article-cta-box {
    background: var(--color-surface-elevated);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2.5rem;
    border: 1px solid var(--color-border);
}
.article-cta-box .btn {
    margin: 0.5rem;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}
.contact-method:last-child {
    border-bottom: 0;
}
.contact-method .contact-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.contact-method h3 {
    font-family: var(--font-serif);
    margin-bottom: 0.2rem;
}
.contact-method p {
    color: var(--color-text-secondary);
}
.contact-method a {
    color: var(--color-accent);
}
.contact-form-box {
    background: var(--color-surface-elevated);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}
.contact-form-box .form-group {
    margin-bottom: 1rem;
}
.contact-form-box label {
    display: block;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 0.2rem;
}
.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-family: var(--font-sans);
}
.contact-form-box input:focus,
.contact-form-box textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
.contact-form-box button {
    width: 100%;
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Book a Call --- */
.cal-embed {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    background: var(--color-surface-elevated);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}
.cal-placeholder {
    background: var(--color-bg);
    padding: 3rem 1rem;
    border-radius: 12px;
    border: 1px dashed var(--color-border);
    text-align: center;
    color: var(--color-text-secondary);
}
.booking-expect {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-surface-elevated);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}
.booking-expect h3 {
    font-family: var(--font-serif);
    margin-bottom: 1rem;
}
.booking-expect ul {
    list-style: none;
    padding: 0;
}
.booking-expect ul li {
    padding: 0.4rem 0;
    color: var(--color-text-secondary);
}
.booking-expect ul li::before {
    content: "◆";
    color: var(--color-accent);
    margin-right: 0.5rem;
}

/* --- Invest Redirect --- */
.invest-interstitial {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    text-align: center;
    padding: 2rem;
}
.invest-content {
    max-width: 500px;
}
.invest-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2.4rem;
}
.invest-logos .creso {
    color: var(--color-accent);
}
.invest-logos .plus {
    color: var(--color-text-secondary);
    font-size: 1.6rem;
}
.loader {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin: 1.5rem 0;
}
.loader-dot {
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: bounce 1.4s infinite both;
}
.loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}
.loader-dot:nth-child(2) {
    animation-delay: -0.16s;
}
@keyframes bounce {
    0%,
    80%,
    100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
.invest-note {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

/* --- Legal Pages --- */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
.legal-page h1 {
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
}
.legal-page h2 {
    margin-top: 2rem;
    font-family: var(--font-serif);
}
.legal-page p,
.legal-page ul {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-page ul {
    padding-left: 1.5rem;
}
.legal-page a {
    color: var(--color-accent);
}

/* --- About Page Specific --- */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.founder-photo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.founder-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-dim), transparent 60%);
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.founder-photo-wrapper:hover::before {
    opacity: 0.6;
}

.founder-photo-wrapper img {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--color-border);
    background: var(--color-surface);
    transition: border-color 0.4s ease, transform 0.4s ease;
    position: relative;
    z-index: 2;
    filter: grayscale(0.1);
}

.founder-photo-wrapper img:hover {
    border-color: var(--color-accent);
    transform: scale(1.02);
    filter: grayscale(0);
}

.founder-bio .badge-founder {
    display: inline-block;
    background: var(--color-accent-dim);
    color: var(--color-accent);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    text-transform: uppercase;
    border: 1px solid rgba(184, 150, 58, 0.15);
    margin-bottom: 0.8rem;
}

.founder-bio .title-role {
    color: var(--color-accent);
    font-weight: 400;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.06em;
    opacity: 0.8;
}

.founder-bio .credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin: 1.8rem 0;
    padding: 1.2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.founder-bio .credentials span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.founder-bio .credentials span .dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .founder-photo-wrapper img {
        max-width: 200px;
    }
    .founder-bio .credentials {
        justify-content: center;
    }
    .founder-bio .btn-group {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .founder-photo-wrapper img {
        max-width: 160px;
    }
}
/* ==============================================================
   FOOTER — Digital Partner & Refinements
============================================================== */
.footer-partner {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.partner-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-secondary);
    opacity: 0.5;
    font-weight: 500;
}

.partner-logo {
    max-height: 32px;
    width: auto;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Ensure footer contact stays consistent */
.footer-contact a {
    color: var(--color-text-secondary);
    opacity: 0.8;
    transition: color 0.2s;
}
.footer-contact a:hover {
    color: var(--color-text-primary);
    opacity: 1;
}