:root {
  --ink: #17201d;
  --forest: #16463d;
  --teal: #167a77;
  --brick: #a6422f;
  --gold: #d7a849;
  --paper: #ffffff;
  --cream: #f7f3ea;
  --mist: #eef4f1;
  --line: #d9e2dd;
  --muted: #68756f;
  --shadow: 0 24px 70px rgba(23, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: clamp(190px, 18vw, 285px);
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.brand-name {
  color: #0d345b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 9px;
  color: #2e3834;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.86rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--forest);
  background: var(--mist);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--brick);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  color: #fff;
  background: #843324;
}

.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 83% 24%, rgba(215, 168, 73, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(18, 38, 34, 0.96), rgba(22, 70, 61, 0.9) 54%, rgba(22, 122, 119, 0.74)),
    linear-gradient(135deg, #163d38, #84513f);
}

.hero-copy {
  width: min(760px, 100%);
}

.hero-brand-panel {
  justify-self: end;
  width: min(560px, 100%);
  padding: clamp(26px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(7, 20, 18, 0.28);
}

.hero-brand-panel img {
  width: 100%;
  height: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--brick);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1cf75;
}

h1 {
  max-width: 950px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 6.2vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.22;
}

.lead {
  max-width: 700px;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 700;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.91);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: #fff;
  background: var(--forest);
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.button.primary {
  background: var(--brick);
}

.button.secondary {
  color: var(--forest);
  background: #fff;
  border-color: var(--line);
}

.hero .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
}

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

.section {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.band {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background: var(--cream);
}

.dark-band {
  color: #fff;
  background: var(--forest);
}

.dark-band .eyebrow {
  color: #f1cf75;
}

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

.section-heading {
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  max-width: 740px;
  color: var(--muted);
}

.grid {
  width: min(1120px, 100%);
  display: grid;
  gap: 18px;
  margin: 0 auto;
}

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

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

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

.card {
  min-height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 32, 29, 0.06);
}

.card strong {
  color: var(--brick);
}

.card ul,
.plain-list {
  margin: 14px 0 0;
  padding-left: 19px;
}

.card li,
.plain-list li {
  margin: 6px 0;
}

.feature-panel {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  margin: 0 auto;
}

.portrait {
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
  box-shadow: var(--shadow);
}

.portrait img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.facts {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.fact {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: var(--mist);
}

.page-hero {
  padding: clamp(62px, 9vw, 112px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 78px);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(22, 70, 61, 0.98), rgba(22, 122, 119, 0.9) 58%, rgba(166, 66, 47, 0.82)),
    radial-gradient(circle at 82% 18%, rgba(215, 168, 73, 0.34), transparent 28%),
    linear-gradient(135deg, #143d36, #1d6f6c);
}

.page-hero .section-inner {
  margin: 0;
}

.page-hero .eyebrow {
  color: #f1cf75;
}

.page-hero h1 {
  max-width: 850px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
}

.split {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 58px);
  margin: 0 auto;
}

.side-note {
  padding: 24px;
  background: var(--mist);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
}

.model-section {
  padding-top: 0;
}

.model-figure {
  margin: 0;
}

.model-figure img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.model-figure figcaption {
  max-width: 980px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: center;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-item {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-item h3 {
  color: var(--forest);
}

.service-item ul {
  columns: 2;
  margin: 12px 0 0;
  padding-left: 18px;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
}

.process .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--brick);
  font-weight: 900;
}

.contact-layout {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 58px);
  margin: 0 auto;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #273530;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd8d2;
  border-radius: 6px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-status {
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.86);
  background: #111916;
}

.site-footer strong {
  color: #fff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    min-width: 0;
  }

  .site-nav.open {
    display: flex;
  }

  .grid.three,
  .grid.four,
  .feature-panel,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 74px;
    background:
      radial-gradient(circle at 82% 16%, rgba(215, 168, 73, 0.2), transparent 34%),
      linear-gradient(90deg, rgba(18, 38, 34, 0.94), rgba(22, 70, 61, 0.88)),
      linear-gradient(135deg, #163d38, #84513f);
  }

  .hero-brand-panel {
    justify-self: start;
    width: min(430px, 100%);
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-logo {
    width: 128px;
    max-height: 42px;
  }

  .brand-name {
    max-width: 120px;
    font-size: 1rem;
    white-space: normal;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.3rem);
  }

  .grid.two,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-item ul {
    columns: 1;
  }

  .site-footer {
    flex-direction: column;
  }
}
