/* V2 idos landing content. Site chrome lives in otf-chrome.css. */

header#otf {
    height: 100vh;
    background-image: url(/images/header_idos.JPG?t=7);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 0;
}

header#otf .header {
    height: 100%;
}

header#otf::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(12 12 12 / 60%);
    pointer-events: none;
    z-index: -1;
}

header#otf h1,
header#otf h2 {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    color: #fff;
}

header#otf h1 {
    font-size: 4rem;
    margin: 0 auto 25px;
    max-width: 90%;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

header#otf h2 {
    font-size: 2.3rem;
    border-top: 1px solid #8f796b;
    border-bottom: 1px solid #8f796b;
    padding: 25px 40px;
    font-weight: 400;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

header#otf .idos-v2-header-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding: 10px;
    overflow: visible;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

header#otf .idos-v2-header-actions .otf-btn {
    display: inline-block;
    margin: 0;
    padding: 13px 22px;
    border-radius: 8px;
    background: #ec263b;
    color: #fff;
    border: 0;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 39, 58, 0.08);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, color 160ms ease;
}

header#otf .idos-v2-header-actions .otf-btn.is-alt {
    background: #fff;
    color: #10273a;
    border: 1px solid #cadbdc;
}

header#otf .idos-v2-header-actions .otf-btn:hover,
header#otf .idos-v2-header-actions .otf-btn:focus-visible {
    background: #d01e32;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(16, 39, 58, 0.18);
}

header#otf .idos-v2-header-actions .otf-btn:focus {
    outline: none;
    text-decoration: none;
}

header#otf .idos-v2-header-actions .otf-btn:focus-visible {
    outline: 2px solid #ec263b;
    outline-offset: 2px;
}

header#otf .idos-v2-header-actions .otf-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(16, 39, 58, 0.14);
}

header#otf .idos-v2-header-actions .otf-btn.is-alt:hover,
header#otf .idos-v2-header-actions .otf-btn.is-alt:focus-visible {
    background: #fff0f2;
    color: #10273a;
    border-color: #ec263b;
}

@media (prefers-reduced-motion: reduce) {
    header#otf .idos-v2-header-actions .otf-btn {
        transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    }

    header#otf .idos-v2-header-actions .otf-btn:hover,
    header#otf .idos-v2-header-actions .otf-btn:focus-visible,
    header#otf .idos-v2-header-actions .otf-btn:active {
        transform: none;
    }
}

header#otf .cta-button {
    margin: 0 auto;
    padding: 10px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    border: 0;
    background-color: #ec263b;
    color: #fff;
}

.otf-ui.otf-theme-idos {
    --otf-teal: #ec263b;
    --otf-accent: #ec263b;
    --otf-mint: #f7f1f1;
    --otf-band: #f6f3f3;
}

.otf-ui {
    font: 17px / 1.65 var(--otf-font, system-ui, -apple-system, "Segoe UI", sans-serif);
    color: var(--otf-text);
}

.otf-ui h1,
.otf-ui h2,
.otf-ui h3 {
    color: var(--otf-navy);
    line-height: 1.17;
    font-family: var(--otf-font, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.otf-ui h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    letter-spacing: -0.045em;
    font-weight: 700;
    margin: 0.67em 0 0.45em;
}

.otf-ui h2 {
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0.4em 0 0.5em;
}

.otf-ui h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1em 0 0.5em;
}

.otf-ui p {
    max-width: 68ch;
    margin: 1em 0;
}

.otf-ui a {
    color: inherit;
}

.otf-ui .is-dark h2,
.otf-ui .is-dark h3 {
    color: #fff;
}

.otf-ui .is-dark .otf-intro {
    color: #e5f0f2;
}

.otf-ui section {
    scroll-margin-top: 88px;
}

.idos-v2-hero {
    background: linear-gradient(115deg, #f7f1f1, #f6f9fa);
    padding: 95px 0 100px;
}

.otf-ui .idos-v2-hero-title {
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0.67em 0 0.45em;
}

.idos-v2-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 65px;
    align-items: center;
}

.idos-v2-hero .otf-eyebrow {
    margin: 0;
}


.idos-v2-hero-card {
    background: #fff;
    border-radius: 28px;
    padding: 46px;
    box-shadow: 0 24px 70px #143e481c;
    text-align: center;
}

