/* FB Agol Regular */
@font-face {
    font-family: 'regular';
    src: url('./assets/fonts/fbagol-regularwebfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* FB Agol Bold */
@font-face {
    font-family: 'bold';
    src: url('./assets/fonts/fbagol-boldwebfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Montserrat */
@font-face {
    font-family: 'Montserrat';
    src: url('./assets/fonts/Montserrat-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./assets/fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./assets/fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./assets/fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.en {
    font-family: 'Montserrat', sans-serif;
}

:root {
    --primary-color: #F5F5F5;
    --text-color: #1A1A1A;
    --accent-color: #B01E37;
    --background-color: #0D0D0D;
    --card-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.2);
    --font-stack: 'regular', sans-serif;
}

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

html {
    direction: rtl;
}

body {
    font-family: var(--font-stack);
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1 {
    text-align: center;
    font-family: 'bold';
}



.mobile {
    display: none;
}

.desktop {
    display: flex;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
  
}

/* ---------- Page wrap: sticky form beside hero + scrolling content (desktop) ---------- */
/* Grid (not flex) so the form can sit in the DOM between the hero and the rest of the
   content — for mobile ordering — while still forming a full-height sidebar column
   on desktop, spanning both the "top" (hero) and "bottom" (everything else) rows. */

.page-wrap {
    display: grid;
    grid-template-columns: 73vw 27vw;
    grid-template-areas:
        "top    cta"
        "bottom cta";
    align-items: start;
    width: 100%;
}

.content-top {
    grid-area: top;
    min-width: 0;
}

.content-bottom {
    grid-area: bottom;
    min-width: 0;
    container-type: inline-size;
    container-name: main-content;
}

/* ---------- Hero ---------- */

.hero {
    background-image: url('./assets/images/bg-desk1.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    aspect-ratio: 17/9;
}

.hero-overlay {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;    
    height: 100%;
    gap: 2vw;
   
}

.hero-title {
    color: #fff;
    line-height: 1;
    text-align: right;
    font-size: 1.7571vw;
    margin-bottom: 4.9vw;
    text-align: center;

}

.price{
    width: 24.5vw;
     margin-bottom: 4.9vw;
}

.down{
    position: absolute;
    bottom: 2vw;
    right: 50%;
    width: 2.8vw;
    animation: down-arrow-pulse 1.6s ease-in-out infinite;
}

.hero-terms {
    position: absolute;
    bottom: 0.8vw;
    right: 1.2vw;

    color: #fff;
    font-size: 0.651vw;
    line-height: 1.3;
    text-align: right;
}

@keyframes down-arrow-pulse {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 0.2vw rgba(255, 255, 255, 0.4));
    }
    50% {
        transform: translateY(0.6vw);
        filter: drop-shadow(0 0 1vw rgba(255, 255, 255, 0.9));
    }
}



/* ---------- CTA / Form bar ---------- */

.cta-bar {
    grid-area: cta;
    width: 100%;
    min-width: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    background-color: var(--background-color);
    padding: 2vw 1.5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   
   
}

.cta-title {
    color: #fff;
    text-align: center;
    font-size: 1.7vw;
    margin-bottom: 1.2vw;
}

.cta-title a {
    color: inherit
}

/* Don't grow: lets .cta-bar center title + form as one group (Zeekr-style),
   instead of the form floating mid-column far below the title */
.form {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    color: white !important;
}

/* ---------- Dynamics form skin (Zeekr-style, dark) ----------
   The form is injected by FormLoader with its own stylesheet + inline styles
   (e.g. inline background-color:#fff on every .innerSection), so everything
   here is scoped to .form and needs !important to win. */

.form form.marketingForm,
.form form.marketingForm .innerSection,
.form form.marketingForm .columnContainer,
.form .onFormSubmittedFeedback,
.form .onFormSubmittedFeedbackInternalContainer {
    background: transparent !important;
}

.form form.marketingForm,
.form form.marketingForm p,
.form form.marketingForm span,
.form form.marketingForm label,
.form form.marketingForm div {
    color: #fff !important;
    font-family: var(--font-stack) !important;
}

.form form.marketingForm a,
.form form.marketingForm a span {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Hide field titles — placeholders act as labels, like Zeekr */
.form form.marketingForm .textFormFieldBlock > label,
.form form.marketingForm .phoneFormFieldBlock > label,
.form form.marketingForm .lookupFormFieldBlock > label,
.form form.marketingForm .textFormFieldBlock > br,
.form form.marketingForm .phoneFormFieldBlock > br,
.form form.marketingForm .lookupFormFieldBlock > br {
    display: none !important;
}

.form form.marketingForm input[type="text"],
.form form.marketingForm input[type="tel"],
.form form.marketingForm input[type="email"],
.form form.marketingForm input[type="number"],
.form form.marketingForm select,
.form form.marketingForm textarea {
    /* FormLoader sets flex: 2 1 20% on fields inside a column flexbox, which shrinks them */
    flex: 0 0 auto !important;
    height: 46px !important;
    padding: 6px 12px !important;
    background-color: transparent !important;
    border: 1px solid #9DA2A5 !important;
    border-radius: 5px !important;
    color: #fff !important;
    font-family: var(--font-stack) !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

.form form.marketingForm textarea {
    height: auto !important;
    min-height: 92px !important;
}

.form form.marketingForm input:focus,
.form form.marketingForm select:focus,
.form form.marketingForm textarea:focus {
    border-color: #fff !important;
    outline: none !important;
}

.form form.marketingForm *::placeholder {
    color: #BDBDBD !important;
    opacity: 1 !important;
}

/* Keep browser autofill from painting fields light-yellow/white */
.form form.marketingForm input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--background-color) inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
}

/* Phone field: country-code prefix box */
.form form.marketingForm .phoneCountryCode {
    border: none !important;
    background: transparent !important;
    border-radius: 5px !important;
}

.form form.marketingForm .phoneCountryCodeLabel {
    background: transparent !important;
    color: #fff !important;
    border-color: #9DA2A5 !important;
}

/* Lookup (search) fields: default magnifier icon is dark — swap for a light one */
.form form.marketingForm input.lookup-behavior {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23BDBDBD' stroke-width='1.5'%3E%3Ccircle cx='9.5' cy='6.5' r='4.5'/%3E%3Cpath d='M6.3 9.7 1.5 14.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
    background-position: left 12px center !important;
}

/* Lookup suggestion dropdown stays light for readability */
.form form.marketingForm ul.ui-menu {
    background: #fff !important;
    border-radius: 5px !important;
}

.form form.marketingForm ul.ui-menu * {
    color: #000 !important;
}

.form form.marketingForm input[type="checkbox"],
.form form.marketingForm input[type="radio"] {
    accent-color: var(--accent-color);
    width: 18px !important;
    height: 18px !important;
}

.form form.marketingForm .twoOptionFormFieldBlock label,
.form form.marketingForm .consentBlock label,
.form form.marketingForm [data-editorblocktype="Text"] p {
    font-size: 13px !important;
    font-weight: normal !important;
    line-height: 1.4 !important;
}

/* Form content spans carry inline font-size:16px */
.form form.marketingForm [data-editorblocktype="Text"] p span {
    font-size: inherit !important;
}

.form form.marketingForm .submitButtonWrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    text-align: center !important;
}

.form form.marketingForm button.submitButton,
.form form.marketingForm .submitButtonWrapper button {
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    padding: 10px 40px !important;
    background-color: var(--accent-color) !important;
    border: 1px solid transparent !important;
    border-radius: 5px !important;
    color: #fff !important;
    font-family: 'bold', sans-serif !important;
    font-size: 18px !important;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.form form.marketingForm .submitButtonWrapper button:hover {
    filter: brightness(1.15);
}

.form ul li {
    font-size: 1vw;
}

.ui-menu-item-wrapper {
    color: black;
}

form.marketingForm {
    max-width: 24vw !important;
    margin-left: 0.8vw !important;

}

div[data-cached-form-url] .onFormSubmittedFeedback {
    max-width: 24vw !important;
}

.marketingForm .consent {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: flex-start !important;
    padding: 0px !important;
}

.marketingForm .consent {
    gap: 10px !important;
}

/* Text column takes what's left beside the checkbox (otherwise .columnContainer's
   fixed flex-basis makes it overlap the checkbox) */
.marketingForm .consent>.columnContainer:not(.narrowContainer) {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.marketingForm .consent>.columnContainer.narrowContainer {
    width: auto !important;
    flex: 0 0 auto !important;
}

.columnContainer {
    width: 25vw !important;
    max-width: 25vw !important;
    flex: 0 0 23vw !important;
    padding:0px !important;
}

/* Zeekr rhythm: no section padding; 46px fields with a 10px gap; terms, consent
   and button follow at 10px each */
.innerSection.columns-equal-class.wrap-section {
    justify-content: center !important;
    padding: 0 0.5vw !important;
}

.phoneFormFieldBlock,
.textFormFieldBlock ,
 .lookupFormFieldBlock  {
    padding: 0 0 10px !important;
}

.form form.marketingForm [data-editorblocktype="Text"] {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.form form.marketingForm .twoOptionFormFieldBlock {
    padding: 0 !important;
}

.twoOptionFormFieldBlock div.twooptionbuttons div input,
.twoOptionFormFieldBlock div.twooption_checkbox div input,
.optionSetFormFieldBlock div.radiobuttons div input,
.multiOptionFormFieldBlock fieldset div > input[type="checkbox"],
.eventSession > div input[type="checkbox"],
.eventSession > div input[type="radio"],
.consentBlock div input {
    margin: 6px !important;
    margin-top: 2px !important;
    margin-left: -5px !important;
}

.thanks-text-1 {
    font-size: 2vw !important;
    font-family: 'bold';
    line-height: 1;
    color: #fff !important;
}

.thanks-text-2 {
    font-size: 2.5vw !important;
    font-family: 'regular';
    line-height: 1;
    color: #fff !important;
}

/* ---------- Movie embed ---------- */

.movie-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.movie-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- USP cards ---------- */

.usp-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2.2569cqw;

    margin: 0 auto;
    padding: 3cqw 2cqw;
}
.card-img{
    width: 34.8380cqw;
}

.card-img2{
    width: 29.2245cqw;
}

/* ---------- Car photo swiper ---------- */

.ut-swiper-section {
    width: 100%;
    padding: 2cqw 0;
}


.ut-swiper-section img {
   width: 100%;
   height: 50cqw;
}

.swiper-button-prev,
.swiper-button-next {
    --swiper-navigation-sides-offset: 1.5cqw;
    --swiper-navigation-color: white;
    --swiper-navigation-size: 4cqw;
}

/* ---------- Choose your UT / color section ---------- */

.choose-color {
  
    width: 100%;
   
}

.choose-color-slide {
    position: relative;
    width: 100%;
}

.choose-color-bg {
    width: 100%;
    display: block;
}

.choose-color-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 7.0602cqw 2cqw 7.0602cqw;
}

.choose-color-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6cqw;
}

.choose-label {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 4.4896cqw;
}

.aion-logo {
    width: 58.5648cqw;
}

.choose-color-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8cqw;
}

.color-name {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 3cqw;
    text-align: center;
}

.color-swatches-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1cqw;
}

.color-swatch {
    width: 4.8137cqw;

    border-radius: 50%;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.color-swatch.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--accent-color);
    transform: scale(1.15);
}

