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

:root {
    /* Colors - Caser Brand */
    --color-primary: #FF8C00;
    /* Orange for CTAs */
    --color-primary-dark: #E67E00;
    /* Darker orange for hover */
    --color-primary-light: #FFF4E6;
    /* Light orange background */
    --color-brand: #006B7D;
    /* Teal for logo and branding */
    --color-brand-dark: #005766;

    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;
    --color-whatsapp: #25D366;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Spacing */
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-focus: 0 0 0 3px rgba(255, 140, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--color-gray-600);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.container-md {
    max-width: 768px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    color: var(--color-gray-900);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-2xl);
}

h3 {
    font-size: var(--text-xl);
}

@media (min-width: 768px) {
    h1 {
        font-size: var(--text-5xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }
}

/* Sticky Top Bar */
.sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: var(--space-2) 0;
    height: auto;
    min-height: 50px;
}

.sticky-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.sticky-bar-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sticky-bar-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray-800);
}

.sticky-bar-mediator {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    display: block;
}

.sticky-bar-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Redesigned Top Buttons */
.btn-top-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.btn-top-call {
    background: var(--color-primary-light);
    color: var(--color-primary);
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.btn-top-call:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.05);
}

.btn-top-fb {
    background: #EBF5FF;
    /* Light blue */
    color: #1877F2;
    border: 1px solid rgba(24, 119, 242, 0.2);
}

.btn-top-fb:hover {
    background: #1877F2;
    color: white;
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .sticky-bar {
        padding: 6px 0;
    }

    .sticky-bar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-2);
    }

    .sticky-bar-info {
        flex: 1;
        align-items: flex-start;
        max-width: 65%;
    }

    .sticky-bar-text {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .sticky-bar-text strong {
        display: block;
        /* Phone number on new line if tight */
        font-size: 0.8rem;
    }

    .sticky-bar-mediator {
        display: block;
        /* Show in mobile as requested */
        font-size: 0.6rem;
        color: var(--color-gray-500);
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }

    .sticky-bar-actions {
        flex-shrink: 0;
    }

    .btn-top-action {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Header */
.header {
    padding: var(--space-3) 0;
    margin-top: 60px;
    /* Space for sticky bar */
    transition: all 0.3s ease;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-100);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.nav-brand a {
    display: flex;
    /* Remove bottom space from anchor */
    text-decoration: none;
}

.nav-brand img {
    height: 70px;
    /* Slight increase for better visibility */
    width: auto;
    max-width: 400px;
    /* Full width allowed */
    object-fit: contain;
}

@media (max-width: 767px) {
    .header {
        margin-top: 50px;
        /* Adjusted storage for mobile sticky bar */
        padding: var(--space-2) 0;
    }

    .nav-brand img {
        height: 44px;
        /* Balanced height for mobile */
        max-width: 280px;
        /* Ensure wide logo fits */
    }
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--space-6);
    align-items: center;
}

.nav-link {
    color: var(--color-gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all 200ms ease;
}

.nav-link:hover {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-gray-800);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }

    .hamburger {
        display: none;
    }
}

/* Mobile Menu Premium Redesign */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: var(--space-8);
    z-index: 998;
    /* Just below hamburger */
    overflow-y: hidden;
    /* Prevent scrolling background */
    gap: 2rem;
    animation: fadeIn 0.3s ease-out forwards;
}

/* Bigger, nicer links for mobile */
.nav-menu.active .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-900);
    padding: 0.5rem 1rem;
}

.nav-menu.active .nav-link:hover {
    color: var(--color-primary);
    background: transparent;
    transform: scale(1.05);
}

/* CTA in mobile menu */
.nav-menu.active .nav-cta .btn {
    font-size: 1.25rem;
    padding: 1rem 2rem;
    box-shadow: 0 10px 20px rgba(0, 168, 89, 0.2);
}

