@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-steel: #0d1117;
    --steel-mid: #161b22;
    --steel-light: #21262d;
    --accent-blue: #58a6ff;
    --accent-ice: #79c0ff;
    --accent-cold: #00bcd4;
    --white: #f0f6fc;
    --gray-light: #c9d1d9;
    --gray-mid: #8b949e;
    --border-color: #30363d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-steel);
    color: var(--gray-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ══════════ HEADER / NAV ══════════ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-area img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-text span {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--accent-cold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: var(--gray-mid);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-cold);
}

.nav-cta {
    background: var(--accent-cold);
    color: var(--dark-steel) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--accent-ice) !important;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle img {
    width: 28px;
    filter: brightness(0) invert(1);
}

/* ══════════ HERO ══════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/sfondo-ghiaccio-1600.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 17, 23, 0.92) 0%,
        rgba(13, 17, 23, 0.75) 40%,
        rgba(13, 17, 23, 0.6) 100%
    );
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, var(--dark-steel));
    z-index: 2;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(88, 166, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88, 166, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1320px;
    width: 100%;
    padding: 0 1.5rem;
    padding-top: 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-cold);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-cold), var(--accent-ice));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--gray-mid);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-cold), #0097a7);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--gray-light);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--accent-cold);
    color: var(--accent-cold);
}

/* ══════════ STATS BAR ══════════ */
.stats-bar {
    position: relative;
    z-index: 10;
    margin-top: -5rem;
    padding: 0 1.5rem;
}

.stats-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.stat-item {
    background: var(--steel-mid);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: background 0.3s;
}

.stat-item:hover {
    background: var(--steel-light);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number .accent {
    color: var(--accent-cold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ══════════ ABOUT / SERVICES ══════════ */
.section {
    padding: 7rem 1.5rem;
}

.section-container {
    max-width: 1320px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 12px;
    z-index: 2;
    pointer-events: none;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.about-image-accent {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent-cold);
    border-radius: 12px;
    z-index: -1;
}

.about-text p {
    color: var(--gray-mid);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-light);
}

.feature-list li::before {
    content: '◆';
    color: var(--accent-cold);
    font-size: 0.6rem;
}

/* ══════════ FULL-WIDTH IMAGE BREAK ══════════ */
.image-break {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 350px;
    overflow: hidden;
}

.image-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-break::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        var(--dark-steel) 0%,
        rgba(13, 17, 23, 0.3) 30%,
        rgba(13, 17, 23, 0.3) 70%,
        var(--dark-steel) 100%
    );
    z-index: 1;
}

.image-break-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-break-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--white);
    font-weight: 700;
    max-width: 600px;
    padding: 0 1.5rem;
}

/* ══════════ SERVICES GRID ══════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--steel-mid);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s;
    position: relative;
}

.service-card:hover {
    border-color: var(--accent-cold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.15);
}

.service-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-content {
    padding: 2rem;
}

.service-card-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--steel-light);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.service-card:hover .service-card-number {
    color: rgba(0, 188, 212, 0.2);
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-mid);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ══════════ PROJECTS / GALLERY ══════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.gallery-item:first-child {
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(13, 17, 23, 0.8));
}

.gallery-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow:0px 1px 1px rgba(13, 17, 23, 0.8);
}

/* ══════════ CTA SECTION ══════════ */
.cta-section {
    padding: 7rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 188, 212, 0.08) 0%, transparent 70%);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-container .section-title {
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--gray-mid);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--steel-mid);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: left;
    transition: border-color 0.3s;
}

.contact-card:hover {
    border-color: var(--accent-cold);
}

.contact-card-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
    color: var(--gray-mid);
    font-size: 0.9rem;
    text-decoration: none;
    line-height: 1.6;
}

.contact-card a:hover {
    color: var(--accent-cold);
}

/* ══════════ FOOTER ══════════ */
footer {
    background: var(--steel-mid);
    border-top: 1px solid var(--border-color);
    padding: 4rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 30px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-mid);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--steel-light);
    border-radius: 8px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--accent-cold);
}

