:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --ink: #18211e;
  --muted: #5c6760;
  --green: #194d3c;
  --green-deep: #0f3026;
  --coral: #c8654f;
  --gold: #c49a4b;
  --line: #dfe5df;
  --shadow: 0 18px 55px rgba(24, 33, 30, 0.16);
  --radius: 8px;
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 70px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(24, 33, 30, 0.09);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 42%;
}

.brand-mark img + span {
  display: none;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-text strong,
.brand-text span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.78rem;
  color: currentColor;
  opacity: 0.76;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle svg,
.btn svg,
.service-card svg,
.check-list svg,
.contact-panel svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(86vh, 860px);
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(15, 48, 38, 0.38), rgba(15, 48, 38, 0.04)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=82") center/cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(10, 18, 15, 0.2), rgba(10, 18, 15, 0.72)),
    linear-gradient(90deg, rgba(10, 18, 15, 0.74), rgba(10, 18, 15, 0.1) 68%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-inline: clamp(18px, 7vw, 96px);
  padding: calc(var(--header-h) + 34px) 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf77;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: var(--green-deep);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-strip {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 0;
  left: clamp(18px, 5vw, 70px);
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  background: rgba(15, 48, 38, 0.76);
  backdrop-filter: blur(12px);
}

.hero-strip span {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.hero-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(66px, 9vw, 122px) clamp(18px, 5vw, 70px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-section {
  padding-top: clamp(54px, 6vw, 84px);
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: end;
}

.intro-grid h2 {
  max-width: 720px;
}

.intro-grid p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(32px, 5vw, 54px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  display: grid;
  min-height: 268px;
  align-content: start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 12px 35px rgba(24, 33, 30, 0.06);
}

.service-card svg {
  width: 36px;
  height: 36px;
  color: var(--green);
}

.service-card p,
.feature-content p,
.about-copy p,
.cta-section p {
  margin: 0;
  color: var(--muted);
}

.service-card p {
  font-size: 0.96rem;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  min-height: 650px;
  background: var(--green-deep);
  color: #fff;
}

.feature-image {
  min-height: 420px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(42px, 6vw, 82px);
}

.feature-content h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.feature-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #ffcf77;
}

.stats-section {
  background: var(--surface);
  padding-block: clamp(34px, 5vw, 58px);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stat-item {
  display: grid;
  gap: 7px;
  min-height: 150px;
  align-content: center;
  background: #fff;
  padding: 24px;
}

.stat-item strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.96rem;
}

.about-section {
  background: #eef4f1;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 22px;
}

.profile-panel {
  display: grid;
  justify-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top left, rgba(196, 154, 75, 0.18), transparent 42%),
    linear-gradient(180deg, #ffffff, #f8fbf8);
  padding-top: 32px;
  box-shadow: var(--shadow);
}

.profile-photo {
  position: relative;
  display: grid;
  width: min(72%, 330px);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 50%;
  background: #17201d;
  box-shadow:
    0 22px 55px rgba(24, 33, 30, 0.18),
    0 0 0 1px rgba(25, 77, 60, 0.12);
}

.profile-photo::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  z-index: 1;
}

.profile-photo.is-missing::after {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(196, 154, 75, 0.24), rgba(25, 77, 60, 0.78)),
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.22), transparent 30%);
  color: #fff;
  content: attr(data-initials);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 6.4rem);
  font-weight: 800;
  letter-spacing: 0;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.03);
}

.profile-panel dl {
  display: grid;
  width: 100%;
  gap: 0;
  margin: 0;
  margin-top: 30px;
}

.profile-panel dl > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.profile-panel dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-panel dd {
  margin: 0;
  font-weight: 750;
}

.cta-section {
  padding: clamp(72px, 10vw, 136px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(15, 48, 38, 0.92), rgba(15, 48, 38, 0.66)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1800&q=82") center/cover;
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
}

.cta-section h2 {
  max-width: 720px;
}

.cta-section p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.07rem;
}

.contact-panel {
  display: grid;
  gap: 10px;
}

.contact-panel a {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(10px);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.contact-panel span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-footer {
  background: #101714;
  color: rgba(255, 255, 255, 0.8);
  padding: 24px clamp(18px, 5vw, 70px);
}

.footer-inner {
  display: flex;
  width: min(1180px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffcf77;
}

@media (max-width: 1020px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-band,
  .about-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .feature-band {
    min-height: 0;
  }

  .feature-image {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 70px;
  }

  .site-header {
    padding: 13px 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-text span {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 18px;
    left: 18px;
    display: none;
    grid-auto-rows: minmax(54px, auto);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    display: grid;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-media {
    background-position: 56% center;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-inline: 18px;
    padding: calc(var(--header-h) + 42px) 0 132px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    min-width: 0;
    padding-inline: 12px;
  }

  .hero-strip {
    right: 18px;
    left: 18px;
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
  }

  .hero-strip span:last-child {
    border-bottom: 0;
  }

  .intro-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    min-height: 0;
  }

  .feature-content {
    padding: 42px 18px;
  }

  .section {
    padding-inline: 18px;
  }

  .profile-panel dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 154px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 3.8rem);
  }
}
