:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #eef7fb;
    --text: #0a315d;
    --muted: #5f6875;
    --accent: #3bbbd1;
    --accent-dark: #0b477c;
    --accent-red: #d9222f;
    --line: #dce8ef;
    --hero-overlay: rgba(4, 34, 63, 0.76);
    --shadow: 0 20px 44px rgba(10, 49, 93, 0.1);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(220, 232, 239, 0.84);
    box-shadow: 0 10px 28px rgba(10, 49, 93, 0.04);
}

.topbar {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 90px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--accent-dark);
    box-shadow: 0 14px 30px rgba(11, 71, 124, 0.18);
}

.brand-mark::after {
    content: '';
    position: absolute;
    inset: 9px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-right-color: transparent;
    border-radius: 50%;
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    color: var(--accent-dark);
    font-size: 1.02rem;
    line-height: 1.2;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.8rem;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-left: auto;
}

.site-nav a {
    padding: 12px 0;
    font-weight: 800;
    color: #303846;
    position: relative;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--accent-dark);
}

.site-nav a.active::after,
.site-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
}

.site-nav a:last-child {
    padding: 15px 28px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent-dark);
    box-shadow: 0 14px 24px rgba(11, 71, 124, 0.18);
}

.site-nav a:last-child:hover,
.site-nav a:last-child.active {
    color: #fff;
    background: #083865;
}

.site-nav a:last-child::after {
    display: none;
}

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-switcher a {
    min-width: 52px;
    padding: 11px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    color: var(--muted);
    background: #f5f8fb;
    border: 1px solid #edf2f6;
    text-align: center;
}

.lang-switcher a.active {
    color: #fff;
    background: var(--accent-dark);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
}

.hero {
    position: relative;
    padding: 0 0 34px;
}

.hero-slider {
    display: grid;
    gap: 18px;
}

.hero-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 530px;
    box-shadow: none;
    background: #111;
}

.hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 34, 63, 0.88) 0%, rgba(4, 34, 63, 0.62) 42%, rgba(4, 34, 63, 0.18) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.1));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 72px 64px;
    max-width: 650px;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.hero h1,
.page-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.7rem, 5vw, 4.9rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin: 18px 0 16px;
}

.hero p,
.page-hero p {
    max-width: 620px;
    line-height: 1.75;
    font-size: 1.05rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn,
button.btn,
input.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 14px 28px rgba(59, 187, 209, 0.28);
}

.btn-primary:hover {
    background: #2aaabd;
    transform: translateY(-1px);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.62);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
    border-color: var(--line);
    background: #fff;
    color: var(--accent-dark);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: #fff;
    background: var(--accent-dark);
}

.section {
    padding: 74px 0;
}

.section-about {
    padding-top: 42px;
}

.section-lines,
.section-products {
    background: #f4f8fb;
}

.section-sustainability {
    background: #07345f;
}

.section-sustainability .panel-copy.card {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.section-sustainability .panel-copy h3 {
    color: #fff;
}

.section-sustainability .panel-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.section-sustainability .panel-card {
    border-color: rgba(255, 255, 255, 0.18);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.section-heading h2 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.025em;
    color: var(--accent-dark);
}

.section-heading p {
    margin: 0;
    max-width: 560px;
    color: var(--muted);
    line-height: 1.7;
}

.split-panel {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.split-panel.reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.panel-card,
.card,
.contact-card,
.admin-card {
    background: #fff;
    border: 1px solid rgba(220, 232, 239, 0.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel-card {
    overflow: hidden;
    min-height: 440px;
}

.panel-card img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.panel-copy {
    padding: 42px;
}

.panel-copy h3 {
    margin: 0 0 14px;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.12;
    color: var(--accent-dark);
    overflow-wrap: anywhere;
}

.panel-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    white-space: pre-line;
}

.section-about .split-panel {
    grid-template-columns: 0.95fr 1.05fr;
}

.section-about .panel-card {
    order: -1;
}

.section-about .panel-copy {
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 12px 0;
}

.proof-list {
    display: grid;
    gap: 14px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: #4d5968;
    font-weight: 750;
}

.proof-list li {
    position: relative;
    padding-left: 36px;
}

.proof-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -1px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--accent);
    font-size: 0.86rem;
    font-weight: 900;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card-media {
    position: relative;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-media img {
    transform: scale(1.04);
}

.card:hover {
    border-color: rgba(59, 187, 209, 0.58);
    box-shadow: 0 24px 52px rgba(10, 49, 93, 0.16);
    transform: translateY(-3px);
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-dark);
}

.card-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.card-meta {
    font-size: 0.82rem;
    color: var(--accent-red);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-footer {
    padding: 0 24px 24px;
}

.page-hero {
    padding: 28px 0 42px;
}

.page-hero-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 360px;
    background: #111;
    box-shadow: none;
}

.page-hero-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 34, 63, 0.86) 0%, rgba(4, 34, 63, 0.58) 48%, rgba(4, 34, 63, 0.16) 100%);
}

.page-hero-copy {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 60px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.86);
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-pill {
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 800;
}

.filter-pill.active {
    background: var(--accent-dark);
    color: #fff;
    border-color: var(--accent-dark);
}

.richtext {
    line-height: 1.85;
    color: var(--text);
    white-space: pre-line;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
}

.contact-card {
    padding: 32px;
}

.contact-card h3 {
    margin: 0 0 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--accent-dark);
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-list strong {
    display: block;
    margin-bottom: 4px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    min-height: 52px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: 3px solid rgba(59, 187, 209, 0.18);
    border-color: var(--accent);
}

.contact-form textarea,
.admin-form textarea {
    min-height: 160px;
    resize: vertical;
}

.map-frame {
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 22px;
}

.site-footer {
    margin-top: 80px;
    background: #07345f;
    color: rgba(255, 255, 255, 0.84);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.footer-grid h3,
.footer-grid h4 {
    font-family: 'Outfit', sans-serif;
    margin: 0 0 14px;
    color: #fff;
}

.footer-grid p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
}

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

.alert {
    padding: 14px 18px;
    border-radius: 18px;
    margin-bottom: 18px;
    font-weight: 600;
}

.alert-success {
    background: #dff7ea;
    color: #12633c;
}

.alert-error {
    background: #fde7e7;
    color: #9f2d2d;
}

.empty-state {
    padding: 28px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 980px) {
    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 16px;
        right: 16px;
        padding: 18px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .site-nav a:last-child {
        width: 100%;
        text-align: center;
    }

    .site-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .lang-switcher {
        display: none;
    }

    .hero-content,
    .page-hero-copy {
        padding: 36px;
    }

    .split-panel,
    .contact-layout,
    .footer-grid,
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .section-about .panel-card {
        order: 0;
    }

    .section-about .split-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1320px);
    }

    .topbar {
        min-height: 76px;
    }

    .brand-text strong {
        font-size: 0.82rem;
    }

    .brand-text small {
        display: none;
    }

    .hero-card {
        min-height: 460px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.4rem;
    }

    .section {
        padding: 56px 0;
    }

    .panel-copy,
    .card-body,
    .contact-card {
        padding: 22px;
    }

    .hero-content,
    .page-hero-copy {
        padding: 34px 24px;
    }

    .btn {
        width: 100%;
    }

}
