:root {
    --ink: #16202a;
    --muted: #5b6672;
    --line: #d8dee5;
    --paper: #ffffff;
    --soft: #f3f6f8;
    --accent: #0e6b5f;
    --accent-dark: #0a4d45;
    --steel: #253746;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background: var(--paper);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--steel);
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--accent);
}

.language-toggle {
    min-width: 64px;
    min-height: 32px;
    border: 1px solid rgba(14, 107, 95, 0.28);
    border-radius: 999px;
    background: rgba(14, 107, 95, 0.06);
    color: var(--accent-dark);
    cursor: pointer;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 14px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.language-toggle:hover {
    border-color: rgba(14, 107, 95, 0.56);
    background: rgba(14, 107, 95, 0.12);
    color: var(--accent);
}

.language-toggle:focus-visible {
    outline: 2px solid rgba(14, 107, 95, 0.35);
    outline-offset: 3px;
}

.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 23, 34, 0.84) 0%, rgba(12, 23, 34, 0.62) 42%, rgba(12, 23, 34, 0.18) 100%),
        url("images/optimized/hero.webp") center / cover no-repeat;
}

.hero-overlay {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    padding: 90px 0 72px;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #7ce2d2;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.45rem, 6vw, 4.8rem);
    max-width: 820px;
}

.hero-copy {
    max-width: 640px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid #7ce2d2;
    background: #7ce2d2;
    color: #08332e;
    font-weight: 700;
}

.button-secondary {
    background: transparent;
    color: #fff;
}

.section {
    padding: 90px 0;
}

.section-muted {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    border: 1px solid var(--line);
    background: #fff;
}

.feature-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.feature-body {
    padding: 24px;
}

.feature-body h3 {
    margin-bottom: 12px;
    font-size: 1.28rem;
}

.feature-body p,
.quality-item p,
.footer-inner {
    color: var(--muted);
}

.quality-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: start;
}

.quality-list {
    display: grid;
    gap: 14px;
}

.quality-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.quality-item span {
    color: var(--accent);
    font-weight: 700;
}

.certificates-section {
    background: #fff;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.certificate-grid figure {
    min-width: 0;
    border: 1px solid var(--line);
    background: #fff;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.certificate-grid img {
    width: 100%;
    height: auto;
    max-height: 330px;
    object-fit: contain;
    background: #fff;
}

.certificate-grid figcaption {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--steel);
    color: #fff;
}

.footer-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
}

.footer-inner p:first-child {
    color: #fff;
    font-weight: 700;
}

.footer-inner a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-inner a:hover {
    color: #fff;
}

.policy-section {
    padding-top: 120px;
}

.policy-content {
    max-width: 920px;
}

.policy-content h1 {
    color: var(--ink);
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 12px;
}

.policy-updated {
    color: var(--muted);
    margin-bottom: 36px;
}

.policy-content h2 {
    font-size: 1.45rem;
    margin: 34px 0 12px;
}

.policy-content h3 {
    font-size: 1.08rem;
    margin: 22px 0 8px;
}

.policy-content p {
    color: var(--muted);
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .feature-grid,
    .quality-layout {
        grid-template-columns: 1fr;
    }

    .certificate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero,
    .hero-overlay {
        min-height: 620px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .header-inner {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 0.88rem;
    }

    .language-toggle {
        min-height: 32px;
        min-width: 56px;
        padding: 0 12px;
    }

    .hero,
    .hero-overlay {
        min-height: 620px;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(12, 23, 34, 0.78) 0%, rgba(12, 23, 34, 0.66) 100%),
            url("images/optimized/hero.webp") center / cover no-repeat;
    }

    .hero-overlay {
        padding: 74px 0 54px;
    }

    .section {
        padding: 64px 0;
    }

    .quality-item {
        grid-template-columns: 42px 1fr;
        padding: 18px;
    }

    .certificate-grid {
        gap: 14px;
    }

    .footer-inner {
        padding: 22px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}
