/* CSS Variables & Reset */
:root {
    --bg-dark: #0a0e14;
    /* Deep Navy/Black from texture */
    --bg-light: #f4f4f4;
    --text-main: #e0e0e0;
    --text-dark: #1a1a1a;
    --accent-silver: #b1b1b1;
    /* Luxury Silver / Platinum */
    --accent-blue: #3E5F8A;
    /* Muted Blue extracted/inspired by hero */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

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

/* Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('texture.png');
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: var(--spacing-sm);
    color: var(--accent-silver);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--accent-silver);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-main);
    line-height: 1.4;
    text-transform: none;
    /* Keep the subtitle fluid */
}

p {
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
    /* Regular */
    opacity: 0.9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid transparent;
    text-transform: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    background: transparent;
    transition: all 0.4s ease;
    margin-top: var(--spacing-sm);
    border-radius: 4px;
    /* Slight rounding for modern feel */
}

.btn-primary {
    border-color: var(--accent-silver);
    color: var(--accent-silver);
}

.btn-primary:hover {
    background-color: var(--accent-silver);
    color: var(--bg-dark);
}

.btn-outline {
    border-color: var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-dark);
}

.btn-dark {
    border-color: var(--bg-dark);
    color: var(--bg-dark);
}

.btn-dark:hover {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md) 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1005;
    /* Ensure above mobile menu */
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 14, 20, 0.95);
    padding: var(--spacing-sm) 5%;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-logo {
    height: 70px;
    transition: filter 0.3s ease;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 2001;
}

.text-logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    text-transform: none;
    color: var(--accent-silver);
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2001;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

.nav-links li a {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1.5px;
    opacity: 1;
    /* Removed opacity for better visibility */
    color: #ffffff;
    /* Pure white for strict contrast */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    /* Shadow to ensure it doesn't get lost on any bg */
}

.nav-links li a:hover {
    opacity: 1;
    color: var(--accent-silver);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    z-index: 2000;
    transition: 0.5s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    background-image: url('hero_main_2026.jpg');
    background-size: cover;
    background-position: top center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    text-align: right;
    padding-bottom: 15vh;
    padding-right: 5%;
    /* Align to right */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 14, 20, 0.3), rgba(10, 14, 20, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.hero-logo {
    width: 150px;
    margin-bottom: var(--spacing-md);
    filter: invert(1);
    /* Ensure it stands out if dark */
}

.hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

.service-section {
    padding: var(--spacing-xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.reverse {
    direction: rtl;
    /* simple way to reverse grid order visually */
}

.reverse>* {
    direction: ltr;
    /* reset text direction */
}

/* Sections Specifics */
.alt-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.alt-bg h3 {
    color: var(--text-dark);
}

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

.framed-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(0.9) contrast(1.1);
}

.abstract-composition {
    width: 100%;
    height: 500px;
    background: linear-gradient(45deg, var(--bg-dark), var(--accent-blue));
    position: relative;
}

.abstract-composition::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-silver);
    z-index: -1;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-silver), transparent);
    width: 80%;
    margin: 0 auto;
    opacity: 0.3;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
}



.contact-form {
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-silver);
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
    opacity: 1;
}

.footer-logo {
    width: 80px;
    margin-bottom: var(--spacing-sm);
    filter: invert(1);
}

.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: var(--spacing-sm);
}

.footer-link {
    color: var(--accent-silver);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.footer-link i {
    width: 20px;
    text-align: center;
}

.footer-link:hover {
    opacity: 0.8;
}

/* Animations */
.fade-in,
.fade-in-left,
.fade-in-right,
.fade-in-up {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in {
    transform: translateY(0);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.fade-in-up {
    transform: translateY(50px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 2002;
        /* Ensure above mobile menu bg */
    }

    .hamburger span {
        background-color: #f5f5f5;
        /* Match bright text */
        height: 3px;
        /* Slightly thicker */
    }

    .navbar {
        padding: 10px 5%;
        /* Smaller padding on mobile */
    }

    .nav-logo {
        height: 50px;
        /* Smaller logo on mobile */
    }

    .hero {
        align-items: flex-end;
        /* Push content to bottom */
        justify-content: center;
        /* Center horizontally */
        padding-bottom: 8vh;
        /* Slightly tighter space from bottom */
    }

    .hero-content {
        padding: 0 20px;
        /* Ensure text doesn't hit edges */
        padding-bottom: 0;
        text-align: center;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 12px;
        /* Better vertical spacing */
    }

    .btn {
        text-align: center;
        width: 100%;
        /* Full width buttons on mobile */
        padding: 14px 24px;
        /* More comfortable tap target */
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 0 10px;
    }

    .service-section {
        padding: var(--spacing-md) 0;
        /* Tighter vertical spacing */
    }

    /* Reset reverse on mobile to stack logically */
    .reverse {
        direction: ltr;
        display: flex;
        flex-direction: column;
    }

    .service-grid>.service-text {
        order: 2;
    }

    .service-grid>.service-image {
        order: 1;
        margin-bottom: 1.5rem;
    }

    /* Mobile Menu Styles Refinement */
    .mobile-menu {
        background-color: rgba(10, 14, 20, 0.98);
        /* Slightly transparent dark */
        backdrop-filter: blur(10px);
    }

    .mobile-menu a {
        color: #f5f5f5;
    }

    .close-menu {
        color: #f5f5f5;
        top: 20px;
        right: 25px;
    }

    h1 {
        font-size: 2.1rem;
        line-height: 1.2;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    }

    h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        /* Tighter title margin */
    }

    .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        /* Tighter subtitle margin */
    }

    .hero-tagline {
        font-size: 1.1rem;
        padding: 0 10px;
        line-height: 1.4;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Specific fix for index.html Real Estate section mobile contrast */
.real-estate-index .hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    /* Darker overlay for mobile */
}

.real-estate-index .section-title,
.real-estate-index .section-subtitle,
.real-estate-index p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Fixed 3 columns as requested */
    gap: var(--spacing-md);
    max-width: 1000px;
    /* Limit width to keep videos centered and nice sized */
    margin: 0 auto;
    /* Center the grid itself */
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 12px;
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
    }
}


