:root {
    --ink: #1a1a2e;
    --ink-soft: #2d2d44;
    --ink-muted: #6b7084;
    --ink-light: #9ca0b0;
    --surface: #f4f5f7;
    --card: #fff;
    --border: #e2e4ea;
    --border-light: #edeef2;
    --accent: #2d5be3;
    --accent-hover: #2248b8;
    --accent-light: #eef2fd;
    --success: #1a9a5c;
    --success-hover: #158a50;
    --warning: #c07a15;
    --warning-light: #fef8ec;
    --danger: #d63031;
    --danger-light: #fef2f2;
    --danger-border: #fca5a5;
    --teal: #0f8b8d;
    --slate: #475569;
    --pantone-07: #e3f2fd;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --r-sm: 6px;
    --r-md: 8px;
    --r-lg: 12px;
    --sh-sm: 0 1px 3px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);
    --sh-md: 0 4px 16px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .04)
}

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

body {
    font-family: var(--font);
    background: var(--surface);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.site-header {
    background: var(--ink);
    padding: 44px 24px 38px;
    text-align: center
}

.header-inner {
    max-width: 600px;
    margin: 0 auto
}

.header-title {
    font-size: 21px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -.3px;
    margin-bottom: 5px
}

.header-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, .45);
    letter-spacing: .15px
}

.main-container {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 16px 40px;
    flex: 1
}

.intro-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 24px 8px;
    text-align: left
}

.intro-tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -.2px;
    margin-bottom: 14px;
    line-height: 1.4
}

.intro-text {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.7;
    max-width: none;
    margin: 0 0 10px
}

.intro-text--note {
    font-style: italic;
    font-size: 12px;
    color: var(--ink-light)
}

@media(max-width:600px) {
    .intro-tagline {
        font-size: 15px
    }

    .intro-text {
        font-size: 12px
    }
}

.search-card {
    background: var(--card);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    margin-bottom: 28px;
    overflow: hidden
}

.stepper {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    gap: 0;
    overflow-x: auto
}

.stepper__step {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0
}

.stepper__dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    transition: all .3s
}

.stepper__dot--done {
    background: var(--success);
    color: #fff
}

.stepper__dot--active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 3px var(--accent-light)
}

.stepper__dot--pending {
    background: var(--surface);
    color: var(--ink-light);
    border: 1.5px solid var(--border)
}

.stepper__label {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap
}

.stepper__label--done {
    color: var(--success)
}

.stepper__label--active {
    color: var(--accent);
    font-weight: 600
}

.stepper__label--pending {
    color: var(--ink-light)
}

.stepper__line {
    flex: 1;
    height: 2px;
    margin: 0 10px;
    border-radius: 1px;
    background: var(--border);
    transition: background .3s;
    min-width: 20px
}

.stepper__line--done {
    background: var(--success)
}

.check-svg {
    width: 13px;
    height: 13px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none
}

.search-form {
    padding: 24px 24px 28px;
    max-width: 520px;
    margin: 0 auto
}

.form-group {
    margin-bottom: 20px;
    animation: fadeUp .3s ease-out
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

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

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: 6px
}

.input-wrapper {
    position: relative
}

.select-wrapper {
    position: relative
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--ink-light);
    pointer-events: none
}

.form-select,
.form-input {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 400;
    color: var(--ink);
    background: var(--pantone-07);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none
}

.form-select {
    cursor: pointer;
    padding-right: 36px;
    background: var(--pantone-07);
    color: #1a1a2e;
    border-color: var(--pantone-07)
}

.form-select:focus,
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light)
}

.form-select:disabled {
    background: var(--border-light);
    color: var(--ink-light);
    cursor: not-allowed;
    border-color: var(--border-light)
}

.form-input--short {
    max-width: 140px
}

.form-input::placeholder {
    color: var(--ink-light)
}

.form-select-list {
    width: 100%;
    margin-top: 6px;
    padding: 4px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--pantone-07);
    max-height: 200px;
    overflow-y: auto;
    font-family: var(--font);
    font-size: 14px
}

.form-select-list option {
    padding: 8px 10px;
    cursor: pointer;
    border-radius: var(--r-sm);
    color: #1a1a2e;
    background: transparent
}

.form-select-list option:hover {
    background: rgba(0, 0, 0, 0.1)
}

.field-hint {
    margin-top: 5px;
    font-size: 12px;
    color: var(--ink-light);
    font-style: italic
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0
}

.loading-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%)
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg)
    }
}

