:root {
    --deep-blue: #000f22;
    --leon-red: #a80000;
    --leon-red-dark: #7f0000;
    --leon-red-soft: #fff0f0;
    --cyan: #00d4ff;
    --bg: #fffaf7;
    --surface: rgba(255, 255, 255, 0.72);
    --muted: #4b5a66;
    --line: rgba(168, 0, 0, 0.12);
    --soft: rgba(255, 246, 242, 0.78);
    --glass: rgba(255, 255, 255, 0.62);
    --glass-strong: rgba(255, 255, 255, 0.78);
    --shadow: 0 24px 70px rgba(74, 25, 15, 0.1);
    --shadow-hover: 0 32px 90px rgba(74, 25, 15, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    overflow-x: hidden;
}

body {
    position: relative;
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(168, 0, 0, 0.14), transparent 34rem),
        radial-gradient(circle at 88% 22%, rgba(168, 0, 0, 0.08), transparent 28rem),
        linear-gradient(180deg, #fffaf7 0%, #fff7f4 46%, #fffefd 100%);
    color: var(--deep-blue);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: -20vh -10vw auto auto;
    width: 56vw;
    height: 56vw;
    max-width: 760px;
    max-height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 0, 0, 0.12), rgba(168, 0, 0, 0.04) 38%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

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

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

a:hover {
    color: var(--leon-red);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
}

h1 {
    font-size: 2.55rem;
    max-width: 820px;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
}

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

.narrow {
    width: min(100% - 32px, 820px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    z-index: 30;
    top: 14px;
    left: 50%;
    right: auto;
    width: min(calc(100% - 28px), 1180px);
    transform: translateX(-50%);
    min-height: 72px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow: 0 18px 60px rgba(74, 25, 15, 0.12);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.brand {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: clamp(150px, 26vw, 260px);
    height: auto;
    max-height: 38px;
    object-fit: contain;
}

.nav-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(168, 0, 0, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 28px rgba(74, 25, 15, 0.08);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    display: block;
    background: var(--deep-blue);
    border-radius: 2px;
}

.site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.site-nav.is-open {
    display: grid;
}

.site-nav a {
    padding: 12px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
}

.site-nav a:hover {
    background: rgba(168, 0, 0, 0.08);
    color: var(--leon-red);
}

.language-link {
    color: var(--deep-blue) !important;
}

.hero {
    position: relative;
    min-height: 92dvh;
    padding: 150px 0 76px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(168, 0, 0, 0.16), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(168, 0, 0, 0.08), transparent 26rem);
    color: var(--deep-blue);
}

.service-hero {
    position: relative;
    padding: 150px 0 82px;
    background:
        radial-gradient(circle at 16% 18%, rgba(168, 0, 0, 0.14), transparent 28rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 247, 0.22));
    color: var(--deep-blue);
}

.service-hero p {
    max-width: 720px;
    color: var(--muted);
}

.service-hero .eyebrow {
    color: var(--leon-red);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 20%, rgba(168, 0, 0, 0.1), transparent 28rem),
        linear-gradient(90deg, rgba(168, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(168, 0, 0, 0.045) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    opacity: 0.72;
}

.hero-inner {
    position: relative;
    display: grid;
    gap: 40px;
    align-items: center;
}

.hero-copy p {
    max-width: 640px;
    color: var(--muted);
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--leon-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--leon-red);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-height: 48px;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(168, 0, 0, 0.16);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button,
.site-nav a,
.service-card,
.project-card,
.testimonial-card,
.feature-list div,
.solution-layers div,
.team-signal div {
    overflow-wrap: anywhere;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(168, 0, 0, 0.22);
}

.button-primary {
    background: var(--leon-red);
    color: #fff;
}

.button-primary:hover {
    color: #fff;
    background: var(--leon-red-dark);
}

.button-secondary {
    border-color: rgba(168, 0, 0, 0.16);
    color: var(--deep-blue);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 14px 34px rgba(74, 25, 15, 0.08);
}

.hero-visual {
    position: relative;
    min-height: 340px;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
        repeating-linear-gradient(90deg, rgba(168, 0, 0, 0.055) 0 1px, transparent 1px 38px),
        repeating-linear-gradient(0deg, rgba(168, 0, 0, 0.04) 0 1px, transparent 1px 38px);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    overflow: hidden;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(168, 0, 0, 0.2), transparent 64%);
    filter: blur(18px);
    opacity: 0.72;
}

.hero-solution-panel {
    align-content: center;
    justify-items: stretch;
}

.hero-solution-panel::before {
    inset: auto -18% -30% 18%;
    height: 220px;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(168, 0, 0, 0.18), rgba(255, 255, 255, 0.16));
}

