/* Homepage. Shared brand and navigation rules live in theme.css and base.css. */
main > section {
    padding: 68px 0;
}
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--navy);
}
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
}
.hero-image {
    transform: scale(1.12);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .hero-image {
        transform: none;
    }
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(20, 31, 56, 0.94) 0%, rgba(20, 31, 56, 0.8) 38%, rgba(20, 31, 56, 0.17) 100%);
}
.hero .wrap {
    position: relative;
    z-index: 2;
    padding: 220px 0 250px;
}
.hero h1 {
    max-width: 710px;
}
.hero p {
    max-width: 550px;
    color: #e0e6f0;
    font-size: 18px;
}
.hero .eyebrow {
    color: #d6dff0;
}
.hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}
.hero .btn,
.why .btn {
    color: var(--accent);
    background: #fff;
    border-color: #fff;
}
.hero .btn:hover,
.why .btn:hover {
    background: #e7ecf4;
    border-color: #e7ecf4;
}
.hero :focus-visible,
.why :focus-visible,
footer :focus-visible {
    outline-color: #fff;
}
#introduction {
    background:
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
        url("./map.webp") center/contain no-repeat;
}
.intro {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
}
.intro p {
    color: var(--muted);
}
#trade {
    background: var(--trade-bg);
    border-block: 1px solid var(--line);
}
#trade h2 {
    margin-bottom: 28px;
}
.lane-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.lane {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 3px;
}
.lane p {
    color: var(--muted);
    margin-bottom: 12px;
}
.lane p:last-child {
    margin-bottom: 0;
}
.subtle {
    background: var(--surface);
}
.section-top {
    margin-bottom: 30px;
}
.section-top p {
    max-width: 550px;
    margin-bottom: 0;
}
.services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.service {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    padding-bottom: 24px;
}
.service-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 22px;
}
.service h3,
.service > p,
.service-details {
    margin-inline: 23px;
}
.service h3 {
    font-size: 19px;
}
.service > p {
    color: var(--muted);
    flex: 1;
    font-size: 15px;
}
.service-details {
    margin-top: 4px;
}
.service-details summary {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    text-decoration: underline;
    text-decoration-color: #bdc7d8;
    text-underline-offset: 5px;
    width: fit-content;
}
.service-details summary::-webkit-details-marker {
    display: none;
}
.service-details summary:hover {
    text-decoration-color: var(--accent);
}
.service-details[open] > div {
    margin-top: 18px;
    font-size: 15px;
}
.cargo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    margin-top: 32px;
}
.cargo-column {
    display: flex;
    flex-direction: column;
}
.cargo article {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}
.cargo h3 {
    font-size: 18px;
    margin-bottom: 9px;
}
.cargo p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 0;
}
.why {
    background: var(--navy);
    color: #fff;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
}
.why .eyebrow {
    color: #d6dff0;
}
.why p {
    color: #dbe3f0;
}
.reasons {
    display: grid;
    gap: 21px;
}
.reasons article {
    border-bottom: 1px solid #5c6885;
    padding-bottom: 18px;
}
.reasons h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.reasons p {
    font-size: 15px;
    margin-bottom: 0;
}
.quote-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
}
.contact {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.contact a {
    color: var(--accent);
}
.contact a:hover {
    text-decoration: underline;
}
form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    align-content: start;
}
label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
}
input,
select,
textarea {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #c5cedc;
    border-radius: 4px;
    color: var(--ink);
    font-weight: 400;
    height: 46px;
}
input::placeholder,
textarea::placeholder {
    color: #68758a;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
}
textarea {
    min-height: 92px;
    resize: vertical;
}
.full {
    grid-column: 1/-1;
}
.formnote,
.field-hint {
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
}
.formnote {
    margin-bottom: 0;
}
.field-hint {
    margin-top: -2px;
    line-height: 1.4;
}
form .btn {
    justify-self: start;
}
dialog {
    width: min(660px, calc(100% - 32px));
    max-height: 85svh;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    box-shadow: 0 20px 65px rgba(20, 31, 56, 0.25);
}
dialog::backdrop {
    background: rgba(14, 24, 43, 0.72);
}
dialog h2 {
    padding-right: 40px;
    font-size: 29px;
}
dialog p {
    color: var(--muted);
}
dialog li {
    margin: 7px 0;
}
dialog .btn {
    margin-top: 8px;
}
.close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
}
dialog .close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
}

dialog .close::before,
dialog .close::after {
    content: "";
    grid-area: 1 / 1;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

dialog .close::before {
    transform: rotate(45deg);
}

dialog .close::after {
    transform: rotate(-45deg);
}
@media (max-width: 1000px) {
    .services {
        gap: 18px;
    }
    .intro,
    .why-grid,
    .quote-grid {
        gap: 40px;
    }
    .service h3,
    .service > p,
    .service-details {
        margin-inline: 18px;
    }
}
@media (max-width: 850px) {
    main > section {
        padding: 50px 0;
    }
    .hero .wrap {
        padding: 98px 0 102px;
    }
    .hero h1 {
        font-size: clamp(34px, 5.4vw, 44px);
    }
    .hero p {
        font-size: 16px;
    }
    .hero::before {
        background: linear-gradient(90deg, rgba(20, 31, 56, 0.94), rgba(20, 31, 56, 0.5));
    }
    .intro,
    .why-grid,
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .lane-grid {
        grid-template-columns: 1fr;
    }
    .services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cargo {
        gap: 28px;
    }
}
@media (max-width: 600px) {
    .cargo {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .lane {
        padding: 23px 20px;
    }
    dialog {
        padding: 28px 23px;
    }
    dialog h2 {
        font-size: 26px;
    }
}
@media (max-width: 480px) {
    .services,
    form {
        grid-template-columns: 1fr;
    }
    .hero .wrap {
        padding: 86px 0 88px;
    }
    .hero h1 {
        font-size: 34px;
    }
    .hero p {
        max-width: 310px;
    }
}
