/* =========================================================
   ORBIT INSURANCE SERVICES — BODY SECTIONS (base / desktop)
   Scope: all classes are namespaced .ois-* to avoid clashes
   with Bootstrap / global-new / home-new.
   Pair with: responsive.css (media queries)
   ========================================================= */

:root {
    /* Brand — adjust these hex values to your exact palette */
    --ois-pink: #0f766e;
    --ois-pink-deep: #c70f74;
    --ois-green: #1f9e8a;
    --ois-green-deep: #157e6e;
    --ois-green-soft: #eef6f3;

    /* Neutrals */
    --ois-ink: #2c2c33;
    --ois-body: #4a4d55;
    --ois-muted: #7a7e87;
    --ois-line: #e7e9ee;
    --ois-surface: #ffffff;
    --ois-surface-2: #f6f7f9;

    /* Type */
    --ois-font-display: 'Tanker', 'Satoshi', system-ui, sans-serif;
    --ois-font-body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    /* Shape & motion */
    --ois-radius: 18px;
    --ois-radius-sm: 12px;
    --ois-shadow: 0 18px 40px -22px rgba(28, 30, 40, .35);
    --ois-shadow-sm: 0 10px 24px -16px rgba(28, 30, 40, .35);
    --ois-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Layout primitives ---------- */
.ois-section {
    padding: 84px 0;
    background: var(--ois-surface);
}
.ois-section--alt {
    background: var(--ois-surface-2);
}
.ois-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section heads ---------- */
.ois-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}
.ois-head--tight {
    margin-bottom: 40px;
}
.ois-eyebrow {
    display: inline-block;
    font-family: var(--ois-font-body);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ois-pink);
    padding: 7px 14px;
    border: 1px solid color-mix(in srgb, var(--ois-pink) 28%, transparent);
    border-radius: 999px;
    margin-bottom: 18px;
}
.ois-eyebrow--light {
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
}
.ois-h2 {
    font-family: var(--ois-font-display);
    font-weight: 400;
    color: var(--ois-ink);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: .005em;
    text-transform: uppercase;
    margin: 0;
}
.ois-h2--light { color: #fff; }
.ois-accent { color: var(--ois-pink); }
.ois-lead {
    font-family: var(--ois-font-body);
    color: var(--ois-body);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 500;
    margin: 18px auto 0;
    max-width: 640px;
}

/* ---------- Buttons ---------- */
.ois-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ois-font-body);
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    padding: 16px 30px;
    border-radius: 999px;
    transition: transform .2s var(--ois-ease), box-shadow .2s var(--ois-ease), background .2s var(--ois-ease);
}
.ois-btn--pink { background: var(--ois-pink); color: #fff; }
.ois-btn--pink:hover { background: var(--ois-pink-deep); transform: translateY(-2px); box-shadow: var(--ois-shadow-sm); }
.ois-btn--green { background: var(--ois-green); color: #fff; }
.ois-btn--green:hover { background: var(--ois-green-deep); transform: translateY(-2px); box-shadow: var(--ois-shadow-sm); }
.ois-btn--white { background: #fff; color: var(--ois-pink-deep); }
.ois-btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); }
.ois-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.ois-btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.ois-btn--block { width: 100%; }

/* ---------- Family image band ---------- */
.ois-family {
    line-height: 0;
    background: var(--ois-surface);
}
.ois-family img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- Reviews rail ---------- */
.ois-rail-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}
.ois-rail {
    list-style: none;
    margin: 0;
    padding: 8px 4px 18px;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    flex: 1;
}
.ois-rail::-webkit-scrollbar { display: none; }
.ois-review {
    scroll-snap-align: start;
    flex: 0 0 360px;
    background: var(--ois-surface);
    border: 1px solid var(--ois-line);
    border-radius: var(--ois-radius);
    padding: 30px 28px;
    box-shadow: var(--ois-shadow-sm);
    display: flex;
    flex-direction: column;
}
.ois-section--alt .ois-review { background: #fff; }
.ois-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 16px;
}
.ois-stars img { width: 20px; height: 20px; }
.ois-review-text {
    font-family: var(--ois-font-body);
    color: var(--ois-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    margin: 0 0 22px;
    flex: 1;
}
.ois-review-by {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--ois-line);
    padding-top: 18px;
}
.ois-review-name {
    font-family: var(--ois-font-body);
    font-weight: 900;
    font-size: 17px;
    color: var(--ois-ink);
}
.ois-review-src {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ois-font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--ois-pink);
}
.ois-review-src img { width: 18px; height: 18px; }
.ois-rail-nav {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--ois-line);
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--ois-shadow-sm);
    transition: transform .2s var(--ois-ease), background .2s var(--ois-ease);
}
.ois-rail-nav:hover { background: var(--ois-pink); transform: scale(1.05); }
.ois-rail-nav img { width: 16px; height: 16px; }

