:root {
    --ethics-accent: #16b8a6;
    --ethics-accent-hover: #10a494;
    --ethics-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    color: var(--ethics-white);
    font-family: "Poppins", sans-serif;
}

.ethics-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background-color: #071e31;
    background-image: url("../images/ethics-hero-background.jpg");
    background-position: center;
    background-size: cover;
}

.ethics-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 22, 37, 0.97) 0%, rgba(5, 29, 47, 0.84) 40%, rgba(5, 29, 47, 0.2) 72%),
        linear-gradient(0deg, rgba(3, 17, 29, 0.58) 0%, transparent 38%);
}

.ethics-hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 2.5rem;
    padding-bottom: 1.75rem;
}

.ethics-hero__header {
    display: flex;
    align-items: center;
}

.company-logo {
    display: inline-flex;
    align-items: center;
    transition: opacity 180ms ease;
}

.company-logo:hover {
    opacity: 0.86;
}

.company-logo img {
    display: block;
    width: auto;
    height: 52px;
}

.ethics-hero__content {
    align-self: center;
    width: min(100%, 680px);
    padding: 4rem 0;
}

.ethics-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: #75e2d6;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.ethics-hero__eyebrow::before {
    width: 2.25rem;
    height: 2px;
    content: "";
    background: var(--ethics-accent);
}

.ethics-hero h1 {
    max-width: 620px;
    margin: 0;
    color: var(--ethics-white);
    font-size: clamp(3rem, 7vw, 6.25rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.ethics-hero__content > p {
    max-width: 600px;
    margin: 1.75rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.ethics-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.25rem;
}

.ethics-actions .btn {
    display: inline-flex;
    min-width: 190px;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 1.75rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.ethics-actions .btn:hover {
    transform: translateY(-2px);
}

.ethics-actions__primary {
    color: #042a2b;
    background: var(--ethics-accent);
    box-shadow: 0 14px 30px rgba(22, 184, 166, 0.22);
}

.ethics-actions__primary:hover,
.ethics-actions__primary:focus {
    color: #031f20;
    background: var(--ethics-accent-hover);
}

.ethics-actions__secondary {
    color: var(--ethics-white);
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.ethics-actions__secondary:hover,
.ethics-actions__secondary:focus {
    color: var(--ethics-white);
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(255, 255, 255, 0.16);
}

.ethics-hero__privacy {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.6rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.85rem;
}

.ethics-hero__privacy i {
    color: #75e2d6;
}

.ethics-hero__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
}

@media (max-width: 767.98px) {
    .ethics-hero {
        background-position: 64% center;
    }

    .ethics-hero__overlay {
        background: linear-gradient(180deg, rgba(4, 22, 37, 0.74) 0%, rgba(4, 22, 37, 0.92) 45%, rgba(3, 17, 29, 0.98) 100%);
    }

    .ethics-hero__container {
        padding: 1.5rem 1.25rem;
    }

    .company-logo img {
        height: 44px;
    }

    .ethics-hero__content {
        align-self: end;
        padding: 3rem 0 2.5rem;
    }

    .ethics-hero h1 {
        font-size: clamp(3.25rem, 17vw, 5rem);
    }

    .ethics-actions {
        display: grid;
    }

    .ethics-actions .btn {
        width: 100%;
    }

    .ethics-hero__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .company-logo,
    .ethics-actions .btn {
        transition: none;
    }
}
