:root {
  --ink: #151719;
  --graphite: #2e2e2e;
  --muted: #667078;
  --line: #e6e0d7;
  --paper: #f8f6f1;
  --white: #fff;
  --gold: #d7a66f;
  --bronze: #b8865b;
  --bronze-dark: #8d623d;
  --blue: #183b4f;
  --green: #455f53;
  --shadow: 0 22px 60px rgba(21, 23, 25, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #fbfaf7 0, var(--paper) 100%);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 108px;
  padding: 14px clamp(28px, 4vw, 58px);
  background: rgba(248, 246, 241, .78);
  border-bottom: 1px solid rgba(235, 228, 218, .78);
  box-shadow: 0 18px 46px rgba(21, 23, 25, .08);
  backdrop-filter: blur(22px) saturate(1.18);
}
.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-logo { width: auto; height: clamp(78px, 5.6vw, 104px); }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 24px);
  color: #33383b;
  font-size: 15px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--bronze-dark); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.phone { color: var(--ink); font-weight: 800; white-space: nowrap; }
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { width: 23px; height: 2px; margin: 3px 0; background: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bronze); color: var(--white); }
.btn-primary:hover { background: var(--bronze-dark); }
.btn-consult {
  min-height: 54px;
  padding-inline: 28px;
  background: var(--bronze);
  color: var(--white);
  border-color: var(--bronze);
  box-shadow: 0 14px 30px rgba(141, 98, 61, .22);
}
.btn-consult:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; border-color: rgba(21, 23, 25, .22); color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-hero-outline {
  color: var(--white);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.16); }
.text-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--bronze-dark);
  font-weight: 900;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(184,134,91,.22), transparent 24%),
    #101113;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 9, .97) 0%, rgba(11, 12, 13, .9) 42%, rgba(11, 12, 13, .48) 72%, rgba(11,12,13,.78) 100%),
    linear-gradient(180deg, rgba(7,8,9,.22), rgba(7,8,9,.84)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=2100&q=88") center/cover;
}
.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: clamp(34px, 6vw, 78px);
  align-items: end;
  color: var(--white);
}
.hero-copy { min-width: 0; }
.hero-copy::before {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--bronze);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 80px);
  line-height: .99;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}
