/* ===========================
   Titan Coach & Body: styles
   =========================== */

:root {
  --navy: #0b2653;
  --navy-dark: #071a3a;
  --red: #c8102e;
  --red-dark: #a10d24;
  --cream: #f6f4ee;
  --white: #ffffff;
  --ink: #1a1c22;
  --ink-soft: #4b4f58;
  --border: #e4e1d8;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 38, 83, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 38, 83, 0.18);
  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { 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.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--navy);
}
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-align: center;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* Top bar */
.top-bar {
  background: var(--navy-dark);
  color: #cfd8e8;
  font-size: .85rem;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-phone { color: var(--white); font-weight: 600; }
.top-bar-phone:hover { color: #ffd166; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 16px;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 78px; width: auto; }
.main-nav {
  display: flex;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call { display: inline-block; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  padding: 90px 0 70px;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Very light vignette only, just to settle the edges of the frame. */
  background: linear-gradient(0deg, rgba(7,26,58,.35) 0%, rgba(7,26,58,.05) 25%, rgba(7,26,58,0) 45%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  background: rgba(7,26,58,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: .85rem;
  color: #ffd166;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: #ffd166; }
.hero-sub {
  font-size: 1.15rem;
  color: #dfe4ee;
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-weight: 600;
  color: #cfe0ff;
  font-size: .95rem;
}

/* Trust strip */
.trust-strip { background: var(--cream); padding: 50px 0; }
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item { text-align: center; }
.trust-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.trust-item p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--cream); }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--red);
  margin-bottom: 10px;
}
.section-eyebrow-light { color: #ffd166; }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 700px; }
.section-lead { color: var(--ink-soft); max-width: 640px; font-size: 1.05rem; margin-bottom: 40px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.gallery-item img { width: 100%; height: 340px; object-fit: cover; }
.gallery-item figcaption {
  padding: 16px 20px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.1rem;
}

/* Service Area */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.area-list li {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.area-note { color: var(--ink-soft); margin: 0; }
.area-note a { color: var(--red); font-weight: 700; }
.area-note a:hover { color: var(--red-dark); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.about-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.about-list li {
  padding-left: 30px;
  position: relative;
  color: var(--ink-soft);
}
.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
}
.about-list strong { color: var(--navy); }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* Quote section */
.section-quote {
  position: relative;
  background: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}
.quote-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Soft vignette only — keeps the RV photo visible behind the copy. */
  background: linear-gradient(100deg, rgba(7,26,58,.72) 0%, rgba(7,26,58,.5) 32%, rgba(7,26,58,.22) 60%, rgba(7,26,58,.35) 100%);
}
.quote-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.quote-info h2 { color: var(--white); text-shadow: 0 2px 6px rgba(0,0,0,.85), 0 4px 22px rgba(0,0,0,.6); }
.quote-info p { color: #dfe4ee; text-shadow: 0 2px 6px rgba(0,0,0,.85), 0 4px 18px rgba(0,0,0,.5); }
.quote-contact-card { text-shadow: 0 2px 6px rgba(0,0,0,.85); backdrop-filter: blur(3px); }
.quote-contact-card {
  margin-top: 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quote-contact-label { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: #ffd166; font-weight: 700; }
.quote-phone { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--white); }
.quote-phone:hover { color: #ffd166; }
.quote-contact-name { color: #dfe4ee; font-weight: 600; }
.quote-contact-badge {
  display: inline-block;
  margin-top: 8px;
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .5px;
}

.quote-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.quote-form h3 { margin-bottom: 18px; }
.quote-form label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--cream);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
}
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; font-size: 1.05rem; }
.review-card p { color: var(--ink-soft); font-size: .95rem; }
.review-author { font-weight: 700; color: var(--navy); font-size: .88rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.15rem;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  font-size: 1.3rem;
  color: var(--red);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin-top: 12px; color: var(--ink-soft); margin-bottom: 0; }

/* Final CTA */
.final-cta {
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: #ffe3e3; margin-bottom: 28px; font-size: 1.1rem; }
.final-cta .btn-primary { background: var(--navy); }
.final-cta .btn-primary:hover { background: var(--navy-dark); }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c9d2e3; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 24px 40px;
}
.footer-logo { height: 68px; margin-bottom: 14px; filter: brightness(1.1); }
.footer-brand p { color: #9fb0cf; font-size: .92rem; }
.footer-col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: #c9d2e3; margin-bottom: 10px; font-size: .92rem; }
.footer-col a:hover { color: #ffd166; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
  font-size: .82rem;
  color: #8a99bd;
}

/* Sticky mobile call bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy-dark);
  box-shadow: 0 -6px 20px rgba(0,0,0,.2);
}
.mobile-call-bar { display: none; }
.mobile-call-btn, .mobile-quote-btn {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  font-weight: 700;
}
.mobile-call-btn { background: var(--red); color: var(--white); }
.mobile-quote-btn { background: var(--navy); color: var(--white); }

/* Responsive */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .quote-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .top-bar-inner { justify-content: center; text-align: center; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .header-call { display: none; }
  .header-actions .btn-primary { display: none; }
  .site-header { position: sticky; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding-bottom: 90px; }
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 0; }
  .hero { padding: 70px 0 60px; }
  .hero-inner { padding: 26px 24px; border-radius: 12px; }
  .section { padding: 60px 0; }
}