.video-item {
    background: #000;
    /* Solid black for seamless iframe blending */
    padding: 10px;
    border: 1px solid rgba(177, 177, 177, 0.15);
    /* Slightly clearer silver border */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 0;
    /* Prevent grid blowout */
}

@media (max-width: 768px) {
    .video-item {
        padding: 6px;
        /* Compact frames on mobile */
    }

    .video-grid-container {
        padding: var(--spacing-sm) 0;
    }
}

/* REBUILT PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on desktop */
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    background: #000;
}

/* Ensure images fill the container */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 1.5rem;
        padding: 0 15px;
        /* Add breathing room on edges */
    }

    .portfolio-item {
        width: 100%;
        /* Take full available width of grid cell */
        aspect-ratio: 4 / 3;
        /* Standardize shape: nice rectangle */
        margin: 0;
    }

    /* Special handling for video containers inside portfolio items */
    .portfolio-item>div[style*="padding-bottom"] {
        padding-bottom: 75% !important;
        /* Force 4:3 ratio (75%) instead of 16:9 for uniformity if desired, or keep as is */
    }
}

.video-item:hover {
    transform: translateY(-5px);
    border-color: rgba(177, 177, 177, 0.4);
}

.video-wrapper-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    /* Vertical aspect ratio for xFrame content */
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1;
}


/* Removed overlay to match Real Estate page style */

.video-wrapper-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ensure full video is visible */
    border: none;
}



/* Realtor Form Scroll Offset */
#realtorForm {
    scroll-margin-top: 100px;
    /* Offset for fixed navbar */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

/* Lightbox Specific Styles */
#lightboxModal .lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    /* Ensure the whole image is seen */
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    animation: zoom 0.3s;
}

#lightboxModal .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    z-index: 3001;
    cursor: pointer;
}

@keyframes zoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-dark);
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--accent-silver);
    width: 95%;
    max-width: 500px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1rem;
        width: 90%;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    color: var(--accent-silver);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: #fff;
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background: #000;
}

.modal-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 2500;
    /* Below modals which are 3000 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 10px #666;
}

.whatsapp-float i {
    margin-top: 2px;
    /* Visual adjustment */
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Sequential Form (Victor Heras Style) */
.sequential-form {
    margin-top: 3rem;
}

.sequential-form .form-step {
    display: none;
    text-align: center;
    padding: var(--spacing-lg) 0;
    max-width: 800px;
    margin: 0 auto;
}

.sequential-form .form-step.active {
    display: block;
    animation: fadeInForm 0.6s ease forwards;
}

@keyframes fadeInForm {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.sequential-form .victor-question {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 2.5rem;
    font-family: var(--font-heading);
    text-transform: none;
    font-weight: 300;
    line-height: 1.3;
}

.sequential-form .victor-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    font-size: 1.8rem;
    width: 100%;
    padding: 12px 0;
    margin-bottom: 3rem;
    font-family: var(--font-body);
    outline: none;
    text-align: center;
    transition: border-color 0.3s ease;
}

.sequential-form .victor-input:focus {
    border-color: #fff;
}

/* For selects to look consistent */
.sequential-form select.victor-input {
    text-align-last: center;
    appearance: none;
    cursor: pointer;
}

.sequential-form .victor-btn {
    background: #000;
    color: #fff;
    padding: 1.2rem 4rem;
    border: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
    margin-top: 1rem;
}

.sequential-form .victor-btn:hover {
    background: #ffffff;
    color: #000;
}

/* Radio and Checkbox Options */
.sequential-form .options-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.sequential-form .option-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.sequential-form .option-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.sequential-form .option-card input {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    cursor: pointer;
}

.sequential-form .option-card span {
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* Progress Indicator */
.form-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 4rem;
}

.progress-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Realtor Page Specifics */
.application-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #0a0e14;
    /* Solid background (matching body) to prevent transparency overlap */
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(177, 177, 177, 0.1);
    position: relative;
    z-index: 10;
}

.video-width-limiter {
    margin: 3rem auto;
    width: 100%;
    max-width: 900px;
}

@media (max-width: 768px) {
    .application-form-container {
        padding: 1.5rem;
        /* Reduced padding for mobile */
    }

    .video-width-limiter {
        margin: 2rem auto;
    }

    /* Sequential Form Mobile Optimizations */
    .sequential-form .victor-question {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-bottom: 1.5rem;
    }

    .sequential-form .victor-input {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .sequential-form .victor-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .sequential-form .options-grid {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .sequential-form .option-card {
        padding: 1rem;
    }

    .sequential-form .option-card span {
        font-size: 1rem;
    }

    .form-progress {
        margin-bottom: 2.5rem;
    }
}