:root {
  --bg: #0c0d10;
  --bg-soft: #15171c;
  --text: #f6f2e8;
  --muted: #c9c3b5;
  --white: #ffffff;
  --gold: #c7a64a;
  --gold-dark: #98762b;
  --charcoal: #22242a;
  --line: rgba(255,255,255,0.12);
  --shadow: 0 24px 60px rgba(0,0,0,0.28);
  --radius: 22px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--charcoal);
  background: #ffffff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  background: var(--gold);
  color: #111;
  padding: 12px 16px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { top: 16px; }

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(12, 13, 16, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar {
  width: min(100% - 36px, var(--container));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 230px; height: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text);
  font-size: 0.96rem;
}
.nav-menu a {
  opacity: 0.86;
  transition: color .2s ease, opacity .2s ease;
}
.nav-menu a:hover { color: var(--gold); opacity: 1; }
.nav-phone {
  color: #121212;
  background: linear-gradient(135deg, #f0d77b, var(--gold));
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 760px;
  padding: 160px 0 90px;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(199,166,74,0.24), transparent 28%),
    linear-gradient(135deg, rgba(12,13,16,0.94), rgba(12,13,16,0.72)),
    url("../img/hero.svg") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40px -10%;
  height: 130px;
  background: white;
  transform: rotate(-2deg);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 48px;
}
.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  margin: 0 0 14px;
}
h1, h2, h3 { line-height: 1.1; margin: 0; }
h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  max-width: 820px;
  letter-spacing: -0.06em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
}
h3 { font-size: 1.25rem; }
.hero-text {
  max-width: 670px;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #121212;
  background: linear-gradient(135deg, #f4df87, var(--gold));
  box-shadow: 0 14px 28px rgba(199,166,74,0.22);
}
.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
}
.btn-light {
  color: #111;
  background: #fff;
}
.quote-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.quote-card .card-label {
  display: inline-flex;
  color: #121212;
  background: var(--gold);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.quote-card h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.quote-card p { color: var(--muted); margin: 18px 0 24px; }
.card-phone {
  display: block;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 10px;
}
.quote-card small { color: var(--muted); }

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -58px;
}
.trust-grid {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.trust-grid div {
  padding: 28px;
  border-right: 1px solid #ece7dc;
}
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.trust-grid span { color: #666; font-size: .95rem; }

.section { padding: 110px 0; }
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.section-copy p:not(.eyebrow) {
  color: #5f6269;
  font-size: 1.06rem;
  margin: 22px 0 0;
}
.section-copy .btn { margin-top: 28px; }
.image-card {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 440px;
}
.blueprint-art {
  position: relative;
  min-height: 440px;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 30% 25%, rgba(199,166,74,0.24), transparent 28%),
    #12141a;
  background-size: 36px 36px, 36px 36px, auto, auto;
}
.plan-line, .plan-box, .plan-dot, .ruler { position: absolute; }
.plan-line { height: 3px; background: var(--gold); border-radius: 999px; opacity: .88; }
.line-a { width: 58%; top: 34%; left: 16%; transform: rotate(-18deg); }
.line-b { width: 46%; top: 52%; left: 29%; transform: rotate(24deg); }
.line-c { width: 38%; top: 70%; left: 15%; transform: rotate(-6deg); }
.plan-box { border: 2px solid rgba(255,255,255,0.72); border-radius: 8px; }
.box-a { width: 130px; height: 105px; top: 20%; right: 15%; }
.box-b { width: 170px; height: 120px; bottom: 16%; right: 20%; }
.plan-dot { width: 14px; height: 14px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 10px rgba(199,166,74,0.16); }
.dot-a { top: 33%; left: 20%; }
.dot-b { bottom: 29%; right: 30%; }
.ruler { left: 40px; bottom: 38px; width: 190px; height: 20px; border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); opacity: .8; }
.image-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 18px;
}
.image-caption strong { display: block; }
.image-caption span { color: #686868; }

.services { background: #f6f2e8; }
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-heading p:not(.eyebrow) { color: #696969; font-size: 1.05rem; margin-top: 16px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 260px;
  box-shadow: 0 14px 36px rgba(38,32,14,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(38,32,14,0.10);
}
.service-card .icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #f3df8d, var(--gold));
  color: #111;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 24px;
}
.service-card p { color: #686868; margin: 14px 0 0; }
.cta-service {
  color: var(--text);
  background: var(--bg);
}
.cta-service p { color: var(--muted); }
.cta-service a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--gold);
  font-weight: 900;
}

.process-panel {
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}
.process-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.process-step:first-child { padding-top: 0; }
.process-step:last-child { border-bottom: 0; padding-bottom: 0; }
.process-step span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(199,166,74,0.14);
  color: var(--gold);
  font-weight: 900;
}
.process-step p { color: var(--muted); margin: 10px 0 0; }

.cta-banner {
  padding: 76px 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(12,13,16,0.92), rgba(12,13,16,0.78)),
    url("../img/cta.svg") center/cover no-repeat;
}
.cta-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.cta-grid h2 { max-width: 760px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.contact-list a, .contact-list div {
  display: block;
  padding: 20px;
  border-radius: 18px;
  background: #f6f2e8;
}
.contact-list span {
  display: block;
  color: #777;
  font-size: .88rem;
  margin-bottom: 4px;
}
.contact-list strong { font-size: 1.18rem; }
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid #efeadf;
}
.contact-form h3 { margin-bottom: 20px; }
.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ded8cc;
  background: #fbfaf7;
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199,166,74,0.16);
}
.form-note {
  color: #777;
  font-size: .87rem;
  margin: 14px 0 0;
}
.form-result {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #f6f2e8;
  color: #222;
}
.form-result.show { display: block; }

.site-footer {
  color: var(--muted);
  background: var(--bg);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { width: 220px; margin-bottom: 18px; }
.site-footer h3 { color: var(--text); margin-bottom: 18px; }
.site-footer a, .site-footer span {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 50px;
  padding: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-bottom p { margin: 0; }

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  color: #111;
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 86px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: 18px;
    background: rgba(12,13,16,0.98);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu a { padding: 14px; }
  .nav-phone { display: none; }
  .brand-logo { width: 200px; }
  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 140px; min-height: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(1), .trust-grid div:nth-child(2) { border-bottom: 1px solid #ece7dc; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .navbar { height: 78px; }
  .brand-logo { width: 174px; }
  .nav-menu { top: 78px; }
  .hero { padding: 126px 0 78px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.1rem); }
  .quote-card, .contact-form, .process-panel { padding: 26px; }
  .card-phone { font-size: 1.52rem; }
  .trust-strip { margin-top: -28px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0 !important; border-bottom: 1px solid #ece7dc; }
  .trust-grid div:last-child { border-bottom: 0; }
  .section { padding: 82px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .reverse-mobile .section-copy { order: -1; }
}
