/* Sheppard Training Group — site styles */

:root {
  --orange: #f7a11f;
  --orange-dark: #e28100;
  --orange-deep: #f86603;
  --ink: #17191d;
  --ink-soft: #23262c;
  --navy: #33415c;
  --text: #33373d;
  --text-muted: #6b7077;
  --paper: #ffffff;
  --bg: #f4f4f2;
  --line: #e4e4e0;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(20, 22, 26, 0.08);
  --font: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 1.6em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 0.4em; }

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--orange);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  color: #fff;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 8px;
}
.brand span em { color: var(--orange); font-style: normal; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease;
  position: relative;
}
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  color: #e7e7e5;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--orange); }

.header-phone {
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
  background: var(--orange);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
}
.header-phone:hover { background: var(--orange-dark); text-decoration: none; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem 1rem 1rem; }
  .site-nav a { padding: 0.8rem; font-size: 1.05rem; }
  .header-phone { margin-left: auto; }
}

@media (max-width: 560px) {
  .site-header .wrap { gap: 0.5rem; }
  .brand { font-size: 0.95rem; gap: 0.45rem; }
  .brand-mark { width: 30px; height: 30px; border-radius: 6px; }
  .header-phone { padding: 0.4rem 0.8rem; font-size: 0; }
  .header-phone::after { content: "Call"; font-size: 0.85rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  background: var(--ink) url("../images/banner03.jpg") center 35% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 16, 19, 0.88) 0%, rgba(15, 16, 19, 0.55) 55%, rgba(15, 16, 19, 0.25) 100%);
}
.hero .wrap {
  position: relative;
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(3.5rem, 9vw, 7rem);
  max-width: 1080px;
}
.hero h1 { color: #fff; max-width: 21ch; }
.hero p {
  max-width: 52ch;
  font-size: 1.1rem;
  color: #e8e8e6;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero .tagline {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

/* ---------- Page header (interior pages) ---------- */

.page-hero {
  background: linear-gradient(115deg, var(--ink) 55%, var(--navy));
  color: #fff;
  border-bottom: 4px solid var(--orange);
}
.page-hero .wrap { padding-top: 2.75rem; padding-bottom: 2.75rem; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #cfd2d6; margin: 0.5rem 0 0; max-width: 60ch; }

/* ---------- Sections ---------- */

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section > .wrap > h2:first-child { margin-top: 0; }

.kicker {
  color: var(--orange-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 0.4rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card .card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0 0 0.5rem; }
.card p { margin: 0 0 0.75rem; font-size: 0.97rem; }
.card .more { margin-top: auto; font-weight: 700; font-size: 0.9rem; }

/* Split (text + image) */
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .split img { order: -1; }
}

/* Feature strip */
.strip {
  background: linear-gradient(115deg, var(--orange), var(--orange-deep));
  color: var(--ink);
}
.strip .wrap {
  padding: 2.25rem 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.strip h2 { margin: 0; color: var(--ink); font-size: 1.4rem; }
.strip p { margin: 0.25rem 0 0; font-weight: 600; }
.strip .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.strip .btn:hover { background: #000; border-color: #000; }

/* Checklist */
ul.checklist { list-style: none; padding: 0; margin: 1rem 0; }
ul.checklist li {
  padding: 0.45rem 0 0.45rem 2rem;
  position: relative;
}
ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0.35rem;
  color: var(--orange-dark);
  font-weight: 800;
}

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
blockquote.quote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
blockquote.quote p { margin: 0 0 1rem; font-size: 0.97rem; }
blockquote.quote footer { font-weight: 700; color: var(--ink); font-size: 0.92rem; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-top: 0; }
.contact-card .big-phone {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0.25rem 0;
}

form.contact-form { display: grid; gap: 1rem; }
form.contact-form .row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { form.contact-form .row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c9c9c4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}
.field textarea { resize: vertical; min-height: 140px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { font-weight: 600; margin: 0; min-height: 1.5em; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #b42318; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b9bcc1;
  margin-top: 3rem;
  font-size: 0.95rem;
}
.site-footer .wrap {
  padding: 3rem 20px 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer a { color: #b9bcc1; }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.site-footer .phone { color: var(--orange); font-weight: 800; font-size: 1.2rem; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  padding: 1.25rem 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #8a8c8f;
}