.footer-social a img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.footer-col h5 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: var(--gray-mid);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-cold);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-mid);
    font-size: 0.8rem;
}

.footer-legal {
    color: var(--gray-mid);
    font-size: 0.75rem;
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item:first-child {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .about-image-wrapper img {
        height: 350px;
    }

    .hero {
        min-height: 90vh;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
        justify-content: center;
    }
}

/* ══════════ ADDITIONS: multipage, languages, SEO pages ══════════ */

img { max-width: 100%; height: auto; }
a { color: inherit; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--accent-cold); color: var(--dark-steel); padding: .6rem 1rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.logo-area a { text-decoration: none; display: block; line-height: 0; }
.site-logo { display: block; height: 40px; width: auto; }
.footer-logo { margin-bottom: 1.25rem; }
.footer-logo .site-logo { height: 46px; }
@media (max-width: 480px) { .logo-area { margin-right: .75rem; min-width: 0; } .logo-area .site-logo { height: 26px; } }
nav ul li a[aria-current="page"] { color: var(--white); }
nav ul li a[aria-current="page"]:not(.nav-cta) { box-shadow: inset 0 -2px 0 var(--accent-cold); padding-bottom: 4px; }

/* Language switcher: <details> works without JavaScript */
.lang-switch { position: relative; margin-left: 1.25rem; }
.lang-switch summary {
  list-style: none; display: flex; align-items: center; gap: .4rem; height: 36px; padding: 0 .75rem;
  color: var(--white); cursor: pointer; border: 1px solid var(--border-color); border-radius: 4px;
  font: 600 .8rem 'Inter', sans-serif; letter-spacing: .5px; transition: border-color .3s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--accent-cold); }
.lang-switch summary svg { width: 16px; height: 16px; color: var(--accent-cold); }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: .35rem; list-style: none;
  background: var(--steel-mid); border: 1px solid var(--border-color); border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5); z-index: 1001;
}
.lang-switch ul a {
  display: flex; gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: 6px;
  color: var(--gray-light); text-decoration: none; font-size: .85rem;
}
.lang-switch ul a b { color: var(--accent-cold); width: 1.6rem; }
.lang-switch ul a:hover, .lang-switch ul a[aria-current="true"] { background: var(--steel-light); color: var(--white); }

/* Decorative headline inside the image break (not a heading for SEO) */
.image-break-text .h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--white); font-weight: 700; max-width: 640px; padding: 0 1.5rem;
}
.footer-brand .logo-text { margin-bottom: 1rem; }
.gallery-caption p { font-family: 'Inter', sans-serif; font-weight: 400; font-size: .9rem; max-width: 520px; margin-top: .3rem; color: var(--gray-light); }

/* ── Inner page hero ── */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  padding: 9rem 1.5rem 4.5rem; overflow: hidden; background: var(--dark-steel);
}
.page-hero > picture img, .page-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13,17,23,.55) 0%, rgba(13,17,23,.75) 55%, var(--dark-steel) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 1320px; width: 100%; margin: 0 auto; }
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05; color: var(--white); font-weight: 700; margin: 1rem 0;
}
.page-hero .lead { max-width: 720px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--gray-light); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; font-size: .8rem; letter-spacing: .5px; color: var(--gray-mid); }
.breadcrumbs li + li::before { content: '/'; margin-right: .5rem; color: var(--border-color); }
.breadcrumbs a { color: var(--accent-cold); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ── Text blocks ── */
.prose { max-width: 820px; }
.prose p { font-size: 1.08rem; line-height: 1.85; color: var(--gray-light); margin-bottom: 1.25rem; }
.prose h2 { margin-top: 0; }
.section-alt { background: var(--steel-mid); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

/* Alternating image / text rows */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  padding: 4rem 0; border-bottom: 1px solid var(--border-color);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row:nth-child(even) .feature-media { order: 2; }
.feature-media { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); background: var(--steel-light); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .8s; }
.feature-row:hover .feature-media img { transform: scale(1.04); }
.feature-media .brand-logo {
  position: absolute; left: 1rem; bottom: 1rem; width: 120px; aspect-ratio: auto; object-fit: contain;
  background: #fff; border-radius: 8px; padding: .5rem;
}
.feature-num { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; color: var(--steel-light); line-height: 1; }
.feature-text h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--white); margin: .5rem 0 1rem; line-height: 1.15; }
.feature-text p { color: var(--gray-light); line-height: 1.8; margin-bottom: 1rem; }
.feature-text .feature-list { margin-top: 1rem; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; list-style: none; }
.tags li {
  padding: .45rem .9rem; border: 1px solid var(--border-color); border-radius: 999px;
  font-size: .85rem; color: var(--white); background: var(--steel-light);
}

