:root {
    --accent: #8c8c8c;
    --accent-hover: #0366d6;
    --text: #2b2b2b;
    --nav-text: #18191d;
    --muted: #727272;
    --line: #dedede;
    --bg: #ffffff;
    --soft: #ededed;
    --footer: #c5c5c5;
    --max: 1170px;
}

* {
    box-sizing: border-box;
}

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

a {
    color: var(--text);
}

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

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

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 10;
    background: #fff;
    padding: 8px 12px;
}

.skip-link:focus {
    left: 8px;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
}

.brand img {
    width: 300px;
}

.primary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    justify-content: flex-end;
}

.primary-nav a,
.footer-nav a {
    color: var(--nav-text);
    text-decoration: none;
}

.primary-nav a {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.6;
    text-transform: uppercase;
}

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

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 12px;
    font: inherit;
}

.site-main {
    min-height: 58vh;
}

.hero {
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.hero-slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: #ddd;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 800ms ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    padding: 24px 0;
    text-align: center;
}

.hero-title h1 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.35;
}

.section {
    padding: 48px 0;
}

.section.compact {
    padding-top: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    align-items: start;
}

.panel {
    border-top: 4px solid var(--accent);
    padding-top: 16px;
}

.panel h2,
.content h1,
.content h2 {
    margin-top: 0;
}

.button-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 18px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.button:hover {
    background: var(--accent-hover);
    color: #fff;
}

.divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 10px 0 40px;
}

.content {
    max-width: 840px;
}

.content.wide {
    max-width: var(--max);
}

.content p {
    margin: 0 0 1rem;
}

.content ul {
    margin-top: 0;
}

.portrait {
    max-width: 394px;
}

.qr {
    width: 150px;
}

.brand-strip {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.media-image {
    border: 1px solid var(--line);
}

.infrastructure-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 36px;
    align-items: center;
}

.infrastructure-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.infrastructure-copy p {
    color: var(--muted);
    margin: 0;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.spec-box {
    background: var(--soft);
    border-left: 5px solid var(--accent);
    padding: 26px 28px;
    min-height: 100%;
}

.spec-box h2 {
    margin: 0 0 14px;
    font-size: 1.5rem;
}

.spec-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.spec-list li {
    position: relative;
    padding-left: 18px;
}

.spec-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    background: var(--accent);
}

.infrastructure-brands {
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.infrastructure-brands h2 {
    margin: 0 0 18px;
    font-size: 1.35rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: stretch;
}

.contact-card {
    background: var(--soft);
    padding: 36px;
    font-style: italic;
    min-height: 320px;
}

.contact-card h1 {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.map-embed {
    min-height: 320px;
    background: var(--soft);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.project-list {
    display: grid;
    gap: 22px;
}

.project-list h2 {
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.site-footer {
    margin-top: 48px;
    background: var(--footer);
    color: var(--text);
    padding: 32px 0;
}

.site-footer a {
    color: var(--text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 32px;
}

.footer-nav {
    display: grid;
    gap: 6px;
    text-align: right;
}

@media (max-width: 800px) {
    .header-inner {
        align-items: flex-start;
    }

    .menu-toggle {
        display: inline-block;
        margin-top: 18px;
    }

    .primary-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 12px;
    }

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

    .header-inner {
        flex-wrap: wrap;
    }

    .grid-3,
    .grid-2,
    .infrastructure-hero,
    .spec-grid,
    .contact-grid,
    .button-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        aspect-ratio: 4 / 3;
    }

    .footer-nav {
        text-align: left;
    }
}
