/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, sans-serif;
}

/* ── Body ────────────────────────────────────────── */
body {
    background-color: rgb(247, 245, 242);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Outer wrapper: aligns box + KI disclaimer ───── */
.box-wrap {
    width: 60%;
    margin-top: 8%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* ── Card ────────────────────────────────────────── */
#box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 8px 24px,
                rgba(0, 0, 0, 0.08) 0px 2px 6px;
    overflow: hidden;
}

/* ── Layout grid ─────────────────────────────────── */
.wrapper {
    display: grid;
    grid-template-columns: 62% 38%;
    min-height: 540px;
}

/* ── Left panel ──────────────────────────────────── */
.left-div {
    overflow: hidden;
    position: relative;
}

.left-div .image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Top gradient for logo legibility */
.left-div .image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    height: 35%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
    border-top-left-radius: 8px;
    pointer-events: none;
}

.left-div .desktop-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    display: block;
}

.left-div .Logo {
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 58%;
    margin: 1.5em;
}

/* ── KI disclaimer (outside box, below image col) ── */
.KIDisclamer {
    color: #aaa9a7;
    font-size: 0.72em;
    /* Align with the left panel's share of .box-wrap */
    width: 62%;
    padding-top: 0.5em;
    padding-left: 0.1em;
    text-align: left;
    /* Hide on mobile (left panel is hidden) */
    display: block;
}

/* ── Right panel ─────────────────────────────────── */
.right-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5em 1.75em 2em;
    gap: 0;
    border-left: 1px solid rgba(0,0,0,0.06);
}
.r1, .r2, .r3, .r4, .r5{
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

/* Mobile logo — hidden by default, shown only on mobile */
.LogoMobile {
    display: none;
}

/* ── Icon + heading row ──────────────────────────── */
.r1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2em;
    width: 100%;
}

.r1 img.maintenance-icon {
    width: 2.8em;
    height: 2.8em;
    opacity: 0.82;
}

h1 {
    text-align: center;
    font-size: 1.65em;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0.55em 0 0.9em;
    line-height: 1.15;
    color: #1a1a1a;
}

/* ── Tagline banner ──────────────────────────────── */
.r2 {
    background: #6b9390;
    width: 100%;
    padding: 0.65em 1.25em;
    border-radius: 6px;
    margin-bottom: 0;
}

.r2 p {
    color: #fff;
    text-align: center;
    font-size: 1.1em;
    font-weight: 400;
}

/* ── Body text ───────────────────────────────────── */
h2 {
    text-align: center;
    font-size: 1.01em;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    padding: 1.1em 0.4em 1.4em;
    max-width: 32ch;
}

/* ── Divider above icons ─────────────────────────── */
.r3 {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ── Social icons ────────────────────────────────── */
.r5 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    padding-bottom: 0.5em;
}

.r5 a {
    display: block;
    text-decoration: none;
}

.icon {
    background-color: #efefef;
    width: 3.25em;
    height: 3.25em;
    border-radius: 50%;
	border: solid 0.5px #d8d8d8;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(50,50,93,0.18) 0 4px 10px -2px,
                rgba(0,0,0,0.18) 0 2px 6px -3px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.icon:hover {
    transform: translateY(-3px) scale(1.07);
    background-color: #e6e6e6;
    box-shadow: rgba(50,50,93,0.28) 0 8px 18px -2px,
                rgba(0,0,0,0.22) 0 4px 10px -3px;
}

.icon img {
	padding: 0.2em;
    max-width: 68%;
    max-height: 68%;
	opacity: 80%;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
    margin-top: 1.75em;
    padding-bottom: 2em;
    color: rgb(130, 130, 130);
    font-size: 0.88em;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
}

.footer a {
    color: #629EAB;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ── Responsive breakpoints ──────────────────────── */
@media screen and (max-width: 1450px) {
    .box-wrap { width: 70%; }
}

@media screen and (max-width: 1230px) {
    .wrapper { grid-template-columns: 58% 42%; }
    .KIDisclamer { width: 58%; }
}

@media screen and (max-width: 1100px) {
    .box-wrap { width: 80%; }
}

@media screen and (max-width: 1080px) {
    .wrapper { grid-template-columns: 52% 48%; }
    .KIDisclamer { width: 52%; }
}

/* ── Mobile breakpoint (≤900px) ──────────────────── */
@media screen and (max-width: 900px) {
    .box-wrap {
        width: 90%;
        margin-top: 6%;
    }

    #box {
        border-radius: 12px;
    }

    .wrapper {
        grid-template-columns: 100%;
        min-height: unset;
    }

    /* Hide desktop image panel & KI disclaimer */
    .left-div {
        display: none;
    }

    .KIDisclamer {
        display: none;
    }

    /* Show the black logo on mobile only */
    .LogoMobile {
        display: block;
        width: clamp(130px, 52%, 210px);
        margin: 0 auto 1.25em;
    }

    .right-div {
        padding: 2em 1.5em 1.75em;
        border-left: none;
    }

    .r1 img.maintenance-icon {
        width: 3.25em;
        height: 3.25em;
    }

    h1 {
        font-size: 1.7em;
        margin: 0.5em 0 0.8em;
    }

    .r2 {
        border-radius: 8px;
        padding: 0.75em 1.25em;
    }

    h2 {
        font-size: 1.0em;
        padding: 0.9em 0.25em 1.1em;
        max-width: 34ch;
    }

    .r5 {
        gap: 1em;
    }

    .icon {
        width: 3em;
        height: 3em;
    }
}

@media screen and (max-width: 480px) {
    .box-wrap {
        width: 95%;
        margin-top: 5%;
    }

    #box {
        border-radius: 10px;
    }

    .right-div {
        padding: 1.75em 1.25em 1.5em;
    }

    h1 { font-size: 1.35em; }
    h2 { font-size: 0.88em; }

    .r2 p { font-size: 0.98em; }

    .footer { font-size: 0.76em; }
}

@media (max-height: 900px) {
    .box-wrap { margin-top: 4%; }
}