.solution-panel-header,
.solution-layers {
    position: relative;
    z-index: 2;
}

.solution-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(168, 0, 0, 0.12);
}

.solution-panel-header span {
    color: var(--leon-red);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.solution-panel-header strong {
    color: var(--deep-blue);
    font-size: 1rem;
}

.solution-layers {
    display: grid;
    gap: 12px;
}

.solution-layers div {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 4px 14px;
    align-items: center;
    min-height: 76px;
    padding: 14px;
    border: 1px solid rgba(168, 0, 0, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.56);
    box-shadow: 0 12px 34px rgba(74, 25, 15, 0.07);
}

.solution-layers span {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--leon-red-soft);
    color: var(--leon-red);
    font-size: 0.82rem;
    font-weight: 900;
}

.solution-layers strong {
    color: var(--deep-blue);
    line-height: 1.2;
}

.solution-layers small {
    color: var(--muted);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.35;
}

.hero-orbit {
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 1;
}

.orbit-ring,
.orbit-node,
.orbit-core {
    position: absolute;
    display: grid;
    place-items: center;
}

.orbit-ring {
    inset: 12%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    animation: orbitSpin 24s linear infinite;
}

.ring-two {
    inset: 23%;
    border-color: rgba(0, 212, 255, 0.36);
    animation-duration: 18s;
    animation-direction: reverse;
}

.ring-three {
    inset: 34%;
    border-color: rgba(168, 0, 0, 0.5);
    animation-duration: 13s;
}

.orbit-ring::before,
.orbit-ring::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.7);
}

.orbit-ring::before {
    top: -5px;
    left: calc(50% - 5px);
}

.orbit-ring::after {
    right: -5px;
    top: calc(50% - 5px);
    background: var(--leon-red);
    box-shadow: 0 0 24px rgba(168, 0, 0, 0.65);
}

.orbit-core {
    inset: 37%;
    z-index: 2;
    border-radius: 50%;
    background: #fff;
    color: var(--leon-red);
    font-weight: 900;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
}

.orbit-node {
    width: 76px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    background: rgba(0, 15, 34, 0.78);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.orbit-node::before {
    content: "";
    width: 34px;
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--leon-red), var(--cyan));
}

.node-one {
    top: 4%;
    left: 12%;
    animation: floatNode 5.5s ease-in-out infinite;
}

.node-two {
    top: 12%;
    right: 3%;
    animation: floatNode 6s ease-in-out 0.8s infinite;
}

.node-three {
    right: 12%;
    bottom: 8%;
    animation: floatNode 5.8s ease-in-out 0.35s infinite;
}

.node-four {
    left: 2%;
    bottom: 18%;
    animation: floatNode 6.4s ease-in-out 1.2s infinite;
}

.hero-status {
    width: min(100%, 390px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.hero-status span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0;
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatNode {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.stats-band {
    padding: 56px 0;
    background: rgba(255, 255, 255, 0.34);
    border-bottom: 1px solid rgba(168, 0, 0, 0.08);
}

.focus-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.focus-heading h2 {
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    gap: 18px;
    background: transparent;
}

.stats-grid div {
    padding: 26px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stats-grid div:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 0, 0, 0.18);
    box-shadow: var(--shadow-hover);
}

.stats-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--deep-blue);
    font-size: 1.18rem;
    line-height: 1.2;
}

