:root {
  --bg: #0d0b09;
  --bg-soft: #16120e;
  --panel: #1f1914;
  --panel-alt: #f5efe5;
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: rgba(32, 21, 10, 0.12);
  --text: #f9f5ef;
  --text-soft: rgba(249, 245, 239, 0.72);
  --text-muted: rgba(249, 245, 239, 0.5);
  --text-dark: #231d17;
  --text-dark-soft: rgba(35, 29, 23, 0.72);
  --gold: #c8952a;
  --gold-soft: #e3bc64;
  --sand: #d4b896;
  --cream: #efe7da;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  --radius: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(200, 149, 42, 0.13),
      transparent 28%
    ),
    linear-gradient(180deg, #0d0b09 0%, #14100d 100%);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}

body.page-light {
  background: linear-gradient(180deg, #f7f2ea 0%, #efe7da 100%);
  color: var(--text-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: rgba(13, 11, 9, 0.78);
}

.section-light {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.08)
  );
  color: var(--text-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.section-title,
.hero-title,
.page-hero h1,
.cta-panel h2 {
  font-family: var(--serif);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-title {
  margin: 18px 0 18px;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
}

.section-title em,
.hero-title em,
.page-hero h1 em,
.cta-panel h2 em {
  font-style: italic;
  color: var(--gold);
}

.section-copy {
  max-width: 680px;
  color: var(--text-soft);
}

.page-light .section-copy,
.section-light .section-copy {
  color: var(--text-dark-soft);
}

.btn,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 24px;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s,
    background 0.25s,
    color 0.25s;
}

.btn:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
}

.btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #130f0b;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.btn-secondary,
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.page-light .btn-outline,
.section-light .btn-outline {
  border-color: rgba(35, 29, 23, 0.16);
  color: var(--text-dark);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(13, 11, 9, 0.84);
  border-bottom: 1px solid var(--line);
}

.page-light .site-header {
  background: rgba(13, 11, 9, 0.84);
  border-bottom-color: var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: auto;
  max-width: min(190px, 100%);
  max-height: 62px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(94%) sepia(23%) saturate(364%) hue-rotate(330deg) brightness(104%) contrast(95%);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.25s,
    color 0.25s,
    background 0.25s;
}

.menu-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.brand span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-logo img {
  display: block;
  width: auto;
  max-width: min(210px, 100%);
  max-height: 92px;
  height: auto;
}

.footer-brand-min {
  margin-bottom: 18px;
}

.footer-logo .logo-dark {
  display: none;
}

.footer-logo .logo-light {
  filter: brightness(0) saturate(100%) invert(94%) sepia(23%) saturate(364%) hue-rotate(330deg) brightness(104%) contrast(95%);
}

body.page-light .footer-logo .logo-light {
  display: none;
}

body.page-light .footer-logo .logo-dark {
  display: block;
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.page-light .nav-links a {
  color: var(--text-soft);
}

.nav-links a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(200, 149, 42, 0.18),
      transparent 22%
    ),
    radial-gradient(
      circle at 12% 82%,
      rgba(212, 184, 150, 0.12),
      transparent 18%
    );
  pointer-events: none;
}

.hero-grid,
.split-grid,
.page-grid,
.contact-grid,
.cta-grid {
  display: grid;
  gap: 34px;
}

.hero-grid,
.page-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gold);
}

.hero-title {
  margin: 20px 0 22px;
  font-size: clamp(3rem, 8vw, 5.9rem);
  max-width: 720px;
}

.hero-copy {
  max-width: 620px;
  font-size: 1.04rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-aside,
.info-panel,
.cta-panel,
.service-card,
.process-card,
.detail-card,
.faq-card,
.quote-form,
.contact-card,
.metric-card {
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-light .hero-aside,
.page-light .info-panel,
.page-light .cta-panel,
.page-light .service-card,
.page-light .process-card,
.page-light .detail-card,
.page-light .faq-card,
.page-light .quote-form,
.page-light .contact-card,
.page-light .metric-card,
.section-light .service-card,
.section-light .detail-card,
.section-light .faq-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line-dark);
  box-shadow: 0 20px 50px rgba(58, 46, 36, 0.08);
}

