/* ==========================================================================
   Ramoneur Haut-Rhin - Styles Principaux
   ========================================================================== */

:root {
    --primary: #d35400;
    --primary-dark: #a04000;
    --primary-light: #e67e22;
    --secondary: #2c3e50;
    --secondary-dark: #1a252f;
    --accent: #27ae60;
    --danger: #e74c3c;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

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

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

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top a {
    color: var(--white);
}

.header-top a:hover {
    color: var(--primary-light);
}

.urgence-badge {
    background: var(--danger);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
}

.logo span {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.logo small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

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

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown > .nav-link::before {
    content: '';
    display: none;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
    padding: 10px 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.dropdown-menu a.active {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-partner-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(211,84,0,0.1)"/></svg>');
    background-size: 200px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 3rem;
}

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

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--gray-100);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.advantage-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advantage-content h4 {
    margin-bottom: 5px;
}

.advantage-content p {
    color: var(--gray-600);
    margin: 0;
}

/* Zones */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.zone-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.zone-card h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zone-card h3::before {
    content: '\1F4CD';
}

.zone-villes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zone-ville {
    background: var(--gray-100);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-700);
    transition: var(--transition);
}

.zone-ville:hover {
    background: var(--primary);
    color: var(--white);
}

/* Forms */
.form-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 60px 0;
}

.form-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

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

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1);
}

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

select.form-control {
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-control.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

/* Autocomplete */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.autocomplete-results.show {
    display: block;
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: var(--primary);
    color: var(--white);
}

.autocomplete-item small {
    opacity: 0.7;
}

/* Urgence Banner */
.urgence-banner {
    background: linear-gradient(135deg, var(--danger) 0%, #c0392b 100%);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.urgence-banner h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.urgence-banner p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.urgence-phone {
    font-size: 2rem;
    font-weight: 700;
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--gray-600);
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: var(--gray-100);
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    color: var(--gray-400);
}

.breadcrumb-item a {
    color: var(--gray-600);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--gray-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Ville Hero */
.ville-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.ville-hero::before,
.ville-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(211, 84, 0, 0.1);
}

.ville-hero::before {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.ville-hero::after {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

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

.ville-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.ville-hero h1 span {
    color: var(--primary-light);
}

.ville-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.ville-infos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2rem;
}

.ville-info {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.2);
}

.ville-info-label {
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
}

.ville-info-value {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Communes list */
.communes-section {
    padding: 40px 0;
    background: var(--gray-100);
}

.communes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.communes-list a {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: var(--transition);
    border: 1px solid var(--gray-300);
}

.communes-list a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Content */
.content-section {
    padding: 60px 0;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
}

.content-text h2 {
    margin-top: 2rem;
}

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

.content-text ul li {
    padding: 8px 0 8px 30px;
    position: relative;
}

.content-text ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu a {
        padding-left: 30px;
    }

    .nav-partner-logo {
        height: 35px;
        align-self: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section {
        padding: 50px 0;
    }

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

    .form-container {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ville-hero h1 {
        font-size: 1.8rem;
    }

    .ville-infos {
        justify-content: center;
    }
}

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Cookie Consent Banner */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-dark);
    color: var(--white);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Formulaire multi-etapes (wizard) - demande de devis
   ========================================================================== */
.form-wizard {
    position: relative;
}

.form-wizard.is-sending {
    opacity: 0.55;
    pointer-events: none;
}

.wizard-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.wizard-progress .step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: var(--transition);
}

.wizard-progress .step-dot.done {
    background: var(--primary-light);
}

.wizard-progress .step-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* Sans JavaScript, toutes les etapes restent visibles et le formulaire
   fonctionne en POST classique. Le decoupage en etapes n'est active que
   lorsque form-wizard.js a pose la classe .js-enabled. */
.wizard-step {
    display: block;
    padding-bottom: 8px;
}

.form-wizard:not(.js-enabled) .wizard-progress,
.form-wizard:not(.js-enabled) .btn-wizard-prev,
.form-wizard:not(.js-enabled) .btn-wizard-next {
    display: none;
}

.form-wizard.js-enabled .wizard-step {
    display: none;
    padding-bottom: 0;
}

.form-wizard.js-enabled .wizard-step.active {
    display: block;
    animation: wizardFade 0.25s ease;
}

@keyframes wizardFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.wizard-step-counter {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.wizard-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.wizard-step-subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.wizard-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.wizard-options.single-col {
    grid-template-columns: 1fr;
}

.wizard-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.wizard-option:hover {
    border-color: var(--primary-light);
    background: var(--gray-100);
}

.wizard-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wizard-option .option-mark {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-400);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.wizard-option .option-label {
    font-weight: 500;
    color: var(--gray-800);
    line-height: 1.35;
}

.wizard-option.selected,
.wizard-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(211, 84, 0, 0.06);
}

.wizard-option.selected .option-mark,
.wizard-option input:checked ~ .option-mark {
    border-color: var(--primary);
}

.wizard-option.selected .option-mark::after,
.wizard-option input:checked ~ .option-mark::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 3px;
    left: 3px;
    border-radius: 50%;
    background: var(--primary);
}

.wizard-option input:focus-visible ~ .option-mark {
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.25);
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.btn-wizard-prev {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 10px 2px;
    transition: var(--transition);
}

.btn-wizard-prev:hover {
    color: var(--primary);
}

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

.wizard-fields-grid .form-group.full-width {
    grid-column: 1 / -1;
}

.wizard-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
}

.wizard-consent input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--primary);
}

.wizard-consent label {
    margin: 0;
    font-weight: 400;
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--gray-700);
    cursor: pointer;
}

.wizard-consent a {
    color: var(--primary);
    text-decoration: underline;
}

.wizard-error {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.35);
    color: #a5281b;
    font-size: 0.9rem;
}

.wizard-error.show {
    display: block;
}

.wizard-success {
    display: none;
    text-align: center;
    padding: 30px 10px;
}

.wizard-success.show {
    display: block;
}

.wizard-success h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.wizard-success p {
    color: var(--gray-700);
}

@media (max-width: 600px) {
    .wizard-options,
    .wizard-fields-grid {
        grid-template-columns: 1fr;
    }

    .wizard-step-title {
        font-size: 1.1rem;
    }
}