/* ---------- Insurance solutions grid ---------- */
.ois-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ois-solution {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--ois-line);
    border-radius: var(--ois-radius);
    padding: 26px 24px 28px;
    transition: transform .25s var(--ois-ease), box-shadow .25s var(--ois-ease), border-color .25s var(--ois-ease);
}
.ois-solution:hover {
    transform: translateY(-6px);
    box-shadow: var(--ois-shadow);
    border-color: color-mix(in srgb, var(--ois-pink) 40%, transparent);
}
.ois-solution-img {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.ois-solution-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.ois-solution-title {
    font-family: var(--ois-font-body);
    font-weight: 900;
    font-size: 20px;
    color: var(--ois-ink);
    margin: 0 0 10px;
}
.ois-solution-text {
    font-family: var(--ois-font-body);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ois-body);
    margin: 0 0 18px;
    flex: 1;
}
.ois-solution-link {
    font-family: var(--ois-font-body);
    font-weight: 800;
    font-size: 14px;
    color: var(--ois-pink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ois-solution-link::after {
    content: "→";
    transition: transform .2s var(--ois-ease);
}
.ois-solution:hover .ois-solution-link::after { transform: translateX(4px); }

/* ---------- Inline quote bar ---------- */
.ois-quotebar {
    margin-top: 48px;
    background: var(--ois-ink);
    border-radius: var(--ois-radius);
    padding: 30px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.ois-quotebar-title {
    font-family: var(--ois-font-body);
    font-weight: 900;
    font-size: 24px;
    color: #fff;
    margin: 0 0 6px;
}
.ois-quotebar-sub {
    font-family: var(--ois-font-body);
    font-weight: 500;
    font-size: 15px;
    color: rgba(255,255,255,.75);
    margin: 0;
}
.ois-quote-form {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- Shared form fields ---------- */
.ois-field { position: relative; display: flex; flex-direction: column; }
.ois-label {
    font-family: var(--ois-font-body);
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    margin-bottom: 7px;
}
.ois-quote .ois-label { color: var(--ois-ink); }
.ois-req { color: var(--ois-pink); margin-left: 2px; }
.ois-input {
    font-family: var(--ois-font-body);
    font-weight: 500;
    font-size: 15px;
    color: var(--ois-ink);
    background: #fff;
    border: 1px solid var(--ois-line);
    border-radius: 999px;
    padding: 14px 20px;
    min-width: 230px;
    outline: none;
    transition: border-color .2s var(--ois-ease), box-shadow .2s var(--ois-ease);
}
.ois-input::placeholder { color: var(--ois-muted); }
.ois-input:focus {
    border-color: var(--ois-pink);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ois-pink) 18%, transparent);
}
.ois-error {
    font-family: var(--ois-font-body);
    font-weight: 500;
    font-size: 13px;
    color: #e23a3a;
    margin-top: 6px;
    text-align: left;
}

/* ---------- Carrier marquee ---------- */
.ois-carriers { overflow: hidden; }
.ois-marquee {
    margin-top: 8px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    overflow: hidden;
}
.ois-marquee-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: ois-scroll 32s linear infinite;
}
.ois-marquee:hover .ois-marquee-track { animation-play-state: paused; }
.ois-logo {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    height: 56px;
}
.ois-logo img {
    max-height: 100%;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .62;
    transition: filter .25s var(--ois-ease), opacity .25s var(--ois-ease);
}
.ois-logo img:hover { filter: grayscale(0); opacity: 1; }
@keyframes ois-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Benefits ---------- */
.ois-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ois-benefit {
    background: #fff;
    border: 1px solid var(--ois-line);
    border-radius: var(--ois-radius);
    padding: 32px 28px;
    transition: transform .25s var(--ois-ease), box-shadow .25s var(--ois-ease);
}
.ois-benefit:hover { transform: translateY(-5px); box-shadow: var(--ois-shadow); }
.ois-benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--ois-green-soft);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}
.ois-benefit-icon img { max-width: 36px; max-height: 36px; object-fit: contain; }
.ois-benefit-title {
    font-family: var(--ois-font-body);
    font-weight: 900;
    font-size: 20px;
    color: var(--ois-ink);
    margin: 0 0 10px;
}
.ois-benefit-text {
    font-family: var(--ois-font-body);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ois-body);
    margin: 0;
}
.ois-benefit--cta {
    background: linear-gradient(150deg, var(--ois-pink), var(--ois-pink-deep));
    border-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.ois-benefit--cta .ois-benefit-title,
.ois-benefit--cta .ois-benefit-text { color: #fff; }
.ois-benefit--cta .ois-benefit-text { margin-bottom: 22px; opacity: .92; }
.ois-benefit--cta:hover { transform: translateY(-5px); }

/* ---------- Scenarios (signature) ---------- */
.ois-scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.ois-scenario {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--ois-line);
    border-left: 4px solid var(--ois-pink);
    border-radius: var(--ois-radius);
    padding: 28px 30px;
    transition: transform .25s var(--ois-ease), box-shadow .25s var(--ois-ease);
}
.ois-scenario:hover { transform: translateY(-4px); box-shadow: var(--ois-shadow); }
.ois-scenario-media {
    flex: 0 0 96px;
    height: 96px;
    border-radius: 14px;
    background: var(--ois-surface-2);
    display: grid;
    place-items: center;
}
.ois-scenario-media img { max-width: 62px; max-height: 62px; object-fit: contain; }
.ois-scenario-title {
    font-family: var(--ois-font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
    font-size: 22px;
    line-height: 1.12;
    color: var(--ois-ink);
    margin: 4px 0 10px;
}
.ois-scenario-text {
    font-family: var(--ois-font-body);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ois-body);
    margin: 0;
}
.ois-inline-link {
    color: var(--ois-pink);
    font-style: italic;
    font-weight: 700;
    text-decoration: none;
}
.ois-inline-link:hover { text-decoration: underline; }

/* ---------- Serving CTA band ---------- */
.ois-cta-band {
    background: linear-gradient(135deg, var(--ois-green-deep), var(--ois-green));
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.ois-cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.16), transparent 45%);
    pointer-events: none;
}
.ois-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}
.ois-cta-copy { max-width: 620px; }
.ois-cta-text {
    font-family: var(--ois-font-body);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
    margin: 16px 0 0;
}
.ois-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- Get a free quote ---------- */
.ois-quote-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ois-line);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--ois-shadow);
}
.ois-quote-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 26px;
}
.ois-quote-options .ois-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: #fff;
    border: 1.5px solid var(--ois-line);
    border-radius: var(--ois-radius-sm);
    padding: 20px 12px 16px;
    cursor: pointer;
    transition: border-color .2s var(--ois-ease), background .2s var(--ois-ease), transform .2s var(--ois-ease), box-shadow .2s var(--ois-ease);
}
.ois-quote-options .ois-option:hover { transform: translateY(-3px); box-shadow: var(--ois-shadow-sm); }
.ois-quote-options .ois-option.is-selected {
    border-color: var(--ois-pink);
    background: color-mix(in srgb, var(--ois-pink) 6%, #fff);
    box-shadow: inset 0 0 0 1px var(--ois-pink);
}
.ois-quote-options .ois-option-img {
    position: static;
    height: 92px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
}
.ois-quote-options .ois-option-img img {
    position: static;
    width: auto;
    height: auto;
    max-height: 84px;
    max-width: 84px;
    object-fit: contain;
}
.ois-quote-options .ois-option-label {
    position: static;
    transform: none;
    inset: auto;
    margin: 0;
    font-family: var(--ois-font-body);
    font-weight: 800;
    font-size: 16px;
    color: var(--ois-ink);
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ois-quote-options .ois-option-label img { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Contact ---------- */
.ois-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.ois-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    text-decoration: none;
    background: var(--ois-green-soft);
    border: 1px solid color-mix(in srgb, var(--ois-green) 16%, transparent);
    border-radius: var(--ois-radius);
    padding: 34px 24px;
    transition: transform .25s var(--ois-ease), box-shadow .25s var(--ois-ease);
}
.ois-contact-card:hover { transform: translateY(-5px); box-shadow: var(--ois-shadow); }
.ois-contact-card--static { cursor: default; }
.ois-contact-card--static:hover { transform: none; box-shadow: none; }
.ois-contact-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 6px;
}
.ois-contact-icon img { max-width: 30px; max-height: 30px; object-fit: contain; }
.ois-contact-kind {
    font-family: var(--ois-font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 18px;
    color: var(--ois-muted);
}
.ois-contact-value {
    font-family: var(--ois-font-body);
    font-weight: 800;
    font-size: 17px;
    color: var(--ois-pink-deep);
    word-break: break-word;
}

/* ---------- Accessibility / quality floor ---------- */
.ois-btn:focus-visible,
.ois-solution:focus-visible,
.ois-contact-card:focus-visible,
.ois-rail-nav:focus-visible,
.ois-input:focus-visible,
.ois-option:focus-visible {
    outline: 3px solid var(--ois-green);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .ois-marquee-track { animation: none; }
    .ois-rail { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; }
}