* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    display: flex;
    align-items: center;
    padding: 0.85rem 3rem;
    background: #ffffff;
    box-shadow: 0 1px 6px rgba(20, 30, 40, 0.06);
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.site-header-logo {
    height: 40px;
    width: auto;
    display: block;
}

.home-container {
    display: flex;
    flex: 1;
    width: 100%;
}

.home-left {
    position: relative;
    flex: 0 0 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3% 3%;
    animation: wipeReveal 1.15s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.home-left-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(1.15) contrast(1.08) brightness(0.95) hue-rotate(-2deg);
    animation: kenBurns 22s ease-in-out infinite alternate;
    will-change: transform;
    z-index: 0;
}

.home-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.home-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 45%, rgba(5, 15, 20, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

.home-overlay {
    position: relative;
    z-index: 2;
    width: 94%;
    height: 90%;
    max-width: 720px;
    background: rgba(24, 66, 78, 0.55);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 3rem;
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.35s;
}

.home-greeting {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.home-title {
    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    text-align: center;
}

.home-right {
    position: relative;
    flex: 0 0 50%;
    background: linear-gradient(160deg, #f9fafb 0%, #eef1f2 55%, #e7ebec 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: multiply;
    opacity: 0.035;
    pointer-events: none;
}

.home-right-inner {
    position: relative;
    z-index: 1;
    padding: 4rem 6rem;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

.home-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #1c8c74;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s ease both;
    animation-delay: 0.1s;
}

.home-eyebrow-line {
    width: 28px;
    height: 2px;
    background: #1c8c74;
    display: inline-block;
    border-radius: 2px;
}

.home-text {
    color: #52585d;
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 2.75rem;
    max-width: 480px;
    text-align: justify;
    text-justify: inter-word;
    animation: fadeUp 0.6s ease both;
    animation-delay: 0.2s;
}

.home-text strong {
    color: #22272b;
}

.home-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.home-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.2rem 1.4rem;
    border-radius: 18px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(20, 30, 40, 0.06);
    box-shadow: 0 2px 10px rgba(20, 30, 40, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    animation: fadeUp 0.55s ease both;
}

.home-btn:nth-child(1) { animation-delay: 0.3s; }
.home-btn:nth-child(2) { animation-delay: 0.4s; }
.home-btn:nth-child(3) { animation-delay: 0.5s; }

.home-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(28, 140, 116, 0.35), 0 14px 30px rgba(20, 30, 40, 0.12);
    transform: translateY(-3px);
    border-color: rgba(20, 30, 40, 0.02);
}

.home-btn:focus-visible::before {
    opacity: 1;
}

.home-btn:focus-visible .home-btn-arrow {
    background: var(--accent);
    color: #ffffff;
}

.home-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(20, 30, 40, 0.12);
    border-color: rgba(20, 30, 40, 0.02);
}

.home-btn:hover::before {
    opacity: 1;
}

.home-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 13px;
    background: var(--accent);
    box-shadow: 0 10px 18px -6px var(--accent-shadow);
    color: #ffffff;
    flex-shrink: 0;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.home-btn:hover .home-btn-icon {
    transform: scale(1.08) rotate(-4deg);
}

.home-btn-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.home-btn-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--accent-text);
    line-height: 1.4;
}

.home-btn-desc {
    font-size: 0.82rem;
    color: #8a9095;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0.2rem;
}

.home-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: #f1f3f4;
    color: #a4abb2;
    flex-shrink: 0;
    font-size: 0.8rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.home-btn:hover .home-btn-arrow {
    background: var(--accent);
    color: #ffffff;
    transform: translateX(3px);
}

.home-btn-1 {
    --accent: #1c8c74;
    --accent-shadow: rgba(28, 140, 116, 0.45);
    --accent-text: #14705c;
}

.home-btn-2 {
    --accent: #4d6b87;
    --accent-shadow: rgba(77, 107, 135, 0.45);
    --accent-text: #3c5670;
}

.home-btn-3 {
    --accent: #d69a5f;
    --accent-shadow: rgba(214, 154, 95, 0.45);
    --accent-text: #b87c3f;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

@keyframes wipeReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-overlay,
    .home-eyebrow,
    .home-text,
    .home-btn,
    .home-left,
    .home-left-bg {
        animation: none;
    }

    .home-left {
        clip-path: none;
    }
}

.legal-bar {
    flex-shrink: 0;
    background: #12262b;
    padding: 0.65rem 3rem;
}

.legal-bar p {
    margin: 0;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: #8fa0a5;
}

@media (max-width: 900px) {
    .home-container {
        flex-direction: column;
    }

    .home-left {
        flex: 0 0 auto;
        min-height: 60vh;
    }

    .home-right {
        flex: 0 0 auto;
    }

    .home-right-inner {
        padding: 2.5rem 2rem;
    }

    .home-left {
        padding: 8% 6%;
    }

    .home-overlay {
        max-width: 100%;
        padding: 2.5rem 2rem;
    }

    .home-title {
        font-size: 2.2rem;
    }

    .site-header {
        padding: 0.75rem 1.5rem;
    }

    .legal-bar {
        padding: 0.65rem 1.5rem;
    }

    .legal-bar p {
        font-size: 0.68rem;
    }
}
