/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

:root {
    /* Acorn-inspired Color Palette */
    --primary-700: #0b3a6e;      /* navy header */
    --primary-600: #124a8a;      /* primary blue */
    --primary-100: #e9f2ff;      /* light blue backgrounds */
    --accent-500: #ffcc33;       /* yellow highlights */
    --neutral-900: #0f172a;      /* dark text */
    --neutral-700: #334155;      /* secondary text */
    --neutral-200: #e5e7eb;      /* borders/separators */
    --neutral-50: #f8fafc;       /* light backgrounds */
    --success-600: #16a34a;      /* success badges */

    /* Computed/Helper Variables */
    --primary-600-hover: #0d3d6f;
    --bg: #FFFFFF;
    --surface: var(--neutral-50);
    --border: var(--neutral-200);
    --text: var(--neutral-900);
    --muted: var(--neutral-700);

    --radius: 18px;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .05);
    --shadow-md: 0 12px 28px rgba(0, 0, 0, .10);

    /* Legacy color mappings for backward compatibility */
    --color-primary-700: var(--primary-700);
    --color-primary-600: var(--primary-600);
    --color-primary-700-hover: var(--primary-600-hover);
    --color-bg: var(--bg);
    --color-surface: var(--surface);
    --color-border: var(--border);
    --color-text: var(--text);
    --color-text-muted: var(--muted);
    --color-accent-warm: var(--accent-500);
    --color-accent-sage: var(--success-600);

    --success: var(--success-600);
    --alert: #f97316;

    --primary: var(--primary-600);
    --primary-dark: var(--primary-700);
    --primary-light: var(--primary-100);
    --text-primary: var(--text);
    --text-secondary: var(--muted);
    --text-tertiary: var(--neutral-700);
    --bg-primary: var(--bg);
    --bg-secondary: var(--surface);
    --bg-dark: var(--primary-700);
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);

    /* Spacing Scale */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 72px;

    /* Typography - Montserrat for headings, Inter for body */
    --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-sans: var(--font-body);
    --font-size-base: 16px;
    --line-height-base: 1.5;
    --line-height-relaxed: 1.55;

    /* Shadows Enhanced */
    --shadow-primary: 0 8px 20px rgba(11, 58, 110, .20);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;

    /* Header */
    --header-height: 80px;
}

/* GREEN THEME - Optional override (apply class="theme--green" to <html> or <body>) */
.theme--green {
    --color-primary-700: #205E52;
    --color-primary-600: #2E7D6A;
    --color-primary-700-hover: #236C5C;
    --shadow-primary: 0 8px 20px rgba(46, 125, 106, 0.3);
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(16px, 3vw, 24px);
}

/* Typography - Acorn-inspired with Montserrat headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-700);
}

h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin: 0 0 12px;
}

h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: #2563eb;
    text-align: center;
    margin: 0 0 3rem;
    position: relative;
    line-height: 1.2;
    padding-bottom: 1.25rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #2563eb;
    margin: 1rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: clamp(18px, 2.5vw, 24px);
    margin: 24px 0 12px;
}

.lead {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 24px;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary-600);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-primary-700-hover);
    text-decoration: underline;
}

/* Global Focus Visible - WCAG AA */
:focus-visible {
    outline: 3px solid var(--primary-600);
    outline-offset: 2px;
}

a:focus-visible {
    outline: 2px solid var(--color-primary-600);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Sections */
.section {
    padding: clamp(32px, 6vw, 72px) 0;
}

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

/* Grid & Cards */
.grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--color-primary-600);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(31, 111, 178, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-700-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    text-decoration: none;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--color-primary-600);
    outline-offset: 2px;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-surface);
    border-color: var(--color-primary-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:focus-visible {
    outline: 2px solid var(--color-primary-600);
    outline-offset: 2px;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary-600);
    border: 2px solid var(--color-primary-600);
}