.idos-v2-wear-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 18px;
}

.idos-v2-hero-card h3 {
    margin: 0.6em 0 0.5em;
}

.idos-v2-hero-card p {
    margin-left: auto;
    margin-right: auto;
}

.idos-v2-hero-tag {
    font-size: 0.8rem;
    color: #527477;
    font-weight: 700;
}

.idos-v2-hero-photo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 420px;
    margin: 12px auto 0;
    object-fit: contain;
}

.otf-device {
    width: 180px;
    height: 245px;
    border-radius: 65px;
    background: linear-gradient(130deg, #35464d, #0c151c);
    box-shadow: inset 0 0 0 8px #45535b, 12px 24px 35px #13283244;
    display: grid;
    place-items: center;
    margin: 25px auto;
    transform: rotate(-9deg);
}

.otf-device-sos {
    height: 102px;
    width: 102px;
    border-radius: 50%;
    background: #f5f7f7;
    display: grid;
    place-items: center;
    color: #ec263b;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 0 0 10px #9aa8ae;
}

.idos-v2-device-note {
    font-size: 0.85rem;
    color: #526875;
}

.otf-video-section {
    padding-top: 66px;
    padding-bottom: 66px;
}

.otf-video-section .otf-wrap {
    max-width: 1000px;
}

.otf-video-section .otf-section-header {
    max-width: 760px;
    margin: 0 auto 28px;
}

#folyamatos-biztonsag .otf-benefit-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 0 28px;
    overflow: hidden;
}

#folyamatos-biztonsag .otf-visual {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}

#folyamatos-biztonsag .otf-visual img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}

#folyamatos-biztonsag .otf-benefit-card:nth-child(n + 3) .otf-visual img {
    object-fit: cover;
}

#folyamatos-biztonsag .otf-benefit-card h3,
#folyamatos-biztonsag .otf-benefit-card p {
    padding-left: 28px;
    padding-right: 28px;
}

#folyamatos-biztonsag .otf-benefit-card h3.sub {
    margin-top: 16px;
}

#folyamatos-biztonsag .otf-benefit-card p {
    margin-bottom: 0;
}

.otf-ui .otf-section-header + .otf-highlight,
.otf-ui .otf-section-header + .otf-notice,
.otf-ui .otf-section-header + .otf-media,
.otf-ui .otf-section-header + .otf-faq,
.otf-ui .otf-section-header + .otf-price-tabs,
.otf-ui .otf-section-header + .otf-feature-list,
.otf-ui .otf-section-header + .otf-cta-row {
    margin-top: 28px;
}

.otf-ui .otf-card-grid + .otf-highlight {
    margin-top: 28px;
}

.otf-ui .otf-highlight.otf-institution-highlight {
    background: var(--otf-mint);
    border-left: 5px solid var(--otf-teal);
    padding: 24px;
    border-radius: 12px;
}

.otf-institution-highlight .otf-card-grid {
    margin-top: 22px;
}

.idos-v2-formbox {
    max-width: 920px;
    margin: 30px auto 0;
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    text-align: left;
    color: var(--otf-text);
}

#bovitheto .idos-v2-sensor {
    position: relative;
    height: 340px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--otf-border);
    border-radius: var(--otf-radius-card, 17px);
    overflow: hidden;
}

#bovitheto .idos-v2-sensor img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #fff;
}

#bovitheto .idos-v2-sensor-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 90px;
    padding: 14px 18px 18px;
    background: #fff;
}

#bovitheto .idos-v2-sensor-copy h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    text-align: center;
}

#bovitheto .idos-v2-sensor-copy p {
    max-width: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    font-size: 0.95rem;
    transition: opacity .35s ease, max-height .35s ease, margin .35s ease;
}

#bovitheto .idos-v2-sensor:hover .idos-v2-sensor-copy,
#bovitheto .idos-v2-sensor:focus-within .idos-v2-sensor-copy {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 20px;
    background: rgba(20, 16, 16, 0.72);
}

#bovitheto .idos-v2-sensor:hover .idos-v2-sensor-copy h3,
#bovitheto .idos-v2-sensor:focus-within .idos-v2-sensor-copy h3 {
    color: #fff;
}