h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.18; }
.hero-lead { max-width: 770px; color: rgba(255,255,255,.86); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  margin-top: 42px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.hero-proof span { padding: 18px; border-right: 1px solid rgba(255,255,255,.14); background: rgba(16,18,20,.42); color: rgba(255,255,255,.76); }
.hero-proof span:last-child { border-right: 0; }
.hero-proof b { display: block; color: var(--white); font-size: 28px; line-height: 1; margin-bottom: 8px; }
.hero-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.hero-card-image {
  height: 190px;
  background:
    linear-gradient(180deg, rgba(21,23,25,0) 30%, rgba(21,23,25,.72)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=900&q=86") center/cover;
}
.hero-card-body { padding: 24px; }
.hero-card h2 { margin-bottom: 12px; font-size: 30px; line-height: 1.05; }
.hero-card p { color: var(--muted); }
.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}
.mini-steps span {
  padding: 12px;
  border-radius: 6px;
  background: #eee8dd;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 900;
}
.mini-steps b { display: block; margin-top: 5px; color: var(--ink); font-size: 13px; }

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}
.section:nth-of-type(3),
.section:nth-of-type(5),
.section:nth-of-type(7) {
  position: relative;
  width: 100%;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 84% 10%, rgba(184,134,91,.12), transparent 28%),
    linear-gradient(135deg, #151719, #263b36);
  color: var(--white);
}
.section:nth-of-type(3) .section-head p,
.section:nth-of-type(5) .section-head p,
.section:nth-of-type(7) .section-head p,
.section:nth-of-type(3) .muted,
.section:nth-of-type(5) .muted,
.section:nth-of-type(7) .muted {
  color: rgba(255,255,255,.72);
}
.section:nth-of-type(3) .eyebrow,
.section:nth-of-type(5) .eyebrow,
.section:nth-of-type(7) .eyebrow {
  color: #d7a66f;
}
.section:nth-of-type(5) .quick-form,
.section:nth-of-type(7) .steps article {
  background: rgba(255,255,255,.96);
  color: var(--ink);
}
.section:nth-of-type(7) .steps p { color: var(--muted); }
.section-tight { padding: 64px 0; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head p, .muted { color: var(--muted); }
.intro-grid, .split, .quality-grid, .team-section, .content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.intro-grid p, .split p, .team-section p, .content-grid p { color: var(--muted); font-size: 18px; }
.pricing-grid, .service-grid, .case-grid, .article-list, .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.price-card, .service-tile, .case-card, .quick-form, .steps article, .article-card, .benefit-card, .side-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.price-card, .benefit-card { padding: 28px; }
.price-card.featured { color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: var(--shadow); }
.price-card.featured {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(184,134,91,.55);
  box-shadow: 0 24px 60px rgba(21,23,25,.1);
}
.price-card p, .price-card li, .benefit-card p { color: var(--muted); }
.price-card.featured p, .price-card.featured li { color: var(--muted); }
.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(184, 134, 91, .12);
  color: var(--bronze-dark);
  font-size: 13px;
  font-weight: 900;
}
.featured .tag { color: #ead7c5; background: rgba(255,255,255,.12); }
ul { margin: 20px 0; padding-left: 18px; }

.visual-proof { padding-top: 24px; }
.visual-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-auto-rows: 282px;
  gap: 16px;
}
.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--white);
}
.visual-card.large { grid-row: span 2; }
.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.04);
  transition: transform .4s ease;
}
.visual-card:hover img { transform: scale(1.04); }
.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,18,20,0) 35%, rgba(16,18,20,.76));
}
.visual-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
}
.visual-card b { display: block; font-size: 22px; line-height: 1.08; }
.visual-card span { display: block; margin-top: 6px; color: rgba(255,255,255,.78); }
.visual-card.quote {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(24,59,79,.98), rgba(48,73,64,.96)),
    var(--blue);
}
.visual-card.quote::after { display: none; }
.visual-card.quote b { font-size: 28px; }
.visual-card.quote span { margin: 0; line-height: 1.55; }
.visual-card.quote .btn {
  width: 100%;
  margin-top: auto;
  background: var(--white);
  color: #151719;
  border-color: var(--white);
  box-shadow: none;
}

.band {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 12% 0%, rgba(184,134,91,.1), transparent 28%),
    linear-gradient(135deg, #151719, #263b36);
  color: var(--white);
}
.band .section-head p { color: rgba(255,255,255,.72); }
.service-tile {
  min-height: 172px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-tile {
  background: rgba(255,255,255,.96);
  color: var(--ink);
}
.service-tile span { color: var(--bronze-dark); font-weight: 900; }
.service-tile b { font-size: 22px; line-height: 1.15; }
.service-tile small { color: var(--muted); font-size: 15px; }
.quick-form { padding: 28px; box-shadow: var(--shadow); }
.dark-form {
  border-color: rgba(184,134,91,.36);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 20px 55px rgba(21,23,25,.1);
}
.dark-form input,
.dark-form select,
.dark-form textarea {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.dark-form input::placeholder,
.dark-form textarea::placeholder { color: #8a8f93; }
label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}
textarea { resize: vertical; }
.form-note { display: none; margin-top: 14px; color: var(--green); font-size: 14px; }
.form-note.visible { display: block; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.steps article { padding: 22px; }
.steps span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--white);
  font-weight: 900;
}
.steps p, .case-card p { color: var(--muted); }
.quality-grid article {
  min-height: 360px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(21,23,25,.15), rgba(21,23,25,.9)),
    url("https://images.unsplash.com/photo-1600566753151-384129cf4e3e?auto=format&fit=crop&w=1100&q=84") center/cover;
  color: var(--white);
}
.quality-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(21,23,25,.15), rgba(21,23,25,.88)),
    url("https://images.unsplash.com/photo-1600607687644-c7171b42498b?auto=format&fit=crop&w=1100&q=84") center/cover;
}
.quality-grid p { color: rgba(255,255,255,.76); }
.team-section img, .case-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.team-section img { height: 430px; }
.case-card img { aspect-ratio: 4 / 3; border-radius: 8px 8px 0 0; }
.case-card h3, .case-card p { padding: 0 20px; }
.case-card h3 { margin-top: 18px; }
.case-card p { padding-bottom: 22px; }
.faq details { padding: 24px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 22px; font-weight: 900; }
.faq p { max-width: 760px; margin: 14px 0 0; color: var(--muted); }
.cta-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 88px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20,21,22,.98), rgba(24,59,79,.95)),
    var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
}
.cta-section p { max-width: 680px; color: rgba(255,255,255,.76); }

