:root {
    --fygra-navy: #003f66;
    --fygra-navy-deep: #062b45;
    --fygra-red: #e30613;
    --fygra-beige: #ecdfcd;
    --fygra-beige-light: #f7f1e8;
    --fygra-white: #ffffff;
    --fygra-ink: #22384a;
    --fygra-muted: #657787;
    --fygra-line: #d9dee2;
    --fygra-shadow: 0 24px 60px rgba(6, 43, 69, .12);
    --fygra-container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--fygra-ink);
    background: var(--fygra-white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: var(--fygra-navy); text-decoration: none; }
a:hover { color: var(--fygra-red); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--fygra-container)); margin-inline: auto; }
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    position: fixed !important;
    top: 12px;
    left: 12px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto;
    color: var(--fygra-navy-deep);
    background: var(--fygra-white);
    box-shadow: var(--fygra-shadow);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .98);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(6, 43, 69, .12); }
.brand-strip {
    color: var(--fygra-white);
    background: var(--fygra-navy-deep);
}
.brand-strip-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.navbar {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.site-branding { flex: 0 0 auto; }
.custom-logo-link,
.default-logo-link {
    display: block;
    padding: 4px 0;
    line-height: 0;
}
.custom-logo,
.default-logo-link img {
    width: auto;
    max-width: 290px;
    max-height: 82px;
}
.primary-navigation {
    display: flex;
    align-items: center;
    gap: 26px;
}
.fygra-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fygra-menu a {
    position: relative;
    display: block;
    padding: 13px 0;
    color: var(--fygra-navy-deep);
    font-size: 14px;
    font-weight: 700;
}
.fygra-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: var(--fygra-red);
    transition: width .2s ease;
}
.fygra-menu a:hover::after,
.fygra-menu .current-menu-item > a::after,
.fygra-menu .current_page_item > a::after { width: 100%; }
.language-switch {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--fygra-navy);
    color: var(--fygra-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}
.language-switch:hover {
    color: var(--fygra-white);
    background: var(--fygra-navy);
}
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 0;
    background: transparent;
}
.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--fygra-navy-deep);
}

