/* ============================================================
   Stinger Barriers — modern shared stylesheet
   Site: stingerbarriers.com
   ============================================================ */

:root {
  --navy: #16283a;
  --navy-2: #1f3a52;
  --yellow: #f2b705;
  --yellow-dark: #d9a400;
  --ink: #2c3e50;
  --muted: #5b6b7b;
  --bg: #f4f6f8;
  --card: #ffffff;
  --line: #e3e8ee;
  --ok: #1e7e34;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(22, 40, 58, 0.08);
  --shadow-lg: 0 10px 30px rgba(22, 40, 58, 0.14);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--yellow-dark); text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.1rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.55rem; margin: 0 0 0.8rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 46px; height: 46px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem; color: var(--navy);
}
.brand-name { font-size: 1.25rem; font-weight: 800; color: #fff; line-height: 1.1; }
.brand-name small { display: block; font-size: 0.72rem; font-weight: 500; color: #b9c6d2; letter-spacing: 0.04em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 12px; color: #dbe4ec; font-weight: 600; font-size: 0.92rem;
  border-radius: 8px; transition: background 0.15s, color 0.15s;
}
.main-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.main-nav a.active { background: var(--yellow); color: var(--navy); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 1.4rem; line-height: 1; padding: 6px 12px; border-radius: 8px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 56px 0 60px;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: 0.8rem; }
.hero p { color: #dbe4ec; font-size: 1.08rem; max-width: 60ch; }
.hero .accent { color: var(--yellow); }
.hero-badge {
  display: inline-block; background: rgba(242,183,5,0.15); color: var(--yellow);
  border: 1px solid rgba(242,183,5,0.4); padding: 4px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 14px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700;
  font-size: 0.98rem; transition: transform 0.12s, box-shadow 0.12s; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 18px rgba(242,183,5,0.35); }
.btn-yellow:hover { background: var(--yellow-dark); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.hero-img { text-align: center; }
.hero-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .kicker { color: var(--yellow-dark); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.section-head h2 { margin: 6px 0 10px; }
.section-head p { color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 48px; height: 48px; border-radius: 10px; background: rgba(242,183,5,0.15);
  color: var(--yellow-dark); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 10px; width: 22px; height: 22px;
  background: var(--ok); color: #fff; border-radius: 50%; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--navy); color: #fff; font-weight: 700; }
table.data tbody tr:nth-child(even) { background: #f7f9fb; }
table.data td.model { font-weight: 800; color: var(--navy); white-space: nowrap; }

/* ---------- Callout / panel ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--yellow); border-radius: 8px; padding: 20px 24px; margin: 20px 0; box-shadow: var(--shadow); }
.panel-note { border-left-color: var(--navy-2); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 18px 0 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #aab6c2; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb [aria-current="page"] { color: var(--navy); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 40px 0; }
.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero p { color: #dbe4ec; margin: 0; max-width: 70ch; }

/* ---------- Content layout ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.sidebar .card { position: sticky; top: 90px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { margin-bottom: 8px; }
.sidebar a { display: block; padding: 8px 12px; border-radius: 8px; background: #f4f6f8; font-weight: 600; }
.sidebar a:hover { background: rgba(242,183,5,0.15); text-decoration: none; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-info .item .ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(242,183,5,0.15); color: var(--yellow-dark); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info .item h3 { margin: 0 0 2px; font-size: 1rem; }
.contact-info .item p { margin: 0; color: var(--muted); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-card label { display: block; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card textarea, .form-card select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.98rem; font-family: inherit; background: #fbfcfe;
}
.form-card textarea { resize: vertical; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: 2px solid var(--yellow); border-color: var(--yellow); }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.checkbox-row input { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6d2; margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b9c6d2; }
.footer-grid a:hover { color: var(--yellow); }
.footer-brand p { color: #9fb0bf; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding: 18px 0; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card .row { grid-template-columns: 1fr; }
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 1.9rem; }
}
