/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 32px 48px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.header--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

.header__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.header__logo-img {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Language toggle */
.lang-toggle {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.lang-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.45);
}

.lang-toggle__flag {
    display: flex;
    align-items: center;
    line-height: 0;
}

.lang-toggle__flag svg {
    border-radius: 2px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.lang-toggle__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/background_madridexclusive.png') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.20) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.hero__title {
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 200;
    letter-spacing: 8px;
    line-height: 1.15;
    color: #ffffff;
    text-transform: uppercase;
}

.hero__badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background-color: #4f55377b;
    padding: 14px 40px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero__badge:hover {
    background-color: #69704d;
    border-color: rgb(68, 72, 50);
}

.hero__badge h2 {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== Section Intro ===== */
.section-intro {
    background-color: #69704d;
    padding: 100px 48px;
    text-align: center;
}

.section-intro__tagline {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
}

.section-intro__heading {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 200;
    letter-spacing: 6px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 48px;
}

.section-intro__text {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-intro__features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
}

.section-intro__feature {
    flex: 1 1 240px;
    max-width: 280px;
    text-align: center;
}

.section-intro__feature-icon {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.section-intro__feature-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.section-intro__feature-desc {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

/* ===== Section Off-Market ===== */
.section-offmarket {
    background-color: #3d4030;
    padding: 100px 48px;
    text-align: center;
}

.section-offmarket__tagline {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 32px;
}

.section-offmarket__heading {
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 200;
    letter-spacing: 6px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 780px;
    margin: 0 auto 64px;
}

.section-offmarket__heading strong {
    font-weight: 600;
    color: #ffffff;
}

.section-offmarket__content {
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: 720px;
    margin: 0 auto 72px;
}

.section-offmarket__block {
    text-align: center;
}

.section-offmarket__icon {
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.section-offmarket__title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.section-offmarket__text {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
    max-width: 620px;
    margin: 0 auto;
}

.section-offmarket__cta {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 48px;
    max-width: 600px;
    margin: 0 auto;
}

.section-offmarket__cta-text {
    font-size: 13px;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.8px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
}

.section-offmarket__btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: transparent;
    padding: 14px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.section-offmarket__btn:hover {
    background-color: #69704d;
    border-color: #69704d;
    color: #ffffff;
}

/* ===== Section Image ===== */
.section-image {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-image__img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

/* ===== Section Form ===== */
.section-form {
    background-color: #565a42;
    padding: 100px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-form__tagline {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.section-form__heading {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 200;
    letter-spacing: 6px;
    line-height: 1.3;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 56px;
}

.section-form__container {
    max-width: 540px;
    margin: 0 auto;
    text-align: left;
}

/* Steps indicator */
.section-form__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.section-form__step {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
    cursor: pointer;
}

.section-form__step:hover {
    color: rgba(255, 255, 255, 0.6);
}

.section-form__step--active {
    color: rgba(255, 255, 255, 0.85);
}

.section-form__step-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* Panels */
.section-form__panel {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.section-form__panel--active {
    display: flex;
}

/* Fields */
.section-form__field input:not([type="checkbox"]),
.section-form__field select,
.section-form__field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 14px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.section-form__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.section-form__field select option {
    background: #565a42;
    color: #ffffff;
}

.section-form__field input:not([type="checkbox"])::placeholder,
.section-form__field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 400;
}

.section-form__field input:not([type="checkbox"]):focus,
.section-form__field select:focus,
.section-form__field textarea:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.section-form__field textarea {
    resize: vertical;
    min-height: 70px;
}

/* Label */
.section-form__label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

/* Multi-select buttons */
.multi-select {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ms-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 8px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.25s ease;
}

.ms-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
}

.ms-btn--active {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-weight: 500;
}

/* Zone Map */
.zone-map-wrap {
    margin-bottom: 16px;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}
#zoneMap {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    background: #1e2119;
    z-index: 0;
}
#zoneMap .leaflet-tile-pane {
    filter: brightness(1.5) sepia(0.5) hue-rotate(55deg) saturate(0.75);
}
#zoneMap .leaflet-tile-pane img {
    max-width: none !important;
}
/* Leaflet zone markers */
.zone-marker {
    background: none;
    border: none;
}
.zone-marker span {
    display: inline-block;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.1s ease;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}
.zone-marker span:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}
.zone-marker--active span {
    background: rgba(105, 112, 77, 0.8);
    border-color: rgba(105, 112, 77, 1);
    color: #ffffff;
    font-weight: 600;
}
.zone-marker--active span:hover {
    background: rgba(105, 112, 77, 0.95);
    border-color: rgba(105, 112, 77, 1);
    color: #ffffff;
}


/* Open to options button */
.zone-map-open {
    margin-top: 12px;
    text-align: center;
}
.zone-open-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.1s ease;
}
.zone-open-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
}
.zone-open-btn--active {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-weight: 500;
}

