:root {
  --ink: #102423;
  --ink-strong: #071615;
  --teal: #0d5453;
  --teal-dark: #073a39;
  --teal-soft: #e7f2ef;
  --gold: #c7994f;
  --gold-soft: #fbf3e4;
  --paper: #fbfaf7;
  --white: #ffffff;
  --muted: #63706e;
  --line: rgba(16, 36, 35, 0.14);
  --shadow: 0 22px 70px rgba(7, 22, 21, 0.16);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.5rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-title,
.footer-title {
  display: block;
  color: var(--ink-strong);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-subtitle {
  display: block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  padding: 0.76rem 1.1rem;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink-strong);
  box-shadow: 0 14px 30px rgba(199, 153, 79, 0.24);
}

.btn-primary:hover {
  background: #d3aa64;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.section .btn-secondary,
.section-alt .btn-secondary {
  color: var(--teal-dark);
  border-color: rgba(13, 84, 83, 0.28);
}

.btn-small {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 22, 21, 0.96), rgba(7, 58, 57, 0.91)),
    url("assets/home-exterior-premium.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.74fr);
  gap: 4rem;
  align-items: center;
  min-height: 690px;
  padding: 6rem 0;
}

.employee-hero {
  background:
    linear-gradient(120deg, rgba(7, 22, 21, 0.97), rgba(9, 67, 66, 0.93)),
    url("assets/property-check-professional.jpg") center / cover;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.15rem;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  color: var(--ink-strong);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--ink-strong);
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero h2,
.hero h3,
.hero-card h2 {
  color: var(--white);
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.7rem 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.trust-item {
  padding: 1rem;
  background: rgba(7, 22, 21, 0.42);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-card,
.security-panel {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-logo {
  width: min(100%, 360px);
  margin: 0 auto;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.22));
}

.hero-badge {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.hero-badge span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.security-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.band {
  background: var(--teal-dark);
  color: var(--white);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  min-height: 124px;
  padding: 1.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.stat-link {
  text-decoration: none;
  transition: background 180ms ease;
}

.stat-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p,
.panel p,
.card p,
.team-card p,
.photo-muted {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: center;
}

.panel {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.section-alt .panel {
  background: var(--white);
}

.venture-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 320px;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--ink-strong);
  color: var(--white);
  box-shadow: var(--shadow);
}

.venture-card img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  padding: 0.7rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
}

.venture-copy strong,
.venture-copy span {
  display: block;
}

.venture-copy strong {
  color: var(--gold);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.venture-copy span {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.card-grid,
.team-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.team-card,
.resource-card {
  min-height: 230px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(7, 22, 21, 0.06);
}

.section-alt .card,
.section-alt .team-card,
.section-alt .resource-card {
  background: var(--paper);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 900;
}

.photo-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(7, 22, 21, 0.08);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-body {
  padding: 1.25rem;
}

.team-card {
  min-height: 180px;
}

.team-card a {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 84, 83, 0.42);
}

.resource-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-card strong {
  display: block;
  margin: 0.7rem 0 0.5rem;
  color: var(--ink-strong);
  font-size: 1.24rem;
  line-height: 1.2;
}

.resource-card span:last-child {
  color: var(--muted);
}

.resource-card[href="./"],
.resource-card[aria-current="page"] {
  border-color: rgba(199, 153, 79, 0.45);
}

.steps {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 4.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  padding: 0 0 6rem;
  background: var(--paper);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--ink-strong);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  color: var(--white);
}

.cta-box p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  padding: 4rem 0 1.5rem;
  background: #071615;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(180px, 0.5fr));
  gap: 2rem;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}

.footer-title,
.site-footer h3 {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    inset: 82px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-links a:not(.btn) {
    display: block;
    padding: 0.55rem 0;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding: 4rem 0;
  }

  .band-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .hero-grid {
    padding: 3.5rem 0;
  }

  .hero-actions,
  .panel-actions,
  .cta-box {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .panel-actions .btn,
  .cta-box .btn {
    width: 100%;
  }

  .band-grid,
  .photo-showcase,
  .resource-grid,
  .venture-card {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding: 4rem 0;
  }

  .hero-card,
  .security-panel,
  .panel,
  .venture-card,
  .cta-box {
    padding: 1.25rem;
  }

  .venture-card img {
    width: 170px;
    height: 170px;
  }
}