.page-hero {
  padding: 90px max(18px, calc((100vw - 1180px) / 2)) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16,18,20,.88), rgba(16,18,20,.44)),
    var(--hero-image, url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1900&q=82")) center/cover;
}
.page-hero h1 { max-width: 880px; }
.breadcrumbs { margin-bottom: 30px; color: rgba(255,255,255,.72); font-size: 14px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.side-box { position: sticky; top: 104px; padding: 24px; align-self: start; }
.article-card { padding: 24px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .7fr .8fr;
  gap: 36px;
  padding: 46px clamp(18px, 4vw, 54px);
  background: var(--graphite);
  color: rgba(255,255,255,.74);
}
.site-footer .brand {
  width: max-content;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.site-footer .brand-logo { opacity: .96; }
.site-footer a { color: var(--white); }
.site-footer nav, .site-footer div:last-child { display: grid; gap: 10px; align-content: start; }

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16,18,20,.64);
}
.quiz-modal[hidden] { display: none; }
.quiz-panel {
  position: relative;
  width: min(580px, 100%);
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.close { position: absolute; top: 12px; right: 14px; font-size: 32px; line-height: 1; }
.quiz-progress { height: 6px; margin: 8px 44px 24px 0; overflow: hidden; border-radius: 999px; background: #ebe7df; }
.quiz-progress span { display: block; height: 100%; width: 14%; background: var(--bronze); }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.mobile-cta { display: none; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto auto; }
  .main-nav {
    position: fixed;
    inset: 84px 0 auto;
    display: none;
    padding: 18px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(21,23,25,.08);
    white-space: normal;
  }
  .main-nav.open { display: grid; justify-content: stretch; }
  .menu-toggle { display: inline-grid; }
  .phone { display: none; }
}
@media (max-width: 980px) {
  .pricing-grid, .service-grid, .case-grid, .article-list, .benefit-grid, .intro-grid, .split, .quality-grid, .team-section, .content-grid, .site-footer { grid-template-columns: 1fr; }
  .hero-content { grid-template-columns: 1fr; align-items: start; padding-top: 70px; }
  .hero-card { max-width: 560px; }
  .visual-grid { grid-template-columns: 1fr 1fr; }
  .visual-card.large { grid-row: span 1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-proof span:last-child { border-bottom: 0; }
  .cta-section { align-items: flex-start; flex-direction: column; }
  .side-box { position: static; }
}
@media (max-width: 620px) {
  body { padding-bottom: 78px; }
  .site-header { min-height: 86px; padding: 10px 16px; }
  .brand { min-width: 88px; }
  .brand-logo { height: 72px; }
  .header-actions .btn { display: none; }
  .hero { min-height: auto; }
  .hero-content { width: calc(100% - 32px); padding: 52px 0 34px; }
  h1 { font-size: clamp(38px, 11vw, 54px); }
  .hero-lead { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-card-image { height: 150px; }
  .mini-steps { grid-template-columns: 1fr; }
  .visual-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(260px, auto); }
  .section { width: calc(100% - 32px); padding: 64px 0; }
  .band { width: 100%; padding-left: 16px; padding-right: 16px; }
  .steps { grid-template-columns: 1fr; }
  .quality-grid article, .cta-section { padding: 28px; }
  .quiz-panel { padding: 24px; }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255,255,255,.94);
    border-top: 1px solid rgba(21,23,25,.1);
    backdrop-filter: blur(14px);
  }
  .mobile-cta .btn { min-height: 50px; padding-inline: 16px; }
}