.btn-outline:hover {
    background-color: var(--color-primary-600);
    color: #FFFFFF;
    border-color: var(--color-primary-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    text-decoration: none;
}

.btn-outline:focus-visible {
    outline: 2px solid var(--color-primary-600);
    outline-offset: 2px;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .btn-large {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.4;
    }
}

/* UX Enhanced Buttons */
.btn--primary {
    background: var(--primary-600);
    color: #fff;
    box-shadow: 0 8px 20px rgba(31, 111, 178, .25);
}

.btn--primary:hover,
.btn--primary:focus {
    background: var(--primary-600-hover);
    transform: translateY(-1px);
}

/* Form Styles - UX Refined */
.form {
    display: grid;
    gap: 14px;
    max-width: 560px;
}

.input,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    transition: border 0.15s, box-shadow 0.15s;
}

.input:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(31, 111, 178, .16);
    outline: none;
}

.help {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.error {
    color: #B00020;
    font-size: 13px;
    margin-top: 4px;
}

/* Sticky CTA Mobile */
.sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    display: none;
}

@media (max-width: 767px) {
    .sticky-cta {
        display: block;
    }
}

.sticky-cta .btn {
    width: 100%;
}

/* FAQ - Details/Summary */
.faq details {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    background: #fff;
    margin-bottom: 10px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq details[open] summary {
    color: var(--primary-600);
    margin-bottom: 10px;
}

.faq p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

/* Images - Responsive */
img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.hero img {
    box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
}

/* Header Simple - Logo + Brand + Quiz Button */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-wrapper {
        height: var(--header-height);
    }
}

/* Logo + Brand Name (left) */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-brand-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-700);
    white-space: nowrap;
}

@media (min-width: 640px) {
    .header-brand-name {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .header-brand-name {
        font-size: 1.5rem;
    }
}

/* Header Quiz Button - Hidden on mobile, visible on tablet+ */
.header-wrapper .btn {
    display: none;
}

@media (min-width: 640px) {
    .header-wrapper .btn {
        display: inline-flex;
        font-size: 1rem;
        font-weight: 600;
        padding: 0.75rem 1.5rem;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(18, 74, 138, 0.25);
    }
}

@media (min-width: 768px) {
    .header-wrapper .btn {
        font-size: 1.05rem;
        padding: 0.8rem 1.75rem;
    }
}

.btn-call svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .header-contact {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .header-content {
        gap: var(--spacing-xl);
    }

    .header-right {
        gap: var(--spacing-lg);
    }

    .header-cta .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 5rem 0;
        min-height: 700px;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('images/Stairlift_in_modern_home_7b73b9a6.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.75) 40%,
            rgba(0, 0, 0, 0.4) 70%,
            rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

@media (max-width: 767px) {
    .hero-overlay {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.75) 50%,
                rgba(0, 0, 0, 0.85) 100%);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .hero-content {
        gap: 2rem;
    }
}

@media (min-width: 968px) {
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem;
        min-height: calc(100vh - 100px);
    }
}

.hero-text {
    text-align: center;
    color: white;
}

.hero-text .trust-indicators {
    display: none;
}

@media (min-width: 968px) {
    .hero-text {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    
    .hero-text .trust-indicators {
        display: flex;
    }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: -3rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@media (min-width: 768px) {
    .hero-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1.25rem;
        margin-top: 0;
        animation: none;
    }
}

/* Hero Aid Banner - Financial Assistance */
.hero-aid-banner {
    display: inline-block;
    background: linear-gradient(135deg, #ffcc33 0%, #ffa500 100%);
    color: #0b3a6e;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: -3rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 204, 51, 0.5);
    animation: glow 3s ease-in-out infinite;
    line-height: 1.6;
    text-align: center;
}

.hero-aid-banner strong {
    font-weight: 800;
    font-size: 1.15em;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(255, 204, 51, 0.5);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 204, 51, 0.7);
    }
}

@media (min-width: 768px) {
    .hero-aid-banner {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        margin-top: 0;
        animation: glow 3s ease-in-out infinite;
    }
}

.hero h1 {
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 800;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        font-weight: 700;
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.15rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
}

.trust-indicators-wrapper {
    width: 100%;
    margin-top: 1.5rem;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .trust-indicators {
        gap: 1.5rem;
    }
    
    .trust-indicators-wrapper {
        margin-top: 2.5rem;
    }
}

@media (min-width: 968px) {
    .trust-indicators-wrapper {
        display: none;
    }
    
    .hero-text .trust-indicators {
        display: flex;
        margin-top: 1.5rem;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: #ffffff !important;
    font-size: 1.04rem !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    line-height: 1.3 !important;
}

@media (min-width: 768px) {
    .trust-item {
        font-size: 2rem !important;
        font-weight: 700 !important;
        background: transparent;
        padding: 0;
        border: none;
        backdrop-filter: none;
    }
}

@media (min-width: 968px) {
    .trust-item {
        justify-content: flex-start;
        font-size: 2.25rem !important;
    }
}

.trust-item span {
    color: #ffffff !important;
    font-size: 1.04rem !important;
    line-height: 1.3 !important;
}

.trust-item svg {
    color: #ffffff !important;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    width: 19px !important;
    height: 19px !important;
    align-self: center;
}

@media (min-width: 768px) {
    .trust-item svg {
        width: 40px;
        height: 40px;
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6));
    }
}

