:root {
  --ink: #11100d;
  --ink-soft: #3d3930;
  --paper: #fbfaf6;
  --paper-deep: #f3efe7;
  --white: #ffffff;
  --gold: #b58a3a;
  --gold-light: #ddc58e;
  --line: rgba(17, 16, 13, 0.12);
  --shadow: 0 24px 60px rgba(17, 16, 13, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

section {
  scroll-margin-top: 96px;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.section-pad {
  padding: 104px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(17, 16, 13, 0.08);
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 226px;
  height: 58px;
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.desktop-nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

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

.btn-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(17, 16, 13, 0.16);
}

.btn-gold {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 14px 28px rgba(181, 138, 58, 0.24);
}

.btn-outline {
  color: var(--ink);
  border-color: rgba(17, 16, 13, 0.18);
  background: rgba(255, 255, 255, 0.44);
}

.btn-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 82px;
  right: 20px;
  left: 20px;
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
  gap: 14px;
}

.mobile-nav a {
  padding: 12px 4px;
  border-bottom: 1px solid rgba(17, 16, 13, 0.08);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 82% 10%, rgba(181, 138, 58, 0.14), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.03;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 4.15rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-subhead {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(17, 16, 13, 0.1);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 16, 13, 0.04), rgba(17, 16, 13, 0.18));
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius);
  background: rgba(17, 16, 13, 0.86);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(17, 16, 13, 0.26);
}

.visual-card span {
  color: var(--gold-light);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-card strong {
  font-size: 1.25rem;
}

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

.section-heading p:not(.eyebrow) {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered p:not(.eyebrow) {
  margin-inline: auto;
}

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

.service-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(17, 16, 13, 0.05);
}

.service-card {
  min-height: 260px;
  padding: 26px;
}

.service-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card p,
.process-step p,
.area-wrap p,
.cta-actions p,
.site-footer p {
  color: var(--ink-soft);
}

.expect {
  background: var(--ink);
  color: var(--white);
}

.expect .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: start;
}

.expect-list {
  display: grid;
  gap: 14px;
}

.expect-list div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.expect-list span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 7px rgba(221, 197, 142, 0.1);
}

.expect-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-step {
  padding: 32px;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 54px;
  border: 1px solid rgba(181, 138, 58, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
}

.area {
  padding-top: 34px;
}

.area-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  padding: 62px;
  border: 1px solid rgba(181, 138, 58, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(243, 239, 231, 0.78));
}

.area-wrap h2 {
  margin-bottom: 0;
}

.area-wrap > p {
  margin: 0;
  font-size: 1.16rem;
}

.before-after {
  padding-top: 50px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.comparison-panel {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(243, 239, 231, 0.8)),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(17, 16, 13, 0.04) 81px 82px);
  box-shadow: var(--shadow);
}

.comparison-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.comparison-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 16, 13, 0.18), transparent 38%);
  pointer-events: none;
}

.comparison-panel span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 16, 13, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-cta {
  color: var(--white);
  background:
    linear-gradient(rgba(17, 16, 13, 0.92), rgba(17, 16, 13, 0.92)),
    radial-gradient(circle at 90% 20%, rgba(181, 138, 58, 0.36), transparent 30%);
}

.cta-wrap {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: end;
}

.cta-wrap h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-actions {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.cta-actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.cta-actions a {
  color: var(--white);
}

.site-footer {
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #0b0a08;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px;
  align-items: start;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.site-footer p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(17, 16, 13, 0.48);
  backdrop-filter: blur(10px);
}

.contact-overlay.is-open {
  display: grid;
}

.contact-modal {
  position: relative;
  width: min(430px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(17, 16, 13, 0.28);
}

.contact-modal h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.modal-note {
  margin-bottom: 22px;
  color: var(--ink-soft);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

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

.contact-options a {
  display: grid;
  gap: 2px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-options a:hover {
  transform: translateY(-1px);
  border-color: rgba(181, 138, 58, 0.46);
  box-shadow: 0 14px 30px rgba(17, 16, 13, 0.08);
}

.contact-options span {
  font-weight: 800;
}

.contact-options small {
  color: var(--ink-soft);
}

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

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

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

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

  .service-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-actions > .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .section-pad {
    padding: 78px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .area-wrap,
  .cta-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .process-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .area-wrap {
    gap: 28px;
    padding: 36px;
  }

  .footer-grid {
    gap: 18px;
  }
}

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

  .site-header {
    min-height: 74px;
    padding-inline: 14px;
  }

  .mobile-nav {
    top: 74px;
    right: 14px;
    left: 14px;
  }

  .logo {
    width: 172px;
    height: 46px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-buttons,
  .trust-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    min-height: 390px;
    border-radius: 14px;
  }

  .visual-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-width: 0;
  }

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

  .service-card:last-child {
    grid-column: auto;
  }

  .service-card,
  .process-step,
  .contact-modal {
    padding: 24px;
  }

  .service-card span,
  .process-step span {
    margin-bottom: 32px;
  }

  .area-wrap {
    padding: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