/* Clients / sectors grid */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; margin-top: 2.5rem; list-style: none; }
.sector-grid li {
  padding: 1.4rem; border: 1px solid var(--border-color); border-radius: 10px; background: var(--dark-steel);
  color: var(--white); font-family: 'Space Grotesk', sans-serif; font-weight: 600; transition: border-color .3s, transform .3s;
}
.sector-grid li::before { content: '❄'; display: block; color: var(--accent-cold); margin-bottom: .6rem; }
.sector-grid li:hover { border-color: var(--accent-cold); transform: translateY(-3px); }

/* Photo gallery */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.photo-grid figure { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-color); }
.photo-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .7s; }
.photo-grid figure:hover img { transform: scale(1.05); }
.photo-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(13,17,23,.9)); color: var(--white); font-size: .9rem; font-weight: 500;
}

/* Quote */
.big-quote {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15;
  color: var(--white); font-weight: 700; max-width: 900px;
}
.big-quote span { color: var(--accent-cold); }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.cert-card { padding: 1.75rem; border: 1px solid var(--border-color); border-radius: 12px; background: var(--steel-mid); }
.cert-card strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; color: var(--white); margin-bottom: .3rem; }
.cert-card span { color: var(--gray-mid); font-size: .9rem; }
.cert-card::before { content: '✓'; display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 1rem; border-radius: 8px; background: rgba(50,205,50,.12); color: #32cd32; font-weight: 700; }

/* Company data table */
.data-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.data-table th, .data-table td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.data-table th { width: 35%; color: var(--gray-mid); font-weight: 500; font-size: .9rem; }
.data-table td { color: var(--white); }
.data-table a { color: var(--accent-cold); }

/* Contact form */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li { padding: 1.25rem; border: 1px solid var(--border-color); border-radius: 10px; background: var(--steel-mid); }
.contact-list small { display: block; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-mid); margin-bottom: .3rem; }
.contact-list a { color: var(--white); text-decoration: none; }
.contact-list a:hover { color: var(--accent-cold); }
.contact-form { padding: 2rem; border: 1px solid var(--border-color); border-radius: 14px; background: var(--steel-mid); display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .85rem; color: var(--gray-mid); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 8px; border: 1px solid var(--border-color);
  background: var(--dark-steel); color: var(--white); font: inherit; font-size: 1rem;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent-cold); outline-offset: 1px; }
