/* =============================================================
   Lone Star Controls — Custom stylesheet
   Palette:  Navy #1E2B58  ·  Footer #03031B  ·  Accent #FC8503
   ============================================================= */

:root {
    --navy:        #1E2B58;
    --navy-deep:   #16203F;
    --footer:      #03031B;
    --accent:      #FC8503;
    --accent-dk:   #E07503;
    --white:       #FFFFFF;
    --ink:         #1A1F2E;
    --muted:       #5B6478;
    --line:        #E3E7EF;
    --bg-soft:     #F4F6FA;

    --maxw: 1200px;
    --radius: 6px;
    --shadow-sm: 0 2px 10px rgba(30,43,88,.08);
    --shadow-md: 0 12px 34px rgba(30,43,88,.14);

    --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* --- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dk); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .2px; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 13px 30px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dk); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 16px 38px; font-size: 1.15rem; }

/* --- Utility bar ---------------------------------------------------------- */
.utility-bar {
    background: var(--navy-deep);
    color: rgba(255,255,255,.82);
    font-size: .82rem;
    border-bottom: 2px solid var(--accent);
}
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; flex-wrap: wrap; gap: 4px 20px; }
.utility-bar a { color: rgba(255,255,255,.85); }
.utility-bar a:hover { color: var(--accent); }
.utility-bar__contact { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.utility-bar__icon { display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -1px; filter: brightness(0) invert(1); opacity: .8; }
.utility-bar__badges { display: flex; gap: 18px; text-transform: uppercase; letter-spacing: .8px; font-size: .72rem; color: rgba(255,255,255,.55); }
.utility-bar__badges span { white-space: nowrap; }

/* --- Header / nav --------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; }
.site-logo img { height: 54px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.12rem;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--navy);
    padding: 6px 0;
    position: relative;
}
.site-nav ul a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; background: var(--accent); transition: width .22s;
}
.site-nav ul a:hover, .site-nav ul a.is-active { color: var(--navy); }
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
    position: relative;
    color: #fff;
    background: var(--navy);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(8,14,38,.92) 0%, rgba(20,32,63,.78) 45%, rgba(20,32,63,.35) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 120px 0 130px; max-width: 760px; }
.hero__eyebrow {
    display: inline-block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 3px;
    font-size: .95rem; color: var(--accent); font-weight: 600; margin-bottom: 18px;
    border-left: 3px solid var(--accent); padding-left: 14px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero__lead { font-size: 1.25rem; color: rgba(255,255,255,.88); margin-bottom: 34px; max-width: 620px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Inner-page banner */
.page-banner {
    position: relative; color: #fff; background: var(--navy); background-size: cover; background-position: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,38,.9), rgba(20,32,63,.6)); }
.page-banner__inner { position: relative; z-index: 2; padding: 92px 0 76px; }
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.page-banner__crumb { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2px; color: var(--accent); font-size: .9rem; }
.page-banner p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }

/* --- Section scaffolding -------------------------------------------------- */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.9); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
    display: inline-block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2.5px;
    font-size: .9rem; color: var(--accent-dk); font-weight: 700; margin-bottom: 12px;
}
.section--navy .eyebrow { color: var(--accent); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--navy .section-head p { color: rgba(255,255,255,.8); }

/* --- Grid helpers --------------------------------------------------------- */
.grid { display: grid; gap: 30px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* --- Service / capability cards ------------------------------------------ */
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px 32px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
    height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
    width: 62px; height: 62px; border-radius: 12px; background: rgba(252,133,3,.12);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card__icon img { width: 34px; height: 34px; }
.card h3 { margin-bottom: 16px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card ul li { position: relative; padding: 6px 0 6px 22px; color: var(--muted); border-bottom: 1px solid var(--line); }
.card ul li:last-child { border-bottom: 0; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); }
.card p { color: var(--muted); margin: 0; }

/* --- Split / media + text ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: 18px; }
.split__body p { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--ink); }

/* --- Feature trio (mission/values/dna) ------------------------------------ */
.feature {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent); height: 100%;
}
.feature__body { padding: 30px 28px; }
.feature h3 { margin-bottom: 14px; }
.feature p { color: var(--muted); margin: 0; }
.feature ul { margin: 0; padding-left: 18px; color: var(--muted); }

/* --- Stats band ----------------------------------------------------------- */
.stats { background: var(--navy); position: relative; }
.stats::before {
    content: ""; position: absolute; inset: 0; background: url('../img/warehouse/2.jpg') center/cover; opacity: .12;
}
.stats__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat__label { text-transform: uppercase; letter-spacing: 1.5px; font-size: .9rem; color: rgba(255,255,255,.8); margin-top: 8px; }

/* --- Testimonials --------------------------------------------------------- */
.quote {
    background: #fff; border-radius: var(--radius); padding: 36px 34px; box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent); height: 100%;
}
.quote p { font-size: 1.12rem; font-style: italic; color: var(--ink); }
.quote__cite { font-family: var(--font-head); font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 1px; font-size: 1rem; }

/* --- Logos / partners strip ----------------------------------------------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; }
.logo-strip span {
    font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    color: var(--navy); font-size: 1.25rem; opacity: .75;
}

/* --- Cert logos (safety) -------------------------------------------------- */
.cert-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 18px; }
.cert-row a { display: inline-flex; background: #fff; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cert-row img { height: 64px; width: auto; object-fit: contain; }

/* --- Prose block (long copy) --------------------------------------------- */
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.sign { margin-top: 26px; }
.sign img { height: 56px; margin-bottom: 6px; }
.sign__name { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.25rem; }
.sign__title { color: var(--muted); font-size: .95rem; }

/* --- Accordion (capabilities / services) --------------------------------- */
.accordion { max-width: 940px; margin: 0 auto; }
.acc {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); margin-bottom: 14px; overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.acc[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.acc > summary {
    list-style: none; cursor: pointer; padding: 22px 26px;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--navy);
    transition: color .2s;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { color: var(--accent-dk); }
.acc > summary::after {
    content: ""; flex: 0 0 auto; width: 11px; height: 11px;
    border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
    transform: rotate(45deg); transition: transform .25s; margin-top: -4px;
}
.acc[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.acc__body { padding: 2px 26px 24px; color: var(--muted); animation: accFade .25s ease; }
.acc__body > :last-child { margin-bottom: 0; }
.acc__body ul { margin: 0; padding-left: 18px; }
.acc__body ul li { margin-bottom: 6px; }
@keyframes accFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* --- CTA band ------------------------------------------------------------- */
.cta-band { background: linear-gradient(100deg, var(--navy), var(--navy-deep)); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 24px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 620px; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--footer); color: rgba(255,255,255,.62); font-size: .96rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding: 70px 24px 50px; }
.site-footer h3 { color: #fff; font-size: 1.2rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.62); }
.site-footer a:hover { color: var(--accent); }
.site-footer__brand { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.6rem; display: block; margin-bottom: 14px; }
.site-footer__about p { max-width: 360px; }
.site-footer__contact { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.site-footer__contact img { width: 18px; filter: brightness(0) invert(1); opacity: .55; margin-top: 3px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; padding: 22px 24px; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--accent); }
.site-footer__bottom-inner p { margin: 0; }

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.info-item__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px; background: rgba(252,133,3,.12); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.info-item__icon svg { display: block; }
.contact-info h4 { font-size: 1.1rem; margin: 0 0 4px; }
.contact-info p { margin: 0; color: var(--muted); }
.travel { margin-top: 36px; }
.travel h4 { margin-bottom: 8px; }
.travel ul { list-style: none; padding: 0; margin: 0 0 20px; }
.travel ul li { padding: 5px 0; border-bottom: 1px solid var(--line); color: var(--muted); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--navy); font-size: .92rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
    font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(252,133,3,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.field--required label::after { content: " *"; color: var(--accent-dk); }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 6px 0 22px; }

.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 26px; font-size: .98rem; }
.alert--ok { background: #E8F6EC; border: 1px solid #BfE6C8; color: #1E6B33; }
.alert--err { background: #FCEDEA; border: 1px solid #F3C9C0; color: #9A2A12; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }

.map-embed { line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* --- Misc helpers --------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 992px) {
    .utility-bar__addr { display: none; }
    .utility-bar__badges { display: none; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
        background: var(--navy); flex-direction: column; align-items: flex-start;
        padding: 100px 32px 40px; gap: 0; transform: translateX(100%); transition: transform .3s; z-index: 99;
        box-shadow: -10px 0 40px rgba(0,0,0,.25);
    }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav ul { flex-direction: column; gap: 0; width: 100%; }
    .site-nav ul li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); }
    .site-nav ul a { display: block; padding: 16px 0; color: #fff; font-size: 1.3rem; }
    .site-nav ul a::after { display: none; }
    .site-nav ul a.is-active { color: var(--accent); }
    .site-nav__cta { margin-top: 26px; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 760px) {
    .grid--3, .grid--2 { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 34px; }
    .split--reverse .split__media { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band__inner { flex-direction: column; text-align: center; align-items: stretch; }
    .section { padding: 60px 0; }
    .hero__inner { padding: 80px 0 90px; }
}
@media (max-width: 540px) {
    .stats__grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .utility-bar__contact { gap: 14px; font-size: .78rem; }
    .form-card { padding: 26px 22px; }
}