.hero-form-wrapper {
    display: flex;
    justify-content: center;
}

@media (min-width: 968px) {
    .hero-form-wrapper {
        order: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

.hero-form-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 500px;
    position: relative;
}

@media (min-width: 768px) {
    .hero-form-card {
        padding: 0;
    }
}

.hero-form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .hero-form-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}

.hero-form-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .hero-form-options {
        gap: 1rem;
    }
}

.hero-option-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 160px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .hero-option-card {
        padding: 2rem 1.25rem;
        border-radius: 24px;
        gap: 1.25rem;
        min-height: auto;
    }
}

.hero-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 1;
    transition: all 0.35s ease;
    z-index: 0;
}

.hero-option-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(37, 99, 235, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.hero-option-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.18);
}

.hero-option-card:hover::before {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.hero-option-card:hover::after {
    opacity: 1;
}

.hero-option-card:active {
    transform: translateY(-3px) scale(1.01);
}

.hero-option-icon {
    position: relative;
    z-index: 1;
    color: var(--color-primary-600);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
}

.hero-option-card:hover .hero-option-icon {
    transform: scale(1.15) translateY(-4px);
    color: #2563eb;
    filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.35));
}

.hero-option-icon svg {
    display: block;
    width: 56px;
    height: 56px;
}

@media (min-width: 768px) {
    .hero-option-icon svg {
        width: 64px;
        height: 64px;
    }
}

.hero-option-label {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.35s ease;
}

@media (min-width: 768px) {
    .hero-option-label {
        font-size: 1.15rem;
    }
}

.hero-option-card:hover .hero-option-label {
    color: #1e40af;
    transform: scale(1.05);
}

/* Benefits Section */
.benefits {
    padding: 2.5rem 0;
    background-color: var(--bg-primary);
}

@media (min-width: 768px) {
    .benefits {
        padding: var(--spacing-2xl) 0;
    }
}


.benefits-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s;
    z-index: 0;
}

.benefit-card[data-bg="technician"]::before {
    background-image: url('images/technician-bg.jpg');
}

.benefit-card[data-bg="certified"]::before {
    background-image: url('images/certified-bg.jpg');
}

.benefit-card[data-bg="financing"]::before {
    background-image: url('images/financing-bg.jpg');
}

.benefit-card[data-bg="service"]::before {
    background-image: url('images/service-bg.jpg');
}