.hero-aside {
  padding: 28px;
}

.hero-card-label {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-card-number {
  margin: 14px 0 6px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.hero-card-copy {
  color: var(--text-soft);
}

.page-light .hero-card-copy {
  color: var(--text-dark-soft);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.metric-card {
  padding: 22px 20px;
}

.metric-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
}

.metric-card span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.page-light .metric-card span {
  color: var(--text-dark-soft);
}

.cards-3,
.cards-4 {
  display: grid;
  gap: 22px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.process-card,
.detail-card,
.faq-card {
  padding: 28px;
}

.service-card h3,
.process-card h3,
.detail-card h3,
.faq-card h3,
.contact-card h3 {
  margin: 16px 0 12px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.service-card p,
.process-card p,
.detail-card p,
.faq-card p,
.contact-card p {
  margin: 0;
  color: var(--text-soft);
}

.page-light .service-card p,
.page-light .process-card p,
.page-light .detail-card p,
.page-light .faq-card p,
.page-light .contact-card p,
.section-light .service-card p,
.section-light .detail-card p,
.section-light .faq-card p {
  color: var(--text-dark-soft);
}

.service-card small,
.detail-card small {
  color: var(--gold);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.split-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.info-panel,
.cta-panel,
.contact-card {
  padding: 34px;
}

.list-clean {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  padding: 0 0 14px 20px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.page-light .list-clean li,
.section-light .list-clean li {
  border-bottom-color: var(--line-dark);
}

.list-clean li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 10px;
}

.page-hero {
  position: relative;
  padding: 82px 0 72px;
}

.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.page-hero p {
  max-width: 760px;
  font-size: 1.04rem;
  color: var(--text-soft);
}

.page-light .page-hero p {
  color: var(--text-dark-soft);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quote-form {
  padding: 30px;
}

.quote-form h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}

.page-light .field input,
.page-light .field select,
.page-light .field textarea,
.section-light .field input,
.section-light .field select,
.section-light .field textarea {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(35, 29, 23, 0.12);
  color: var(--text-dark);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(200, 149, 42, 0.7);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.status-box {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.status-box.show {
  display: block;
}

.status-box.success {
  background: rgba(104, 186, 118, 0.15);
  border: 1px solid rgba(104, 186, 118, 0.35);
  color: #d8f5dd;
}

.status-box.error {
  background: rgba(196, 95, 95, 0.14);
  border: 1px solid rgba(196, 95, 95, 0.35);
  color: #ffdede;
}

.page-light .status-box.success {
  color: #24502c;
}

.page-light .status-box.error {
  color: #6e2222;
}

.contact-grid,
.cta-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-card a {
  color: var(--gold);
}

.contact-card a:hover {
  color: var(--gold-soft);
}

.cta-grid {
  align-items: stretch;
}

.cta-panel h2 {
  margin: 18px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
}

.page-light .footer {
  border-top-color: var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 30px;
  margin-bottom: 28px;
}

.footer h4 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.footer p,
.footer li,
.footer a {
  color: var(--text-soft);
}

.page-light .footer p,
.page-light .footer li,
.page-light .footer a {
  color: var(--text-dark-soft);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.page-light .footer-bottom {
  border-top-color: var(--line-dark);
  color: rgba(35, 29, 23, 0.5);
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .page-grid,
  .split-grid,
  .contact-grid,
  .cta-grid,
  .cards-4,
  .cards-3,
  .footer-grid,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .page-grid,
  .split-grid,
  .contact-grid,
  .cta-grid,
  .cards-4,
  .cards-3,
  .footer-grid,
  .metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .brand img,
  .footer-logo img {
    max-width: min(150px, 100%);
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(13, 11, 9, 0.96);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 8px 0;
  }

  .nav-links .btn {
    margin-top: 4px;
    width: 100%;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 58px;
  }
}