.btn-primary,
.btn-success {
    width: 100%;
    padding: 12px 20px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: background .2s, transform .1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.btn-primary {
    background: var(--accent);
    color: #fff
}

.btn-primary:hover {
    background: var(--accent-hover)
}

.btn-primary:active {
    transform: scale(.99)
}

.btn-primary:disabled {
    background: var(--ink-light);
    cursor: not-allowed;
    transform: none
}

.btn-success {
    background: var(--success);
    color: #fff
}

.btn-success:hover {
    background: var(--success-hover)
}

.btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0
}

.error-message {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--danger-light);
    border: 1.5px solid var(--danger-border);
    border-radius: var(--r-md);
    color: var(--danger);
    font-size: 13px;
    font-weight: 500;
    text-align: center
}

/* RESULTS */
.results-section {
    display: none;
    animation: fadeUp .4s ease-out
}

.results-section.visible {
    display: block
}

.featured-result {
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 36px 28px 28px;
    text-align: center;
    margin-bottom: 20px
}

.featured-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px
}

.featured-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .5)
}

.featured-value {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px
}

.featured-address {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    line-height: 1.5;
    word-break: break-word
}

@media(max-width:600px) {
    .featured-value {
        font-size: 42px
    }
}

/* Map & Photo full width */
.media-card--full {
    background: var(--card);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--border);
    margin-bottom: 20px
}

.media-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border)
}

.media-icon {
    width: 18px;
    height: 18px;
    color: var(--ink-muted);
    flex-shrink: 0
}

.media-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin: 0
}

.media-content--map {
    position: relative;
    height: 364px;
    background: var(--surface)
}

#map {
    width: 100%;
    height: 100%
}

.map-drag-tooltip {
    background: var(--ink) !important;
    color: #fff !important;
    border: none !important;
    font-family: var(--font) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2) !important
}

.map-drag-tooltip::before {
    border-top-color: var(--ink) !important
}

.map-drag-status {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 1000;
    background: var(--accent);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--r-md);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    box-shadow: var(--sh-md);
    pointer-events: none;
    animation: fadeUp .3s ease-out
}

.media-content--photo {
    position: relative;
    min-height: 200px;
    max-height: 420px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center
}

#facade-photo {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: none
}

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--ink-light);
    font-size: 13px;
    font-weight: 500
}

.spinner-photo {
    width: 28px;
    height: 28px;
    border: 2.5px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin-photo .8s linear infinite
}

@keyframes spin-photo {
    to {
        transform: rotate(360deg)
    }
}

/* Report Grid */
.report-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px
}

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

.report-card {
    background: var(--card);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--border)
}

.report-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border)
}

.report-header--slate {
    background: var(--slate);
    color: #fff;
    border-bottom: none
}

.report-header--amber {
    background: var(--warning);
    color: #fff;
    border-bottom: none
}

.report-header--teal {
    background: var(--teal);
    color: #fff;
    border-bottom: none
}

.report-header--indigo {
    background: #4f46e5;
    color: #fff;
    border-bottom: none
}

.report-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    color: #fff
}

.report-body {
    padding: 18px;
    font-size: 13px;
    line-height: 1.7;
    max-height: 460px;
    overflow-y: auto
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--border);
    padding-left: 16px
}

.timeline-item {
    margin-bottom: 16px;
    padding-left: 12px;
    position: relative
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--card);
    border: 2px solid var(--ink-light);
    border-radius: 50%
}

.timeline-item.timeline-highlight {
    background: var(--danger-light);
    margin-left: -12px;
    padding: 10px 12px 10px 24px;
    border-radius: var(--r-md);
    border-left: 3px solid var(--danger)
}

.timeline-item.timeline-highlight::before {
    background: var(--danger);
    border-color: var(--danger);
    box-shadow: 0 0 0 3px var(--danger-light);
    width: 12px;
    height: 12px;
    left: -23px;
    top: 13px
}

.timeline-year {
    display: block;
    font-weight: 600;
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 2px
}

.timeline-item.timeline-highlight .timeline-year {
    color: var(--danger);
    font-weight: 700
}

.timeline-text {
    color: var(--ink-muted);
    font-size: 12px;
    line-height: 1.5
}

.timeline-marker {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 8px;
    background: var(--danger);
    color: #fff;
    font-weight: 700;
    font-size: 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .5px
}

.timeline-current-indicator {
    background: var(--accent-light);
    margin-left: -12px;
    padding: 8px 12px 8px 24px;
    border-radius: var(--r-md);
    border-left: 3px solid var(--accent);
    margin-bottom: 16px;
    position: relative
}

