:root {
  --ink: #111217;
  --ink-soft: #2a3040;
  --paper: #f3efe8;
  --line: rgba(17, 18, 23, 0.14);
  --line-strong: rgba(17, 18, 23, 0.28);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 22px 42px rgba(17, 18, 23, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: linear-gradient(160deg, #faf7f1 0%, #f3efe8 44%, #e8dfd2 100%);
  line-height: 1.6;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.site-bg span {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.42;
}

.site-bg span:nth-child(1) {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #dcc6aa 0%, rgba(220, 198, 170, 0) 74%);
  top: -120px;
  left: -30px;
}

.site-bg span:nth-child(2) {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #c4ab88 0%, rgba(196, 171, 136, 0) 76%);
  right: -170px;
  bottom: -180px;
}

.site-bg span:nth-child(3) {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0) 80%);
  left: 48%;
  top: 33%;
  transform: translate(-50%, -50%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1160px, 94vw);
  margin: 1rem auto 0;
  padding: 0.72rem 1.08rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(13, 15, 22, 0.86);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: #13141a;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.brand-text {
  color: #fcfaf6;
  font-family: var(--display);
  font-size: 1.45rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.26rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a,
.nav-links li a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links li a:hover,
.nav-links .current-menu-item > a {
  color: #fbead4;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.6rem;
  cursor: pointer;
  padding: 0.5rem;
  justify-self: end;
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 0.23rem 0;
  background: #fff;
  border-radius: 2px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff9ef;
  background: linear-gradient(128deg, #181d29, #403224, #9f7f56);
  box-shadow: 0 12px 24px rgba(17, 18, 23, 0.28);
}

.btn-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 0.66rem 1.1rem;
  font-size: 0.82rem;
}

.section {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 6rem 0;
}

.section-tight {
  padding-top: 0;
}

.eyebrow {
  margin: 0;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.72rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.8rem;
  align-items: center;
  padding-top: 4.8rem;
}

.hero h1 {
  margin: 0.95rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
  line-height: 0.96;
  max-width: 15ch;
}

.hero-text {
  margin: 0;
  max-width: 56ch;
  color: #2f3647;
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-points {
  margin: 1.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.34rem;
  color: #2f3648;
}

.hero-points li::before {
  content: "";
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
  background: linear-gradient(160deg, #141923, #aa8760);
  position: absolute;
  top: 0.58rem;
  left: 0;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.45rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(252, 246, 237, 0.7));
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.hero-visual-frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 23, 0.07);
  background: #fff;
}

.hero-visual-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-metrics {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.56rem;
}

.hero-metrics article {
  border-radius: 0.9rem;
  border: 1px solid rgba(17, 18, 23, 0.08);
  background: rgba(255, 255, 255, 0.75);
  padding: 0.86rem;
}

.hero-metrics strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.81rem;
  color: #364052;
}

.stats,
.review-grid,
.services-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat,
.review-card,
.service-card,
.step-card,
.faq-item,
.blog-post-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.stat {
  padding: 1.2rem;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h1,
.section-head h2 {
  margin: 0.8rem 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.03;
  max-width: 21ch;
}

.review-card,
.service-card,
.step-card {
  padding: 1.2rem;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.review-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 18, 23, 0.1);
  object-fit: cover;
}

.review-role {
  margin: 0.16rem 0 0;
  color: #4b5568;
  font-size: 0.82rem;
}

.review-stars {
  margin: 0.85rem 0 0.5rem;
  letter-spacing: 0.08em;
  color: #bc9257;
  font-size: 0.96rem;
}

.review-card h3 {
  margin: 0;
  font-size: 1rem;
}

.review-card p {
  margin: 0;
  color: #303848;
}

.card-icon,
.step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117, 92, 63, 0.25);
  background: rgba(117, 92, 63, 0.08);
  margin-bottom: 0.78rem;
}

.card-icon svg,
.step-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: #6e553a;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.step-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.62rem;
  line-height: 1;
}

.service-card p,
.step-card p {
  margin: 0;
  color: #323a4b;
}

