:root {
    --ink: #000000;
    --muted: #656565;
    --wine: #97192F;
    --wine-dark: #7a1325;
    --coral: #DB4140;
    --line: #e8e1db;
    --sand: #f7f3ef;
    --paper: #fffdfb;
    --shadow: 0 30px 70px rgba(23, 23, 27, 0.12);
    --primary-font: 'Helvetica Neue', Helvetica, 'Trebuchet MS', Arial, sans-serif;
    --secondary-font: 'Helvetica Neue', Helvetica, 'Trebuchet MS', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--secondary-font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem 5vw;
    background: rgba(255, 253, 251, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 225, 219, 0.85);
}

.brand img { width: 190px; height: auto; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-family: var(--primary-font);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-nav a { position: relative; padding: 0.35rem 0; color: var(--muted); }
.site-nav a.is-active,
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active::after,
.site-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.1rem;
    width: 100%;
    height: 1px;
    background: var(--wine);
}

.nav-cta {
    border: 1px solid var(--wine);
    color: var(--wine) !important;
    padding: 0.85rem 1.4rem !important;
}
.nav-cta::after { display: none; }
.nav-toggle { display: none; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    letter-spacing: 0 !important;
}

.lang-switch::after { display: none; }

.lang-flag {
    width: 28px;
    height: auto;
    border: 0;
    border-radius: 0;
}

.hero {
    padding: 6.5rem 5vw 5rem;
        background:
        radial-gradient(circle at top right, rgba(219, 65, 64, 0.18), transparent 32%),
        linear-gradient(135deg, #000000 0%, #111111 45%, #1d1d1d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.hero-grid,
.section-grid,
.footer-grid,
.service-detail,
.contact-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    min-width: 0;
}

.eyebrow,
.footer-label,
.meta-label {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--wine);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.72rem;
    font-weight: 700;
}

.eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--wine);
}

.hero h1,
.section-title,
.article-title,
.admin-title {
    font-family: var(--primary-font);
    font-size: clamp(3.2rem, 8vw, 5.8rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    margin: 1rem 0 1.5rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.hero p,
.section-intro,
.article-lead {
    font-family: var(--secondary-font);
    font-size: 1rem;
    color: var(--muted);
    max-width: 640px;
}

.hero p,
.hero .section-intro,
.hero .article-lead {
    color: rgba(255, 255, 255, 0.72);
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn,
.btn-outline,
.btn-small,
.admin-button,
.danger-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    cursor: pointer;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 1.8rem;
    background: var(--ink);
    color: #fff;
}

.btn-outline,
.btn-small {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.hero .btn {
    background: #fff;
    color: var(--ink);
}

.hero .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-small { padding: 0.8rem 1.2rem; }
.danger-button { background: #8e1f28; }

.hero-panel,
.quote-card,
.service-card,
.post-card,
.team-card,
.contact-card,
.admin-card,
.article-shell {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-panel { padding: 2rem; }
.hero-panel,
.hero .quote-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}
.hero-panel img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 240, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.stat {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.stat strong {
    font-family: var(--primary-font);
    font-size: 2.4rem;
    font-weight: 600;
    display: block;
}
.stat span {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.section {
    padding: 5rem 5vw;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.section-title { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 0; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card,
.post-card,
.team-card,
.contact-card,
.admin-card,
.quote-card {
    padding: 2rem;
    min-width: 0;
}

.service-card h2,
.post-card h2,
.team-card h2,
.contact-card h2,
.admin-card h2 {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    line-height: 1;
    margin: 1rem 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.service-card p,
.post-card p,
.team-card p,
.contact-card p,
.quote-card p,
.admin-card p {
    color: var(--muted);
    font-size: 0.96rem;
}

.hero .quote-card p {
    color: rgba(255, 255, 255, 0.74);
}

.service-link,
.post-link {
    display: inline-flex;
    color: var(--wine);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 0.75rem;
}

.section-muted { background: var(--sand); border-block: 1px solid var(--line); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.avatar {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(219, 65, 64, 0.14), rgba(101, 101, 101, 0.06));
    color: var(--wine-dark);
    font-size: 1rem;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.service-detail,
.article-shell,
.legal-shell {
    padding: 3rem;
}

.service-detail h1,
.article-shell h1,
.legal-shell h1 {
    font-family: var(--primary-font);
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 0.95;
    margin: 0.8rem 0 1.5rem;
    font-weight: 600;
}

.article-content {
    color: #2f2f34;
    font-size: 1rem;
}

.article-content h2,
.article-content h3 {
    font-family: var(--primary-font);
    font-size: 2rem;
    line-height: 1;
    margin-top: 2rem;
    font-weight: 600;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer {
    padding: 4rem 5vw 2rem;
    border-top: 1px solid var(--line);
    background: #0f0f13;
    color: #f6f2ec;
}

.footer-logo { width: 170px; margin-bottom: 1.5rem; }
.site-footer p,
.site-footer a,
.footer-bottom { color: rgba(246, 242, 236, 0.72); font-size: 0.95rem; }
.footer-label { margin-bottom: 1rem; color: #f1cbc8; }
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.form-grid {
    display: grid;
    gap: 1.2rem;
}

.field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    padding: 1rem;
    font: inherit;
    background: #fff;
    color: var(--ink);
}

.field textarea { min-height: 220px; resize: vertical; }

.alert {
    padding: 1rem 1.2rem;
    background: #eef7f0;
    border: 1px solid #cce3d1;
    color: #25663c;
    margin-bottom: 1.5rem;
}

.admin-wrap {
    padding: 3rem 5vw 5rem;
    background: var(--sand);
    min-height: 100vh;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--line);
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.admin-table th {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: var(--sand);
    color: var(--wine-dark);
}

@media (max-width: 980px) {
    .hero-grid,
    .section-grid,
    .footer-grid,
    .service-detail,
    .contact-grid,
    .cards-grid,
    .team-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        gap: 1rem;
        padding: 0.9rem 1rem;
    }

    .brand img { width: 150px; }

    .hero {
        padding: 3rem 1rem 2.5rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .hero h1,
    .section-title,
    .article-title,
    .admin-title {
        font-size: 2.4rem;
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .hero-panel {
        padding: 1rem;
    }

    .hero-panel img {
        height: auto;
        max-height: 340px;
    }

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

    .stat strong {
        font-size: 1.8rem;
    }

    .service-card,
    .post-card,
    .team-card,
    .contact-card,
    .admin-card,
    .quote-card {
        padding: 1.4rem;
    }

    .service-card h2,
    .post-card h2,
    .team-card h2,
    .contact-card h2,
    .admin-card h2 {
        font-size: 1.8rem;
    }

    .nav-toggle {
        display: inline-flex;
        border: 1px solid var(--line);
        background: transparent;
        padding: 0.8rem 1rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        font-size: 0.72rem;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 1.5rem 5vw 2rem;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .site-nav.is-open { display: flex; }
    .service-detail,
    .article-shell,
    .legal-shell { padding: 1.4rem; }
    .footer-bottom { flex-direction: column; }
}
