/* ============================================================
   DAVIS & SON — RUGGED AMERICANA
   Charcoal #1c1c1c | Orange #c45c1a | Cream #f5f0e8
   Fonts: Oswald (headings/nav) + Open Sans (body)
   ============================================================ */

:root {
  --charcoal:  #1c1c1c;
  --mid:       #2a2a2a;
  --orange:    #c45c1a;
  --orange-dk: #a34a12;
  --cream:     #f5f0e8;
  --cream-dk:  #ece5d8;
  --text:      #222;
  --muted:     #666;
  --border:    #ddd;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

/* ── LAYOUT HELPERS ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 1.5rem;
}

.section--cream { background: var(--cream); }
.section--dark  { background: var(--charcoal); color: #fff; }
.section--mid   { background: var(--mid); color: #fff; }

/* ── SECTION TITLES ── */
.section-title {
  margin-bottom: 3rem;
}

.section-title .eyebrow {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: 2.4rem;
  color: var(--charcoal);
}

.section--dark .section-title h2,
.section--mid  .section-title h2 {
  color: var(--cream);
}

.section-title--center { text-align: center; }

.section-title h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--orange);
  margin-top: 0.7rem;
}

.section-title--center h2::after {
  margin: 0.7rem auto 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(245,240,232,0.5);
}

.btn--outline:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--charcoal);
  color: #fff;
}

.btn--dark:hover {
  background: #111;
  transform: translateY(-2px);
}

/* ── HEADER ── */
header {
  background: var(--charcoal);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo span {
  color: var(--orange);
  font-weight: 400;
  margin: 0 0.1em;
}

.logo small {
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.25em;
  color: #888;
  font-weight: 400;
  margin-top: 0.1em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--cream);
  border-bottom-color: var(--orange);
}

/* ── HERO (index only) ── */
.hero {
  background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
              url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--orange);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--cream);
  line-height: 1;
  margin-bottom: 1.2rem;
  max-width: 14em;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(245,240,232,0.75);
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
              url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  padding: 5rem 1.5rem;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--orange);
}

.page-header-content {
  max-width: 1200px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(245,240,232,0.7);
  font-size: 1.05rem;
}

/* ── SERVICE CARDS (index grid) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}

.service-card {
  background: #fff;
  border-right: 1px solid var(--border);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:last-child { border-right: none; }

.service-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

.service-img {
  height: 210px;
  overflow: hidden;
  background: var(--mid);
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-img img { transform: scale(1.06); }

.service-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 0.7rem;
}

.service-body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1.2rem;
}

.service-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* ── SERVICE DETAIL (services page) ── */
.service-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-of-type { border-bottom: none; }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail-img {
  overflow: hidden;
}

.service-detail-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.service-detail-body h3 {
  font-size: 2rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.service-detail-body p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  margin: 1.2rem 0 1.5rem;
}

.service-features li {
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.service-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.8rem;
  top: 0.5rem;
}

.service-rate {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

/* ── ABOUT SECTION (index) ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  overflow: hidden;
  position: relative;
}

.about-img::before {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80%;
  height: 80%;
  border: 3px solid var(--orange);
  z-index: -1;
}

.about-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

/* ── ABOUT PAGE ── */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.about-story-text h3 {
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 1.2rem;
}

.about-story-text p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ── STATS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-item .number {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── TIMELINE ── */
.timeline {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0 1.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.timeline-item:nth-child(odd) .timeline-content { grid-column: 1; text-align: right; }
.timeline-item:nth-child(odd) .timeline-dot     { grid-column: 2; }
.timeline-item:nth-child(odd) .timeline-empty   { grid-column: 3; }

.timeline-item:nth-child(even) .timeline-empty   { grid-column: 1; }
.timeline-item:nth-child(even) .timeline-dot     { grid-column: 2; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; }

.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  margin: 0.4rem auto 0;
  position: relative;
  z-index: 1;
}

.timeline-content .date {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--orange);
  display: block;
  margin-bottom: 0.3rem;
}

.timeline-content h3 {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── STAFF CARDS ── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.staff-card {
  background: #fff;
  border-top: 3px solid var(--orange);
  padding: 2rem;
}

.staff-card h3 {
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.staff-card .position {
  font-size: 0.8rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 0.8rem;
}

.staff-card p:last-child {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── TESTIMONIALS ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: #fff;
  border-left: 4px solid var(--orange);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--orange);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.service-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.15rem 0.6rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-initials {
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  color: var(--cream);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.9rem;
  color: var(--charcoal);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.author-info p {
  font-size: 0.8rem;
  color: #999;
}

.testimonial-category-label {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-category-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-panel h3 {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.3rem;
}

.info-content p,
.info-content address {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: normal;
}

.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.3rem; }
.hours-table td { padding: 0.25rem 0; font-size: 0.9rem; color: var(--muted); }
.hours-table td:first-child { font-weight: 600; color: var(--text); width: 55%; }

/* ── FORM ── */
.form-panel h3 {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / span 2; }

.form-group label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--orange);
}

textarea.form-control { resize: vertical; min-height: 130px; }

.submit-btn {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover { background: var(--orange-dk); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  gap: 1rem;
}

.faq-question .toggle {
  font-size: 1.4rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question .toggle { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { display: block; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--charcoal);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--orange);
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--orange);
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #aaa;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ── FOOTER ── */
footer {
  background: #111;
  color: #bbb;
  padding: 4rem 1.5rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #222;
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.footer-col p,
.footer-col address {
  font-size: 0.9rem;
  color: #888;
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.9rem; color: #888; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--cream); }

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.footer-logo span { color: var(--orange); font-weight: 400; }

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: #222;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}

.social-link:hover { background: var(--orange); color: #fff; }

.copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 0;
  font-size: 0.8rem;
  color: #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .about-story-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail-inner.reverse { direction: ltr; }
}

@media (max-width: 700px) {
  .header-inner { flex-direction: column; height: auto; padding: 1rem 1.5rem; gap: 0.8rem; }
  nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hero { min-height: 60vh; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .copyright { flex-direction: column; gap: 0.4rem; text-align: center; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 20px 1fr; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { grid-column: 2; text-align: left; }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { grid-column: 1; }
  .timeline-item:nth-child(odd) .timeline-empty,
  .timeline-item:nth-child(even) .timeline-empty { display: none; }
}
