/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #a61408;  /* rgb(166, 20, 8)   — primary brand */
  --red-hover: #d31c0d;  /* rgb(211, 28, 13)  — hover state (brighter) */
  --red-dark:  #8f1006;  /* rgb(143, 16, 6)   — active/pressed */
  --dark:      #1b1b1b;  /* rgb(27, 27, 27)   — primary text */
  --near-black:#161616;  /* rgb(22, 22, 22)   — dark backgrounds */
  --mid:       #5e5e5e;  /* rgb(94, 94, 94)   — secondary text */
  --muted:     #a4a4a4;  /* rgb(164, 164, 164)— tertiary/placeholder */
  --border:    #e2e2e2;  /* rgb(226, 226, 226)— borders */
  --light:     #f7f7f7;  /* rgb(247, 247, 247)— light backgrounds */
  --white:     #ffffff;
  --max-w:     1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4, nav, .btn {
  font-family: "Cabin", sans-serif;
}

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

/* ── Layout helpers ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--gray { background: var(--light); }
.section--red  { background: var(--red); color: var(--white); }

.section__label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}
.section--red .section__label { color: rgba(255,255,255,.7); }

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__body {
  max-width: 640px;
  color: var(--mid);
  font-size: 1.05rem;
}
.section--red .section__body { color: rgba(255,255,255,.85); }

/* ── Button ───────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 3px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn--red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn--red:hover  { background: var(--red-hover); border-color: var(--red-hover); }
.btn--red:active { background: var(--red-dark);  border-color: var(--red-dark); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--red); }

/* ── Header / Nav ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.site-nav { display: flex; gap: 2rem; align-items: center; }

.site-nav a:not(.btn) {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--mid);
  transition: color .15s;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn).active { color: var(--red); }

.site-nav .btn { margin-left: .5rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: transform .2s;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background-color: var(--near-black);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.52);
}
.hero .container { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-block;
  background: rgba(166,20,8,.18);
  border: 1px solid rgba(211,28,13,.45);
  color: #fda9a7;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ── Services grid ────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: box-shadow .2s;
}
.service-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.08); }

.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(166,20,8,.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.service-card__body {
  font-size: .95rem;
  color: var(--mid);
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  background: var(--white);
  border-radius: 6px;
  padding: 2rem;
  border-left: 4px solid var(--red);
}

.testimonial__quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--mid);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.testimonial__author {
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
}

.testimonial__location {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* ── CTA band ─────────────────────────────────────────────────── */
.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band__sub {
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ── About page ───────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(166,20,8,.07);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.team-card__role {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .4rem;
}

.team-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.team-card__body  { font-size: .9rem; color: var(--mid); }

/* ── Services detail list ─────────────────────────────────────── */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.services-category__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--red);
}

.services-category ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.services-category ul li {
  font-size: .95rem;
  color: var(--mid);
  padding-left: 1.1rem;
  position: relative;
}

.services-category ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: .8rem;
}

/* ── Contact form ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(166,20,8,.07);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: .25rem;
}

.contact-info__value { font-size: .95rem; color: var(--mid); }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: "Open Sans", sans-serif;
  font-size: .95rem;
  color: var(--dark);
  transition: border-color .15s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

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

/* ── Page hero (inner pages) ──────────────────────────────────── */
.page-hero {
  background-color: var(--near-black);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero__title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; margin-bottom: .75rem; }
.page-hero__sub   { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,.6);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand { max-width: 300px; }

.footer-brand__logo {
  margin-bottom: .75rem;
}
.footer-brand__logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);  /* white version on dark bg */
}

.footer-brand__text { font-size: .88rem; line-height: 1.7; }

.footer-nav__title {
  font-family: "Cabin", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: .75rem;
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-nav a   { font-size: .88rem; transition: color .15s; }
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  font-size: .82rem;
  text-align: center;
}

/* ── Split section (image + text) ────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split--reverse .split__img { order: 2; }
.split--reverse .split__text { order: 1; }

.split__img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__img { order: unset; }
  .split--reverse .split__text { order: unset; }
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .6rem 0; border-bottom: 1px solid var(--border); width: 100%; }
  .site-nav .btn { margin: .75rem 0 0; width: 100%; text-align: center; }
  .nav-toggle { display: block; }
}