.home-hero {
    position: relative;
    overflow: hidden;
    color: var(--fygra-white);
    background:
        radial-gradient(circle at 80% 25%, rgba(227, 6, 19, .18), transparent 24%),
        linear-gradient(130deg, var(--fygra-navy-deep), var(--fygra-navy));
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
    background-size: 48px 48px;
}
.home-hero-inner {
    position: relative;
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: clamp(50px, 8vw, 110px);
    padding-block: 80px;
}
.home-hero-logo {
    padding: 24px;
    background: var(--fygra-beige);
    box-shadow: 0 34px 80px rgba(0,0,0,.24);
    transform: rotate(0deg);
}
.home-hero-logo img { width: 100%; }
.home-hero-title span {
    display: inline-block;
    margin-bottom: 18px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.home-hero-title h1 {
    max-width: 700px;
    margin: 0;
    color: var(--fygra-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 6.2vw, 82px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.04em;
}
.home-welcome {
    padding-block: clamp(90px, 11vw, 150px);
    background: var(--fygra-beige-light);
}
.content-shell { max-width: 900px; }
.section-marker {
    width: 72px;
    height: 4px;
    margin-bottom: 26px;
    background: var(--fygra-red);
}
.home-welcome h2,
.page-intro h1 {
    margin: 0 0 28px;
    color: var(--fygra-navy-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.home-welcome p,
.page-intro p {
    margin: 0 0 22px;
    color: var(--fygra-muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.8;
}

.fygra-page { min-height: 58vh; }
.page-content { padding-block: clamp(70px, 9vw, 125px); }
.page-content > *:first-child { margin-top: 0; }
.page-intro {
    position: relative;
    max-width: 950px;
    margin-bottom: 65px;
    padding: clamp(40px, 7vw, 85px);
    overflow: hidden;
    border-left: 6px solid var(--fygra-red);
    background: var(--fygra-beige-light);
}
.page-intro::after {
    content: "F";
    position: absolute;
    right: -18px;
    bottom: -95px;
    color: rgba(0,63,102,.055);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 310px;
    font-weight: 700;
    line-height: 1;
}
.page-intro > * { position: relative; z-index: 1; }
.page-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--fygra-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.page-intro p:last-child { margin-bottom: 0; }
.services-intro { margin-bottom: 36px; }
.service-stack {
    display: grid;
    gap: 26px;
}
.service-panel {
    padding: clamp(30px, 5vw, 54px);
    border: 1px solid var(--fygra-line);
    border-top: 4px solid var(--fygra-navy);
    background: var(--fygra-white);
    box-shadow: 0 15px 40px rgba(6,43,69,.07);
}
.service-panel h2 {
    margin: 0 0 18px;
    color: var(--fygra-navy-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 500;
    line-height: 1.2;
}
.service-panel h2 span { margin-right: 9px; }
.service-panel p {
    max-width: 970px;
    margin: 0 0 20px;
    color: var(--fygra-muted);
}
.service-panel ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 22px;
}
.service-panel li::marker { color: var(--fygra-red); }
.contact-intro { margin-bottom: 36px; }
.contact-card {
    max-width: 900px;
    padding: clamp(28px, 5vw, 55px);
    border: 1px solid var(--fygra-line);
    background: var(--fygra-white);
    box-shadow: var(--fygra-shadow);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.form-grid label { display: grid; gap: 8px; }
.form-grid label > span {
    color: var(--fygra-navy-deep);
    font-size: 14px;
    font-weight: 750;
}
.form-grid .full-width { grid-column: 1 / -1; }
.fygra-contact-form input[type="text"],
.fygra-contact-form input[type="email"],
.fygra-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd4da;
    border-radius: 0;
    color: var(--fygra-ink);
    background: #fbfcfd;
    outline: none;
}
.fygra-contact-form input:focus,
.fygra-contact-form textarea:focus {
    border-color: var(--fygra-navy);
    box-shadow: 0 0 0 3px rgba(0,63,102,.10);
}
.fygra-contact-form textarea { resize: vertical; }
.consent {
    grid-template-columns: auto 1fr;
    align-items: start;
}
.consent input { margin-top: 6px; }
.consent span {
    color: var(--fygra-muted) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
.form-submit {
    min-width: 155px;
    margin-top: 28px;
    padding: 14px 24px;
    border: 0;
    color: var(--fygra-white);
    background: var(--fygra-navy);
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.form-submit:hover {
    background: var(--fygra-red);
    transform: translateY(-2px);
}
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.form-message {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-left: 4px solid;
}
.form-message.success {
    border-color: #18864b;
    background: #eaf8f0;
}
.form-message.error {
    border-color: var(--fygra-red);
    background: #fff0f1;
}

.site-footer {
    color: rgba(255,255,255,.78);
    background: var(--fygra-navy-deep);
}
.footer-main {
    min-height: 250px;
    display: grid;
    grid-template-columns: 1.4fr 1fr .7fr;
    align-items: center;
    gap: 50px;
    padding-block: 55px;
}
.footer-brand-block img {
    width: 270px;
    padding: 10px;
    background: var(--fygra-beige);
}
.footer-brand-block p {
    margin: 13px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.footer-menu {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-menu a,
.footer-site-link a { color: rgba(255,255,255,.86); }
.footer-menu a:hover,
.footer-site-link a:hover { color: var(--fygra-white); }
.footer-site-link { text-align: right; }
.footer-bottom {
    display: flex;
    min-height: 66px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
}

@media (max-width: 900px) {
    .brand-strip-inner span:first-child { display: none; }
    .brand-strip-inner { justify-content: center; }
    .navbar { min-height: 84px; }
    .custom-logo,
    .default-logo-link img { max-width: 230px; max-height: 66px; }
    .menu-toggle { display: block; }
    .primary-navigation {
        position: fixed;
        inset: 118px 0 auto 0;
        display: none;
        max-height: calc(100vh - 118px);
        overflow-y: auto;
        padding: 30px 24px 38px;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        border-top: 1px solid var(--fygra-line);
        background: var(--fygra-white);
        box-shadow: 0 22px 40px rgba(6,43,69,.15);
    }
    .primary-navigation.is-open { display: flex; }
    .fygra-menu {
        align-items: stretch;
        flex-direction: column;
        gap: 3px;
    }
    .fygra-menu a { padding: 12px 0; font-size: 17px; }
    .language-switch { width: 100%; }
    .home-hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 50px;
        padding-block: 75px;
    }
    .home-hero-logo { max-width: 620px; }
    .home-hero-title h1 { max-width: 650px; }
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand-block { grid-column: 1 / -1; }
    .footer-site-link { text-align: left; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .container { width: min(calc(100% - 28px), var(--fygra-container)); }
    .brand-strip-inner { min-height: 31px; font-size: 9px; letter-spacing: .1em; }
    .navbar { min-height: 76px; }
    .custom-logo,
    .default-logo-link img { max-width: 195px; max-height: 58px; }
    .primary-navigation {
        inset: 107px 0 auto 0;
        max-height: calc(100vh - 107px);
    }
    .home-hero-inner { padding-block: 55px; }
    .home-hero-logo { padding: 12px; }
    .home-hero-title h1 { font-size: clamp(38px, 12vw, 58px); }
    .page-content { padding-block: 55px 75px; }
    .page-intro { padding: 34px 25px; margin-bottom: 34px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 34px; }
    .footer-brand-block { grid-column: auto; }
    .footer-brand-block img { width: 230px; }
}
home-hero-logo {
    transform: none !important;
}
