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

:root {
    --primary-color: #5cb85c;
    --primary-hover: #4cae4c;
    --secondary-color: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #EEEFF1;
}

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

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
}

/* grid removed; card sits below content */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.badge {
    display: inline-block;
    background: #DCFFDE;
    color: #2E8534;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Valuation Card */
.valuation-card {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 40px 20px;
    box-shadow: var(--shadow-lg);
    max-width: 980px;
    margin: 28px auto 0;
}

/* Wizard: option and condition blocks */
.wizard-card { border-radius: 24px; overflow: hidden; }
.step-badge { display:none; }
.option-sub { margin: 20px 0 10px; }
.option-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap:16px; }
.option-card { background:#fff; border:2px solid #e0e0e0; border-radius:12px; padding:18px; text-align:center; font-weight:600; cursor:pointer; box-shadow: var(--shadow); }
.option-card.selected { border-color: var(--primary-color); color: var(--primary-color); }
.intent-select { width:100%; padding:12px 15px; border:2px solid #e0e0e0; border-radius:8px; }
.condition-section { margin-top: 20px; }
.condition-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap:16px; }
.condition-card { background:#fff; border:2px solid #e0e0e0; border-radius:12px; padding:16px; text-align:center; cursor:pointer; box-shadow: var(--shadow); font-size:20px; }
.condition-card span { display:block; margin-top:8px; font-size:14px; color:#444; }
.condition-card.selected { border-color: var(--primary-color); color: var(--primary-color); }
.consent { display:block; margin: 12px 0 8px; color:#333; }

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 15px;
}
.brand-text { font-weight:700; color: var(--text-dark); margin-bottom: 8px; }

.card-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Form Styles */
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-align: center;
}

.property-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.property-type {
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.property-type:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.property-type.selected {
    border-color: var(--primary-color);
    background: rgba(92, 184, 92, 0.05);
}

.property-type .icon {
    width: 60px;
    height: 60px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.property-type.selected .icon {
    color: var(--primary-color);
}

.property-type span {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}

/* Form Inputs */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

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

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.3);
}

.btn-primary:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.hidden {
    display: none !important;
}

/* Features */
.features {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.feature {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.feature p {
    font-size: 0.9rem;
    color: #666;
}

/* Info Section */
.info-section {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
}

.info-section .container {
    position: relative;
    z-index: 1;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.info-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.benefits {
    margin-bottom: 40px;
}

.benefit {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.benefit p {
    color: #666;
    font-size: 0.95rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px 0;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat span {
    font-size: 0.9rem;
    color: #666;
}

/* Process Card */
.process-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: start;
}

.process-step:last-child {
    margin-bottom: 0;
}

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

.process-step strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
}

/* Expertise Section */
.expertise-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.section-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.expertise-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 50px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    text-align: left;
}

.expertise-item {
    display: flex;
    gap: 20px;
}

.expertise-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.expertise-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.expertise-item p {
    color: #666;
    font-size: 0.95rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-info strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-info p {
    margin-bottom: 5px;
    opacity: 0.9;
}

.footer-map iframe {
    border-radius: 8px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.modal-content p {
    font-size: 1.1rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }

    .valuation-card {
        padding: 30px 20px;
    }

    .property-types {
        grid-template-columns: 1fr;
    }

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

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

    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .footer-map iframe {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }

    .info-content h2,
    .expertise-section h2 {
        font-size: 1.8rem;
    }
}