/* Hamburger Icon Premium Animation */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 999;
    /* Always on top */
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hamburger span {
    width: 28px;
    /* Slightly wider */
    height: 3px;
    /* Slightly thicker */
    background: var(--color-gray-900);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* The X Transformation */
.hamburger.active {
    transform: rotate(90deg);
    /* Rotate the whole button */
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--color-primary);
    /* Change color on active */
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
    /* Fly out effect */
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--color-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Stagger animation for menu items */
.nav-menu.active li {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.4s ease forwards;
}

.nav-menu.active li:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-menu.active li:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-menu.active li:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-menu.active li:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-menu.active li:nth-child(5) {
    animation-delay: 0.5s;
}

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

/* Sections */
.section {
    padding: var(--space-16) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-24) 0;
    }
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    margin-bottom: var(--space-8);
}

.bg-white {
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
    position: relative;
}

.bg-white::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 107, 125, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bg-gray {
    background-color: var(--color-gray-50);
    background-image: radial-gradient(circle, #E5E7EB 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.bg-primary {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B35 50%, #006B7D 100%);
    position: relative;
    overflow: hidden;
}

.bg-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

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

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

.text-white {
    color: var(--color-white);
}

.text-white h2,
.text-white p {
    color: var(--color-white);
}

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

/* Ensure content is above decorative elements */
.bg-white>.container,
.bg-primary>.container {
    position: relative;
    z-index: 1;
}

/* Hero */
/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(255, 244, 230, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(230, 247, 249, 0.9) 100%),
        url('assets/images/family-hero.png');
    background-size: cover;
    background-position: center 20%;
    position: relative;
    overflow: hidden;
}

/* Category Specific Hero Modifiers */
.hero-senior {
    background: linear-gradient(135deg, rgba(255, 244, 230, 0.90) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(230, 247, 249, 0.85) 100%),
        url('assets/images/hero-senior.png');
    background-size: cover;
    background-position: center 30%;
}

.hero-life {
    background: linear-gradient(135deg, rgba(255, 244, 230, 0.90) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(230, 247, 249, 0.85) 100%),
        url('assets/images/hero-life.png');
    background-size: cover;
    background-position: center 30%;
}

.hero-business {
    background: linear-gradient(135deg, rgba(255, 244, 230, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(230, 247, 249, 0.9) 100%),
        url('assets/images/hero-business.png');
    background-size: cover;
    background-position: center 20%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 107, 125, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: var(--space-4);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-700);
    margin-bottom: var(--space-6);
}

.hero-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.hero-benefits li {
    font-size: var(--text-base);
    color: var(--color-gray-600);
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Hero Form */
.hero-form-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 140, 0, 0.1);
    position: relative;
    z-index: 10;
}

.hero-form-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-brand));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.3;
    z-index: -1;
}

.hero-form-box>* {
    position: relative;
    z-index: 1;
}

.form-title {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: var(--space-6);
    font-size: var(--text-xl);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
}

.input-text,
.input-select {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: var(--text-base);
    font-family: inherit;
    color: var(--color-gray-800);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    transition: all 200ms ease;
    position: relative;
    z-index: 2;
}

.input-text:focus,
.input-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}

.input-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234B5563' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    cursor: pointer;
}

.input-checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}

.checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form-error {
    display: block;
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: #EF4444;
}

.form-trust {
    display: flex;
    justify-content: space-around;
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-gray-200);
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}

/* Form Success */
.form-success {
    text-align: center;
    padding: var(--space-8);
}

.form-success.hidden {
    display: none;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.form-success h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 200ms ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

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

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

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

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

.btn-secondary:hover {
    background: var(--color-primary-light);
}

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

.btn-white:hover {
    background: var(--color-gray-100);
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    height: 40px;
    padding: 0 20px;
    font-size: var(--text-sm);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
    font-size: 20px;
}

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

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

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

.btn-whatsapp:hover {
    background: var(--color-whatsapp);
    color: white;
}

.btn-facebook {
    background: transparent;
    color: #1877F2;
    border: 2px solid #1877F2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-facebook:hover {
    background: #1877F2;
    color: white;
}

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

.btn-text {
    background: none;
    color: var(--color-primary);
    text-decoration: underline;
    height: auto;
    padding: 0;
}

@media (max-width: 767px) {
    .btn {
        height: 56px;
    }
}

/* Tabs */
.tabs {
    margin-top: var(--space-8);
}

.tab-buttons {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    border-bottom: 2px solid var(--color-gray-200);
}

.tab-button {
    flex: 1;
    padding: var(--space-4);
    background: none;
    border: none;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-gray-600);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 200ms ease;
}

