:root {
  --ink: #1e252b;
  --muted: #5d6870;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #ded8ce;
  --brand: #0f6f86;
  --brand-dark: #0a4d5d;
  --accent: #c96f2d;
  --shade: #27323a;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(30, 37, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.96);
  border-bottom: 1px solid rgba(222, 216, 206, 0.85);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: var(--radius);
  font-size: 18px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--shade);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 24px;
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 25px rgba(15, 111, 134, 0.22);
}

.button:hover,
.button:focus-visible {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.button-outline {
  color: var(--brand-dark);
  border-color: rgba(15, 111, 134, 0.35);
  background: rgba(255, 255, 255, 0.72);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--brand);
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(24, 31, 37, 0.94) 0%, rgba(24, 31, 37, 0.84) 52%, rgba(24, 31, 37, 0.38) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #245a64, #1d292f 58%, #8c5632);
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 72px);
  max-height: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(280px, 1fr);
  align-items: center;
  gap: 38px;
  padding: 56px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f1d4b8;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(42px, 7vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 21px;
}

.hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

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

.hero-panel {
  align-self: end;
  padding: 22px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-panel strong {
  display: block;
  font-size: 20px;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: 88px 0;
}

.section.tight {
  padding: 60px 0;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 18px;
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.service-card,
.plain-card,
.faq-item,
.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.service-card {
  min-height: 210px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius);
  font-weight: 900;
}

.list-clean {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list-clean li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 26px 24px 24px 76px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 900;
}

.trust {
  color: #fff;
  background: var(--shade);
}

.trust .section-head p,
.trust .lead {
  color: rgba(255, 255, 255, 0.78);
}

.trust .plain-card {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.quick-inquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.quick-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

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

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

.cta {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(15,111,134,0.94), rgba(39,50,58,0.96)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 18px);
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta p {
  color: rgba(255, 255, 255, 0.84);
  margin: 12px 0 0;
}

.page-hero {
  color: #fff;
  background: linear-gradient(135deg, var(--shade), var(--brand-dark));
  padding: 78px 0;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.contact-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
  border-bottom: 0;
}

.site-footer {
  color: #e9edf0;
  background: #172026;
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.site-footer a {
  color: #e9edf0;
}

.site-footer p,
.site-footer li {
  color: rgba(233, 237, 240, 0.76);
}

.footer-links {
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.footer-links li {
  margin: 8px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

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

  .nav-links a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

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

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0 44px;
  }

  h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-panel {
    align-self: auto;
  }

  .grid-3,
  .grid-2,
  .quick-inquiry,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .cta .container {
    display: block;
  }

  .cta .button {
    margin-top: 18px;
  }
}

@media (max-width: 430px) {
  .brand span {
    max-width: 190px;
  }

  .hero-inner {
    padding-top: 24px;
  }

  h1 {
    font-size: 35px;
  }

  .hero-actions {
    display: grid;
  }

  .button,
  .button-outline {
    width: 100%;
  }

  .service-card,
  .plain-card,
  .faq-item,
  .contact-box {
    padding: 20px;
  }
}
