:root {
    --gateway-ink: #173a46;
    --gateway-blue: #073c50;
    --gateway-gold: #d79a35;
    --gateway-muted: #61737a;
    --gateway-paper: #f4f6f3;
}

.gateway-page {
    color: var(--gateway-ink);
    background: var(--gateway-paper);
    font-family: var(--font-main, Georgia, 'Times New Roman', serif);
}

.gateway-hero {
    position: relative;
    min-height: 470px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(90deg, rgba(5, 43, 57, .94) 0%, rgba(5, 43, 57, .78) 48%, rgba(5, 43, 57, .2) 100%), url('../../images/HG0A6291.jpg') center 42% / cover;
}

.gateway-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    content: '';
    background: var(--gateway-gold);
}

.gateway-hero-inner,
.gateway-container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.gateway-hero-inner {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 0 76px;
}

.gateway-hero-copy { max-width: 720px; }
.gateway-eyebrow { margin: 0 0 18px; color: #e9b85f; font: 700 11px/1.4 Arial, sans-serif; letter-spacing: 1.4px; }
.gateway-hero h1 { max-width: 720px; margin: 0; font-size:40px; line-height: 1.02; font-weight: 500; }
.gateway-lead { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.84); font: 17px/1.75 Arial, sans-serif; }
.gateway-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.gateway-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 19px; font: 700 13px/1.2 Arial, sans-serif; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.gateway-button:hover { transform: translateY(-2px); }
.gateway-button-primary { color: #102f39; background: var(--gateway-gold); }
.gateway-button-primary:hover { background: #f0c978; }
.gateway-button-secondary { border: 1px solid rgba(255,255,255,.58); color: #fff; background: rgba(7, 39, 51, .28); }
.gateway-button-secondary:hover { color: var(--gateway-blue); background: #fff; }
.gateway-hero-note { display: grid; gap: 6px; padding-left: 17px; border-left: 1px solid rgba(255,255,255,.6); font: 700 10px/1.4 Arial, sans-serif; letter-spacing: 1px; white-space: nowrap; }
.gateway-hero-note span:last-child { color: rgba(255,255,255,.68); }

.gateway-services { margin-top: 40px; padding: 36px 0 88px; }
.gateway-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.gateway-eyebrow-dark { margin-bottom: 11px; color: #a9701c; }
.gateway-section-heading h2 { margin: 0; color: var(--gateway-blue); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 500; }
.gateway-section-heading > p { max-width: 350px; margin: 0 0 4px; color: var(--gateway-muted); font: 14px/1.7 Arial, sans-serif; }
.gateway-page .gateway-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gateway-page .gateway-service { position: relative; min-height: 240px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 28px 58px; border: 1px solid #d5dedb; border-top: 3px solid #b9cbc7; border-radius: 4px; color: inherit; background: #fff; box-shadow: 0 5px 16px rgba(16, 53, 63, .055); text-decoration: none; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.gateway-page .gateway-service:hover { z-index: 1; transform: translateY(-4px); border-color: #b7c8c5; border-top-color: var(--gateway-gold); background: #fff; box-shadow: 0 14px 30px rgba(16, 53, 63, .13); }
.gateway-page .gateway-service-featured { border-top-color: var(--gateway-gold); background: #fbfaf6; }
.gateway-service-index { color: #98702f; font: 700 10px/1.4 Arial, sans-serif; letter-spacing: 1px; }
.gateway-service h3 { margin: 23px 0 9px; color: var(--gateway-blue); font-size: 23px; line-height: 1.18; font-weight: 500; }
.gateway-service p { max-width: 310px; margin: 0; color: var(--gateway-muted); font: 13px/1.65 Arial, sans-serif; }
.gateway-service-arrow { position: absolute; right: 23px; bottom: 19px; color: #a9701c; font: 21px/1 Arial, sans-serif; }

.gateway-about { color: #fff; background: var(--gateway-blue); }
.gateway-about-inner { width: min(1160px, calc(100% - 48px)); display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(210px, .65fr); align-items: center; gap: 36px; margin: 0 auto; padding: 54px 0; }
.gateway-about-mark { color: rgba(255,255,255,.92); font-size: 76px; line-height: .9; font-weight: 600; }
.gateway-about-mark span { color: var(--gateway-gold); }
.gateway-about-copy h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.15; font-weight: 500; }
.gateway-about-copy > p:not(.gateway-eyebrow) { max-width: 620px; margin: 0; color: rgba(255,255,255,.77); font: 13px/1.75 Arial, sans-serif; }
.gateway-about-copy > a,
.gateway-contact a { display: inline-flex; gap: 12px; align-items: center; margin-top: 17px; color: #f0c978; font: 700 12px/1.4 Arial, sans-serif; text-decoration: none; }
.gateway-about-copy > a:hover,
.gateway-contact a:hover { color: #fff; }
.gateway-contact { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.25); }
.gateway-contact > span { display: block; color: rgba(255,255,255,.73); font: 13px/1.5 Arial, sans-serif; }
.gateway-contact a { margin-top: 8px; }

@media (max-width: 800px) {
    .gateway-hero { min-height: 430px; margin-top: 24px; background-position: 58% center; }
    .gateway-hero-inner { padding: 68px 0; }
    .gateway-hero-note { display: none; }
    .gateway-section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .gateway-section-heading > p { max-width: 520px; }
    .gateway-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gateway-about-inner { grid-template-columns: 74px minmax(0, 1fr); gap: 24px; }
    .gateway-about-mark { font-size: 58px; }
    .gateway-contact { grid-column: 2; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }
}

@media (max-width: 560px) {
    .gateway-hero-inner,
    .gateway-container,
    .gateway-about-inner { width: min(100% - 36px, 480px); }
    .gateway-hero { min-height: 410px; background-position: 63% center; }
    .gateway-hero-inner { padding: 56px 0; }
    .gateway-hero h1 { font-size: 43px; }
    .gateway-lead { font-size: 15px; }
    .gateway-hero-actions { align-items: stretch; flex-direction: column; }
    .gateway-button { justify-content: space-between; }
    .gateway-services { margin-top: 28px; padding: 28px 0 62px; }
    .gateway-page .gateway-service-grid { gap: 16px; }
    .gateway-service-grid { grid-template-columns: 1fr; }
    .gateway-page .gateway-service { min-height: 205px; padding: 25px 23px 54px; }
    .gateway-service h3 { margin-top: 16px; }
    .gateway-about-inner { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
    .gateway-about-mark { font-size: 50px; }
    .gateway-contact { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .gateway-button,
    .gateway-service { transition: none; }
}