.benefit-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
    transition: opacity 0.3s;
}

.benefit-card-content {
    position: relative;
    z-index: 2;
    color: white;
}

.benefit-card-content h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    margin-bottom: var(--spacing-md);
}

.benefit-card-content p {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 1);
}

@media (min-width: 768px) {
    .benefit-card-content p {
        font-size: 1.15rem;
    }
}

.benefit-card:hover::before {
    transform: scale(1.05);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.benefit-icon {
    display: none;
}

.benefit-kpi {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-500);
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 1);
}

.benefit-kpi-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.benefit-card-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: left;
}

.benefit-card-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.benefit-card-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-500);
    font-weight: bold;
}

.benefits-legal-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Financing cards compact style */
.financing .benefit-card {
    min-height: 240px;
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
    border: 2px solid var(--primary-600);
    padding: var(--spacing-md);
}

.financing .benefit-card::before {
    display: none;
}

.financing .benefit-card-overlay {
    display: none;
}

.financing .benefit-kpi {
    font-size: 3rem;
    text-shadow: none;
    color: var(--accent-500);
}

.financing .benefit-kpi-label {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.financing .benefit-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .financing .benefit-card-content h3 {
        height: 3rem;
        display: block;
    }
}

.financing .benefit-card-content p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    text-shadow: none;
}

.financing .benefit-card-content ul {
    margin-top: 0.5rem;
}

.financing .benefit-card-content ul li {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.financing .benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-500);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--bg-secondary);
}

@media (min-width: 768px) {
    .cta-section {
        padding: var(--spacing-xl) 0;
    }
}

/* Process Section */
.process {
    padding: 2.5rem 0;
    background-color: var(--bg-primary);
}

@media (min-width: 768px) {
    .process {
        padding: var(--spacing-2xl) 0;
    }
}

.process h2 {
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .process h2 {
        margin-bottom: var(--spacing-xl);
    }
}

.process-steps {
    display: grid;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

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

@media (min-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-md);
    }
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
    transition: all 0.3s;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.4);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Financing Section */
.financing {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .financing {
        padding: 5rem 0;
    }
}

.financing-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.financing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .financing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .financing-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.financing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.financing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.financing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

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

.financing-card-primary {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
}

.financing-card-primary::before {
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
    transform: scaleX(1);
}

