/* Open Bridge Logistics - live site styles */
:root {
    --ob-navy: #051832;
    --ob-navy-2: #15355e;
    --ob-blue: #0d58a9;
    --ob-blue-bright: #1472d4;
    --ob-sky: #e8f1fb;
    --ob-ink: #251f21;
    --ob-ink-2: #585254;
    --ob-hairline: #eae9ea;
    --font: 'Hanken Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #f4efec;
    color: var(--ob-ink);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
}

img { max-width: 100%; }

.page {
    max-width: 1040px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    padding: 16px 24px 40px;
}

@media (min-width: 768px) {
    .page { padding: 20px 36px 56px; }
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: normal; }

/* ---- Nav ---- */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 0 20px;
    border-bottom: 1px solid var(--ob-hairline);
    margin-bottom: 24px;
}
.brand img { height: 46px; width: auto; display: block; }
.links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.links a { color: var(--ob-ink); text-decoration: none; padding: 6px 0; }
.links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.links a.active { color: var(--ob-blue); font-weight: 600; }
.links a.quote-link {
    background: var(--ob-blue);
    color: #fff;
    border-radius: 999px;
    padding: 9px 18px;
    font-weight: 600;
    margin-left: 6px;
}
.links a.quote-link:hover { background: var(--ob-blue-bright); text-decoration: none; }

/* ---- Hero ---- */
.hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 32px;
    background: var(--ob-navy);
}
.hero img {
    display: block;
    width: 100%;
    height: clamp(300px, 52vw, 480px);
    object-fit: cover;
    object-position: 50% 55%;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 28px;
    background: linear-gradient(180deg, rgb(5 24 50 / 0.05) 30%, rgb(5 24 50 / 0.82) 88%);
    color: #fff;
}
.hero-overlay h1 {
    font-size: clamp(30px, 6vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
}
.hero-overlay p { margin: 0; font-size: 15px; color: rgb(255 255 255 / 0.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-light { background: #fff; color: var(--ob-navy); }
.btn-outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.65); }
.btn-primary { background: var(--ob-blue); color: #fff; }
.btn-primary:hover { background: var(--ob-blue-bright); }
.btn-secondary { background: var(--ob-sky); color: var(--ob-navy); }

/* ---- Blocks ---- */
.block { margin-bottom: 36px; }
.block h1 { font-size: clamp(28px, 5vw, 36px); margin: 0 0 12px; }
.block h2 { font-size: 24px; margin: 0 0 14px; }
.block p { margin: 0 0 12px; max-width: 70ch; }
.intro p { font-size: 16px; color: var(--ob-ink-2); }
.caption { font-size: 13px; color: var(--ob-ink-2); }
.note { font-size: 13px; color: var(--ob-ink-2); }
a { color: var(--ob-blue); }

/* ---- Rows ---- */
.rows { margin-bottom: 16px; }
.row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ob-hairline);
}
.row strong { font-size: 15px; }
.row span { color: var(--ob-ink-2); font-size: 14px; }
@media (min-width: 640px) {
    .row { flex-direction: row; justify-content: space-between; gap: 24px; align-items: baseline; }
    .row span { text-align: right; max-width: 60%; }
}

/* ---- Steps ---- */
.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 10px; }

/* ---- Map ---- */
.map { margin: 16px 0 8px; max-width: 560px; }
.map img { width: 100%; border-radius: 16px; }

/* ---- CTA band ---- */
.cta-band {
    background: linear-gradient(120deg, var(--ob-navy) 0%, var(--ob-navy-2) 55%, var(--ob-blue) 130%);
    color: #fff;
    border-radius: 24px;
    padding: 30px 26px;
}
.cta-band h2 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 8px; }
.cta-band p { margin: 0 0 6px; color: rgb(255 255 255 / 0.88); font-size: 14px; }

/* ---- Galleries: uniform frames, crop to fill ---- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}
@media (min-width: 700px) {
    .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ob-sky); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery.two { grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery.two { grid-template-columns: 1fr 1fr; } }

figure.single { margin: 0; border-radius: 16px; overflow: hidden; }
figure.single img { width: 100%; display: block; }

/* ---- Facts ---- */
.facts { margin: 0 0 18px; }
.facts > div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ob-hairline);
}
.facts dt { color: var(--ob-ink-2); font-size: 14px; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts dd a { color: var(--ob-ink); text-decoration: none; }
.facts dd a:hover { text-decoration: underline; }

/* ---- Callouts ---- */
.callout {
    background: #f8f6f4;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 12px;
}
.callout strong { display: block; margin-bottom: 4px; }
.callout p { margin: 0; font-size: 14px; color: var(--ob-ink-2); }
.callout.warning { background: #fdf6ec; }

/* ---- FAQ ---- */
.faq h3 { font-size: 15px; margin: 18px 0 4px; color: var(--ob-navy); }
.faq p { margin: 0; color: var(--ob-ink-2); }

/* ---- Quote chooser ---- */
.choice-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .choice-cards { grid-template-columns: 1fr 1fr; } }
.choice-card {
    border: 1px solid var(--ob-hairline);
    border-radius: 16px;
    padding: 18px;
    text-align: left;
    background: #fff;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.choice-card strong { font-size: 16px; }
.choice-card span { color: var(--ob-ink-2); font-size: 13px; }
.choice-card[aria-pressed='true'] {
    border-color: var(--ob-blue);
    box-shadow: 0 0 0 2px var(--ob-blue);
    background: var(--ob-sky);
}

/* ---- Forms ---- */
form { display: flex; flex-direction: column; gap: 16px; }
h3.step { font-size: 15px; margin: 10px 0 0; color: var(--ob-navy); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea, .field-row select {
    font: inherit;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid var(--ob-hairline);
    border-radius: 8px;
    background: #fff;
    color: var(--ob-ink);
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus, .field-row select:focus {
    outline: 2px solid var(--ob-blue);
    outline-offset: 1px;
}
.field-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) {
    .field-row { grid-template-columns: 1fr 1fr 1fr; }
    .field-row.two { grid-template-columns: 1fr 1fr; }
}
.error { color: #c81e2b; font-size: 13px; margin: 0; }
.checks { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.checks label { display: flex; gap: 8px; align-items: flex-start; }
.checks input { margin-top: 3px; }
#packing-opts { margin-left: 24px; }

/* ---- Rooms / steppers ---- */
.room { border: 1px solid var(--ob-hairline); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.room h4 { margin: 0 0 8px; font-size: 14px; color: var(--ob-navy); }
.room-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper button {
    width: 30px; height: 30px;
    border-radius: 999px;
    border: 1px solid var(--ob-hairline);
    background: #fff;
    font-size: 16px; line-height: 1;
    cursor: pointer;
    color: var(--ob-navy);
}
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper span { min-width: 18px; text-align: center; font-weight: 600; }

/* ---- Footer ---- */
.site-footer {
    border-top: 1px solid var(--ob-hairline);
    margin-top: 40px;
    padding-top: 24px;
    font-size: 14px;
    color: var(--ob-ink-2);
}
.footer-logo { height: 40px; width: auto; margin-bottom: 10px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--ob-ink-2); }
.credit { font-size: 12px; }

[hidden] { display: none !important; }
