/* ============================================================
   SOSOCO — corporate site (sosoco.us)
   Design pulled from the route3pitstop.com SOSOCO station layer.
   Same national-fuel-brand template chrome; this is the mothership.
   Clean, corporate, a little too pleased with itself. On purpose.
   ============================================================ */

:root {
    --sosoco-blue:   #0e3b7c;
    --sosoco-blue-d: #0a2c5e;
    --sosoco-yellow: #ffd200;
    --sosoco-red:    #e5231b;

    --ink:    #1b2330;
    --body:   #3a4454;
    --muted:  #6b7688;
    --line:   #e2e6ec;
    --bg:     #f4f6f9;
    --panel:  #ffffff;
    --alt:    #eef1f6;

    --radius: 8px;
    --shadow: 0 1px 3px rgba(16, 32, 64, .08), 0 6px 20px rgba(16, 32, 64, .05);
    --wrap:   1120px;
    --font:   "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--sosoco-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--sosoco-blue); color: #fff; }
.btn-primary:hover { background: var(--sosoco-blue-d); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-yellow { background: var(--sosoco-yellow); color: var(--sosoco-blue-d); }
.btn-yellow:hover { background: #ffdd3a; }
.btn-block { display: block; text-align: center; }

/* ---------- utility bar ---------- */
.util-bar {
    background: var(--sosoco-blue-d);
    color: rgba(255,255,255,.85);
    font-size: 13px;
}
.util-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.util-tag { font-weight: 600; letter-spacing: .02em; }
.util-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.util-nav a { color: rgba(255,255,255,.85); }
.util-nav a:hover { color: #fff; text-decoration: none; }
.util-muted { opacity: .7; }

/* ---------- header ---------- */
.site-header { background: var(--panel); box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand-logo { height: 72px; width: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--sosoco-blue); border-color: var(--sosoco-yellow); text-decoration: none; }

/* canopy livery stripe */
.canopy-stripe { display: flex; height: 6px; }
.stripe { flex: 1; }
.stripe-blue { background: var(--sosoco-blue); }
.stripe-yellow { background: var(--sosoco-yellow); }
.stripe-red { background: var(--sosoco-red); }

/* ---------- hero ---------- */
.station-hero {
    background:
        linear-gradient(135deg, rgba(10,44,94,.94), rgba(14,59,124,.86)),
        repeating-linear-gradient(45deg, #0e3b7c 0 40px, #0d3776 40px 80px);
    color: #fff;
    padding: 80px 0;
}
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hero-inner.hero-center { text-align: center; }
.hero-inner.hero-center .hero-meta,
.hero-inner.hero-center .hero-actions { justify-content: center; }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
    color: var(--sosoco-yellow);
    margin: 0 0 12px;
}
.station-name {
    color: #fff;
    font-size: clamp(30px, 5.5vw, 52px);
    max-width: 20ch;
    margin: 0 auto 14px;
}
.hero-center .station-name { margin-inline: auto; }
.station-addr { font-size: 19px; color: rgba(255,255,255,.9); margin-bottom: 16px; max-width: 58ch; }
.hero-center .station-addr { margin-inline: auto; }
.hero-meta {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    font-size: 15px; color: rgba(255,255,255,.9); margin-bottom: 28px;
}
.meta-sep { opacity: .5; }
.status-pill {
    background: #1c8a3c;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 100px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- generic section ---------- */
.section { padding: 60px 0; }
.section-alt { background: var(--alt); }
.section-title { font-size: clamp(24px, 3.5vw, 32px); text-align: center; }
.section-lede {
    text-align: center; color: var(--muted); max-width: 60ch;
    margin: 0 auto 40px; font-size: 17px;
}

/* ---------- corporate stat band ---------- */
.stat-band { background: var(--sosoco-blue-d); color: #fff; }
.stat-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    padding: 40px 0; text-align: center;
}
.stat-num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--sosoco-yellow); line-height: 1; }
.stat-label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.75); margin-top: 8px; }

/* ---------- fuel grades ---------- */
.grade-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.grade-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow);
    text-align: center;
}
.grade-card h3 { font-size: 17px; margin-bottom: 6px; }
.grade-card p { color: var(--muted); font-size: 14px; margin: 0; }
.grade-octane {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--sosoco-yellow);
    color: var(--sosoco-blue-d);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 16px;
}
.grade-featured { border-color: var(--sosoco-blue); box-shadow: 0 0 0 2px var(--sosoco-blue) inset, var(--shadow); }