.step-index {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(117, 92, 63, 0.25);
  background: rgba(117, 92, 63, 0.08);
  color: #725a3d;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.faq-list {
  display: grid;
  gap: 0.72rem;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  padding: 1rem 1.2rem;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #7d6242;
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 1.2rem 1rem;
  color: #30384a;
}

.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.3rem;
  background: linear-gradient(160deg, #0f121b, #1b2230, #3d3124);
  color: #f9f5ee;
  padding: clamp(1.2rem, 3.8vw, 2.2rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  box-shadow: 0 22px 42px rgba(15, 16, 24, 0.33);
}

.contact-panel h2 {
  margin: 0.7rem 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.82rem);
  line-height: 1;
}

.contact-panel p {
  margin: 0;
  color: rgba(249, 245, 238, 0.88);
}

.lead-form {
  display: grid;
  gap: 0.64rem;
  border: 1px solid rgba(249, 245, 238, 0.16);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
}

.lead-form label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border-radius: 0.72rem;
  border: 1px solid rgba(249, 245, 238, 0.2);
  padding: 0.68rem 0.8rem;
  font: inherit;
  color: #f9f5ee;
  background: rgba(3, 4, 7, 0.22);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(249, 245, 238, 0.5);
}

.form-feedback {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.82rem;
  color: #f6dfbc;
}

.blog-page {
  padding-top: 2.6rem;
}

.blog-page-lead {
  margin: 1rem 0 0;
  max-width: 68ch;
  color: #2f3748;
}

.blog-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.blog-post-card {
  overflow: hidden;
}

.blog-post-cover {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.blog-post-cover img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.blog-post-body {
  padding: 1rem 1.1rem 1.2rem;
}

.blog-post-body h1,
.blog-post-body h2 {
  margin: 0.5rem 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.04;
}

.blog-meta {
  margin: 0;
  color: #576174;
  font-size: 0.84rem;
}

.post-status {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.22rem 0.56rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.is-published {
  color: #1c5b3b;
  border: 1px solid rgba(44, 132, 85, 0.3);
  background: rgba(44, 132, 85, 0.15);
}

.blog-post-cover .post-status {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}

.pagination .page-numbers {
  display: inline-flex;
  margin-right: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.footer {
  background: #111218;
  color: rgba(249, 245, 238, 0.88);
  padding: 3rem 4vw 2rem;
}

.footer-top {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 1rem;
}

.footer-logo-wrap {
  width: fit-content;
  background: #111218;
  border-radius: 1rem;
  padding: 0.2rem;
}

.footer-logo {
  width: min(210px, 100%);
  border-radius: 0.75rem;
  display: block;
}

.footer-nav {
  display: grid;
  gap: 0.46rem;
  align-content: start;
}

.footer-nav li {
  list-style: none;
}

.footer-meta p {
  margin: 0 0 0.45rem;
}

.legal-note,
.copyright {
  width: min(1120px, 92vw);
  margin-left: auto;
  margin-right: auto;
}

.legal-note {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(249, 245, 238, 0.12);
  color: rgba(249, 245, 238, 0.66);
  font-size: 0.86rem;
}

.copyright {
  margin-top: 0.5rem;
  color: rgba(249, 245, 238, 0.58);
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto;
    gap: 0.5rem;
    padding-right: 0.72rem;
  }

  .menu-btn {
    display: block;
  }

  .topbar .btn-sm {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.56rem);
    transform: translateX(-50%) translateY(-8px);
    width: min(96vw, 540px);
    border-radius: 1rem;
    padding: 0.85rem;
    background: rgba(12, 14, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    gap: 0.16rem;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero,
  .stats,
  .review-grid,
  .services-grid,
  .process-grid,
  .contact-panel,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.8rem 0;
  }
}

@media (max-width: 560px) {
  .topbar {
    margin-top: 0.72rem;
    border-radius: 0.9rem;
  }

  .brand-text {
    font-size: 1.24rem;
  }

  .section-head h1,
  .section-head h2 {
    max-width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}
