* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #2c1d16;
  background: #fffaf6;
}

a {
  color: inherit;
}

.hero {
  padding: 1.5rem 1.5rem 4rem;
}

.site-nav,
.hero-content,
.section {
  max-width: 1080px;
  margin: 0 auto;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 4rem;
}

.topbar {
  background: #af5b2b;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.5rem 1.5rem;
}

.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar a:focus-visible {
  outline: 3px solid #2c1d16;
  outline-offset: 3px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 0.5rem;
  background: #af5b2b;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.site-logo {
  display: flex;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto 2rem;
}

.logo-placeholder--large {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 12 / 5;
  border-radius: 1.25rem;
  font-size: 1.5rem;
}

.site-logo-img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:focus-visible,
.contact-panel a:focus-visible,
.button:focus-visible {
  outline: 3px solid #2c1d16;
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #2c1d16;
}

.nav-toggle:focus-visible {
  outline: 3px solid #2c1d16;
  outline-offset: 3px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #af5b2b;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: #af5b2b;
  color: #ffffff;
}

.button.secondary {
  border: 1px solid #af5b2b;
  background: #ffffff;
  color: #af5b2b;
}

.section {
  padding: 4rem 1.5rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card,
.contact-panel {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(70, 37, 20, 0.08);
}

.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(70, 37, 20, 0.14);
}

.card-grid + .section-heading {
  margin-top: 3rem;
}

.card-grid--certs {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .card-grid--certs {
    grid-template-columns: 1fr;
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-item {
  background: #ffffff;
  border-left: 4px solid #af5b2b;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 20px rgba(70, 37, 20, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(70, 37, 20, 0.12);
}

.service-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #af5b2b;
}

.service-item p {
  margin: 0;
  font-size: 0.95rem;
}

.cert-image {
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 0;
  margin-bottom: 0;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.cert-image:hover,
.cert-image:focus-visible {
  opacity: 0.85;
}

.cert-image:focus-visible {
  outline: 3px solid #af5b2b;
  outline-offset: 3px;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(20, 10, 5, 0.85);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
}

.lightbox-close:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.map-image {
  width: 90%;
  margin: 0 auto;
  display: block;
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 0.75rem;
  display: block;
  overflow: hidden;
}

@media (max-width: 640px) {
  .map-frame {
    height: 300px;
  }
}

.about-copy {
  max-width: 42rem;
  margin: 0 0 1rem;
}

.about-copy:last-child {
  margin-bottom: 0;
}

.about-subheading {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-name {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #af5b2b;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.contact-fab-group {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  justify-content: space-between;
  pointer-events: none;
}

.contact-fab {
  background: #af5b2b;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(70, 37, 20, 0.25);
  pointer-events: auto;
}

.contact-fab:focus-visible {
  outline: 3px solid #2c1d16;
  outline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .site-nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .contact-fab-group {
    display: flex;
  }

  .contact-fab {
    display: inline-flex;
    align-items: center;
  }
}
