:root {
  --red: #b62123;
  --red-dark: #8f1a1c;
  --ink: #222;
  --text: #3e3e3e;
  --muted: #6a6a6a;
  --light: #f2f3f7;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .15);
  --font-head: "Lato", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); font-size: .9em; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 700; text-decoration: none; text-transform: uppercase;
  letter-spacing: .04em; border: 0; border-radius: var(--radius); padding: 14px 28px; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: #000; color: var(--white); }
.btn-dark:hover { background: #333; }
.btn-light { background: var(--white); color: var(--red); }
.btn-light:hover { background: var(--light); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.logo { display: block; padding: 8px 0; }
.logo img { width: 112px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--ink); font-family: var(--font-head); font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; padding: 90px 0 0; color: var(--white); }
.hero-bg { position: absolute; inset: 0 0 140px; background: #333 url("../images/hero.webp") center / cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .35)); }
.hero-content { position: relative; text-align: center; max-width: 900px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.hero .lead { font-size: clamp(1rem, 1.8vw, 1.25rem); margin: 0 auto 40px; max-width: 720px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

/* Forms */
.quote-card { position: relative; background: var(--red); padding: 32px clamp(20px, 4vw, 48px); border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.quote-card h2 { color: var(--white); text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-bottom: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.req { color: inherit; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; }
.quote-card label { color: var(--white); }
input, select, textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #ccc; border-radius: 4px; background: var(--white); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(182, 33, 35, .35); border-color: var(--red); }
.quote-card input:focus, .quote-card select:focus, .quote-card textarea:focus { outline-color: rgba(255, 255, 255, .6); }
input.invalid, textarea.invalid { border-color: #ffb400; box-shadow: 0 0 0 2px #ffb400; }
/* Spam trap: hidden from people, still filled in by bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .7; cursor: wait; }
.form-status { margin: 12px 0 0; min-height: 1.5em; font-weight: 600; }
.quote-card .form-status { color: var(--white); text-align: center; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.2fr; margin-top: 80px; }
.about-text { background: var(--red); color: var(--white); padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.about-text h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.about-text .btn { align-self: flex-start; margin-top: 12px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

/* Services */
.services { background: var(--red); color: var(--white); padding: 80px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.section-title { text-align: center; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 50px; }
.section-title.light { color: var(--white); }
.services .section-title { color: #111; }
.services .section-title span { color: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.service { text-align: center; }
.service svg { width: 84px; height: 84px; color: var(--white); margin: 0 auto 14px; }
.service h3 { color: var(--white); font-size: 1.3rem; }
.service p { margin: 0; color: rgba(255, 255, 255, .92); }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); padding: 36px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner p { margin: 0; font-family: var(--font-head); font-size: 1.25rem; }

/* Team */
.team { background: #000; padding: 80px 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-intro { grid-column: 1 / -1; background: var(--red); color: var(--white); padding: 28px 36px; border-radius: var(--radius); text-align: center; }
.team-intro p { margin: 0 auto; max-width: 640px; }
.team-intro h2 { color: var(--white); font-size: 2rem; }
.member { background: var(--white); border-radius: var(--radius); padding: 24px; text-align: center; }
.member img { width: 100%; max-width: 220px; aspect-ratio: 349 / 480; object-fit: cover; margin: 0 auto 16px; border-radius: 4px; }
.member h3 { font-size: 1.35rem; margin-bottom: 4px; }
.member p { margin: 0; color: var(--red); font-weight: 600; }
.member .muted { color: var(--muted); font-weight: 400; }

/* Locations */
.locations { background: var(--red); padding: 80px 0; }
.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.location { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.location iframe { width: 100%; height: 240px; border: 0; display: block; }
.location-info { padding: 20px 24px 24px; }
.location-info h3 { font-size: 1.2rem; margin-bottom: 6px; }
.location-info p { margin: 0 0 8px; }
.location-info a { color: var(--red); font-weight: 700; text-decoration: none; font-size: 1.1rem; }

/* Contact */
.contact { background: var(--light); padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-list { list-style: none; padding: 0; margin: 20px 0; }
.contact-list li { margin-bottom: 8px; }
.contact-list a { color: var(--red); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list li:first-child a { font-size: 1.5rem; font-family: var(--font-head); font-weight: 900; }
.social { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.social svg { width: 28px; height: 28px; background: #1877f2; color: var(--white); border-radius: 50%; padding: 3px; }
.contact-form { background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.contact-form label { color: var(--ink); }
.contact-form .form-status { color: var(--red); }

/* Footer */
.site-footer { background: var(--ink); color: #bbb; padding: 32px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; color: #ddd; }
.site-footer a:hover { color: var(--white); }
.site-footer p { margin: 0; }

/* 404 */
.not-found { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.not-found h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.mobile-call { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .about, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 16px 16px; box-shadow: 0 10px 20px rgba(0, 0, 0, .1); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid #eee; }
  .site-nav .btn { margin-top: 12px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .logo img { width: 88px; }
  .header-inner { min-height: 70px; }
  .hero { padding-top: 56px; }
  .form-grid, .service-grid, .team-grid, .location-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  body { padding-bottom: 56px; }
  .mobile-call { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--red); color: var(--white);
    text-align: center; padding: 16px; font-family: var(--font-head); font-weight: 900; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
