:root {
  --bg: #f6f6f4;
  --paper: #fff;
  --ink: #121212;
  --muted: #5c5c5c;
  --line: #e6e6e4;
  --black: #000;
  --orange: #f15a00;
  --orange-deep: #c74300;
  --max: 1120px;
  --header: 100px;
  --radius: 16px;
  font-family: "Figtree", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: none;
  margin: 0;
}
p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header) + 16px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--black);
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: var(--header);
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 82px; width: auto; }
.nav-phone {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  white-space: nowrap;
}
.nav-phone:hover { border-color: #fff; }
.whatsapp, .whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
}
.whatsapp {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  min-height: 52px;
  padding: 0 1.05rem 0 0.85rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.whatsapp svg { width: 22px; height: 22px; display: block; }
.whatsapp:hover, .whatsapp-inline:hover { background: #1ebe5d; }
.whatsapp-inline { min-height: 44px; padding: 0 1rem; }
.office-actions { margin-top: 0.9rem; }
.map-frame {
  margin-top: 1rem;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e9e9e7;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-open { margin-top: 0.7rem; }
.page-contact .whatsapp { display: none; }
.site-nav { display: flex; align-items: center; gap: 0.15rem; }
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}
.site-nav a[aria-current="page"] { color: var(--orange); }
.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  margin-left: 0.35rem;
}
.nav-cta:hover { background: var(--orange-deep) !important; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  border-radius: 999px;
  padding: 11px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero, .page-hero.has-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  color: #fff;
  background: #111;
  overflow: hidden;
}
.page-hero { background: #111; color: #fff; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero::after, .page-hero.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.42) 42%, rgba(0,0,0,0.84) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 4.2rem 0 3.2rem;
}
.page-hero:not(.has-photo) .hero-copy { padding: 3rem 0 2.8rem; }
.eyebrow, .kicker, .role, .promise strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1.2;
}
.eyebrow { color: var(--orange); display: block; margin-bottom: 0.75rem; }
.hero h1, .page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.05rem); max-width: 14ch; }
.lede { margin-top: 1rem; max-width: 38rem; color: #e6e6e4; font-size: 1.08rem; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.2rem;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.btn:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.55); }
.btn-ghost:hover { background: #fff; color: #000; }
.btn-dark { background: #111; }
.btn-dark:hover { background: #2a2a2a; }

.section { padding: 4.4rem 0; }
.section-head { max-width: 36rem; margin-bottom: 1.6rem; }
.section-head h2, .split h2, .cta h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); }
.section-head p, .note { color: var(--muted); margin-top: 0.55rem; }

.service-grid, .card-grid, .team-grid, .promise-grid { display: grid; gap: 1rem; }
.service-grid { grid-template-columns: 1fr 1fr; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.team-grid { grid-template-columns: repeat(3, 1fr); }
.promise-grid { grid-template-columns: repeat(4, 1fr); }

.service, .card, .person, .promise, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.service { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; text-decoration: none; }
.service:hover { border-color: #ccc; }
.num {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--orange);
  line-height: 1.2;
}
.service h3, .card h3, .person h3 { font-size: 1.15rem; }
.service p, .card p, .person p, .promise p { color: var(--muted); margin-top: 0.35rem; }
.card ul, .steps { margin: 0.8rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.card li + li, .steps li + li { margin-top: 0.25rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.meta span {
  background: #f2f2f0;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #333;
}

.division-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.division {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 10px 28px rgba(0,0,0,0.06);
  border-top: 3px solid var(--accent, var(--orange));
}
.division img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.division:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.division:hover img { transform: scale(1.04); }
.division .body { padding: 1.05rem 1.15rem 1.25rem; }
.division h3 { font-size: 1.35rem; margin: 0.3rem 0 0.35rem; }
.division p { color: var(--muted); }
.division .kicker { color: var(--muted); display: flex; align-items: center; gap: 0.45rem; }
.division .kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--orange));
  flex: none;
}
.division.fire { --accent: #d10f0f; }
.division.train { --accent: #f15a00; }
.division.steel { --accent: #1565c0; }
.division.hand { --accent: #2e7d32; }
.kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.photo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 10px 28px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease;
}
.photo-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.photo-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  background: #111;
  transition: transform 0.45s ease;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card .body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  padding: 1rem 1.1rem 1.2rem;
}
.photo-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.12rem;
}
.photo-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--orange));
  flex: none;
}
.photo-card p { color: var(--muted); }
.photo-card .meta { margin-top: auto; }
.accent-fire { --accent: #d10f0f; }
.accent-orange { --accent: #f15a00; }
.accent-steel { --accent: #1565c0; }
.accent-green { --accent: #2e7d32; }
.accent-purple { --accent: #6d35c9; }
.accent-teal { --accent: #00897b; }

.photo-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: stretch;
}
.photo-split img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.band { background: #111; color: #fff; }
.band .promise { background: #1b1b1b; border-color: #2c2c2c; box-shadow: none; }
.band .promise h3 { color: #fff; font-size: 1.15rem; }
.band .promise p { color: #c8c8c6; }
.promise strong { display: block; color: var(--orange); margin-bottom: 0.45rem; }

.cta { background: #111; color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 2.6rem 0; }
.cta p { margin-top: 0.4rem; color: #d0d0ce; }
.cta .btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: #111; }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.2rem; }
.panel h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.panel a { color: var(--orange-deep); font-weight: 700; }
.big-phone {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink) !important;
  display: inline-block;
  margin: 0.2rem 0 0.35rem;
}
.person h3 { margin-top: 0.2rem; }
.person a { color: var(--orange-deep); font-weight: 700; text-decoration: none; }
.role { color: var(--orange); display: block; margin-bottom: 0.15rem; }

form { display: grid; gap: 0.75rem; }
label { font-weight: 700; font-size: 0.92rem; display: grid; gap: 0.3rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e2e2e0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-note { color: var(--muted); font-size: 0.92rem; }

.site-footer { background: #000; color: #ddd; padding: 2.6rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 1.5rem; }
.site-footer h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.55rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer p, .site-footer li { color: #c8c8c6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.3rem; }
.footer-logo { height: 96px; width: auto; margin-bottom: 0.7rem; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid #2a2a2a;
  color: #9a9a98;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .service-grid, .split, .contact-layout, .footer-grid, .card-grid.four, .promise-grid, .photo-split {
    grid-template-columns: 1fr;
  }
  .photo-grid, .card-grid.three, .team-grid, .division-grid { grid-template-columns: 1fr 1fr; }
  .photo-card img, .division img { height: 220px; }
  .hero, .page-hero.has-photo { min-height: 480px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem 1rem 1rem;
    border-top: 1px solid #222;
  }
  .site-nav.is-open { display: flex; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .nav-cta { margin: 0.4rem 0 0; text-align: center; }
}

@media (max-width: 640px) {
  :root { --header: 84px; }
  .brand img { height: 68px; }
  .photo-grid, .card-grid.three, .team-grid, .division-grid { grid-template-columns: 1fr; }
  .hero h1, .page-hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo-card img, .division img { transition: none; }
}