.financing-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.financing-card:hover .financing-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.financing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.financing-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.financing-highlight {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.financing-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.financing-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.financing-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.financing-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.financing-benefits li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.financing-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.financing-benefits li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.financing-footer {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.financing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.financing-note svg {
    flex-shrink: 0;
    color: #3b82f6;
}

.financing-cta {
    text-align: center;
    padding: 0 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

@media (max-width: 640px) {
    .btn-lg {
        white-space: normal;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 50%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (min-width: 768px) {
    .testimonials {
        padding: 5rem 0;
    }
}


.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    padding: 2rem;
    border-radius: 24px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(59, 130, 246, 0.08);
    line-height: 1;
    z-index: 0;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 48px rgba(59, 130, 246, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.testimonial-card:hover::before {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.stars {
    color: #fbbf24;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
    transition: all 0.3s ease;
}

.testimonial-card:hover .stars {
    transform: scale(1.1);
    letter-spacing: 3px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    flex-grow: 1;
}

.testimonial-card:hover .testimonial-text {
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(59, 130, 246, 0.1);
    margin-top: auto;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.author-location {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.author-location::before {
    content: '📍';
    font-size: 0.85rem;
}

.trust-badge {
    text-align: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid #f59e0b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
    position: relative;
    overflow: hidden;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.trust-badge-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.trust-badge .star-icon {
    color: #f59e0b;
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
}

@media (min-width: 768px) {
    .trust-badge .star-icon {
        width: 36px;
        height: 36px;
    }
}

.trust-badge .rating-number {
    font-size: 2rem;
    font-weight: 800;
    color: #92400e;
    line-height: 1;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .trust-badge .rating-number {
        font-size: 2.5rem;
    }
}

.trust-badge .rating-max {
    font-size: 1.25rem;
    font-weight: 600;
    color: #78350f;
    line-height: 1;
}

@media (min-width: 768px) {
    .trust-badge .rating-max {
        font-size: 1.5rem;
    }
}

.trust-badge-text {
    font-size: 0.875rem;
    color: #78350f;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .trust-badge-text {
        font-size: 0.95rem;
    }
}

/* FAQ Section */
.faq {
    padding: 2.5rem 0;
    background-color: var(--bg-secondary);
}

@media (min-width: 768px) {
    .faq {
        padding: var(--spacing-2xl) 0;
    }
}


.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: var(--spacing-md);
}

.faq-cta-desktop {
    display: none;
    text-align: center;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .faq-cta-desktop {
        display: block;
    }
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #e5e7eb;
    padding: 2rem 0;
}

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

.footer-simple h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: #e5e7eb;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-top: var(--spacing-md);
}

/* Sticky Mobile CTA */
.mobile-cta {
    display: flex;
    gap: var(--spacing-sm);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-sm);
    background-color: white;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 90;
}

@media (min-width: 768px) {
    .mobile-cta {
        display: none;
    }
}

.mobile-cta .btn {
    flex: 1;
}

.mobile-cta-centered {
    justify-content: center;
    padding: var(--spacing-md);
}

.mobile-cta-centered .btn {
    flex: 0 1 auto;
    min-width: 280px;
    max-width: 400px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 600px;
    width: 100%;
    position: relative;
    margin: auto;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Form Modal */
.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    transform: translateY(-1px);
}

.field-hint {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: var(--spacing-xs);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.radio-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.radio-option > * {
    position: relative;
    z-index: 1;
}

.radio-option:hover {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px) scale(1.01);
}

.radio-option:hover::before {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.radio-option input[type="radio"] {
    margin-right: 1rem;
    cursor: pointer;
    width: 22px;
    height: 22px;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked+.radio-label {
    color: #1e40af;
    font-weight: 700;
}

.radio-option:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.2), 0 0 0 3px rgba(59, 130, 246, 0.25);
    transform: scale(1.02);
}

.radio-option:has(input[type="radio"]:checked)::before {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.consent-group {
    margin-bottom: var(--spacing-lg);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: var(--spacing-sm);
    margin-top: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    font-size: 0.95rem;
    line-height: 1.6;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: none;
}

.error-message.active {
    display: block;
}

.form-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.form-buttons .btn {
    flex: 1;
}

@media (max-width: 767px) {
    .form-buttons .btn {
        font-size: 0.85rem;
        padding: 0.75rem 0.75rem;
        letter-spacing: 0.3px;
    }
}

/* Form Confirmation */
.form-confirmation {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--success);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto var(--spacing-lg);
}

.confirmation-cta {
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
}

@media (max-width: 767px) {
    .confirmation-cta .btn {
        width: 100%;
        max-width: 100%;
    }

    .confirmation-cta .btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}

/* Exit Intent Modal */
.exit-modal {
    max-width: 500px;
    text-align: center;
}

.exit-modal h3 {
    color: var(--alert);
}

.exit-modal form {
    margin-top: var(--spacing-lg);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid var(--border);
    padding: var(--spacing-md);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
}

#cookie-settings-link {
    text-decoration: underline;
}

/* Cookie Settings Modal */
.cookie-settings {
    max-width: 500px;
}

.cookie-option {
    margin-bottom: var(--spacing-lg);
}

.cookie-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.cookie-option input[type="checkbox"] {
    margin-right: var(--spacing-sm);
}

.cookie-description {
    margin-top: var(--spacing-xs);
    margin-left: 1.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    body {
        padding-bottom: 70px;
        /* Space for sticky mobile CTA */
    }
}