:root {
  --paper: #f6efe3;
  --paper-2: #fffaf1;
  --ink: #203244;
  --muted: #6d7882;
  --blue: #3e5f83;
  --clay: #c97958;
  --sage: #aebda4;
  --line: rgba(32, 50, 68, 0.14);
  --glass: rgba(255, 250, 241, 0.78);
  --shadow: 0 24px 70px rgba(58, 70, 84, 0.14);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  background:
    linear-gradient(90deg, rgba(32, 50, 68, 0.035) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #f8f1e6 0%, #fffaf1 44%, #f4efe7 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background: radial-gradient(circle at 12% 18%, rgba(201,121,88,.28), transparent 25%),
              radial-gradient(circle at 86% 16%, rgba(62,95,131,.18), transparent 25%),
              radial-gradient(circle at 80% 80%, rgba(174,189,164,.26), transparent 28%);
  z-index: -2;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { position: relative; padding: 110px 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(246, 239, 227, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(58,70,84,.08);
}
.header-inner { display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32,50,68,.18);
  border-radius: 50% 50% 46% 54%;
  background: #fffaf1;
  color: var(--blue);
  font-family: 'Prata', serif;
  box-shadow: 0 10px 26px rgba(58,70,84,.10);
}
.logo-copy { display: flex; flex-direction: column; line-height: 1.1; }
.logo-copy strong { font-weight: 800; letter-spacing: -.02em; }
.logo-copy small { color: var(--muted); font-size: .76rem; }
.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-weight: 700; }
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.phone {
  padding: 13px 18px;
  border: 1px solid rgba(32,50,68,.16);
  border-radius: 999px;
  background: rgba(255,250,241,.8);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(58,70,84,.08);
  white-space: nowrap;
}
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,250,241,.86);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--clay);
}
h1, h2, h3 { margin: 0; font-family: 'Prata', serif; font-weight: 400; letter-spacing: -.04em; }
h1 { margin-top: 18px; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .96; max-width: 10ch; }
h2 { margin-top: 16px; font-size: clamp(2rem, 3.8vw, 4rem); line-height: 1.02; max-width: 13ch; }
h3 { font-size: clamp(1.22rem, 1.7vw, 1.72rem); line-height: 1.12; }
p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 1.04rem; }
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246,239,227,.96), rgba(246,239,227,.72), rgba(32,50,68,.24)),
    url("assets/img/photo-1497366754035-f200968a6e72-e76317fc.jpg") center/cover;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, .8fr);
  gap: 48px;
  align-items: center;
}
.hero-copy p { max-width: 58ch; margin-top: 22px; color: #4f5c67; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--ink); color: #fffaf1; box-shadow: 0 16px 36px rgba(32,50,68,.25); }
.btn-ghost { background: rgba(255,250,241,.76); color: var(--ink); border: 1px solid var(--line); }
.dossier-board {
  position: relative;
  padding: 18px;
  background: rgba(255,250,241,.88);
  border: 1px solid rgba(32,50,68,.14);
  border-radius: 12px 44px 24px 24px;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}
.dossier-board::before,
.dossier-board::after {
  content: "";
  position: absolute;
  inset: 16px -12px -12px 16px;
  z-index: -1;
  border-radius: 14px 42px 22px 22px;
  background: rgba(255,250,241,.58);
  border: 1px solid rgba(32,50,68,.10);
}
.dossier-board::after {
  inset: 32px -24px -24px 32px;
  background: rgba(174,189,164,.22);
}
.dossier-pin {
  position: absolute;
  width: 34px; height: 34px;
  top: -12px; left: 50%;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: inset 0 0 0 8px rgba(255,250,241,.44), 0 10px 20px rgba(201,121,88,.3);
}
.dossier-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.dossier-topline strong { color: var(--blue); }
.dossier-photo { overflow: hidden; border-radius: 10px 32px 18px 18px; }
.dossier-photo img { width: 100%; height: 250px; object-fit: cover; filter: saturate(.9); transition: transform .5s ease; }
.dossier-board:hover .dossier-photo img { transform: scale(1.05); }
.dossier-note { padding: 24px 10px 10px; }
.stamp {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(201,121,88,.4);
  border-radius: 4px;
  color: var(--clay);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  transform: rotate(-4deg);
}
.dossier-note h2 { max-width: 100%; font-size: clamp(1.7rem, 2.5vw, 2.5rem); }
.dossier-note ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }
.dossier-note li { padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: #4f5c67; font-weight: 700; font-size: .9rem; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 54px;
}
.hero-metrics div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,250,241,.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.hero-metrics strong { display: block; font-family: 'Prata', serif; font-size: 2rem; font-weight: 400; color: var(--ink); }
.hero-metrics span { color: var(--muted); }
.split { display: grid; grid-template-columns: .9fr 1fr; gap: 54px; align-items: start; }
.about-text { border-left: 1px solid var(--line); padding-left: 34px; }
.evidence-grid {
  display: grid;
  grid-template-columns: 1.1fr .75fr .75fr;
  grid-template-rows: 240px 240px;
  gap: 18px;
  margin-top: 46px;
}
.evidence-card,
.evidence-photo,
.case-card,
.chapter,
.price-row,
.faq-item,
.contact-form,
.contact-copy {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(58,70,84,.10);
  backdrop-filter: blur(14px);
}
.evidence-card {
  padding: 28px;
  border-radius: var(--radius);
}
.evidence-card-large { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: #fffaf1; }
.evidence-card span,
.case-card span,
.chapter span,
.price-name span {
  color: var(--clay);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}
.evidence-card h3 { margin: 14px 0 12px; }
.evidence-photo { grid-column: span 2; border-radius: var(--radius); overflow: hidden; }
.evidence-photo img { width: 100%; height: 100%; object-fit: cover; }
.dossier-cases {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.case-card {
  grid-column: span 2;
  border-radius: 10px 34px 24px 24px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.case-card-feature { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; }
.case-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.case-card img { width: 100%; height: 230px; object-fit: cover; transition: transform .45s ease; }
.case-card-feature img { height: 100%; min-height: 360px; }
.case-card:hover img { transform: scale(1.06); }
.case-card div { padding: 24px; }
.case-card h3 { margin: 14px 0 12px; }
.lead { max-width: 52ch; }
.chapter-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.chapter-line::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 40px;
  height: 1px;
  background: var(--line);
}
.chapter {
  position: relative;
  padding: 28px;
  border-radius: 28px;
}
.chapter::before {
  content: "";
  display: block;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--clay);
  border: 6px solid #fffaf1;
  margin-bottom: 26px;
  box-shadow: 0 0 0 1px var(--line);
}
.chapter h3 { margin: 10px 0 12px; }
.pricing-ledger {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}
.price-row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .45fr .35fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-row:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.price-row-accent { background: rgba(62,95,131,.10); }
.price-name { display: flex; align-items: center; gap: 18px; }
.price-name span { width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.price-row strong { font-family: 'Prata', serif; font-size: 1.6rem; white-space: nowrap; font-weight: 400; }
.price-row a { justify-self: end; color: var(--blue); font-weight: 900; }
.faq .split { align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border-radius: 22px; overflow: hidden; }
.faq-question {
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}
.faq-question i { width: 20px; height: 20px; position: relative; flex: 0 0 auto; }
.faq-question i::before,
.faq-question i::after {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 20px; height: 2px;
  background: var(--clay);
  transition: transform .25s ease, opacity .25s ease;
}
.faq-question i::after { transform: rotate(90deg); }
.faq-item.active .faq-question i::after { opacity: 0; transform: rotate(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 24px; }
.faq-item.active .faq-answer { max-height: 170px; padding: 0 24px 22px; }
.contact {
  padding-bottom: 70px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 22px;
  align-items: stretch;
}
.contact-copy {
  padding: 42px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(32,50,68,.09), rgba(255,250,241,.74)),
    url("assets/img/photo-1519389950473-47ba0277781c-e6761445.jpg") center/cover;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.contact-copy p { max-width: 58ch; margin-top: 18px; color: #44525e; }
.contact-hints { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact-hints span {
  padding: 10px 13px;
  border: 1px solid rgba(255,250,241,.7);
  border-radius: 999px;
  background: rgba(255,250,241,.72);
  font-size: .92rem;
  font-weight: 700;
}
.contact-form {
  padding: 30px;
  border-radius: 34px;
  display: grid;
  gap: 16px;
  background: rgba(255,250,241,.88);
}
.contact-form label { display: grid; gap: 8px; font-weight: 800; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  color: var(--ink);
  border-radius: 18px;
  padding: 15px 17px;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(62,95,131,.42); box-shadow: 0 0 0 4px rgba(62,95,131,.10); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-message { min-height: 22px; font-weight: 800; font-size: .95rem; }
.form-message.success { color: #267550; }
.form-message.error { color: #b34242; }
small { color: var(--muted); line-height: 1.5; }
.footer { padding: 30px 0 42px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: flex-end; color: var(--muted); font-size: .92rem; }
.footer-links a { color: var(--blue); font-weight: 800; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  h1 { max-width: 13ch; }
  .dossier-board { max-width: 620px; margin: 0 auto; }
  .evidence-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .evidence-card-large { grid-row: auto; }
  .dossier-cases { grid-template-columns: repeat(2, 1fr); }
  .case-card, .case-card-feature { grid-column: span 1; display: block; }
  .case-card-feature img { height: 230px; min-height: 0; }
  .chapter-line { grid-template-columns: repeat(2, 1fr); }
  .chapter-line::before { display: none; }
  .price-row { grid-template-columns: 1fr; }
  .price-row a { justify-self: start; }
}
@media (max-width: 860px) {
  .phone { display: none; }
  .burger { display: flex; margin-left: auto; }
  .nav {
    position: absolute;
    left: 16px; right: 16px; top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,250,241,.96);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .section { padding: 86px 0; }
  .hero { padding-top: 62px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .dossier-note ul { grid-template-columns: 1fr; }
  .about-text { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .logo-copy { display: none; }
  h1 { font-size: clamp(2.45rem, 15vw, 4rem); }
  h2 { max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .dossier-cases, .chapter-line, .evidence-grid { grid-template-columns: 1fr; }
  .evidence-photo { grid-column: auto; min-height: 260px; }
  .evidence-photo img { min-height: 260px; }
  .contact-copy, .contact-form { padding: 24px; border-radius: 26px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
}