.tab-button.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.tab-actions {
    display: flex;
    gap: var(--space-4);
}

@media (max-width: 767px) {
    .tab-actions {
        flex-direction: column;
    }
}

/* Cards Grid */
.cards-grid {
    display: grid;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

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

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

.card {
    background: var(--color-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 300ms ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-brand));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 300ms ease;
}

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

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 48px;
    margin-bottom: var(--space-4);
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.card-subtitle {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-700);
    margin-top: var(--space-3);
    margin-bottom: var(--space-2);
}

.card-text {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    margin-bottom: var(--space-3);
}

.card-list {
    list-style: none;
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    flex: 1;
}

.card-list li {
    margin-bottom: var(--space-2);
}

.card-footer {
    display: flex;
    gap: var(--space-3);
    margin-top: auto;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    gap: var(--space-8);
    margin-top: var(--space-8);
}

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

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

.benefit-icon {
    font-size: 48px;
    margin-bottom: var(--space-4);
}

.benefit-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.benefit-text {
    color: var(--color-gray-600);
}

/* Steps */
.steps {
    display: grid;
    gap: var(--space-6);
    margin-top: var(--space-8);
    align-items: center;
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: 700;
}

.step-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.step-text {
    color: var(--color-gray-600);
}

.step-arrow {
    font-size: var(--text-3xl);
    color: var(--color-primary);
    display: none;
}

@media (min-width: 1024px) {
    .step-arrow {
        display: block;
    }
}

/* Accordion */
.accordion {
    border-top: 1px solid var(--color-gray-200);
}

.accordion-item {
    border-bottom: 1px solid var(--color-gray-200);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) 0;
    background: none;
    border: none;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-gray-800);
    text-align: left;
    cursor: pointer;
    transition: color 200ms ease;
}

.accordion-header:hover {
    color: var(--color-primary);
}

.accordion-icon {
    font-size: 16px;
    color: var(--color-gray-500);
    transition: transform 300ms ease;
}

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

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding-bottom: var(--space-5);
    color: var(--color-gray-600);
}

/* Transparency Box */
.transparency-box {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-primary-light);
}

.transparency-title {
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.transparency-box p {
    margin-bottom: var(--space-4);
}

.mediator-data {
    margin: var(--space-8) 0;
    padding: var(--space-6);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
}

.mediator-data h4 {
    margin-bottom: var(--space-4);
    color: var(--color-gray-800);
}

.data-grid {
    display: grid;
    gap: var(--space-4);
}

.data-item {
    font-size: var(--text-sm);
}

.data-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.data-item a:hover {
    text-decoration: underline;
}

.pending {
    color: #F59E0B;
    font-weight: 500;
}

.legal-links {
    margin-top: var(--space-6);
    font-size: var(--text-sm);
}

.legal-links a {
    color: var(--color-primary);
    text-decoration: none;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-6);
}

/* Footer */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-300);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

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

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

.footer-title {
    color: var(--color-white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-links a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color 200ms ease;
}

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

.footer p {
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
}

.footer a {
    color: var(--color-gray-400);
    text-decoration: none;
}

.footer a:hover {
    color: var(--color-white);
}

.social-link {
    display: inline-block;
    margin-right: var(--space-4);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-gray-700);
    font-size: var(--text-sm);
}

/* WhatsApp Float */
/* Extended WhatsApp Floating Button - Ultra Striking */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: scale(1.1);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #2cfc7d 0%, #128C7E 100%);
}

.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Pulsing effect to catch attention */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

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

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: var(--space-4);
}

.cookie-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* Utilities */
.hidden {
    display: none;
}

@media (max-width: 767px) {
    .cookie-buttons {
        flex-direction: column;
    }
}

/* Mobile Safety Constraints */
@media (max-width: 767px) {
    .container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
        width: 100%;
        overflow-wrap: break-word;
    }

    .hero-title {
        font-size: 2.2rem;
        /* Prevent massive text overflow */
        padding-right: 0;
    }

    .section {
        overflow-x: hidden;
        /* Prevent horizontal scroll */
    }
}

/* Form Grid System */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

@media (max-width: 480px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}