:root {
    --navy: #0d3a4c;
    --navy-deep: #082833;
    --ink: #142833;
    --muted: #5c6e7a;
    --sand: #f4f1eb;
    --paper: #fbfaf7;
    --line: #e4ddd2;
    --sea: #1f6f82;
    --sea-soft: #e7f3f5;
    --white: #fff;
    --serif: "Source Serif 4", Georgia, serif;
    --sans: "Manrope", "Segoe UI", sans-serif;
    --shadow: 0 18px 50px rgba(20, 40, 50, .08);
    --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--sand);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 p, h2 p, h3 p, .kicker p, .btn p, .pillar-label p, .footer-meta p, .eyebrow p { margin: 0; font: inherit; }
.primary-nav a p, .sub a p, .btn p, .footer-links a p, .footer-meta p, .more p, .kicker p, button.linkish p { display: inline; }
.rich p:last-child { margin-bottom: 0; }
.rich a { color: var(--sea); }
[hidden] { display: none !important; }
::selection { background: #d5ebef; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip {
    position: absolute; left: 12px; top: -48px; background: #fff; padding: 8px 12px; z-index: 80; border-radius: 8px;
}
.skip:focus { top: 12px; }

.site-header {
    position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px); border-bottom: 1px solid rgba(20,40,50,.06);
}
.bar { display: flex; align-items: center; min-height: var(--header-h); gap: 18px; position: relative; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 44px; width: auto; }
.site-footer .logo img { height: 40px; }
.nav-check { position: absolute; opacity: 0; pointer-events: none; }
.nav-backdrop { display: none; }
.drawer-label { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 18px; height: 1.5px; background: var(--navy); position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-panel { display: flex; align-items: center; gap: 22px; flex: 1; }
.primary-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.primary-nav > a, .has-sub > a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: .95rem; }
.primary-nav a.is-active, .primary-nav a:hover { color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-open {
    width: 44px; height: 44px; border: 0; padding: 0; border-radius: 14px; background: transparent;
    display: grid; place-items: center; cursor: pointer; color: var(--navy);
}
.lang-open.lang-open-bar { display: none; }
.lang-open svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lang-open:hover { background: var(--sand); }
.lang-modal { border: 0; padding: 0; background: transparent; max-width: calc(100vw - 32px); }
.lang-modal::backdrop { background: rgba(8, 28, 38, .5); }
.lang-modal[open] { animation: lang-pop .42s cubic-bezier(.16, 1, .3, 1); }
.lang-modal[open]::backdrop { animation: lang-fade .3s ease; }
.lang-card { width: min(400px, calc(100vw - 32px)); background: var(--paper); border-radius: 28px; padding: 22px; box-shadow: 0 24px 70px rgba(8, 28, 38, .22); }
.lang-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lang-head h2 { margin: 0; font-family: var(--serif); font-weight: 560; font-size: 1.8rem; color: var(--navy); }
.lang-close { width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.lang-close span, .lang-close span::before { display: block; width: 16px; height: 1.5px; background: var(--navy); position: absolute; left: 12px; top: 19px; content: ""; }
.lang-close span { transform: rotate(45deg); }
.lang-close span::before { transform: rotate(-90deg); left: 0; top: 0; }
.lang-options { display: grid; gap: 10px; }
.lang-options a {
    display: flex; align-items: center; gap: 12px; min-height: 58px;
    padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
    text-decoration: none; color: var(--navy); font-weight: 750;
}
.lang-flag {
    width: 34px; height: 24px; border-radius: 6px; overflow: hidden; flex: none;
    box-shadow: inset 0 0 0 1px rgba(20, 40, 50, .12);
}
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-name { flex: 1; min-width: 0; }
.lang-options a small { margin-left: auto; font-size: .78rem; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.lang-options a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.lang-options a.is-active small { color: rgba(255,255,255,.72); }
.lang-options a.is-active .lang-flag { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
html:has(.lang-modal[open]) { overflow: hidden; }
.has-sub { position: relative; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.sub {
    position: absolute; top: calc(100% + 14px); left: 50%; min-width: 250px;
    transform: translateX(-50%) translateY(6px); background: #fff; border-radius: 16px; padding: 8px;
    box-shadow: 0 18px 50px rgba(20,40,50,.14); opacity: 0; pointer-events: none; transition: .2s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.sub a { display: block; text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 650; }
.sub a:hover { background: var(--sand); }

.btn {
    display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .85rem 1.2rem;
    font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; background: transparent;
}
.btn .icon { width: 18px; height: 18px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { border: 1px solid #d9d1c6; background: #fff; color: var(--ink); border-radius: 999px; padding: .7rem 1rem; font-weight: 700; text-decoration: none; }
.btn-outline:hover, .btn-outline.is-active { border-color: var(--navy); }

.hero { position: relative; min-height: calc(100svh - 76px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media, .hero-shade, .hero-glow, .hero-sheen { position: absolute; inset: 0; }
.hero-parallax { position: absolute; inset: -48px; transform: translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform .7s ease-out; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-on { opacity: 1; z-index: 1; }
.hero-slide img {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: center 42%;
    animation: ken-a 12s ease-in-out infinite alternate;
}
.hero-slide:nth-child(2) img { animation-name: ken-b; }
.hero-slide:nth-child(3) img { animation-name: ken-c; }
.hero-slide:nth-child(4) img { animation-name: ken-d; }
.hero-slide:nth-child(5) img { animation-name: ken-b; animation-delay: -4s; }
.hero-shade {
    background:
        linear-gradient(105deg, rgba(6, 24, 34, .82) 0%, rgba(6, 24, 34, .5) 46%, rgba(6, 24, 34, .16) 100%),
        linear-gradient(to top, rgba(6, 24, 34, .42), transparent 36%);
    animation: shade 9s ease-in-out infinite alternate;
}
.hero-glow {
    inset: auto auto -18vw -10vw; width: 48vw; height: 48vw; pointer-events: none;
    background: radial-gradient(circle, rgba(126, 206, 214, .42), transparent 68%);
    filter: blur(8px); animation: drift 10s ease-in-out infinite alternate;
}
.hero-glow-far {
    inset: -12vw -8vw auto auto; width: 36vw; height: 36vw;
    background: radial-gradient(circle, rgba(255, 176, 140, .28), transparent 70%);
    animation-duration: 13s; animation-direction: alternate-reverse;
}
.hero-sheen {
    pointer-events: none; z-index: 1;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.2) 48%, transparent 58%);
    transform: translateX(-130%);
    animation: sheen 12s 1.4s ease-in-out infinite;
}
.hero-copy { position: relative; z-index: 1; padding: 8vh 0 12vh; max-width: 760px; }
.kicker, .eyebrow {
    letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; font-weight: 800; color: var(--sea); margin-bottom: 10px;
}
.hero .kicker { color: rgba(255,255,255,.86); margin-bottom: 0; }
.hero-line { display: block; width: 84px; height: 1px; margin: 14px 0 18px; background: rgba(255,255,255,.8); transform: scaleX(0); transform-origin: left; animation: draw .9s .4s cubic-bezier(.16,1,.3,1) forwards; }
.hero-title { font-family: var(--serif); font-weight: 560; font-size: clamp(2.8rem, 6vw, 5.3rem); line-height: .98; letter-spacing: -.035em; margin: 0 0 18px; }
.hero-title > * { display: block; opacity: 0; animation: line-in 1.15s cubic-bezier(.16,1,.3,1) forwards; }
.hero-title > *:nth-child(1) { animation-delay: .28s; }
.hero-title > *:nth-child(2) { animation-delay: .46s; }
.hero-title > *:nth-child(3) { animation-delay: .64s; }
.hero-title > *:nth-child(4) { animation-delay: .8s; }
.hero-kicker { opacity: 0; animation: rise .8s .08s ease forwards; }
.hero-lead { max-width: 38rem; font-size: 1.08rem; color: rgba(255,255,255,.88); opacity: 0; animation: rise .9s .86s ease forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; opacity: 0; animation: rise .9s 1.05s ease forwards; }
.hero .btn-light { animation: glow 3.2s 1.8s ease-in-out infinite; }
.hero-progress { display: flex; gap: 8px; margin-top: 28px; }
.hero-progress span { position: relative; width: 36px; height: 2px; background: rgba(255,255,255,.32); overflow: hidden; }
.hero-progress span.is-on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: fill 6.5s linear; }
.scroll-cue {
    position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 26px; height: 42px; transform: translateX(-50%);
    border: 1.5px solid rgba(255,255,255,.75); border-radius: 999px;
}
.scroll-cue::after {
    content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 99px; background: #fff;
    animation: wheel 1.5s ease-in-out infinite;
}

.pillars { background: var(--paper); border-bottom: 1px solid var(--line); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; padding: 26px 18px; }
.pillar + .pillar { box-shadow: inset 1px 0 0 var(--line); }
.pillar-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sea-soft); color: var(--sea); flex: none; }
.pillar-icon .icon { width: 22px; height: 22px; }
.pillar-no { display: block; font-family: var(--serif); color: var(--sea); font-size: 1.05rem; }
.pillar-label { display: block; font-weight: 750; line-height: 1.3; }
.pillar:hover { background: #fff; }

.section { padding: 92px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2, .company-title, .faq-grid h2, .coop-grid h2, .notfound h1, .page-hero h1 {
    font-family: var(--serif); font-weight: 560; letter-spacing: -.03em; line-height: 1.05;
}
.section-head h2, .faq-grid h2, .coop-grid h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 0 0 12px; }
.company-title { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin: 0 0 12px; }
.company-grid, .faq-grid, .coop-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.company-note, .lead { color: var(--muted); font-size: 1.05rem; }
.company-copy .lead { color: var(--ink); font-size: 1.15rem; margin-bottom: 12px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-media { overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .7s ease; }
.card:hover img { transform: scale(1.06); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 560; margin: 0; letter-spacing: -.02em; }
.card-body .rich { color: var(--muted); }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; text-decoration: none; padding-top: 8px; }
.more .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.more:hover .icon, .btn:hover .icon { transform: translateX(3px); }
.eyebrow { margin-bottom: 0; }

.audience-band { background: var(--navy); color: #fff; padding: 92px 0; }
.audience-band .kicker { color: #9fd0d8; }
.section-head.light .rich { color: rgba(255,255,255,.78); }
.audience-grid, .audience-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.audience-no { font-family: var(--serif); font-size: 1.4rem; opacity: .72; margin-bottom: 8px; }
.audience-grid h3, .audience-page h2 { font-family: var(--serif); font-weight: 560; font-size: 1.7rem; margin: 0 0 8px; }
.audience-grid .rich { color: rgba(255,255,255,.8); }
.audience-page article { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.audience-page .audience-no { color: var(--sea); opacity: 1; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 0; font-weight: 750; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary p { margin: 0; }
.faq-a { color: var(--muted); padding: 0 36px 16px 0; }
.plus { width: 18px; height: 18px; position: relative; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.plus::before { left: 0; right: 0; top: 8px; height: 2px; }
.plus::after { top: 0; bottom: 0; left: 8px; width: 2px; transition: transform .2s ease; }
details[open] .plus { transform: rotate(45deg); }

.request-card, .success-panel, .request-form { background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.request-card h2, .success-panel h2 { font-family: var(--serif); font-weight: 560; font-size: 1.8rem; margin-bottom: 16px; }
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sea-soft); color: var(--sea); font-weight: 800; flex: none; }
.hint { color: var(--muted); font-size: .92rem; }
.template-box { margin-top: 12px; }
.template-box summary { cursor: pointer; font-weight: 750; }
.template-source { margin-top: 10px; background: var(--sand); border-radius: 14px; padding: 14px; }
.toast { color: var(--sea); font-weight: 800; }

.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,28,38,.82), rgba(8,28,38,.2)); }
.page-hero .container { position: relative; z-index: 1; padding-bottom: 42px; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); margin: 0; }
.page-hero .kicker { color: #d5eef2; }
.page-wrap { padding: 56px 0 88px; }
.page-intro { max-width: 760px; margin-bottom: 28px; font-size: 1.15rem; }
.prose { max-width: 760px; font-size: 1.06rem; }
.prose h2 { font-family: var(--serif); font-weight: 560; font-size: 2rem; margin: 1.4em 0 .4em; }
.prose a { color: var(--sea); }
.mini-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.mini-services a { background: #fff; border-radius: 16px; padding: 16px; text-decoration: none; box-shadow: var(--shadow); }
.mini-services span { display: block; color: var(--sea); font-size: .75rem; letter-spacing: .14em; font-weight: 800; }
.service-list { display: grid; gap: 56px; margin-top: 10px; }
.service-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; }
.service-row h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(2rem, 3vw, 2.8rem); margin: 0 0 10px; }
.points { list-style: none; padding: 0; margin: 18px 0 0; }
.points li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); }
.points li p { margin: 0; }
.points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sea); position: absolute; left: 0; top: 18px; }
.note { margin-top: 22px; padding: 14px 16px; background: var(--sea-soft); border-radius: 14px; }
.service-cta { margin-top: 22px; }
.service-body { margin-top: 12px; }

.contact-grid { align-items: start; }
.contact-aside { display: grid; gap: 18px; align-content: start; }
.contact-facts { display: grid; gap: 10px; }
.contact-facts a, .contact-facts .address {
    display: flex; align-items: center; min-height: 52px; margin: 0; padding: 12px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    color: var(--navy); font-weight: 750; text-decoration: none;
}
.contact-facts a:hover { border-color: var(--sea); }
.contact-aside .note { margin-top: 0; }
.request-form { margin-bottom: 18px; padding: 28px; border-radius: 28px; scroll-margin-top: calc(var(--header-h) + 16px); }
.request-form label.req:not(.check)::after { content: none; }
.request-form label.req:not(.check) p::after { content: " *"; color: var(--sea); }
.form-section + .form-section { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-kicker { margin: 0 0 14px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--sea); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.form-grid .full { grid-column: 1 / -1; }
.request-form label { font-size: .78rem; letter-spacing: .04em; font-weight: 800; color: var(--muted); }
.request-form input, .request-form textarea, .request-form select {
    margin-top: 8px; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px;
    background: var(--paper); color: var(--ink); font-weight: 560;
}
.request-form textarea { min-height: 120px; resize: vertical; }
.request-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230d3a4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px;
}
.request-form input:focus, .request-form textarea:focus, .request-form select:focus {
    background-color: #fff; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(31,111,130,.12);
}
.request-form label.check {
    gap: 12px; margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--paper);
    font-size: .95rem; letter-spacing: 0; font-weight: 560; color: var(--ink);
}
.request-form label.check input { width: 18px; height: 18px; margin: 3px 0 0; padding: 0; accent-color: var(--navy); }
.request-form .form-submit { width: 100%; justify-content: center; margin-top: 22px; padding: 1rem 1.4rem; }
.success-panel { padding: 32px; border-radius: 28px; }
.success-panel::before {
    content: ""; display: block; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 16px;
    background: var(--sea-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%231f6f82' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
label { display: block; font-weight: 750; font-size: .92rem; }
label > p { margin: 0 0 6px; }
label.req:not(.check)::after { content: " *"; color: var(--sea); }
input, textarea, select {
    width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; margin-top: 6px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(31,111,130,.12); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 560; margin-top: 4px; }
label.check input { width: auto; margin-top: 4px; }
label.check p { margin: 0; }
.form-errors { background: #fdecec; color: #8a2a2a; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.form-errors p { margin: 0 0 4px; }
.address { white-space: pre-line; }
.hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.notfound { padding: 12vh 0; }
.notfound h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 12px; }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 34px 0 22px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 32px; }
.footer-label { display: none; margin: 0; }
.footer-links, .footer-legal, .footer-meta, .footer-socials { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); }
.footer-links { justify-content: center; }
.footer-legal { justify-content: flex-end; }
.footer-links a, .footer-legal a, .footer-meta a, .footer-base a { text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover, .footer-meta a:hover, .footer-base a:hover { color: var(--ink); }
.footer-base {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
    margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem;
}
.footer-copy { margin-left: auto; }
button.linkish { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; }
button.linkish p { display: inline; margin: 0; }

.page-veil {
    position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
    background: radial-gradient(circle at 50% 46%, rgba(31, 111, 130, .42), transparent 26%), #0d3a4c;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .62s ease, visibility .62s;
}
.page-veil img {
    height: 64px; width: auto; opacity: 0; transform: scale(.9);
    transition: opacity .45s ease .08s, transform .7s cubic-bezier(.16, 1, .3, 1) .08s;
}
html.is-leaving .page-veil,
html.is-arriving .page-veil { opacity: 1; visibility: visible; pointer-events: auto; }
html.is-leaving .page-veil img,
html.is-arriving .page-veil img { opacity: 1; transform: none; }

.cookie {
    position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%);
    width: min(920px, calc(100% - 24px)); background: #fff; border-radius: 18px; padding: 16px 18px;
    box-shadow: 0 18px 50px rgba(20,40,50,.18); display: flex; gap: 16px; align-items: center; justify-content: space-between;
}
.cookie-actions { display: flex; gap: 8px; flex: none; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: .8s cubic-bezier(.16,1,.3,1); }

@keyframes ken-a { from { transform: scale(1.28) translate3d(-3%, 0, 0); } to { transform: scale(1.05) translate3d(3%, -2.5%, 0); } }
@keyframes ken-b { from { transform: scale(1.08) translate3d(3%, 2%, 0); } to { transform: scale(1.26) translate3d(-3.5%, -2%, 0); } }
@keyframes ken-c { from { transform: scale(1.24) translate3d(1%, 2.5%, 0); } to { transform: scale(1.05) translate3d(-2%, -3%, 0); } }
@keyframes ken-d { from { transform: scale(1.1) translate3d(-2%, -2%, 0); } to { transform: scale(1.28) translate3d(2.5%, 1.5%, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes line-in { from { opacity: 0; transform: translateY(46px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(5vw,-3vw,0); } }
@keyframes sheen { 0%, 68% { transform: translateX(-130%); } 86%, 100% { transform: translateX(130%); } }
@keyframes shade { from { opacity: .92; } to { opacity: 1; } }
@keyframes glow { 0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.12); } 50% { box-shadow: 0 14px 40px rgba(255,255,255,.28); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wheel { from { transform: translateY(0); opacity: 1; } to { transform: translateY(12px); opacity: 0; } }
@keyframes lang-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lang-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1100px) {
    .cards, .pillars-grid, .mini-services { grid-template-columns: 1fr 1fr; }
    .pillar + .pillar { box-shadow: none; }
    .service-row, .service-row:nth-child(even) .service-row-media { display: grid; order: initial; }
    .service-row:nth-child(even) .service-row-media { order: 0; }
}
@media (max-width: 980px) {
    .site-header { background: #fff; backdrop-filter: none; z-index: 70; }
    .nav-toggle { display: grid; margin-left: 2px; order: 3; position: relative; z-index: 2; }
    .lang-open.lang-open-bar { display: grid; margin-left: auto; order: 2; position: relative; z-index: 2; }
    .header-tools .lang-open { display: none; }
    .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { transition: .25s ease; }
    .nav-check:checked ~ .nav-toggle span { background: transparent; }
    .nav-check:checked ~ .nav-toggle span::before { top: 0; transform: rotate(45deg); }
    .nav-check:checked ~ .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
    .nav-backdrop {
        display: block; position: fixed; z-index: 60; top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: rgba(8, 28, 38, .46); opacity: 0; pointer-events: none; transition: opacity .35s ease;
    }
    .nav-panel {
        display: flex; position: fixed; z-index: 65; top: var(--header-h); right: 0; bottom: 0;
        width: min(380px, calc(100vw - 52px)); flex-direction: column; align-items: stretch; gap: 0;
        margin: 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
        background: var(--paper); border-radius: 28px 0 0 28px;
        box-shadow: -24px 0 60px rgba(8, 28, 38, .18);
        transform: translateX(105%); transition: transform .48s cubic-bezier(.16, 1, .3, 1); overflow: auto;
    }
    .nav-check:checked ~ .nav-backdrop { opacity: 1; pointer-events: auto; }
    .nav-check:checked ~ .nav-panel { transform: none; }
    .primary-nav { flex-direction: column; align-items: stretch; margin: 0; gap: 2px; }
    .primary-nav > a, .has-sub > a {
        font-family: var(--serif); font-size: 1.55rem; font-weight: 560; color: var(--navy);
        padding: 12px 14px; border-radius: 16px;
    }
    .primary-nav a.is-active { background: #fff; color: var(--navy); box-shadow: 0 10px 28px rgba(20,40,50,.06); }
    .has-sub { display: flex; flex-direction: column; }
    .has-sub::after { display: none; }
    .sub {
        position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none;
        min-width: 0; background: transparent; padding: 0 0 10px 12px;
    }
    .sub a { padding: 10px 14px; color: var(--muted); font-size: 1rem; }
    .header-tools {
        margin-top: auto; flex-direction: column; align-items: stretch; gap: 12px;
        padding-top: 18px; border-top: 1px solid var(--line);
    }
    .header-tools .btn-outline {
        display: flex; justify-content: center; width: 100%;
        background: var(--navy); color: #fff; border-color: var(--navy); padding: 1rem 1.2rem;
    }
    body:has(.nav-check:checked) { overflow: hidden; }
    .company-grid, .faq-grid, .coop-grid, .contact-grid, .audience-grid, .audience-page, .service-row { grid-template-columns: 1fr; }
    .site-footer { background: var(--paper); padding: 28px 0 calc(22px + env(safe-area-inset-bottom)); }
    .footer-inner { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: stretch; }
    .footer-brand { padding-bottom: 2px; }
    .footer-label {
        display: block; grid-column: 1 / -1; margin: 0 2px 2px;
        font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--muted);
    }
    .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; justify-content: stretch; }
    .footer-links a {
        display: flex; align-items: center; min-height: 52px; padding: 12px 14px;
        background: #fff; border: 1px solid var(--line); border-radius: 16px;
        color: var(--navy); font-weight: 750;
    }
    .footer-legal { display: grid; gap: 0; justify-content: stretch; border-top: 1px solid var(--line); }
    .footer-legal a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
    .footer-meta { display: grid; gap: 10px; width: 100%; }
    .footer-contact {
        display: flex; align-items: center; width: 100%; min-height: 52px; padding: 12px 14px;
        background: #fff; border: 1px solid var(--line); border-radius: 16px;
        color: var(--navy); font-weight: 750;
    }
    .footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
    .footer-socials a {
        padding: 8px 14px; border-radius: 999px; background: var(--sea-soft); color: var(--sea); font-weight: 800; font-size: .82rem;
    }
    .footer-base { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 4px; padding-top: 4px; border-top: 0; }
    .footer-copy { margin-left: 0; }
}
@media (max-width: 700px) {
    .container { width: min(1160px, calc(100% - 32px)); }
    .section, .audience-band { padding: 56px 0; }
    .cards, .pillars-grid, .mini-services, .form-grid { grid-template-columns: 1fr; }
    :root { --header-h: 64px; }
    .logo img, .site-footer .logo img { height: 36px; }
    .hero { min-height: calc(100svh - 68px); }
    .hero-copy { padding: 48px 0 88px; }
    .cookie { flex-direction: column; align-items: stretch; }
    .page-hero { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-title > *, .hero-kicker, .hero-lead, .hero-actions, .hero-line, .hero-sheen, .hero-glow, .scroll-cue::after, .hero .btn-light, .js .reveal {
        animation: none !important;
    }
    .hero-title > *, .hero-kicker, .hero-lead, .hero-actions, .hero-line, .js .reveal {
        opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important;
    }
}