#bovitheto .idos-v2-sensor:hover .idos-v2-sensor-copy p,
#bovitheto .idos-v2-sensor:focus-within .idos-v2-sensor-copy p {
    max-height: 280px;
    opacity: 1;
    margin-top: 12px;
    color: #fff;
}

.otf-ui #ajanlatkeres.otf-section {
    padding: 70px 0;
}

.otf-ui #ajanlatkeres .otf-intro {
    margin: 0 auto 25px;
}

.otf-ui #ajanlatkeres .idos-v2-formbox h3,
.otf-ui #ajanlatkeres .idos-v2-formbox legend {
    color: var(--otf-navy);
}

.otf-ui .otf-price-pane > p {
    margin-top: 20px;
}

.otf-ui .otf-loyalty {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff4f5;
    color: var(--otf-accent);
    font-weight: 700;
    line-height: 1.45;
}

@media (max-width: 1600px) {
    header#otf h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    header#otf h1 {
        font-size: 3rem;
    }

    header#otf h2,
    header#otf .cta-button-holder {
        display: none;
    }
}

@media (max-width: 850px) {
    .idos-v2-hero {
        padding: 65px 0 60px;
    }

    .idos-v2-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .idos-v2-hero-card {
        padding: 28px;
    }

    .otf-video-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media (max-width: 600px) {
    header#otf {
        height: 70vh;
    }

    header#otf .cta-button {
        font-size: 12px;
    }
}

@media (max-width: 720px) {
    header#otf .idos-v2-header-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 420px);
        margin-left: auto;
        margin-right: auto;
    }

    header#otf .idos-v2-header-actions .otf-btn {
        text-align: center;
    }
}

@media (max-width: 991px) {
    #bovitheto .otf-card-grid.is-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #bovitheto .idos-v2-sensor {
        height: auto;
    }

    #bovitheto .idos-v2-sensor-copy,
    #bovitheto .idos-v2-sensor:hover .idos-v2-sensor-copy,
    #bovitheto .idos-v2-sensor:focus-within .idos-v2-sensor-copy {
        position: relative;
        height: auto;
        display: block;
        background: #fff;
        padding: 16px 18px 20px;
    }

    #bovitheto .idos-v2-sensor-copy p,
    #bovitheto .idos-v2-sensor:hover .idos-v2-sensor-copy p,
    #bovitheto .idos-v2-sensor:focus-within .idos-v2-sensor-copy p {
        max-height: none;
        opacity: 1;
        margin-top: 10px;
        color: var(--otf-text);
    }

    #bovitheto .idos-v2-sensor h3,
    #bovitheto .idos-v2-sensor:hover .idos-v2-sensor-copy h3,
    #bovitheto .idos-v2-sensor:focus-within .idos-v2-sensor-copy h3 {
        color: var(--otf-navy);
    }
}

@media (max-width: 575px) {
    #bovitheto .otf-card-grid.is-3 {
        grid-template-columns: 1fr;
    }
}

#successMessageModal {
    z-index: 9000;
}

body.modal-open .modal-backdrop {
    z-index: 8990;
}

#successMessageModal .modal-dialog {
    width: min(400px, calc(100% - 32px));
    max-width: 400px;
    margin: 16px auto;
}

#successMessageModal .modal-content {
    position: relative;
    border: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(16, 39, 58, 0.18);
}

#successMessageModal .modal-body {
    padding: 40px 32px 32px;
    text-align: center;
}

#successMessageModal .idos-v2-success-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e8f6ee;
    color: #1e8a45;
    display: flex;
    align-items: center;
    justify-content: center;
}

#successMessageModal .close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8a9aa3;
    opacity: 1;
    font-size: 26px;
    font-weight: 400;
    line-height: 32px;
    text-shadow: none;
    z-index: 2;
}

#successMessageModal .close:hover {
    color: #10273a;
}

#successMessageModal h4 {
    margin: 0 0 8px;
    color: #10273a;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

#successMessageModal p {
    margin: 0 0 24px;
    color: #526875;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

#successMessageModal .btn {
    display: inline-block;
    min-width: 168px;
    background: #ec263b;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

#successMessageModal .btn:hover,
#successMessageModal .btn:focus {
    background: #c81e30;
    color: #fff;
}

#idos-v2-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