.stats-grid span {
    color: var(--muted);
    display: block;
}

.section {
    padding: 72px 0;
}

.section-muted {
    background: rgba(255, 255, 255, 0.36);
}

.operations-section {
    background:
        radial-gradient(circle at 92% 10%, rgba(168, 0, 0, 0.08), transparent 26rem),
        rgba(255, 255, 255, 0.24);
    border-top: 1px solid rgba(168, 0, 0, 0.08);
    border-bottom: 1px solid rgba(168, 0, 0, 0.08);
}

.operations-section .service-card {
    border-top-color: var(--leon-red);
}

.section-lead {
    color: var(--muted);
    font-size: 1.08rem;
}

.two-column {
    display: grid;
    gap: 32px;
}

.services-layout {
    display: grid;
    gap: 28px;
}

.services-intro {
    max-width: 780px;
}

.card-grid,
.steps {
    display: grid;
    gap: 20px;
}

.services-grid {
    align-items: stretch;
    gap: 18px;
}

.service-card,
.steps article,
.contact-form,
.legal-content article {
    min-width: 0;
    padding: 28px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.steps article:hover,
.testimonial-card:hover,
.project-card:hover,
.principle-panel:hover,
.job-card:hover,
.job-details article:hover,
.feature-list div:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 0, 0, 0.18);
    box-shadow: var(--shadow-hover);
}

.service-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card-tag {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(168, 0, 0, 0.08);
    border: 1px solid rgba(168, 0, 0, 0.12);
    color: var(--leon-red);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.2;
}

.service-card p,
.steps p,
.legal-content p {
    color: var(--muted);
}

.service-card p {
    margin-bottom: 0;
}

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

.mini-list li {
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

.mini-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--leon-red);
}

.text-link {
    display: inline-flex;
    margin-top: 4px;
    color: var(--leon-red);
    font-weight: 900;
}

.text-link::after {
    content: ">";
    margin-left: 8px;
}

.text-link.inverse {
    color: #fff;
}

.link-row {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    align-items: center;
}

.secondary-link {
    color: var(--muted);
}

