:root {
    --navy: #0b1121;
    --navy-soft: #1e293b;
    --orange: #f97316;
    --orange-dark: #b9450b;
    --paper: #f8f6f1;
    --white: #ffffff;
    --ink: #1a2233;
    --muted: #55606f;
    --on-navy: #e2e8f0;
    --on-navy-muted: #a4b0c2;
    --line: #e2ddd2;
    --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --sans: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--paper);
}

a {
    color: var(--orange-dark);
}

a:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background-color: var(--navy);
    color: var(--on-navy);
}

.site-header .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.brand svg {
    width: 26px;
    height: 26px;
    fill: var(--orange);
}

.brand em {
    color: var(--orange);
    font-style: normal;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 26px;
}

.site-nav a {
    color: var(--on-navy);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--orange);
}

.site-nav a[aria-current="page"] {
    border-bottom-color: var(--orange);
}

/* Hero */
.hero {
    background-color: var(--navy);
    color: var(--on-navy);
    position: relative;
    overflow: hidden;
    padding: 72px 0 96px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.25rem, 6.5vw, 4rem);
    max-width: 16em;
    margin-bottom: 22px;
}

.hero .lead {
    max-width: 38em;
    font-size: 1.2rem;
    color: var(--on-navy);
    margin-bottom: 34px;
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.flight-path {
    position: absolute;
    right: -40px;
    bottom: -10px;
    width: min(70%, 720px);
    height: auto;
    opacity: 0.55;
    pointer-events: none;
}

.page-head {
    background-color: var(--navy);
    color: var(--on-navy);
    padding: 52px 0 60px;
}

.page-head h1 {
    color: var(--white);
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    margin-bottom: 14px;
}

.page-head p {
    max-width: 40em;
    font-size: 1.15rem;
}

/* Buttons */
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 6px;
    border: 1px solid var(--orange);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-solid {
    background-color: var(--orange);
    color: var(--navy);
}

.btn-solid:hover {
    background-color: #fb923c;
}

.btn-line {
    color: var(--white);
}

.btn-line:hover {
    background-color: rgba(249, 115, 22, 0.15);
}

/* Sections */
section {
    padding: 72px 0;
}

.section-white {
    background-color: var(--white);
}

.intro {
    max-width: 44em;
    color: var(--muted);
    margin-bottom: 36px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.two-col p + p {
    margin-top: 16px;
}

/* Service list on the home page */
.service-links {
    list-style: none;
    border-top: 1px solid var(--line);
}

.service-links li {
    border-bottom: 1px solid var(--line);
}

.service-links a {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 8px 32px;
    padding: 22px 0;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-links a:hover strong {
    color: var(--orange-dark);
}

.service-links strong {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.service-links span {
    color: var(--muted);
}

/* Steps */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    border-top: 3px solid var(--orange);
    padding-top: 16px;
}

.steps li::before {
    content: counter(step);
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    line-height: 1.2;
    color: var(--orange-dark);
    margin-bottom: 8px;
}

.steps p {
    color: var(--muted);
    font-size: 1rem;
}

/* Full service descriptions */
.service {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 16px 48px;
    padding: 44px 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 16px;
}

.service:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.service h2 {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.service p {
    margin-bottom: 14px;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 10px;
    height: 2px;
    background-color: var(--orange);
}

.note {
    margin-top: 12px;
    padding: 18px 22px;
    background-color: var(--white);
    border-left: 3px solid var(--orange);
    color: var(--muted);
}

/* Order form */
.order-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    max-width: 820px;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink);
    background-color: var(--paper);
    border: 1px solid #a9a597;
    border-radius: 6px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.consent input:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 1px;
}

.field-wide {
    grid-column: 1 / -1;
}

.field-trap {
    position: absolute;
    left: -9999px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    color: var(--muted);
}

.consent input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--orange-dark);
}

button.btn {
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.contact-band p a {
    color: var(--white);
    text-decoration-color: var(--orange);
}

/* Company details */
.details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 10px 24px;
}

.details dt {
    color: var(--muted);
}

.details dd {
    overflow-wrap: anywhere;
}

/* Contact band */
.contact-band {
    background-color: var(--navy-soft);
    color: var(--on-navy);
    border-top: 4px solid var(--orange);
}

.contact-band h2 {
    color: var(--white);
}

.contact-band p {
    max-width: 38em;
    margin-bottom: 26px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 40px;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-links a {
    color: var(--white);
    text-decoration-color: var(--orange);
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

.contact-links a:hover {
    color: var(--orange);
}

/* Footer */
.site-footer {
    background-color: var(--navy);
    color: var(--on-navy-muted);
    font-size: 0.95rem;
    padding: 28px 0;
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 32px;
}

@media (max-width: 820px) {
    section {
        padding: 52px 0;
    }

    .two-col,
    .service,
    .service-links a {
        grid-template-columns: minmax(0, 1fr);
    }

    .two-col {
        gap: 28px;
    }

    .order-form {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .hero {
        padding: 52px 0 80px;
    }
}

@media (max-width: 520px) {
    .wrap {
        padding: 0 16px;
    }

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

    .details {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .details dd {
        margin-bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