/* ---------- Legal + safety table ---------- */

.legal-text {
    font-size: 1.9329cqw;
    text-align: center;
    padding: 2cqw 8cqw;
    line-height: 1;
    color: #000000;
    white-space: pre-line;
    font-weight: 400;
}

.safety-table {
    width: 100%;
    padding: 0 8cqw 3cqw;
}

.safety-table img {
    width: 100%;
    display: block;
}

/* ---------- Floating call button (mobile) ---------- */

.mobile-call-btn {
    position: fixed;
    bottom: 4vw;
    left: 4vw;
    width: 13vw;
    height: 13vw;
    
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mobile-call-btn img {
    width: 50%;
    height: 50%;
}
.mobile{
    display: none;
}
/* ---------- Mobile overrides ---------- */

@media (max-width: 767px) {
    .mobile {
        display: flex;
    }

    .desktop {
        display: none;
    }

    .page-wrap {
        display: block;
        width: 100%;
    }

    .content-top,
    .content-bottom {
        width: 100%;
    }

    .cta-bar {
        position: static;
        height: auto;
        width: 100%;
    }

    form.marketingForm {
        max-width: 100% !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
    .marketingForm .consent {
        width: 100% !important;
    }
    .columnContainer {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .innerSection.emptyContainer.columns-equal-class.wrap-section.consent {
        max-width: unset !important;
        width: 100% !important;
    }

    div[data-cached-form-url] .onFormSubmittedFeedback {
        max-width: unset !important;
    }
    .innerSection.columns-equal-class.wrap-section {

        padding-right: 1vw !important;
    }
    .hero {
        background-image: url('./assets/images/bg-mob.jpg');
        background-size: 100% 100%;
        aspect-ratio: 440/449;
        background-position: top;
        background-repeat: no-repeat;
    }

    /* Mobile: headline centered, price + limited-time badge stacked below it */
    .hero-overlay {
        flex-direction: column;
        justify-content: flex-end;
        gap: 2.5vw;
        padding: 4vw 4vw 8vw;
    }

    .hero-terms {
        bottom: 1.5vw;
        right: 3vw;
       
        font-size: 1.8vw;
    }

    .hero-title {
        width: auto;
        text-align: center;
        font-size: 4vw;
      
        margin-bottom: unset;
    }
    .hero-title b{
        font-size: 5vw;
    }
    .thanks-text-1,
    .thanks-text-2 {
        font-size: 4vw !important;
        color: #fff !important;
    }
.price{
        width: 60%;
        align-self: center;
        margin-bottom: 4vw;
    }
    .down{
        width: 7vw;
        right: 45vw;
        bottom: 6vw;
    }

    .cta-bar {
        padding: 5vw 4vw;
        gap: 3vw;
    }

    .cta-title {
        font-size: 4.8vw;
    }

    /* Phone number + "השאירו פרטים" are desktop-only */
    .cta-title-extra {
        display: none;
    }

    .form {
        max-width: none;
    }

    .form ul li {
        font-size: 3vw;
    }

    .usp-row {
        flex-direction: column;
        align-items: center;
        gap: 3vw;
        max-width: none;
        margin: 0;
        padding: 5vw 4vw;
    }

    .card-img{
        width: 66.9704vw;
    }
    .card-img2{
        width: 66.9704vw;
    }

    .ut-swiper-section img{
        width: 100%;
        height: 56.2642vw;
    }
    .swiper-button-prev,
    .swiper-button-next {
        --swiper-navigation-sides-offset: 3vw;
        --swiper-navigation-size: 4vw;
    }

    .choose-color-overlay {
        padding: 5vw 4vw;
    }

    .choose-color-text {
        gap: 1.5vw;
    }

    .choose-label {
        font-size: 5vw;
    }

    .aion-logo {
        width: 45vw;
    }

    .color-swatches-row {
        gap: 3vw;
    }

    .color-swatch {
        width: 5vw;
        height: 5vw;
    }

    .color-swatch.active {
        box-shadow: 0 0 0 0.5vw #fff, 0 0 0 0.9vw var(--accent-color);
    }

    .choose-color-bottom {
        gap: 2vw;
    }

    .color-name {
        font-size: 4vw;
    }

    .legal-text {
        font-size: 2.4vw;
        padding: 5vw 4vw;
    }

    .safety-table {
        padding: 0 4vw 6vw;
    }
}
