* {
    box-sizing: border-box;
}

:root {
    --bg: #111418;
    --bg-soft: #1a2027;
    --panel: #ffffff;
    --panel-soft: #f4f6f8;
    --panel-muted: #fafbfc;
    --text: #101418;
    --text-soft: #566270;
    --line: #dde3e8;
    --accent: #b11f29;
    --accent-dark: #8f121c;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(10, 15, 20, 0.12);
    --radius: 24px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--panel);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 88px;
}

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

.brand span {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text);
}

.desktop-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.desktop-nav a,
.mobile-nav a {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    color: var(--accent);
}

.desktop-nav .is-active,
.mobile-nav .is-active {
    color: var(--accent);
}

.menu-toggle,
.menu-close {
    appearance: none;
    border: 0;
    background: none;
    color: var(--text);
    cursor: pointer;
    font: inherit;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
    border-radius: 999px;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
}

.mobile-menu-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    background: var(--white);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-top,
.mobile-menu-body {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    padding: 24px 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.mobile-menu-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 32px 0;
    background: var(--white);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-nav a {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    line-height: 1.1;
}

.mobile-contact {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
}

.mobile-contact p {
    margin: 0 0 8px;
}

.menu-open .mobile-menu {
    display: block;
}

.hero,
.page-hero {
    background:
        radial-gradient(circle at top right, rgba(177, 31, 41, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.hero {
    padding: 88px 0 72px;
}

.page-hero {
    padding: 68px 0 48px;
}

.hero-grid,
.page-hero-grid,
.two-columns,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
}

.hero h1,
.page-hero h1,
.section h2 {
    margin: 0;
    line-height: 1.08;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.lead {
    margin: 22px 0 0;
    max-width: 62ch;
    font-size: 1.08rem;
    color: var(--text-soft);
}

.lead-dark {
    color: var(--text-soft);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--accent-dark);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.button-secondary-dark,
.hero .button-secondary {
    border-color: rgba(16, 20, 24, 0.14);
    color: var(--text);
    background: rgba(16, 20, 24, 0.03);
}

.button-secondary-dark:hover,
.button-secondary-dark:focus-visible,
.hero .button-secondary:hover,
.hero .button-secondary:focus-visible {
    border-color: rgba(177, 31, 41, 0.28);
    background: rgba(177, 31, 41, 0.06);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.hero-highlights li,
.sector-list span {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
}

.hero-highlights li {
    background: rgba(16, 20, 24, 0.04);
    border: 1px solid rgba(16, 20, 24, 0.08);
}

.hero-media img,
.hero-placeholder,
.page-hero-media img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.page-hero-media img {
    min-height: 320px;
}

.hero-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(177, 31, 41, 0.16), rgba(255, 255, 255, 0.8));
    font-size: 4rem;
    font-weight: 700;
}

.section {
    padding: 88px 0;
}

.section-muted {
    background: var(--panel-muted);
}

.section-dark {
    background: var(--bg);
    color: var(--white);
}

.section-accent {
    background: linear-gradient(180deg, #fff5f6 0%, #fff 100%);
}

.section p {
    color: var(--text-soft);
}

.section-dark p,
.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.info-card,
.service-card,
.contact-card,
.content-panel,
.map-card,
.page-card {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--panel-soft);
    box-shadow: var(--shadow);
}

.light-card,
.page-card,
.content-panel {
    background: var(--panel);
}

.section-dark .service-card,
.steps-list article {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: none;
}

.info-card h3,
.service-card h3,
.contact-card h3,
.content-panel h3,
.page-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.check-list {
    margin: 0;
    padding-left: 20px;
}

.card-grid,
.gallery-grid,
.page-cards,
.steps-list {
    display: grid;
    gap: 22px;
}

.card-grid,
.page-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
}

.steps-list {
    grid-template-columns: 1fr;
}

.steps-list article {
    padding: 24px;
    border-radius: 20px;
}

.steps-list strong {
    display: inline-block;
    margin-bottom: 10px;
    color: #ffb6bc;
}

.sector-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.sector-list span {
    background: #fff;
    border: 1px solid var(--line);
}

.sector-list-dark span {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

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

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

.gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--panel-soft);
    box-shadow: var(--shadow);
    min-height: 260px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.map-card {
    padding: 0;
    overflow: hidden;
    min-height: 100%;
}

.map-card iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
}

.map-consent {
    position: relative;
    display: grid;
    place-items: stretch;
    background: linear-gradient(180deg, #eef2f6 0%, #e5ebf1 100%);
    min-height: 420px;
}

.map-placeholder {
    display: grid;
    place-items: center;
    gap: 18px;
    padding: 36px;
    text-align: center;
    color: var(--text-soft);
}

.map-placeholder-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.map-consent.is-loaded .map-placeholder {
    display: none;
}

.contact-card p {
    margin: 0 0 16px;
}

.contact-card strong {
    color: var(--text);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    font-weight: 700;
    color: var(--accent);
}

.site-footer {
    padding: 26px 0 38px;
    background: var(--bg);
    color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px 24px;
    font-size: 0.95rem;
}

.footer-inner p {
    margin: 0 0 6px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
}

.footer-consent-link {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 16px 0;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 20, 24, 0.08);
    box-shadow: 0 18px 50px rgba(10, 15, 20, 0.18);
}

.cookie-banner-copy p {
    margin: 0 0 10px;
}

.cookie-banner-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.legal-content {
    max-width: 900px;
}

.legal-content h2 {
    margin: 0 0 12px;
}

.legal-content p {
    margin: 0 0 24px;
}

@media (max-width: 1100px) {
    .card-grid,
    .gallery-grid,
    .gallery-grid-wide,
    .page-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .hero-grid,
    .page-hero-grid,
    .two-columns,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-media,
    .page-hero-media {
        order: -1;
    }

    .section-heading,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .header-inner {
        min-height: 78px;
    }

    .brand img {
        width: 128px;
    }

    .section,
    .hero,
    .page-hero {
        padding: 64px 0;
    }

    .card-grid,
    .gallery-grid,
    .gallery-grid-wide,
    .page-cards {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .hero-actions,
    .contact-actions {
        width: 100%;
    }

    .hero-media img,
    .hero-placeholder,
    .page-hero-media img {
        min-height: 280px;
    }

    .map-card iframe {
        min-height: 320px;
    }

    .map-consent {
        min-height: 320px;
    }

    .map-placeholder-actions,
    .footer-legal,
    .cookie-banner-actions {
        width: 100%;
    }
}
