/* =============================================
   2 J's Equipment Repair — site styles
   ============================================= */

:root {
  --navy: #0f1b2e;
  --navy-2: #23344f;
  --steel: #3a5072;
  --orange: #ff8a3d;
  --orange-2: #e85d20;
  --green: #3aa856;
  --sase-yellow: #f5c518;
  --sase-yellow-dark: #d4a514;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --bg-dark: #0f1b2e;
  --text: #1f2937;
  --text-light: #cbd5e1;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 6px rgba(15, 27, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 27, 46, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 27, 46, 0.18);
  --max: 1180px;
  --space: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-2); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 { font-family: 'Bebas Neue', 'Inter', sans-serif; letter-spacing: 0.5px; line-height: 1.1; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--orange-2); margin-bottom: .75rem; }
.eyebrow--light { color: var(--orange); }
.text-accent { color: var(--orange-2); }
.text-white { color: #fff; }
.text-light { color: var(--text-light); }
.mt-md { margin-top: 1.25rem; }
.mt-lg { margin-top: 2rem; }
.visually-hidden { position: absolute; left: -9999px; }

/* ===== TOP BAR ===== */
.topbar { background: var(--navy); color: #c8d2e0; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: .55rem 1.25rem; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--orange); }
.topbar__left { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.topbar__left svg { vertical-align: -2px; margin-right: 4px; color: var(--orange); }
.topbar__sep { opacity: .35; }
.topbar__right { display: flex; gap: .5rem; }
.badge { display: inline-block; background: var(--green); color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; padding: .25rem .55rem; border-radius: 4px; }
.badge--alt { background: var(--sase-yellow); color: var(--navy); border: 1px solid var(--sase-yellow-dark); }
.propane-text { color: var(--green); font-weight: 800; }
.sase-text { color: var(--sase-yellow-dark); font-weight: 800; }
.sase-logo-slot { display: inline-flex; align-items: center; gap: .5rem; background: var(--sase-yellow); color: var(--navy); padding: .35rem .75rem; border-radius: 6px; font-weight: 800; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--sase-yellow-dark); }
.sase-logo-slot img { height: 24px; width: auto; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; gap: 1rem; }
.brand__logo { height: 60px; width: auto; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { color: var(--navy); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--orange-2); }
.nav-cta { background: var(--orange); color: #0f1b2e !important; padding: .55rem 1rem; border-radius: 6px; transition: background .15s; }
.nav-cta:hover { background: var(--orange-2); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; border-bottom: 1px solid var(--border); display: none; box-shadow: var(--shadow-md); }
  .nav.is-open { display: flex; }
  .nav a { padding: .75rem 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav a:last-child { border-bottom: 0; text-align: center; margin-top: .5rem; }
}

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0f1b2e 0%, #1a2c47 60%, #23344f 100%); color: #fff; }
.hero__bg { position: absolute; inset: 0; background-image:
  radial-gradient(circle at 20% 80%, rgba(255,138,61,.18) 0, transparent 40%),
  radial-gradient(circle at 80% 20%, rgba(58,168,86,.12) 0, transparent 40%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; padding: 5rem 1.25rem; }
.hero h1 { color: #fff; }
.hero .lead { color: #e2e8f0; font-size: 1.15rem; max-width: 600px; }
.hero .eyebrow { color: var(--orange); }
.hero__ctas { display: flex; gap: 1rem; margin: 1.75rem 0 2rem; flex-wrap: wrap; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.trust-list li { display: flex; align-items: center; gap: .6rem; color: #cbd5e1; font-weight: 500; }
.trust-list svg { width: 20px; height: 20px; fill: var(--orange); flex-shrink: 0; }
.trust-list .sase-icon { fill: var(--sase-yellow); }
.trust-list .propane-icon { fill: var(--green); }
.trust-list li.sase-line { color: var(--sase-yellow); font-weight: 600; }
.trust-list li.propane-line { color: #6ee0a0; font-weight: 600; }
.hero__art { position: relative; }
.hero__art svg { filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4)); animation: float 6s ease-in-out infinite; }
.hero__photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.45); transform: rotate(-1deg); transition: transform .4s; }
.hero__photo:hover { transform: rotate(0deg) scale(1.01); }
.hero__photo img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; }
.hero__photo-tag { position: absolute; bottom: 16px; left: 16px; background: rgba(15,27,46,.92); backdrop-filter: blur(6px); color: #fff; padding: .55rem .9rem; border-radius: 6px; font-size: .85rem; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.hero__photo-tag .propane-text { color: #6ee0a0; margin-right: 4px; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding: 3rem 1.25rem; }
  .hero__art { max-width: 320px; margin: 0 auto; }
}

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 6px; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; transition: all .15s; cursor: pointer; border: 0; text-decoration: none; }
.btn--primary { background: var(--orange); color: #0f1b2e; box-shadow: 0 6px 20px rgba(255,138,61,.4); }
.btn--primary:hover { background: var(--orange-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(232,93,32,.5); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.25); }
.btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }

/* ===== STRIP ===== */
.strip { background: var(--navy); color: #fff; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.5rem 1.25rem; }
.strip__item { padding: .75rem 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.strip__item:last-child { border-right: 0; }
.strip__item strong { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--orange); letter-spacing: 1px; }
.strip__item strong.propane-text { color: #6ee0a0; }
.strip__item strong.sase-text { color: var(--sase-yellow); }
.strip__item span { font-size: .85rem; color: #cbd5e1; }
@media (max-width: 720px) { .strip__inner { grid-template-columns: repeat(2,1fr); } .strip__item:nth-child(2) { border-right: 0; } }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: var(--text-light); }

/* ===== GRIDS ===== */
.grid { display: grid; gap: 1.75rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--align-center { align-items: center; }
@media (max-width: 860px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

/* ===== CARDS ===== */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(255,138,61,.3); }
.card__icon { width: 72px; height: 72px; background: var(--bg-alt); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.card__icon svg { width: 48px; height: 48px; }
.card p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li { padding: .35rem 0 .35rem 1.5rem; position: relative; color: var(--navy-2); font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }

/* ===== ENGINE BRANDS ===== */
.engines { padding: 4.5rem 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.engines__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.engines__head p { color: var(--muted); font-size: 1.05rem; }
.engine-brands { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.engine-brands li { background: var(--bg-alt); border: 2px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center; transition: transform .2s, border-color .2s, background .2s; position: relative; overflow: hidden; }
.engine-brands li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.engine-brands li:hover { transform: translateY(-3px); border-color: var(--orange); background: #fff; box-shadow: var(--shadow-md); }
.engine-brands li:hover::before { transform: scaleX(1); }
.engine-brands strong { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; color: var(--navy); letter-spacing: 1.5px; margin-bottom: .25rem; }
.engine-brands span { font-size: .85rem; color: var(--muted); font-weight: 500; }
.engines__note { text-align: center; color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 720px) { .engine-brands { grid-template-columns: repeat(2, 1fr); } }

/* ===== FEATURES ===== */
.feature { padding: 1.25rem; border-left: 3px solid var(--orange); background: rgba(255,255,255,.03); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.feature__num { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--orange); letter-spacing: 2px; margin-bottom: .5rem; }
.feature--sase { border-left-color: var(--sase-yellow); }
.feature--sase .feature__num { color: var(--sase-yellow); }

/* ===== CERTIFICATION CARDS ===== */
.cert-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.cert-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-sm); padding: 1.25rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; transition: transform .2s, border-color .2s, background .2s; }
.cert-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.10); }
.cert-card strong { display: block; color: #fff; font-size: 1rem; line-height: 1.2; margin-top: .5rem; }
.cert-card span { color: var(--text-light); font-size: .8rem; }
.cert-card__logo { width: 100%; height: 80px; background: #fff; border-radius: 8px; padding: .5rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cert-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-card--sase { border-color: rgba(245,197,24,.4); background: rgba(245,197,24,.05); }
.cert-card--sase:hover { border-color: rgba(245,197,24,.7); background: rgba(245,197,24,.10); }
@media (max-width: 720px) { .cert-row { grid-template-columns: 1fr; } }
.propane-art { display: flex; justify-content: center; }
.propane-art svg { max-width: 360px; }
.propane-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,.08); }
.propane-photo img { width: 100%; height: auto; display: block; aspect-ratio: 3/4; object-fit: cover; }
.propane-photo__caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(15,27,46,.95) 0%, rgba(15,27,46,0) 100%); color: #fff; padding: 1.5rem 1rem .85rem; font-size: .9rem; font-weight: 600; text-align: center; }

/* ===== ABOUT ===== */
.about-art { position: relative; }
.about-art__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-art__photo img { width: 100%; height: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.about-art__badge { position: absolute; bottom: -20px; right: -10px; background: var(--orange); color: var(--navy); padding: 1rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-art__badge strong { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 1px; }
.about-art__badge span { font-size: .85rem; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.kpi strong { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--orange-2); }
.kpi span { font-size: .85rem; color: var(--muted); }
@media (max-width: 720px) { .kpis { grid-template-columns: 1fr; gap: .5rem; } }

/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .25s, box-shadow .25s; background: #0f1b2e; }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery__item img { width: 100%; height: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(15,27,46,.95) 0%, rgba(15,27,46,0) 100%); color: #fff; padding: 2rem 1rem .9rem; font-size: .9rem; font-weight: 600; }
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 540px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
}

/* ===== QUOTE FORM ===== */
.quote-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .quote-wrap { grid-template-columns: 1fr; } }

.form { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .35rem; font-size: .9rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem; font-family: inherit; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,138,61,.18);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-divider { border: 0; border-top: 1px dashed var(--border); margin: 1.5rem 0; }
.form-actions { margin-top: 1.5rem; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .75rem; }

/* ===== CONTACT CARD ===== */
.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-md); }
.contact-card h3 { color: #fff; margin-bottom: 1rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: flex; gap: .85rem; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.08); align-items: flex-start; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-list a:hover { color: var(--orange); }
.contact-list__label { display: block; color: var(--text-light); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.map-wrap { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: #000; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== FOOTER ===== */
.footer { background: #08111e; color: #cbd5e1; padding-top: 3rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand img { height: 70px; background: #fff; padding: .5rem; border-radius: 8px; margin-bottom: 1rem; }
.footer__brand p { color: #94a3b8; font-size: .9rem; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { padding: .25rem 0; }
.footer__col a { color: #94a3b8; }
.footer__col a:hover { color: var(--orange); }
.footer__col p { color: #94a3b8; font-size: .9rem; margin: 0 0 .5rem; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.06); padding: 1.25rem 0; font-size: .85rem; color: #64748b; }
.footer__bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__inner { grid-template-columns: 1fr; } }

/* ===== THANK YOU BANNER ===== */
.thanks { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 100; max-width: 90%; }
.thanks__inner { background: var(--green); color: #fff; padding: 1rem 3rem 1rem 1.25rem; border-radius: 8px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: .25rem; position: relative; }
.thanks__inner strong { font-size: 1.05rem; }
.thanks__inner a { color: #fff; text-decoration: underline; font-weight: 700; }
.thanks__close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }
