/**
 * Home page layout
 */

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

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* ── Main Slide ── */
.home-slide {
    width: 100%;
    height: 100vh;
    position: relative;
    background: linear-gradient(240deg, #00A183 0%, #009E51 49%, #529A2F 100%);
}

/* ── Language toggle ── */
.home-lang-toggle {
    position: fixed;
    top: 1.2rem;
    right: 2rem;
    z-index: 100;
    padding: 5px 14px;
    background: none;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.home-lang-toggle .lang-toggle-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
}

/* ── Logo ── */
.home-logo-wrap {
    position: absolute;
    top: 24vh;
    left: 50%;
    transform: translateX(-50%);
}

.home-logotype {
    width: clamp(280px, 37vw, 620px);
    height: auto;
    display: block;
}

/* ── Headline ── */
.home-headline {
    position: absolute;
    top: 51.1vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(2rem, 5.4vh, 3.25rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.07;
    white-space: nowrap;
}

/* ── Primary CTA button ── */
.home-cta-btn {
    position: absolute;
    top: 69.4vh;
    left: 50%;
    transform: translateX(-50%);
    width: 285px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.home-cta-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* ── Secondary link ── */
.home-secondary-link {
    position: absolute;
    top: 78.6vh;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.home-secondary-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .home-cta-btn {
        width: 250px;
        height: 52px;
        font-size: 14px;
        gap: 14px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .home-headline { font-size: 1.7rem; }
}