/* ---------- feature split (fleet / franchise) ---------- */
.feature-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.feature-split.flip .feature-media { order: 2; }
.feature-copy h2 { font-size: clamp(22px, 3vw, 30px); }
.feature-copy .eyebrow { color: var(--sosoco-red); }
.feature-list { list-style: none; margin: 0 0 24px; padding: 0; }
.feature-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; }
.feature-list li::before {
    content: ""; position: absolute; left: 0; top: 8px;
    width: 10px; height: 10px; border-radius: 2px; background: var(--sosoco-yellow);
    box-shadow: 0 0 0 2px var(--sosoco-blue);
}
.feature-media {
    background:
        linear-gradient(135deg, rgba(10,44,94,.92), rgba(14,59,124,.82)),
        repeating-linear-gradient(45deg, #0e3b7c 0 30px, #0d3776 30px 60px);
    border-radius: var(--radius);
    min-height: 260px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-align: center; padding: 32px;
    box-shadow: var(--shadow);
}
.feature-media .media-figure { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--sosoco-yellow); }
.feature-media .media-sub { display: block; font-size: 14px; color: rgba(255,255,255,.85); font-weight: 600; margin-top: 8px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- rewards band ---------- */
.rewards-band { background: var(--sosoco-blue); color: #fff; }
.rewards-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.rewards-copy { flex: 1 1 460px; }
.rewards-copy p { color: rgba(255,255,255,.9); max-width: 54ch; }
.eyebrow-light { color: var(--sosoco-yellow); }
.rewards-title { color: #fff; font-size: clamp(24px, 3.5vw, 34px); }
.rewards-badge {
    flex: 0 0 auto;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: var(--sosoco-yellow);
    color: var(--sosoco-blue-d);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 0 0 8px rgba(255,255,255,.15);
}
.badge-cents { font-size: 48px; font-weight: 800; line-height: 1; }
.badge-label { font-size: 13px; font-weight: 600; margin-top: 6px; }

/* ---------- quality ---------- */
.quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.quality-item { text-align: center; padding: 0 8px; }
.quality-item h3 { font-size: 18px; }
.quality-item p { color: var(--muted); margin: 0; }

/* ---------- locator ---------- */
.locator-inner { text-align: center; }
.locator-form {
    display: flex; gap: 10px; justify-content: center;
    max-width: 480px; margin: 0 auto 28px; flex-wrap: wrap;
}
.locator-form input {
    flex: 1 1 240px;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #c7cdd8;
    border-radius: var(--radius);
    background: #fff;
}
.locator-form input:focus { outline: 2px solid var(--sosoco-blue); border-color: var(--sosoco-blue); }
.locator-note { color: var(--muted); font-size: 14px; }

/* featured station card — the reciprocal shell link */
.featured-station {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 560px;
    margin: 0 auto;
    padding: 24px 28px;
    text-align: left;
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.featured-station .fs-body { flex: 1 1 260px; }
.fs-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--sosoco-red); font-weight: 700; margin: 0 0 4px; }
.featured-station h3 { font-size: 18px; margin: 0 0 4px; }
.featured-station .fs-addr { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- investor / about mini ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-panel {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.info-panel h3 { font-size: 18px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 3px solid var(--sosoco-yellow); display: inline-block; }
.info-panel p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--sosoco-blue-d); color: rgba(255,255,255,.8); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    padding-top: 52px;
    padding-bottom: 40px;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; filter: brightness(1.05); }
.footer-tag { color: rgba(255,255,255,.65); font-size: 14px; margin: 0; }
.footer-col h4 {
    color: #fff; font-size: 14px; text-transform: uppercase;
    letter-spacing: .06em; margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.8); font-size: 14px; }
.footer-col a:hover { color: #fff; text-decoration: none; }

.legal-bar { border-top: 1px solid rgba(255,255,255,.12); }
.legal-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; padding: 20px 24px;
}
.legal-inner p { margin: 0; font-size: 12px; color: rgba(255,255,255,.6); max-width: 78ch; }
.legal-links { white-space: nowrap; }
.legal-links a { color: rgba(255,255,255,.75); }
.legal-links .dot { margin: 0 8px; opacity: .5; }

/* OuterNet backlink — quiet, at the very bottom */
.outernet-bar {
    background: #071f42;
    text-align: center;
    padding: 12px 24px;
    font-size: 12px;
}
.outernet-bar a { color: rgba(255,255,255,.55); letter-spacing: .04em; }
.outernet-bar a:hover { color: rgba(255,255,255,.85); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .grade-grid { grid-template-columns: 1fr 1fr; }
    .quality-grid { grid-template-columns: 1fr; gap: 28px; }
    .feature-split { grid-template-columns: 1fr; gap: 28px; }
    .feature-split.flip .feature-media { order: 0; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .main-nav { display: none; }
}
@media (max-width: 520px) {
    .grade-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .util-nav { display: none; }
    .rewards-inner { flex-direction: column-reverse; align-items: flex-start; }
    .legal-inner { flex-direction: column; align-items: flex-start; }
}
