/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    padding: 0 24px;
    height: 64px;
}

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

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0;
}

.navbar-brand img {
    height: 36px;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.navbar-links a:hover {
    color: var(--primary);
}

.btn-outline-sm {
    padding: 6px 16px;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    background: transparent;
    color: var(--primary) !important;
}

.btn-outline-sm:hover {
    background: var(--primary);
    color: #fff !important;
}

.btn-primary-sm {
    padding: 6px 16px;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff !important;
}

.btn-primary-sm:hover {
    background: var(--primary-dark);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 75, 128, 0.88) 0%, rgba(0, 106, 167, 0.75) 50%, rgba(8, 75, 128, 0.65) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-form-wrapper {
    width: 100%;
    min-width: 0;
}

.hero-text {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-text h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.trust-badge svg {
    opacity: 0.8;
}

.hero-cta-mobile {
    display: none;
    margin-top: 28px;
    padding: 14px 32px;
    font-size: 16px;
}

/* ─── Form Card ──────────────────────────────────────── */
.form-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 32px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-header p {
    color: var(--text-light);
    font-size: 14px;
}

/* ─── Step Progress ──────────────────────────────────── */
.step-progress {
    margin-bottom: 24px;
}

.step-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.step-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    width: 25%;
    transition: width 0.3s ease;
}

.step-labels {
    display: flex;
    justify-content: space-between;
}

.step-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.step-label.active {
    color: var(--primary);
    font-weight: 600;
}

.step-label.completed {
    color: var(--success);
}

/* ─── Form Steps ─────────────────────────────────────── */
.form-step {
    display: none;
}

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

.form-label-main {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text);
}

.label-hint {
    font-weight: 400;
    color: var(--text-light);
    font-size: 12px;
}

/* ─── Form Row (side by side) ────────────────────────── */
.form-row {
    display: flex;
    gap: 12px;
}

.form-group-half {
    flex: 1;
}

/* ─── Map Preview ────────────────────────────────────── */
.map-preview {
    max-height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid transparent;
    margin-bottom: 0;
    transition: max-height 0.35s ease, margin-bottom 0.35s ease, border-color 0.35s ease;
}

.map-preview.visible {
    max-height: 200px;
    margin-bottom: 16px;
    border-color: var(--border);
}

.map-container {
    width: 100%;
    height: 180px;
    background: #e9ecef;
}

.map-container-lg {
    height: 220px;
}

/* ─── Collapsible Section ────────────────────────────── */
.section-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    user-select: none;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.section-toggle:hover {
    color: var(--primary);
}

.toggle-hint {
    font-weight: 400;
    color: var(--text-light);
    font-size: 12px;
}

.toggle-arrow {
    margin-left: auto;
    transition: transform 0.2s;
    color: var(--text-light);
}

.section-toggle.open .toggle-arrow {
    transform: rotate(180deg);
}

.collapsible-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.collapsible-section.open {
    max-height: 600px;
    padding: 12px 0;
}

/* ─── Toggle Buttons (Yes/No) ────────────────────────── */
.toggle-buttons {
    display: flex;
    gap: 8px;
}

.toggle-btn {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s;
}

.toggle-btn:hover {
    border-color: var(--primary);
}

.toggle-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ─── Furnishing Cards ───────────────────────────────── */
.furnishing-cards {
    display: flex;
    gap: 8px;
}

.furnishing-card {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    background: #fff;
}

.furnishing-card:hover {
    border-color: var(--primary);
    background: rgba(0, 106, 167, 0.06);
}

.furnishing-card.selected {
    border-color: var(--primary);
    background: rgba(0, 106, 167, 0.12);
}

.furnishing-label {
    font-size: 13px;
    font-weight: 600;
}

/* ─── Size Cards ─────────────────────────────────────── */
.size-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.size-card:hover {
    border-color: var(--primary);
    background: rgba(0, 106, 167, 0.06);
}

.size-card.selected {
    border-color: var(--primary);
    background: rgba(0, 106, 167, 0.12);
}

.size-icon {
    color: var(--text-light);
}

.size-card.selected .size-icon {
    color: var(--primary);
}

.size-label {
    font-size: 13px;
    font-weight: 600;
}

.size-volume {
    font-size: 11px;
    color: var(--text-light);
}

/* ─── Counter Control ────────────────────────────────── */
.counter-control {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text);
}

.counter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.counter-value {
    font-size: 24px;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
}

/* ─── Addon Checkboxes ───────────────────────────────── */
.addon-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.addon-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.addon-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.addon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
}

.addon-icon {
    font-size: 18px;
    line-height: 1;
}

/* ─── Review Summary ─────────────────────────────────── */
.review-summary {
    margin-bottom: 20px;
}

.review-section {
    margin-bottom: 16px;
}

.review-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.review-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.review-label {
    color: var(--text-light);
}

.review-value {
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-map {
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* ─── Form Navigation ────────────────────────────────── */
.form-nav {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

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

.btn-secondary {
    background: #f0f0f0;
    color: var(--text);
}

.btn-secondary:hover {
    background: #e4e4e4;
}

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

.section-alt {
    background: #f8f9fb;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a2e;
    letter-spacing: -0.3px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 17px;
    margin-bottom: 56px;
}

/* ─── How It Works ───────────────────────────────────── */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 280px;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 40px;
    flex-shrink: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 106, 167, 0.3);
}

.step-icon-wrap {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.step-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* ─── Testimonials ───────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s, transform 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.testimonial-stars {
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}

.testimonial-stars span {
    color: #f59e0b;
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.testimonial-location {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 2px;
}

/* ─── Features ───────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 106, 167, 0.3);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* ─── Stats ──────────────────────────────────────────── */
.section-stats {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 24px 16px;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* ─── CTA Banner ─────────────────────────────────────── */
.cta-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 53, 69, 0.55);
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-inner h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.cta-inner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: var(--primary);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(0, 106, 167, 0.4);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 106, 167, 0.5);
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 20px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-about p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-logo {
    height: 36px;
    border-radius: 6px;
}

.footer-brand-text {
    color: #fff;
    font-size: 22px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--secondary);
    padding-top: 24px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    text-align: center;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-form-wrapper {
        max-width: 560px;
        margin: 0 auto;
    }

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

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .hero-cta-mobile {
        display: inline-flex;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--secondary);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .form-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .hero-form-wrapper {
        max-width: 100%;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .step-connector {
        display: none;
    }

    .step-card {
        max-width: 100%;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid .testimonial-card:last-child {
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 32px;
    }

    .cta-inner h2 {
        font-size: 28px;
    }

    .cta-banner {
        padding: 64px 0;
    }

    .size-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .furnishing-cards {
        flex-direction: column;
    }

    .step-labels {
        font-size: 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 400px) {
    .form-card {
        padding: 16px 12px;
    }

    .size-cards {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .size-card {
        padding: 12px 4px;
    }

    .size-label {
        font-size: 11px;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .counter-control {
        gap: 10px;
    }
}