.timeline-current-indicator::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 11px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent-light)
}

.timeline-current-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-right: 8px
}

.timeline-current-year {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent)
}

.matrix-data {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.matrix-row {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light)
}

.matrix-row:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.matrix-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 4px
}

.matrix-val {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink)
}

.matrix-val.risk-val-highlight {
    font-size: 28px;
    color: var(--warning);
    font-weight: 700
}

.matrix-val.justify {
    font-weight: 400;
    color: #78350F;
    font-size: 13px;
    background: var(--warning-light);
    padding: 12px;
    border-radius: var(--r-md);
    display: block;
    margin-top: 4px;
    border-left: 3px solid var(--warning);
    line-height: 1.6
}

.stats-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 16px
}

.stats-year {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 8px
}

.stats-val {
    font-size: 28px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.1;
    margin-bottom: 12px
}

.stats-note {
    font-size: 12px;
    color: var(--ink-light);
    max-width: 220px;
    line-height: 1.5
}

/* AERIAL */
.aerial-section {
    margin-bottom: 20px
}

.section-header {
    margin-bottom: 16px
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px
}

.section-subtitle {
    font-size: 12px;
    color: var(--ink-muted)
}

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

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

.aerial-item {
    background: var(--card);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: box-shadow .2s, transform .15s
}

.aerial-item:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px)
}

.aerial-item--before .aerial-year-label {
    background: var(--surface)
}

.aerial-item--after .aerial-year-label {
    background: var(--accent-light);
    color: var(--accent)
}

.aerial-item--closest .aerial-year-label {
    background: var(--accent);
    color: #fff
}

.aerial-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--surface);
    overflow: hidden
}

.aerial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.aerial-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-light);
    font-size: 11px;
    position: absolute;
    inset: 0;
    background: var(--surface)
}

.aerial-img-wrapper .aerial-curtain {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    overflow: hidden;
    transition: none;
    pointer-events: none;
    border-right: 2px solid rgba(255, 255, 255, .8);
    z-index: 2
}

.aerial-curtain img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    display: block
}

.aerial-year-label {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    border-top: 1px solid var(--border);
    text-align: center
}

.aerial-note {
    font-size: 11px;
    color: var(--ink-light);
    margin-top: 10px;
    font-style: italic
}

/* REFERENCES */
.references-section {
    margin-bottom: 20px
}

.references-card {
    background: var(--card);
    border-radius: var(--r-lg);
    padding: 20px 22px;
    border: 1px solid var(--border);
    box-shadow: var(--sh-sm)
}

.references-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px
}

.references-intro {
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 12px
}

.references-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.references-list li {
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.6;
    padding: 6px 0 6px 14px;
    position: relative;
    border-bottom: 1px solid var(--border-light)
}

.references-list li:last-child {
    border-bottom: none
}

.references-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 4px;
    height: 4px;
    background: var(--ink-light);
    border-radius: 50%
}

.references-list li em {
    color: var(--ink-soft);
    font-style: italic
}

/* EMAIL */
.email-section {
    margin-bottom: 16px
}

.email-card {
    background: var(--card);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--border)
}

.email-header {
    text-align: center;
    margin-bottom: 20px
}

.email-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px
}

.email-description {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    margin: 0 auto
}

@media(min-width:540px) {
    .email-form {
        flex-direction: row
    }
}

.email-input {
    flex: 1;
    padding: 10px 14px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.email-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light)
}

.email-form .btn-success {
    width: auto;
    padding: 10px 24px;
    white-space: nowrap
}

/* Lead form */
.lead-form {
    max-width: 520px;
    margin: 0 auto
}

.lead-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px
}

.lead-field {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.lead-field--full {
    grid-column: 1/-1
}

.lead-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: .3px
}

.lead-required {
    color: var(--danger)
}

.lead-input {
    padding: 9px 12px;
    font-family: var(--font);
    font-size: 13px;
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    width: 100%
}

.lead-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light)
}

.lead-input::placeholder {
    color: var(--ink-light)
}

.lead-details {
    margin-bottom: 16px
}

.lead-summary {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    cursor: pointer;
    padding: 8px 0;
    user-select: none;
    list-style: none
}

.lead-summary::-webkit-details-marker {
    display: none
}

.lead-summary::before {
    content: '+ ';
    font-weight: 700
}

.lead-details[open] .lead-summary::before {
    content: '− '
}