/* GDPR checkbox */
.section-form__field--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.section-form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.section-form__checkbox-label input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    min-width: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.section-form__checkbox-label input[type="checkbox"]:checked {
    background: rgba(168, 173, 135, 0.25);
    border-color: rgba(168, 173, 135, 0.7);
}

.section-form__checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 0px;
    width: 4px;
    height: 7px;
    border: solid rgba(255, 255, 255, 0.85);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.section-form__checkbox-label span {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.section-form__checkbox-label a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.section-form__checkbox-label a:hover {
    color: #ffffff;
}

/* Feedback */
.section-form__feedback {
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    min-height: 18px;
    transition: color 0.3s ease;
}

.section-form__feedback--success {
    color: #a8e6cf;
}

.section-form__feedback--error {
    color: #ffb3b3;
}

/* Field error state */
.section-form__field--error input,
.section-form__field--error select,
.section-form__field--error textarea {
    border-color: rgba(255, 140, 140, 0.6) !important;
    background: rgba(255, 140, 140, 0.08) !important;
}

.section-form__field--error .ms-btn {
    border-color: rgba(255, 140, 140, 0.4);
}

/* Success Overlay */
.success-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(86, 90, 66, 0.97);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.success-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.success-overlay.is-leaving {
    opacity: 0;
}

.success-overlay__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.success-overlay__circle {
    width: 120px;
    height: 120px;
}

.success-overlay__check {
    width: 120px;
    height: 120px;
}

.success-overlay__circle-bg {
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 1.5;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
}

.is-active .success-overlay__circle-bg {
    animation: circleDraw 0.6s ease forwards;
}

.success-overlay__check-path {
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

.is-active .success-overlay__check-path {
    animation: checkDraw 0.4s ease 0.45s forwards;
}

.success-overlay__text {
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
}

.is-active .success-overlay__text {
    animation: textFadeIn 0.5s ease 0.7s forwards;
}

@keyframes circleDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

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

/* Buttons */
.section-form__btn {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.section-form__btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

.section-form__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.section-form__btn--back {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.section-form__btn--back:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
}

.section-form__btn-row {
    display: flex;
    gap: 12px;
}

.section-form__btn-row .section-form__btn--back {
    flex: 0 0 120px;
}

.section-form__btn-row .section-form__btn:not(.section-form__btn--back) {
    flex: 1;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    width: 100%;
    z-index: 100;
    background-color: #3d4233;
    padding: 48px 48px 32px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
}

.footer__contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__icon {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer__icon:hover {
    color: #ffffff;
}

.footer__legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer__legal-link {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__legal-link:hover {
    color: #ffffff;
}

.footer__legal-sep {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
}

.footer__credit {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

.footer__credit a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2.5px;
    transition: color 0.3s ease;
}

.footer__credit a:hover {
    color: #ffffff;
}

.footer__text {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.footer__link {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer__link:hover {
    opacity: 0.7;
}

/* ===== Contact Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    transition: background 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.is-active {
    visibility: visible;
    background: rgba(0, 0, 0, 0.55);
}

.modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: linear-gradient(165deg, #7a7d5c 0%, #69704d 50%, #7a7d5c 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px 20px 0 0;
    padding: 40px 36px 36px;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.is-active .modal {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.modal__close:hover {
    color: #ffffff;
}

/* ===== Legal Modal ===== */
.modal--legal {
    max-width: 720px;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    overflow-y: auto;
    padding: 48px 40px 40px;
    position: relative;
}

.modal--legal .modal__close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 10;
    background: rgba(105, 112, 77, 0.9);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -8px -8px 0 0;
}

.modal__legal-body h1 {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 200;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 40px;
}

.modal__legal-body h2 {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 36px 0 12px;
    color: rgba(255,255,255,0.9);
}

.modal__legal-body h3 {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 48px 0 24px;
    color: #ffffff;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.modal__legal-body p,
.modal__legal-body li,
.modal__legal-body td {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.4px;
    line-height: 2;
    color: rgba(255,255,255,0.6);
}

.modal__legal-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 8px 0 12px;
}

.modal__legal-body li {
    margin-bottom: 6px;
}

.modal__legal-body strong {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.modal__legal-body a {
    color: rgba(255,255,255,0.8);
}

.modal__legal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
}

.modal__legal-body th,
.modal__legal-body td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal__legal-body th {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

/* ===== Responsive ===== */

/* Tablets and below */
@media (max-width: 1024px) {
    .header {
        padding: 28px 32px;
    }

    .header__logo-img {
        width: 240px;
    }

    .lang-toggle {
        right: 32px;
    }

    .hero__content {
        gap: 40px;
    }

    .footer {
        padding: 40px 32px 28px;
    }

    .section-intro {
        padding: 80px 32px;
    }

    .section-intro__features {
        gap: 40px;
    }

    .section-offmarket {
        padding: 80px 32px;
    }

    .section-form {
        padding: 80px 32px;
    }

    .footer__credit {
        font-size: 8px;
        letter-spacing: 1.5px;
    }
}

/* Mobile landscape and below */
@media (max-width: 768px) {
    .modal {
        max-width: 100%;
        padding: 32px 24px 28px;
        border-radius: 16px 16px 0 0;
    }

    .modal__title {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .modal__subtitle {
        margin-bottom: 22px;
    }
    .header {
        padding: 20px 24px;
    }

    .header__logo-img {
        width: 200px;
    }

    .lang-toggle {
        right: 24px;
        padding: 5px 10px;
        gap: 6px;
    }

    .lang-toggle__flag svg {
        width: 18px;
        height: 9px;
    }

    .lang-toggle__label {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .hero__content {
        gap: 32px;
        padding: 0 20px;
    }

    .hero__title {
        font-size: clamp(32px, 8vw, 60px);
        letter-spacing: 4px;
    }

    .hero__badge {
        padding: 12px 32px;
    }

    .hero__badge h2 {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .footer {
        padding: 36px 24px 24px;
    }

    .section-intro {
        padding: 64px 24px;
    }

    .section-intro__heading {
        letter-spacing: 3px;
        margin-bottom: 36px;
    }

    .section-intro__text {
        margin-bottom: 48px;
    }

    .section-intro__features {
        gap: 36px;
        flex-direction: column;
        align-items: center;
    }

    .section-intro__feature {
        max-width: 360px;
    }

    .section-offmarket {
        padding: 64px 24px;
    }

    .section-offmarket__heading {
        letter-spacing: 3px;
        margin-bottom: 48px;
    }

    .section-offmarket__content {
        gap: 44px;
        margin-bottom: 56px;
    }

    .section-offmarket__btn {
        padding: 12px 32px;
    }

    .section-image__img {
        height: 320px;
    }

    .section-form {
        padding: 64px 24px;
    }

    .section-form__heading {
        letter-spacing: 3px;
        margin-bottom: 40px;
    }

    .section-form__container {
        max-width: 100%;
    }

    .section-form__btn-row {
        flex-direction: column;
    }

    .section-form__btn-row .section-form__btn--back {
        flex: auto;
    }

    .ms-btn {
        padding: 7px 14px;
        font-size: 10px;
    }

    .footer {
        padding: 36px 24px 24px;
    }

    .footer__top {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer__contact {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }

    .footer__icons {
        gap: 20px;
    }

    .footer__text {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .footer__link {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .footer__legal {
        gap: 10px;
    }

    .footer__legal-link {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .footer__credit {
        font-size: 8px;
        letter-spacing: 1.5px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .modal {
        padding: 28px 20px 24px;
    }

    .modal__title {
        font-size: 14px;
        letter-spacing: 2.5px;
    }

    .modal__subtitle {
        font-size: 10px;
        margin-bottom: 18px;
    }

    .modal__field input,
    .modal__field textarea {
        padding: 11px 14px;
        font-size: 11px;
    }

    .modal__submit {
        padding: 12px;
        font-size: 10px;
    }
    .header {
        padding: 16px 20px;
    }

    .header__logo-img {
        width: 170px;
    }

    .lang-toggle {
        right: 20px;
        padding: 4px 8px;
        gap: 5px;
    }

    .lang-toggle__flag svg {
        width: 16px;
        height: 8px;
    }

    .lang-toggle__label {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero__content {
        gap: 24px;
        padding: 0 16px;
    }

    .hero__title {
        font-size: clamp(28px, 10vw, 48px);
        letter-spacing: 3px;
        line-height: 1.2;
    }

    .hero__badge {
        padding: 10px 24px;
    }

    .hero__badge h2 {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .footer {
        padding: 14px 20px;
    }

    .section-intro {
        padding: 52px 20px;
    }

    .section-intro__tagline {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .section-intro__text {
        font-size: 12px;
    }

    .section-intro__features {
        gap: 32px;
    }

    .section-offmarket {
        padding: 52px 20px;
    }

    .section-offmarket__tagline {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .section-offmarket__content {
        gap: 40px;
        margin-bottom: 48px;
    }

    .section-offmarket__text {
        font-size: 12px;
    }

    .section-offmarket__cta-text {
        font-size: 12px;
    }

    .section-offmarket__btn {
        padding: 10px 24px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .section-image__img {
        height: 240px;
    }

    .section-form {
        padding: 52px 20px;
    }

    .section-form__tagline {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .section-form__steps {
        gap: 10px;
    }

    .section-form__step {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .section-form__step-divider {
        width: 24px;
    }

    .footer {
        padding: 32px 20px 20px;
    }

    .footer__text {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .footer__link {
        font-size: 9px;
        letter-spacing: 0.8px;
        word-break: break-all;
    }

    .footer__legal {
        gap: 8px;
        padding-top: 16px;
    }

    .footer__legal-link {
        font-size: 8px;
        letter-spacing: 0.8px;
    }

    .footer__legal-sep {
        font-size: 8px;
    }

    .footer__credit {
        font-size: 7px;
        letter-spacing: 1px;
        text-align: center;
    }

    .footer__icons {
        gap: 14px;
    }

    .footer__icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .header__logo-img {
        width: 150px;
    }

    .hero__content {
        gap: 20px;
    }

    .hero__title {
        font-size: clamp(24px, 12vw, 40px);
        letter-spacing: 2px;
    }

    .hero__badge {
        padding: 8px 20px;
    }

    .hero__badge h2 {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .footer__link {
        font-size: 8px;
    }
}

/* Mobile landscape orientation */
@media (max-width: 896px) and (max-height: 414px) and (orientation: landscape) {
    .header {
        padding: 12px 24px;
    }

    .header__logo-img {
        width: 160px;
    }

    .hero__content {
        gap: 20px;
    }

    .hero__title {
        font-size: clamp(24px, 6vw, 48px);
        letter-spacing: 3px;
    }

    .hero__badge {
        padding: 8px 24px;
    }

    .hero__badge h2 {
        font-size: 9px;
    }

    .footer {
        padding: 20px 24px 16px;
    }

    .footer__inner {
        gap: 12px;
    }

    .footer__top {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer__legal {
        padding-top: 10px;
    }

    .footer__credit {
        font-size: 7px;
    }
}
