/* =====================================================================
   Scrimale's Collision — global stylesheet
   Modern, centered, responsive. Fonts: system-safe stack.
   ===================================================================== */

:root {
  --navy: #102a43;
  --navy-2: #163955;
  --ink: #22303f;
  --muted: #5b6b7a;
  --accent: #c9402b;
  --accent-dark: #a8321f;
  --accent-soft: #fbeae7;
  --light: #f4f6f9;
  --card: #ffffff;
  --line: #e3e8ee;
  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(16, 42, 67, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--light);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #0d4f8b; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------------- Header / Nav ---------------- */
.site-header {
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark {
  width: 42px; height: 42px; border-radius: 9px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 21px;
  display: flex; align-items: center; justify-content: center;
}
.brand-name { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.1; }
.brand-name small { display: block; font-size: 12px; font-weight: 500; color: #c9d6e2; letter-spacing: .02em; }
.header-phone { text-align: right; font-size: 13px; line-height: 1.25; }
.header-phone strong { display: block; font-size: 18px; color: #fff; white-space: nowrap; }
.header-phone span { color: #c9d6e2; }

.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 4px 8px; }

.main-nav { border-top: 1px solid rgba(255, 255, 255, .12); }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav a {
  display: block; color: #e6eef6; padding: 12px 16px; font-weight: 600; font-size: 15px;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .06); }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-block { width: 100%; text-align: center; }

/* ---------------- Hero ---------------- */
.hero { background: linear-gradient(135deg, var(--navy), #1c4a6b 60%, #22608a); color: #fff; padding: 64px 0 70px; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; font-weight: 800; margin-bottom: 18px; }
.hero p.lead { font-size: 19px; color: #dbe8f4; max-width: 56ch; margin-bottom: 28px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero .trust-note { font-size: 14px; color: #c9d6e2; }
.hero-img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }

/* ---------------- Sections ---------------- */
section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.section-intro { color: var(--muted); max-width: 60ch; margin-bottom: 34px; font-size: 17px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .section-intro { margin: 0 auto 0; }

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

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .icon { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.feat-card h3 a { color: var(--navy); }
.feat-card h3 a:hover { color: var(--accent); text-decoration: none; }

/* ---------------- Highlights / stats ---------------- */
.highlights { background: var(--navy); color: #fff; }
.highlights .grid-3 { gap: 34px; }
.highlight h3 { font-size: 22px; color: #ffc6bb; margin-bottom: 8px; }
.highlight p { color: #dbe8f4; font-size: 15px; }

/* ---------------- Gallery ---------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); }

/* ---------------- FAQ ---------------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }

/* ---------------- Tables / hours ---------------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tbl th, .tbl td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--navy); color: #fff; font-size: 14px; }
.tbl tr:last-child td { border-bottom: 0; }

/* ---------------- Contact / forms ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; }
.info-list { list-style: none; }
.info-list li { margin-bottom: 16px; font-size: 16px; display: flex; gap: 12px; align-items: flex-start; }
.info-list .k { color: var(--navy); font-weight: 700; min-width: 74px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font); font-size: 15px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }

/* ---------------- Logos ---------------- */
.pay-badges { display: flex; gap: 18px; align-items: center; }
.pay-badges img { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }

/* ---------------- Breadcrumb ---------------- */
.breadcrumb { font-size: 14px; color: var(--muted); padding: 14px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li::after { content: "/"; margin-left: 6px; color: #b6c2cd; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------------- Page hero (inner) ---------------- */
.page-hero { background: linear-gradient(135deg, var(--navy), #1c4a6b); color: #fff; padding: 46px 0; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: #dbe8f4; max-width: 60ch; margin: 0 auto; }

/* ---------------- Team ---------------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.team .person { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 18px 22px; }
.team .person h3 { font-size: 17px; color: var(--navy); }
.team .person .role { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ---------------- Callout ---------------- */
.callout { background: var(--accent-soft); border: 1px solid #f3c7bf; border-radius: var(--radius); padding: 24px 28px; text-align: center; }
.callout h2 { color: var(--accent-dark); font-size: 24px; margin-bottom: 8px; }
.callout p { color: var(--ink); margin-bottom: 18px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #c9d6e2; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding: 48px 0 30px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .03em; margin-bottom: 14px; text-transform: uppercase; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: #c9d6e2; font-size: 15px; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0; font-size: 13px; text-align: center; color: #8fa6b8; }

/* ---------------- Mobile nav ---------------- */
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4, .gallery { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
}

/* ---------------- Utilities ---------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 12px; }