.lead-extra {
    padding-top: 12px;
    animation: fadeUp .3s ease-out
}

.btn-full {
    width: 100%
}

@media(max-width:500px) {
    .lead-row {
        grid-template-columns: 1fr
    }
}

/* CTA — prominent green */
.cta-section {
    margin-bottom: 20px
}

.cta-card {
    background: var(--success);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px
}

@media(min-width:540px) {
    .cta-card {
        flex-direction: row;
        text-align: left
    }
}

.cta-content {
    flex: 1
}

.cta-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px
}

.cta-description {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.5
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
    background: #fff;
    border-radius: var(--r-md);
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, transform .1s;
    flex-shrink: 0
}

.btn-cta:hover {
    background: var(--surface)
}

.btn-cta:active {
    transform: scale(.98)
}

/* DISCLAIMER — flat text, single level */
.disclaimer-section {
    margin-top: 8px
}

.disclaimer-card {
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg)
}

.disclaimer-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 10px
}

.disclaimer-text {
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 6px
}

.disclaimer-text:last-child {
    margin-bottom: 0
}

.placeholder-text {
    color: var(--ink-light);
    font-size: 13px;
    text-align: center;
    padding: 28px;
    font-style: italic
}

/* Typology */
.typo-period {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 10px
}

.typo-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px
}

.typo-bar-row {
    display: flex;
    align-items: center;
    gap: 8px
}

.typo-bar-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-muted);
    width: 68px;
    flex-shrink: 0;
    text-align: right
}

.typo-bar-track {
    flex: 1;
    height: 20px;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
    position: relative
}

.typo-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width .6s ease-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    min-width: 0
}

.typo-bar-fill--madera {
    background: #8B6914
}

.typo-bar-fill--acero {
    background: #64748b
}

.typo-bar-fill--hormigon {
    background: #6366f1
}

.typo-comment {
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.6;
    padding: 10px 12px;
    background: var(--surface);
    border-radius: var(--r-md);
    border-left: 3px solid #6366f1
}

.site-footer {
    text-align: center;
    padding: 20px;
    font-size: 11px;
    color: var(--ink-light);
    margin-top: auto
}

.report-body::-webkit-scrollbar,
.form-select-list::-webkit-scrollbar {
    width: 6px
}

.report-body::-webkit-scrollbar-track,
.form-select-list::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 3px
}

.report-body::-webkit-scrollbar-thumb,
.form-select-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(4px)
}

.lightbox-body {
    position: relative;
    width: 90vw;
    max-width: 700px;
    background: var(--card);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4)
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, .7)
}

.lightbox-compare {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none
}

.lightbox-compare .lightbox-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.lightbox-curtain {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    z-index: 2
}

.lightbox-curtain .lightbox-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover
}

.lightbox-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none
}

.lightbox-handle-line {
    position: absolute;
    inset: 0;
    width: 3px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, .4)
}

.lightbox-handle-grip {
    width: 28px;
    height: 42px;
    background: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    position: relative;
    z-index: 4
}

.lightbox-labels {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600
}

.lightbox-label-left {
    color: var(--ink-muted)
}

.lightbox-label-right {
    color: var(--accent)
}

.lightbox-hint {
    text-align: center;
    padding: 0 16px 14px;
    font-size: 11px;
    color: var(--ink-light)
}

@media(max-width:600px) {
    .site-header {
        padding: 32px 16px 28px
    }

    .header-title {
        font-size: 18px
    }

    .search-form {
        padding: 20px 16px 24px
    }

    .stepper {
        padding: 14px 16px
    }

    .stepper__label {
        display: none
    }

    .featured-result {
        padding: 28px 20px 24px
    }

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

    .lightbox-body {
        width: 96vw
    }
}

/* SEO GUIDE & FAQ */
.seo-guia,
.seo-faq {
    margin-top: 40px;
    background: var(--card);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--border);
    text-align: left;
}

.seo-guia h2,
.seo-faq h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: -.5px;
}

.seo-guia h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
    margin: 24px 0 10px;
}

.seo-guia p,
.seo-faq p {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.seo-guia ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.seo-guia li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.6;
}

.seo-guia li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.seo-faq details {
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}

.seo-faq details:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.seo-faq summary {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 20px;
}

.seo-faq summary::-webkit-details-marker {
    display: none;
}

.seo-faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: 700;
}

.seo-faq details[open] summary::after {
    content: "−";
}

.seo-faq details[open] p {
    margin-top: 10px;
    animation: fadeUp .3s ease-out;
}