.contact-form .btn-primary { border: 0; cursor: pointer; justify-content: center; font-size: 1rem; }
.form-note { font-size: .8rem; color: var(--gray-mid); }
.contact-form .consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; line-height: 1.5; color: var(--gray-light); }
.contact-form .consent input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 1.3rem; height: 1.3rem; margin-top: .1rem; padding: 0;
  border: 1.5px solid var(--border-color); border-radius: 5px; background: var(--dark-steel); cursor: pointer;
  display: grid; place-items: center; transition: border-color .2s, background .2s;
}
.contact-form .consent input::after { content: ''; width: .35rem; height: .65rem; border: solid var(--dark-steel); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -.15rem; transition: transform .15s; }
.contact-form .consent input:checked { background: var(--accent-cold); border-color: var(--accent-cold); }
.contact-form .consent input:checked::after { transform: rotate(45deg) scale(1); }
.contact-form .consent input:hover { border-color: var(--accent-cold); }
.contact-form .consent input:focus-visible { outline: 2px solid var(--accent-cold); outline-offset: 2px; }
.contact-form .consent { cursor: pointer; padding: .9rem 1rem; border: 1px solid var(--border-color); border-radius: 8px; background: rgba(0,188,212,.04); }
.contact-form .consent a { color: var(--accent-cold); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 1.4em; font-size: .95rem; font-weight: 500; }
.form-status.is-ok { color: #32cd32; }
.form-status.is-error { color: #ff7b72; }
.privacy-h { font-family: 'Space Grotesk', sans-serif; color: var(--white); font-size: 1.1rem; margin: 1.75rem 0 .5rem; }

.section-cta { margin-top: 2.5rem; }
.text-link { color: var(--accent-cold); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Intro curtain (home, once per session) */
#fs-intro {
  position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #050b17; color: #fff; clip-path: inset(0 0 0% 0); transition: clip-path .9s cubic-bezier(.76,0,.24,1);
}
html.fs-skip #fs-intro { display: none; }
#fs-intro.fs-out { clip-path: inset(0 0 100% 0); }
html.fs-lock, html.fs-lock body { overflow: hidden; }
#fs-intro .fs-brand { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .4em; }
#fs-intro .fs-brand svg { width: 24px; height: 24px; color: #38bdf8; animation: fs-spin 3s linear infinite; }
#fs-intro .fs-temp { margin-top: 32px; line-height: 1; font-size: min(22vw, 12rem); font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
#fs-intro .fs-deg { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: #38bdf8; }
#fs-intro .fs-bar { margin-top: 32px; width: 224px; height: 1px; background: rgba(255,255,255,.15); overflow: hidden; }
#fs-intro .fs-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0a5cff, #38bdf8); }
#fs-intro .fs-label { margin-top: 16px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5); }
@keyframes fs-spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .feature-row { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .feature-row:nth-child(even) .feature-media { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
}
/* Brand captions: stronger shade so text stays readable on bright photos */
.gallery-item::after { background: linear-gradient(transparent 25%, rgba(13,17,23,.92) 75%); }

/* Navbar: never squeeze the logo or wrap menu items */
.logo-area { flex-shrink: 0; }
nav ul li a { white-space: nowrap; }

/* Below 1024px the full menu no longer fits (FR/DE labels are long): switch to the hamburger */
@media (max-width: 1024px) {
  /* keep the hero buttons clear of the overlapping stats bar */
  .hero { min-height: auto; padding-top: 8rem; padding-bottom: 8rem; }
  nav ul { display: none; }
  .mobile-toggle { display: block; }
  .lang-switch { margin-left: auto; margin-right: .75rem; }
  header.menu-open nav ul {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; padding: .75rem 1.5rem 1.25rem;
    background: rgba(13,17,23,.97); border-bottom: 1px solid var(--border-color);
  }
  header.menu-open nav ul li a { display: block; padding: .9rem 0; font-size: 1rem; }
  header.menu-open nav ul li a.nav-cta { margin-top: .5rem; text-align: center; }
}

@media (max-width: 768px) {
  /* keep the hero buttons clear of the overlapping stats bar */
  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 8rem; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid figure:first-child { grid-column: span 2; grid-row: auto; }
  .page-hero { min-height: 52vh; padding-top: 7rem; padding-bottom: 3rem; }
  .data-table th, .data-table td { display: block; width: 100%; padding: .4rem 0; border: 0; }
  .data-table tr { display: block; padding: .8rem 0; border-bottom: 1px solid var(--border-color); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  #fs-intro { display: none; }
}

/* ── Error pages (404 / 500) ── */
.error-hero { min-height: 70vh; }
.error-code { font-family: 'Space Grotesk', sans-serif; font-size: clamp(5rem, 16vw, 11rem); font-weight: 700; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--accent-cold); }
.error-links { flex-wrap: wrap; }
.error-langs { list-style: none; display: grid; gap: .6rem; margin-top: 2.5rem; }
.error-langs a { display: flex; gap: .8rem; color: var(--gray-light); text-decoration: none; font-size: .95rem; }
.error-langs a:hover { color: var(--white); }
.error-langs b { color: var(--accent-cold); min-width: 2rem; }
