/* ===========================
   PLONI FONT DECLARATIONS
   =========================== */
@font-face {
    font-family: 'Ploni ML v2 AAA';
    src: url('../fonts/ploni-regular-aaa.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ploni ML v2 AAA';
    src: url('../fonts/ploni-medium-aaa.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ploni ML v2 AAA';
    src: url('../fonts/ploni-demibold-aaa.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ploni ML v2 AAA';
    src: url('../fonts/ploni-bold-aaa.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ploni ML v2 AAA';
    src: url('../fonts/ploni-black-aaa.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ploni DL 1.1 AAA';
    src: url('../fonts/ploni-light-aaa.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Heebo as fallback */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700&display=swap');

/* CSS Variables - Exact Figma colors */
:root {
    --color-primary: #0E313F;
    --color-gold: #B08D57;
    --color-light: #DFDFD6;
    --color-white: #FFFFFF;
    --font-family-bold: 'Ploni ML v2 AAA', 'Heebo', Arial, sans-serif;
    --font-family-light: 'Ploni DL 1.1 AAA', 'Heebo', Arial, sans-serif;
}

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

html {
    font-size: 16px;
}

body {
    font-family: var(--font-family-bold);
    background-color: var(--color-white);
    color: var(--color-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===========================
   DESKTOP LAYOUT (1440px)
   =========================== */

/* Container - Fixed 1440x1024 design */
.container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 1024px;
    margin: 0 auto;
    overflow: hidden;
    background-color: var(--color-primary);
}

/* Background Image - Figma: x=-5.11, y=-34.89, 1450.38x892.89 */
.background-image {
    position: absolute;
    top: -35px;
    left: -5px;
    width: 1450px;
    height: 893px;
    z-index: 0;
    object-fit: cover;
}

/* Project Logo - Figma: x=1148, y=35, 245x184 */
.project-logo {
    position: absolute;
    top: 35px;
    left: 1148px;
    width: 245px;
    height: 184px;
    z-index: 10;
    object-fit: contain;
}

/* Disclaimer - Figma: x=26, y=410.72, 20.82x202.49, vertical text */
.disclaimer {
    position: absolute;
    top: 411px;
    left: 26px;
    width: 21px;
    height: 202px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: var(--font-family-bold);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25em;
    color: var(--color-light);
    text-align: center;
    z-index: 10;
}

/* Title Section - Figma: x=375, y=119, 691x195 */
.title-section {
    position: absolute;
    top: 119px;
    left: 375px;
    width: 691px;
    height: 195px;
    text-align: center;
    z-index: 10;
}

/* Subtitle Top - Figma: font 25px, line-height 1.469775390625em, Ploni DL (light) */
.subtitle-top {
    font-family: var(--font-family-light);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.469775390625em;
    color: var(--color-light);
    text-align: center;
    margin: 0;
}

/* Main Title - Figma: font 65px, weight 700, line-height 0.9230769230769231em */
.main-title {
    font-family: var(--font-family-bold);
    font-size: 65px;
    font-weight: 700;
    line-height: 0.9230769230769231em;
    color: var(--color-gold);
    text-shadow: 0px 4px 15px rgba(14, 49, 63, 0.7);
    text-align: center;
    margin: 0;
}

/* Subtitle Bottom - Figma: font 25px, Ploni DL (light) */
.subtitle-bottom {
    font-family: var(--font-family-light);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.469775390625em;
    color: var(--color-light);
    text-align: center;
    margin-top: 2px;
}

/* Form Container - Figma: x=80, y=370, 302x561, border-radius 50px */
.form-container {
    position: absolute;
    top: 370px;
    left: 80px;
    width: 302px;
    height: 561px;
    background-color: var(--color-light);
    border-radius: 50px;
    z-index: 20;
}

/* Form inner content - Figma: padding 39px left/right, 50px top */
.lead-form {
    padding: 50px 39px;
}

/* Form Title - Figma: font 25px, weight 600, line-height 1.2em */
.lead-form h2 {
    font-family: var(--font-family-bold);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2em;
    color: var(--color-primary);
    text-align: right;
    margin: 0 0 10px 0;
    padding-right: 7px;
}

/* Form Fields Container - Figma: y=44 from Group 2 */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 10px;
}

/* Input Fields - Figma: 225x48, border 2px, border-radius 3px, Ploni DL (light) */
.form-group input {
    width: 225px;
    height: 48px;
    border: 2px solid var(--color-primary);
    border-radius: 3px;
    background: transparent;
    padding: 0 13px;
    font-family: var(--font-family-light);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.11em;
    color: var(--color-primary);
    text-align: right;
}

.form-group input::placeholder {
    color: var(--color-primary);
    opacity: 1;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
}

/* Checkbox Group - Figma: y=289 from Group 2, 215x106 */
/* In RTL, checkbox should be on RIGHT of label text */
/* HTML order: checkbox, label - in RTL flex-row, checkbox appears on right */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    flex-direction: row;
    padding-left: 5px;
}

/* Checkbox - Figma: 17x16.23, border 1.5px, border-radius 2px */
.checkbox-group input[type="checkbox"] {
    width: 17px;
    height: 16px;
    min-width: 17px;
    border: 1.5px solid var(--color-primary);
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 3px;
    background-color: transparent;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DFDFD6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Checkbox Label - Figma: 186x106, font 12px, line-height 1.25em */
.checkbox-group label {
    width: 186px;
    font-family: var(--font-family-bold);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25em;
    color: var(--color-primary);
    text-align: right;
}

/* Submit Button - Figma: x=23 from Group2, y=413, 178x48, border-radius 3px */
#btnSubmit {
    width: 178px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--color-light);
    border: none;
    border-radius: 3px;
    font-family: var(--font-family-bold);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1111111111111112em;
    cursor: pointer;
    margin-top: 18px;
    margin-left: 23px;
    margin-right: 33px;
    transition: background-color 0.3s ease;
    text-align: center;
}

#btnSubmit:hover {
    background-color: #0a242e;
}

#btnSubmit:disabled {
    background-color: #666;
    cursor: not-allowed;
}

/* Sale Details Section - Figma: x=446.23, y=581.58, 993.79x108.88 */
.sale-details {
    position: absolute;
    top: 582px;
    left: 446px;
    width: 994px;
    height: 109px;
    z-index: 10;
}

/* Strip Background - Figma: x=16.11, 977.68x108.88 */
.strip-bg {
    position: absolute;
    top: 0;
    left: 16px;
    width: 978px;
    height: 109px;
}

/* Sale Items Container */
.sale-items {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 109px;
    padding: 0 16px;
    direction: rtl;
}

/* Sale Item - Each item container */
.sale-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 294px;
    height: 57px;
    padding-top: 0px;
}

/* First item has different width - 295px */
.sale-item:first-child {
    width: 295px;
}

/* Check Icon - Figma: 36.03x34 */
.sale-item .check-icon {
    width: 36px;
    height: 34px;
    flex-shrink: 0;
    order: 1;
}

/* Sale Item Text - Figma: font 25px, weight 600, line-height 0.96em, text-align: center for vertical */
.sale-item span {
    font-family: var(--font-family-bold);
    font-size: 25px;
    font-weight: 600;
    line-height: 0.96em;
    color: var(--color-light);
    text-align: right;
    order: 1;
    vertical-align: middle;
}


/* Desktop sale items order - Figma order (right to left): חבילת מוצרי חשמל → הנחה מיוחדת → תנאי תשלום */
/* HTML order: תנאי תשלום (1st) → הנחה מיוחדת (2nd) → חבילת מוצרי חשמל (3rd) */
/* In RTL, first HTML item appears on right, so we reverse using flexbox order */
.sale-item:nth-child(1) { order: 3; } /* תנאי תשלום → leftmost */
.sale-item:nth-child(2) { order: 2; } /* הנחה מיוחדת → middle */
.sale-item:nth-child(3) { order: 1; } /* חבילת מוצרי חשמל → rightmost */

/* Footer Section - Figma: x=-6, y=694, 1446x330 - FIXED to end at y=1024 */
/* Figma gradient with rotate(180deg): transparent at TOP, solid at BOTTOM */
/* Original: linear-gradient(180deg, solid 52%, 80% 77%, transparent 95%) */
/* After 180deg rotation: transparent 5% → 80% 23% → solid 48-100% */
.footer {
    position: absolute;
    top: 694px;
    left: -6px;
    width: 1446px;
    height: 330px;
    max-height: 330px;
    background: linear-gradient(180deg, rgba(14, 49, 63, 0) 5%, rgba(14, 49, 63, 0.8) 23%, rgba(14, 49, 63, 1) 48%, rgba(14, 49, 63, 1) 100%);
    z-index: 5;
    overflow: visible;
}

.footer-content {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Footer Text - Figma: x=585.74, y=92.44 relative to footer, 780.71x125.18 */
.footer-text {
    position: absolute;
    right: 80px;
    top: 92.44px;
    width: 780.71px;
    height: 125.18px;
    font-family: var(--font-family-light);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.1em;
    color: var(--color-light);
    text-align: right;
}

/* Footer Disclaimer - Figma: x=715.02, y=276.02 relative, 651.07x17 */
.footer-disclaimer {
    position: absolute;
    right: 80px;
    top: 276.02px;
    width: 651.07px;
    height: 17px;
    font-family: var(--font-family-bold);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25em;
    color: var(--color-light);
    text-align: right;
}

/* Footer Logos - Figma: x=80, y=948 in main frame = y=254 in footer, 240x45 */
.footer-logos {
    position: absolute;
    left: 80px;
    top: 254px;
    width: 240px;
    height: 45px;
}

/* Mobile footer hidden on desktop */
.mobile-footer {
    display: none;
}

/* Mobile footer text hidden on desktop */
.mobile-footer-text {
    display: none;
}

/* Mobile form container hidden on desktop */
.mobile-form-container {
    display: none;
}

/* Mobile only elements hidden on desktop */
.mobile-only {
    display: none;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   Scale from 1920px down to 768px
   =========================== */

/* Extra Large Desktop (1920px+) - Center the design */
@media screen and (min-width: 1441px) {
    body {
        background-color: var(--color-primary);
    }

    .container {
        max-width: 1440px;
        margin: 0 auto;
    }
}

/* Large Desktop (1025px - 1440px) - Keep desktop layout, scale proportionally */
@media screen and (max-width: 1440px) and (min-width: 1025px) {
    .container {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 100vh;
        position: relative;
        padding-bottom: 280px; /* Space for footer */
    }

    /* Background Image - scale proportionally */
    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 65%;
        min-height: 500px;
        object-fit: cover;
        z-index: 0;
    }

    /* Project Logo - scale and position proportionally */
    .project-logo {
        position: absolute;
        top: 25px;
        right: 3%;
        left: auto;
        width: clamp(150px, 15vw, 220px);
        height: auto;
        z-index: 10;
    }

    /* Disclaimer - hide on smaller desktop */
    .disclaimer {
        display: none;
    }

    /* Title Section - scale proportionally */
    .title-section {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 55%;
        height: auto;
        text-align: center;
        z-index: 10;
    }

    .subtitle-top {
        font-size: clamp(16px, 1.6vw, 22px);
    }

    .main-title {
        font-size: clamp(36px, 4vw, 58px);
        line-height: 0.92em;
    }

    .subtitle-bottom {
        font-size: clamp(16px, 1.6vw, 22px);
    }

    /* Form Container - position on left, scale down */
    .form-container {
        position: absolute;
        top: 220px;
        left: 4%;
        width: clamp(220px, 18vw, 280px);
        height: auto;
        padding: clamp(25px, 2.5vw, 40px) clamp(20px, 2vw, 35px);
        border-radius: 40px;
        z-index: 20;
    }

    .lead-form {
        padding: 0;
    }

    .lead-form h2 {
        font-size: clamp(16px, 1.5vw, 22px);
        margin-bottom: 8px;
    }

    .form-fields {
        gap: 8px;
        margin-top: 8px;
    }

    .form-group input {
        width: 100%;
        height: clamp(36px, 3vw, 44px);
        font-size: clamp(13px, 1.1vw, 16px);
    }

    .checkbox-group {
        margin-top: 12px;
    }

    .checkbox-group label {
        font-size: clamp(9px, 0.75vw, 11px);
        width: auto;
        line-height: 1.3em;
    }

    #btnSubmit {
        width: clamp(120px, 11vw, 160px);
        height: clamp(36px, 3vw, 44px);
        font-size: clamp(13px, 1.1vw, 16px);
        margin-left: auto;
        margin-top: 12px;
    }

    /* Sale Details - position below title, scale width */
    .sale-details {
        position: absolute;
        top: 340px;
        left: auto;
        right: 0;
        width: clamp(550px, 60vw, 850px);
        height: auto;
        z-index: 10;
    }

    .strip-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .sale-items {
        position: relative;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: auto;
        min-height: 70px;
        padding: clamp(12px, 1.5vw, 22px) clamp(8px, 1vw, 14px);
        direction: rtl;
    }

    .sale-item {
        width: auto;
        flex: 1;
        max-width: clamp(150px, 17vw, 260px);
        height: auto;
        padding-top: 0;
    }

    .sale-item .check-icon {
        width: clamp(22px, 2.2vw, 32px);
        height: auto;
    }

    .sale-item span {
        font-size: clamp(14px, 1.5vw, 22px);
        line-height: 1em;
    }

    /* Footer - at bottom */
    .footer {
        position: absolute;
        bottom: 0;
        left: 0;
        top: auto;
        width: 100%;
        height: 280px;
        max-height: 280px;
        background: linear-gradient(180deg, rgba(14, 49, 63, 0) 0%, rgba(14, 49, 63, 0.8) 20%, rgba(14, 49, 63, 1) 45%, rgba(14, 49, 63, 1) 100%);
        z-index: 5;
    }

    .footer-content {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .footer-text {
        position: absolute;
        right: 4%;
        top: 160px;
        width: clamp(450px, 50vw, 700px);
        height: auto;
        font-size: clamp(11px, 1vw, 15px);
        line-height: 1.15em;
    }

    .footer-disclaimer {
        position: absolute;
        right: 4%;
        bottom: 25px;
        top: auto;
        width: clamp(350px, 42vw, 600px);
        height: auto;
        font-size: clamp(9px, 0.8vw, 11px);
    }

    .footer-logos {
        position: absolute;
        left: 4%;
        bottom: 20px;
        top: auto;
        width: clamp(140px, 14vw, 200px);
        height: auto;
    }

    .mobile-footer {
        display: none;
    }
}

/* Tablet (769px - 1024px) - Stacked layout */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 100%;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .background-image {
        position: absolute;
        left: 0;
        width: 100%;
        height: 50vh;
        min-height: 400px;
        object-fit: cover;
        z-index: 0;
    }

    .container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50vh;
        min-height: 400px;
        background: linear-gradient(180deg, rgba(14, 49, 63, 0.3) 0%, rgba(14, 49, 63, 0.6) 60%, rgba(14, 49, 63, 0.95) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .project-logo {
        position: absolute;
        right: 3%;
        top: 20px;
        left: auto;
        width: clamp(140px, 18vw, 200px);
        height: auto;
        z-index: 5;
    }

    .disclaimer {
        display: none;
    }

    .title-section {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        padding: 60px 20px 30px;
        text-align: center;
        z-index: 2;
    }

    .main-title {
        font-size: clamp(36px, 5.5vw, 55px);
        line-height: 0.95em;
    }

    .subtitle-top,
    .subtitle-bottom {
        font-size: clamp(16px, 2.2vw, 22px);
    }

    .vertical-disclaimer {
        display: none;
    }

    /* Main content - stacked with sale-details first */
    .main-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 3%;
        gap: 20px;
        position: relative;
        z-index: 3;
    }

    /* Sale details comes FIRST */
    .sale-details {
        order: 1;
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 15px 2%;
    }

    .strip-bg {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        right: 0;
        width: 100%;
        height: 90px;
        z-index: 0;
    }

    .sale-items {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .sale-item {
        flex: 1;
        min-width: auto;
        max-width: 250px;
        padding-top: 15px;
        justify-content: center;
    }

    .sale-item span {
        font-size: clamp(14px, 1.8vw, 20px);
    }

    .sale-item .check-icon {
        width: clamp(24px, 3vw, 32px);
        height: auto;
    }

    /* Form comes SECOND */
    .form-container {
        order: 2;
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 320px;
        height: auto;
        padding: 35px 30px;
        border-radius: 40px;
        margin: 0 auto;
    }

    .lead-form h2 {
        font-size: clamp(18px, 2.5vw, 23px);
    }

    .form-group input {
        width: 100%;
        height: 44px;
    }

    #btnSubmit {
        height: 44px;
        width: 160px;
        font-size: 16px;
        margin-left: auto;
        margin-right: 33px;
    }

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

    /* Footer */
    .footer {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        min-height: 180px;
        padding: 30px 5% 25px;
        background: linear-gradient(180deg, rgba(14, 49, 63, 0) 0%, rgba(14, 49, 63, 0.8) 25%, rgba(14, 49, 63, 1) 50%, rgba(14, 49, 63, 1) 100%);
        margin-top: auto;
    }

    .footer-text {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 700px;
        margin: 0 auto 15px;
        font-size: clamp(13px, 1.6vw, 18px);
        text-align: center;
        height: auto;
    }

    .footer-disclaimer {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        font-size: clamp(10px, 1.1vw, 12px);
        text-align: center;
        margin-top: 12px;
        height: auto;
    }

    .footer-logos {
        position: relative;
        left: auto;
        top: auto;
        width: clamp(160px, 22vw, 220px);
        margin: 15px auto 0;
        display: block;
        height: auto;
    }

    .mobile-footer {
        display: none;
    }
}

/* Tablet specific adjustments (769px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    /* Reorder: sale-details should appear BEFORE form on tablet */
    .main-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 5%;
        gap: 30px;
    }

    /* Sale details comes first (order: 1), form comes second (order: 2) */
    .sale-details {
        order: 1;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        flex: none;
        padding: 20px 3%;
        position: relative;
    }

    .form-container {
        order: 2;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    /* Sale items horizontal on tablet */
    .sale-items {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .sale-item {
        flex: 1;
        min-width: 180px;
        max-width: 280px;
        width: auto;
        justify-content: center;
        padding-top: 20px;
    }

    .strip-bg {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        right: 0;
        width: 100%;
        height: 100px;
        z-index: 0;
    }

    .sale-item span {
        font-size: clamp(16px, 2vw, 22px);
    }

    .sale-item .check-icon {
        width: clamp(26px, 3vw, 34px);
        height: auto;
    }
}

/* MOBILE STYLES - FULLY FLUID NO WHITE EDGES */
@media screen and (max-width: 768px) {
    html, body {
        background-color: var(--color-primary);
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    .container {
        width: 100vw;
        max-width: 100vw;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        min-height: 60vh;
        object-fit: cover;
        z-index: 0;
    }
    .container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        height: 65vh;
        background: linear-gradient(180deg, rgba(14, 49, 63, 1) 23%, rgba(14, 49, 63, 0) 100%);
        z-index: 1;
        pointer-events: none;
    }
    .project-logo {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: clamp(140px, 40vw, 245px);
        height: auto;
        margin: 25px auto 15px;
        z-index: 10;
        display: block;
    }
    .vertical-disclaimer { display: none; }
    .title-section {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px 5% 20px;
        height: auto;
        z-index: 10;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }
    .subtitle-top {
        font-size: clamp(16px, 4.5vw, 25px);
        line-height: 1.47em;
        order: 1;
    }
    .main-title {
        font-size: clamp(28px, 9vw, 65px);
        line-height: 0.9em;
        order: 2;
    }
    .subtitle-bottom {
        font-size: clamp(16px, 4.5vw, 25px);
        line-height: 1.47em;
        margin-top: 15px;
        order: 3;
    }
    .main-content { display: contents; }
    .sale-details {
        position: relative;
        top: auto;
        left: auto;
        width: 100vw;
        max-width: 100vw;
        height: auto;
        min-height: auto;
        background-color: var(--color-gold);
        z-index: 10;
        margin-top: 0;
        padding: 25px 5%;
        box-sizing: border-box;
    }
    .strip-bg { display: none; }
    .sale-items {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 0;
        gap: 20px;
    }
    .sale-item {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 0;
        margin-bottom: 0;
        text-align: center;
    }
    .sale-item:first-child { width: 100%; max-width: 100%; }
    .sale-item:nth-child(1) { order: 3; }
    .sale-item:nth-child(2) { order: 2; }
    .sale-item:nth-child(3) { order: 1; }
    .sale-item .check-icon {
        width: clamp(28px, 7vw, 36px);
        height: auto;
        order: 1;
        margin-bottom: 5px;
    }
    .sale-item span {
        font-size: clamp(18px, 4.5vw, 25px);
        line-height: 1.1em;
        text-align: center;
        order: 2;
    }
    .footer {
        position: relative;
        top: auto;
        left: auto;
        width: 100vw;
        max-width: 100vw;
        height: auto;
        min-height: auto;
        background: var(--color-primary);
        z-index: 10;
        padding: 25px 5%;
        box-sizing: border-box;
    }
    .footer-content {
        position: relative;
        padding: 15px 0;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .footer .footer-text {
        display: none;
    }
    .mobile-footer-text {
        display: block;
        background: #0e313f;
        padding: 25px 5%;
        box-sizing: border-box;
        position: relative;
        z-index: 10;
    }
    .mobile-footer-text .footer-text {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        font-size: clamp(13px, 3.5vw, 20px);
        line-height: 1.3em;
        text-align: center;
        height: auto;
        color: var(--color-light);
    }
    .form-container {
        position: relative;
        top: auto;
        left: auto;
        width: 100vw;
        max-width: 100vw;
        height: auto;
        margin: 0;
        padding: 25px 5%;
        background-color: var(--color-light);
        border-radius: 0;
        z-index: 10;
        box-sizing: border-box;
    }
    .lead-form {
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
    .lead-form h2 {
        width: 100%;
        text-align: center;
        padding-right: 0;
        font-size: clamp(18px, 5vw, 25px);
    }
    .form-fields { width: 100%; }
    .form-group input { width: 100%; max-width: 100%; }
    .checkbox-group { width: 100%; padding-left: 0; }
    .checkbox-group label { width: auto; flex: 1; }
    #btnSubmit {
        margin-left: auto;
        margin-right: auto;
        width: clamp(140px, 55%, 178px);
    }
    .footer .footer-disclaimer {
        display: block;
        position: relative;
        width: 100%;
        font-size: clamp(10px, 2.5vw, 12px);
        text-align: center;
        margin-top: 15px;
        right: auto;
        top: auto;
        height: auto;
        order: 3;
    }
    .footer .footer-logos {
        display: block;
        position: relative;
        width: clamp(150px, 40vw, 240px);
        margin: 15px auto 0;
        left: auto;
        top: auto;
        height: auto;
        order: 2;
    }
    .mobile-footer { display: none; }
    .mobile-only { display: block; }

    /* Hide desktop form, show mobile form */
    .form-container { display: none; }
    .mobile-form-container {
        display: block;
        position: relative;
        top: auto;
        left: auto;
        width: 100vw;
        max-width: 100vw;
        height: auto;
        margin: 0;
        padding: 25px 5%;
        background-color: var(--color-light);
        border-radius: 0;
        z-index: 10;
        box-sizing: border-box;
    }
    .mobile-form-container .lead-form {
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
    .mobile-form-container .lead-form h2 {
        width: 100%;
        text-align: center;
        padding-right: 0;
        font-size: clamp(18px, 5vw, 25px);
    }
    .mobile-form-container .form-fields { width: 100%; }
    .mobile-form-container .form-group input { width: 100%; max-width: 100%; }
    .mobile-form-container .checkbox-group { width: 100%; padding-left: 0; }
    .mobile-form-container .checkbox-group label { width: auto; flex: 1; }
    .mobile-form-container #btnSubmitMobile {
        width: 178px;
        height: 48px;
        background-color: var(--color-primary);
        color: var(--color-light);
        border: none;
        border-radius: 3px;
        font-family: var(--font-family-bold);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.1111111111111112em;
        cursor: pointer;
        margin-top: 18px;
        margin-left: auto;
        margin-right: auto;
        transition: background-color 0.3s ease;
        text-align: center;
    }
    .mobile-form-container #btnSubmitMobile:hover {
        background-color: #0a242e;
    }
    .mobile-form-container #btnSubmitMobile:disabled {
        background-color: #666;
        cursor: not-allowed;
    }
}

/* Very small screens */
@media screen and (max-width: 375px) {
    .container {
        max-width: 100%;
    }
}

/* Large screens - center the design */
@media screen and (min-width: 1441px) {
    body {
        background-color: var(--color-primary);
    }

    .container {
        margin: 0 auto;
    }
}