.cta-box {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.testimonial-grid,
.project-grid {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.testimonial-card,
.project-card {
    margin: 0;
    padding: 28px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.testimonial-card blockquote {
    margin: 0 0 18px;
    color: var(--deep-blue);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.55;
}

.testimonial-card figcaption,
.project-card span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.project-card {
    border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.project-card h3 {
    margin-top: 10px;
}

.project-card p {
    color: var(--muted);
}

.team-hero {
    overflow: hidden;
}

.team-hero-inner {
    display: grid;
    gap: 32px;
    align-items: center;
}

.team-signal {
    display: grid;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
        repeating-linear-gradient(90deg, rgba(168, 0, 0, 0.055) 0 1px, transparent 1px 40px),
        repeating-linear-gradient(0deg, rgba(168, 0, 0, 0.04) 0 1px, transparent 1px 40px);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.team-signal div {
    min-height: 70px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(168, 0, 0, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.56);
}

.team-signal span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--leon-red-soft);
    color: var(--leon-red);
    font-weight: 900;
}

.team-signal strong {
    color: var(--deep-blue);
    line-height: 1.25;
}

.principle-panel,
.job-card,
.job-details article {
    padding: 28px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.principle-panel h3 {
    margin-bottom: 4px;
}

.team-role-grid {
    margin-top: 28px;
}

.jobs-section {
    background: rgba(255, 255, 255, 0.28);
}

.job-card {
    display: grid;
    gap: 14px;
    align-content: start;
    margin-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.job-card span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.job-card p {
    color: var(--muted);
}

.job-card .button {
    width: fit-content;
    max-width: 100%;
}

.job-details {
    display: grid;
    gap: 16px;
    align-content: start;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.feature-list div {
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-list span {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    background: var(--leon-red);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(168, 0, 0, 0.1);
}

.steps article > span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--leon-red);
    font-weight: 900;
}

.contact-section {
    background:
        radial-gradient(circle at 15% 10%, rgba(168, 0, 0, 0.34), transparent 28rem),
        linear-gradient(135deg, #13060a, var(--deep-blue));
    color: #fff;
}

.contact-section .eyebrow {
    color: #ffb3b3;
}

.contact-section .section-lead,
.contact-section .direct-contact {
    color: rgba(255, 255, 255, 0.76);
}

.direct-contact a {
    color: #fff;
    font-weight: 800;
}

.contact-form {
    color: var(--deep-blue);
}

.contact-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px;
    border: 1px solid #c9d6e2;
    border-radius: 18px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(168, 0, 0, 0.16);
    border-color: var(--leon-red);
}

.privacy-check {
    grid-template-columns: 22px 1fr;
    align-items: start;
    font-weight: 600 !important;
}

.privacy-check input {
    width: 18px;
    min-height: 18px;
    margin-top: 4px;
}

.privacy-check a {
    color: var(--leon-red);
    text-decoration: underline;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 18px;
    font-weight: 700;
}

.form-message.success {
    background: #e8f8ef;
    color: #126c38;
}

.form-message.error {
    background: #fff0f0;
    color: #9b1c1c;
}

.legal-hero {
    padding: 150px 0 72px;
    background:
        radial-gradient(circle at 16% 18%, rgba(168, 0, 0, 0.14), transparent 28rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 247, 0.22));
    color: var(--deep-blue);
}

.legal-content article + article {
    margin-top: 18px;
}

.related-link {
    margin-top: 28px;
    font-weight: 800;
}

.related-link a {
    color: var(--leon-red);
}

.site-footer {
    padding: 32px 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(168, 0, 0, 0.2), transparent 24rem),
        #000916;
    color: #fff;
}

.footer-inner {
    display: grid;
    gap: 22px;
}

.footer-inner p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.68);
}

.footer-logo {
    width: min(260px, 72vw);
    height: auto;
    margin-bottom: 8px;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.footer-inner a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.footer-inner a:hover {
    color: #ffb3b3;
}

@media (max-width: 679px) {
    .container,
    .narrow {
        width: min(100% - 24px, 1180px);
    }

    .site-header {
        top: 10px;
        width: calc(100% - 20px);
        min-height: 62px;
        padding: 9px 10px 9px 14px;
    }

    .brand img {
        width: clamp(142px, 48vw, 190px);
        max-height: 32px;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
        gap: 4px;
        flex: 0 0 38px;
    }

    .nav-toggle span:not(.sr-only) {
        width: 18px;
    }

    .site-nav {
        left: 0;
        right: 0;
        border-radius: 22px;
    }

    .hero,
    .service-hero,
    .legal-hero {
        padding-top: 122px;
    }

    .hero-visual,
    .team-signal {
        min-height: auto;
        padding: 18px;
        border-radius: 24px;
    }

    .solution-panel-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .service-card,
    .steps article,
    .testimonial-card,
    .project-card,
    .principle-panel,
    .job-card,
    .job-details article,
    .contact-form,
    .legal-content article {
        padding: 22px;
        border-radius: 24px;
    }

    .button {
        width: 100%;
    }

    .link-row .text-link {
        max-width: 100%;
    }
}

@media (min-width: 680px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.7rem;
    }

    .hero-actions {
        flex-direction: row;
    }

    .stats-grid,
    .feature-list,
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .testimonial-grid,
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 920px) {
    .site-header {
        padding-inline: 18px;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        width: auto;
        gap: 2px;
        padding: 6px;
        background: rgba(255, 255, 255, 0.34);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 999px;
        box-shadow: none;
    }

    .site-nav a {
        padding: 9px 13px;
    }

    .hero-inner,
    .two-column,
    .team-hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    }

    .two-column > .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-visual {
        align-self: center;
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 1120px) {
    .services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
