:root {
  --navy: #101b2b;
  --navy-soft: #18273b;
  --ink: #17202d;
  --muted: #687181;
  --gold: #bd9557;
  --gold-light: #e3c894;
  --cream: #f5f1e9;
  --line: rgba(16, 27, 43, 0.14);
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(16, 27, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(16, 27, 43, 0.96);
  color: #fff;
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 30px;
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(227, 200, 148, 0.55);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: -1px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  transition: color 160ms ease;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111a27;
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.menu-button {
  display: none;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 96px;
  background:
    linear-gradient(90deg, rgba(16, 27, 43, 0.98), rgba(16, 27, 43, 0.88)),
    radial-gradient(circle at 76% 10%, rgba(189, 149, 87, 0.32), transparent 36%);
  color: #fff;
}

.hero::after {
  position: absolute;
  right: -140px;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(227, 200, 148, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

h1 em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(227, 200, 148, 0.55);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.hero-facts {
  display: flex;
  margin: 46px 0 0;
  padding: 0;
  gap: 26px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  list-style: none;
}

.hero-facts li::before {
  margin-right: 9px;
  color: var(--gold);
  content: "—";
}

.hero-panel {
  position: relative;
  padding: 40px;
  border-top: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.panel-number {
  position: absolute;
  top: 22px;
  right: 26px;
  color: rgba(255, 255, 255, 0.13);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
}

.hero-panel h2 {
  margin-bottom: 22px;
  font-size: 30px;
  line-height: 1.17;
}

.hero-panel > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 14px;
  line-height: 1.75;
}

.hero-panel a {
  color: var(--gold-light);
  font-weight: 700;
}

.section {
  padding: 104px 0;
}

.section-heading {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 60px;
}

.section-heading h2,
.about-title h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 270px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 2;
  background: var(--cream);
  transform: translateY(-3px);
}

.service-card > span,
.steps > li > span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.service-card h3 {
  margin: 48px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-heading.light > p {
  color: rgba(255, 255, 255, 0.58);
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.steps li {
  min-height: 280px;
  padding: 32px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.steps li:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.steps h3 {
  margin: 54px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
}

.steps p {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.about-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.principles {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.principles div {
  padding: 24px 18px 0 0;
}

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

.principles strong {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
}

.principles span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section-soft {
  background: var(--cream);
}

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

details {
  padding: 25px 28px;
  border: 1px solid rgba(16, 27, 43, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

summary {
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

details p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  padding: 92px 0;
  background: var(--gold);
  color: #111a27;
}

.contact-section .eyebrow {
  color: rgba(16, 27, 43, 0.67);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 90px;
}

.contact-grid > div:first-child > p:last-child {
  max-width: 600px;
  margin: 24px 0 0;
  line-height: 1.7;
}

.contact-card {
  padding: 34px;
  background: var(--navy);
  color: #fff;
}

.contact-card a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-card small,
.contact-card strong {
  display: block;
}

.contact-card small {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--gold-light);
  font-size: 21px;
}

.contact-card p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.site-footer {
  padding: 34px 0;
  background: #0c1522;
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 12px;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
}

.footer-inner p {
  margin: 0;
}

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

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--navy);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .header-inner > .button {
    display: none;
  }

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

  .hero-grid {
    gap: 54px;
  }

  .hero-panel {
    max-width: 620px;
  }

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

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

  .steps li:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .about-grid,
  .contact-grid {
    gap: 50px;
  }
}

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

  .site-header .brand strong {
    font-size: 16px;
  }

  .header-inner {
    min-height: 70px;
  }

  .site-nav {
    top: 70px;
  }

  .hero {
    padding: 76px 0 66px;
  }

  h1 {
    font-size: clamp(43px, 13.5vw, 62px);
  }

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

  .hero-actions,
  .hero-facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-facts {
    gap: 12px;
  }

  .hero-panel {
    padding: 30px 26px;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-grid,
  .steps,
  .principles,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
  }

  .steps li,
  .steps li:nth-child(3) {
    min-height: 230px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .contact-section {
    padding: 72px 0;
  }

  .contact-card {
    padding: 28px 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
