/* =========================================================
   OTTO HOME PANEL
   ========================================================= */

.otto-panel-section {
    padding: 28px 0;
}

.otto-panel {
    background: #EEFFFF;

    border: 2px solid var(--carpal-navy);
    border-radius: 38px;

    padding: 38px 55px 30px;

    color: var(--carpal-navy);
}


/* ---------------------------------------------------------
   Heading
   --------------------------------------------------------- */

.otto-heading {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    margin-bottom: 30px;
}

.otto-heading-icon {
    width: 78px;
    height: auto;
    flex: 0 0 auto;
}

.otto-heading h1 {
    margin: 0;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.15;

    color: var(--carpal-navy);
}

.otto-heading h1 strong {
    font-weight: 700;
}


/* ---------------------------------------------------------
   Intro
   --------------------------------------------------------- */

.otto-intro {
    margin-bottom: 26px;

    font-size: 18px;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   Quick action buttons
   --------------------------------------------------------- */

.otto-quick-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 26px;

    margin-bottom: 20px;
}

.otto-command-btn {
    background: transparent;

    border: 2px solid var(--carpal-navy);
    border-radius: 25px;

    color: var(--carpal-navy);

    font-size: 18px;
    font-weight: 400;

    min-height: 42px;

    padding: 6px 32px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.otto-command-btn:nth-child(1) {
    width: 34%;
}

.otto-command-btn:nth-child(2) {
    width: 56%;
}

.otto-command-btn:nth-child(3) {
    width: 66%;
}

.otto-command-btn:hover {
    background: var(--carpal-navy);
    color: #fff;
}


/* ---------------------------------------------------------
   Question label
   --------------------------------------------------------- */

.otto-question-label {
    margin: 14px 0 18px;

    text-align: center;

    font-size: 18px;
}


/* ---------------------------------------------------------
   Question box
   --------------------------------------------------------- */

.otto-question-box {
    display: flex;
    align-items: center;

    min-height: 235px;

    padding: 35px 38px;

    background: #fff;

    border-radius: 34px;

    margin-bottom: 20px;
}

.otto-question-input {
    flex: 1;

    border: 0;
    outline: none;

    background: transparent;

    color: var(--carpal-navy);

    font-size: 18px;
    font-style: italic;

    padding: 15px;
}

.otto-question-input::placeholder {
    color: var(--carpal-navy);
    opacity: 1;
}

.otto-fetch-btn {
    min-width: 188px;

    border: 0;
    border-radius: 17px;

    background: var(--carpal-green);
    color: var(--carpal-navy);

    font-size: 18px;
    font-weight: 700;

    padding: 13px 28px;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease;
}

.otto-fetch-btn:hover {
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   Footer message
   --------------------------------------------------------- */

.otto-footer-text {
    margin: 0;

    font-size: 17px;
    line-height: 1.35;
}

.otto-footer-text a {
    color: var(--carpal-navy);
    text-decoration: underline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .otto-panel {
        padding: 32px 35px 28px;
    }

    .otto-heading h1 {
        font-size: 29px;
    }

    .otto-command-btn:nth-child(1),
    .otto-command-btn:nth-child(2),
    .otto-command-btn:nth-child(3) {
        width: 75%;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .otto-panel-section {
        padding: 18px 0;
    }

    .otto-panel {
        border-radius: 26px;

        padding: 25px 20px;
    }

    .otto-heading {
        align-items: flex-start;

        gap: 12px;

        margin-bottom: 22px;
    }

    .otto-heading-icon {
        width: 56px;
    }

    .otto-heading h1 {
        font-size: 24px;
    }

    .otto-intro {
        font-size: 16px;
    }

    .otto-quick-actions {
        align-items: stretch;

        gap: 12px;
    }

    .otto-command-btn:nth-child(1),
    .otto-command-btn:nth-child(2),
    .otto-command-btn:nth-child(3) {
        width: 100%;
    }

    .otto-command-btn {
        font-size: 15px;

        padding: 8px 15px;
    }

    .otto-question-label {
        font-size: 16px;
    }

    .otto-question-box {
        min-height: 160px;

        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        padding: 24px;
    }

    .otto-question-input {
        width: 100%;

        font-size: 16px;

        text-align: center;
    }

    .otto-fetch-btn {
        width: 100%;
    }

    .otto-footer-text {
        font-size: 15px;
    }

}

/* =========================================================
   BUY ONLINE / TRADE AND SELL
   ========================================================= */

.home-actions-section {
    padding: 50px 0 70px;
}

.home-action-card {
    max-width: 470px;
    margin: 0 auto;
}


/* Image */

.home-action-image {
    display: block;

    width: 100%;
    height: 245px;

    object-fit: cover;

    border-radius: 30px;

    margin-bottom: 20px;
}


/* Title */

.home-action-title {
    display: inline-block;

    margin-bottom: 15px;

    background: var(--carpal-navy);

    color: #fff;

    font-size: 34px;
    font-weight: 700;
    line-height: 1;

    padding: 8px 18px 7px;
}

.home-action-title span {
    color: var(--carpal-green);
}


/* Description */

.home-action-text {
    min-height: 68px;

    margin: 0 0 24px;

    color: var(--carpal-navy);

    font-size: 20px;
    line-height: 1.4;
}

.home-action-text strong {
    font-weight: 700;
}


/* CTA */

.home-action-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 76px;

    padding: 12px 20px;

    border-radius: 18px;

    background: #8de7f4;
    color: var(--carpal-navy);

    font-size: 22px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease;
}

.home-action-btn:hover {
    color: var(--carpal-navy);
    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .home-actions-section {
        padding: 35px 0 45px;
    }

    .home-action-image {
        height: auto;
        border-radius: 22px;
    }

    .home-action-title {
        font-size: 27px;
    }

    .home-action-text {
        min-height: auto;
        font-size: 17px;
    }

    .home-action-btn {
        min-height: 58px;

        font-size: 18px;

        border-radius: 14px;
    }

}

/* =========================================================
   HOME INVENTORY PREVIEW
   ========================================================= */

.home-inventory-preview {
    padding: 45px 0 55px;

    background-image: url("../images/inventory-background.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-section-title {
    margin: 0 0 12px;

    color: var(--carpal-navy);

    font-size: 36px;
    font-weight: 400;
}

.home-section-title strong {
    font-weight: 700;
}

.home-section-intro {
    max-width: 1050px;

    margin: 0;

    color: var(--carpal-navy);

    font-size: 18px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   VIDEO
   --------------------------------------------------------- */

.inventory-video-panel {
    overflow: hidden;

    border-radius: 30px;

    background: #000;
}

.inventory-preview-video {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 610px;

    object-fit: cover;
}


/* ---------------------------------------------------------
   VEHICLE CARDS
   --------------------------------------------------------- */

.inventory-preview-card {
    border: 0;
    border-radius: 30px;

    background: transparent;

    overflow: hidden;
}

.inventory-preview-card .card-img-top {
    width: 100%;
    height: 330px;

    object-fit: cover;

    border-radius: 30px;
}

.inventory-preview-card .card-body {
    padding: 16px 0 0;
}

.inventory-preview-card .vehicle-title {
    margin-bottom: 5px;

    color: var(--carpal-navy);

    font-size: 25px;
    font-weight: 700;
    line-height: 1.05;
}

.inventory-preview-card .vehicle-price {
    margin-bottom: 15px;

    color: var(--carpal-navy);

    font-size: 25px;
    font-weight: 700;
    line-height: 1.05;
}

.inventory-preview-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.inventory-preview-card .vehicle-description {
    margin: 0 0 10px;
    padding: 0 2px 0;

    color: var(--carpal-navy);
    font-size: 19px;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

.inventory-preview-card .vehicle-button {
    margin-top: auto;
}


/* ---------------------------------------------------------
   SHOP BUTTON
   --------------------------------------------------------- */

.inventory-shop-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 0px;

    min-height: 52px;

    padding: 10px 20px;

    border-radius: 17px;

    background: var(--carpal-green);
    color: #1853a0;

    text-decoration: none;

    font-size: 23px;
    font-weight: 700;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}

.inventory-shop-btn:hover {
    color: #1853a0;

    transform: translateY(-1px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .inventory-preview-video {
        min-height: 450px;
    }

    .inventory-preview-card .card-img-top {
        height: 280px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .home-inventory-preview {
        padding: 35px 0 45px;
    }

    .home-section-title {
        font-size: 29px;
    }

    .home-section-intro {
        font-size: 16px;
    }

    .inventory-preview-video {
        min-height: 430px;
    }

    .inventory-preview-card .card-img-top {
        height: auto;
    }

    .inventory-preview-card .vehicle-title,
    .inventory-preview-card .vehicle-price {
        font-size: 22px;
    }

    .inventory-preview-card .vehicle-description {
        font-size: 17px;
    }

    .inventory-shop-btn {
        margin-top: 28px;

        font-size: 18px;
    }

}

/* =========================================================
   WINDOWS-DOWN GUARANTEE
   ========================================================= */

.guarantee-section {
    padding: 45px 0;
}

.guarantee-panel {
    margin: 0 auto;

    padding: 38px 30px 45px;

    background: #eafcfc;

    border: 2px solid var(--carpal-navy);
    border-radius: 20px;

    color: var(--carpal-navy);
}


/* ---------------------------------------------------------
   TEXT
   --------------------------------------------------------- */

.guarantee-title {
    margin: 0 0 20px;

    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}

.guarantee-title strong {
    font-weight: 700;
}

.guarantee-panel p {
    font-size: 16px;
    line-height: 1.35;
}

.guarantee-lead {
    margin-bottom: 22px;
}

.guarantee-list-title {
    margin: 22px 0 8px;
}

.guarantee-list {
    margin: 0 0 35px;
    padding-left: 25px;

    font-size: 16px;
    line-height: 1.35;
}


/* ---------------------------------------------------------
   VIDEO
   --------------------------------------------------------- */

.guarantee-video-wrapper {
    max-width: 610px;

    margin: 0 auto;

    overflow: hidden;

    background: #fff;

    border: 2px solid var(--carpal-navy);
    border-radius: 30px;
}

.guarantee-video-wrapper .ratio {
    background: #fff;
}

.guarantee-video-wrapper iframe {
    border: 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .guarantee-section {
        padding: 30px 0;
    }

    .guarantee-panel {
        padding: 28px 20px 30px;

        border-radius: 20px;
    }

    .guarantee-title {
        font-size: 25px;
    }

    .guarantee-panel p,
    .guarantee-list {
        font-size: 15px;
    }

    .guarantee-video-wrapper {
        border-radius: 20px;
    }

}

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    padding: 45px 0 55px;
}

.faq-title {
    margin: 0 0 28px;

    color: var(--carpal-navy);

    font-size: 30px;
    font-weight: 400;
}

.faq-title strong {
    font-weight: 700;
}


/* ---------------------------------------------------------
   FAQ GROUPS
   --------------------------------------------------------- */

.faq-group {
    margin-bottom: 24px;
}

.faq-category {
    margin: 0 0 8px 4px;

    color: var(--carpal-green);

    font-size: 15px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   BOOTSTRAP ACCORDION OVERRIDES
   --------------------------------------------------------- */

.faq-section .accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: #eafcfc;
    --bs-accordion-active-color: var(--carpal-navy);
}

.faq-section .accordion-item {
    margin-bottom: 10px;

    border: 0;

    background: transparent;
}

.faq-section .accordion-button {
    min-height: 46px;

    padding: 8px 18px;

    border: 1.5px solid var(--carpal-navy);
    border-radius: 24px !important;

    background: #eafcfc;

    color: var(--carpal-navy);

    font-size: 14px;
    font-weight: 600;

    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #eafcfc;
    color: var(--carpal-navy);

    box-shadow: none;
}

.faq-section .accordion-button::after {
    width: 14px;
    height: 14px;

    background-size: 14px;
}

.faq-section .accordion-collapse {
    border: 0;
}

.faq-section .accordion-body {
    margin: 5px 10px 0;

    padding: 14px 18px;

    border-radius: 16px;

    background: #f6ffff;

    color: var(--carpal-navy);

    font-size: 14px;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   WHY CARPAL / VIDEO
   --------------------------------------------------------- */

.faq-benefits-panel {
    margin-top: 35px;

    padding: 26px 28px 34px;

    border: 1.5px solid var(--carpal-navy);
    border-radius: 18px;

    background: #eafcfc;

    color: var(--carpal-navy);
}

.faq-benefits-title {
    margin: 0 0 10px;

    font-size: 25px;
    font-weight: 400;
}

.faq-benefits-title strong {
    font-weight: 700;
}

.faq-benefits-text {
    max-width: 620px;

    margin: 0 0 25px;

    font-size: 18px;
    line-height: 1.15;
}


/* ---------------------------------------------------------
   VIDEO
   --------------------------------------------------------- */

.faq-benefits-video {
    max-width: 610px;

    margin: 0 auto;

    overflow: hidden;

    border: 1.5px solid var(--carpal-navy);
    border-radius: 24px;

    background: var(--carpal-green);
}

.faq-benefits-video iframe {
    border: 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .faq-section {
        padding: 35px 0 45px;
    }

    .faq-title {
        font-size: 26px;
    }

    .faq-section .accordion-button {
        min-height: 44px;

        padding: 8px 14px;

        font-size: 13px;
    }

    .faq-benefits-panel {
        padding: 22px 18px 26px;
    }

    .faq-benefits-title {
        font-size: 23px;
    }

    .faq-benefits-text {
        font-size: 16px;
    }

}

/* =========================================================
   GET IN TOUCH
   ========================================================= */

.home-contact-section {
    padding: 55px 0 25px;

    background-color: #fbffff;
    background-image: url("../images/carpal-pattern.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


.home-contact-wrapper {
    max-width: 1050px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.home-contact-title {
    margin: 0 0 45px;

    color: var(--carpal-navy);

    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
}

.home-contact-title strong {
    font-weight: 700;
}


/* ---------------------------------------------------------
   FORM
   --------------------------------------------------------- */

.home-contact-section .form-label {
    margin: 0 0 10px;

    color: var(--carpal-navy);

    font-size: 20px;
    font-weight: 700;
}


.home-contact-section .form-control {
    min-height: 52px;

    padding: 10px 15px;

    border: 1px solid #7890a5;
    border-radius: 4px;

    background: #fff;

    color: var(--carpal-navy);

    font-size: 17px;

    box-shadow: none;
}


.home-contact-section textarea.form-control {
    min-height: 100px;

    resize: vertical;
}


.home-contact-section .form-control:focus {
    border-color: var(--carpal-navy);

    box-shadow: 0 0 0 2px rgba(32, 63, 92, 0.08);
}


/* ---------------------------------------------------------
   SUBMIT
   --------------------------------------------------------- */

.home-contact-submit {
    display: block;

    width: 100%;
    min-height: 58px;

    margin-top: 15px;

    border: 0;
    border-radius: 15px;

    background: var(--carpal-navy);
    color: #fff;

    font-size: 22px;
    font-weight: 700;

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}


.home-contact-submit:hover {
    opacity: 0.95;

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .home-contact-section {
        padding: 40px 0 25px;
    }

    .home-contact-title {
        margin-bottom: 30px;

        font-size: 30px;
    }

    .home-contact-section .form-label {
        font-size: 17px;
    }

    .home-contact-section .form-control {
        min-height: 48px;
    }

    .home-contact-submit {
        min-height: 54px;

        font-size: 19px;
    }

}