:root {
  --cream: #f5f0e7;
  --paper: #fffdf8;
  --ink: #292622;
  --muted: #625e57;
  --wine: #6b2335;
  --wine-dark: #511827;
  --olive: #788153;
  --line: #d8cebf;
  --soft-olive: #e8eadf;
  --shadow: 0 18px 50px rgba(62, 45, 34, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(120, 129, 83, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--wine);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1344px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 231, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand-symbol {
  color: var(--olive);
  font-size: 25px;
}

nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav a,
.header-phone {
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

nav a:hover,
.header-phone:hover {
  color: var(--wine);
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.phone-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--wine);
  border-radius: 10px;
  color: var(--wine);
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.phone-button:hover,
.secondary-button:hover {
  background: var(--wine);
  color: var(--paper);
  transform: translateY(-1px);
}

.hero {
  padding: 42px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  animation: rise 450ms ease both;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--olive);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--wine);
  font-weight: 600;
}

h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.22;
}

p {
  margin-top: 0;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 26px;
  color: #38342f;
  font-size: 20px;
  line-height: 1.58;
}

.hero-offer {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-offer p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.hero-offer p span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-offer strong {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.1;
}

.primary-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 0;
  border-radius: 10px;
  background: var(--wine);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(107, 35, 53, 0.16);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  background: var(--wine-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(107, 35, 53, 0.22);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.hero-note {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e8dfd1;
  box-shadow: var(--shadow);
  animation: rise 600ms 80ms ease both;
}

.hero-figure img {
  width: 100%;
  min-height: 600px;
  display: block;
  object-fit: cover;
  object-position: 58% 50%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts p {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 22px 26px;
  font-weight: 700;
}

.hero-facts p + p {
  border-left: 1px solid var(--line);
}

.mark {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--olive);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading > p:last-child,
.situation-grid > div > p:last-child,
.example-grid > div > p:last-child {
  color: var(--muted);
  font-size: 19px;
}

.result-section {
  background: var(--paper);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.result-grid article {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffcf7;
}

.result-grid article > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--soft-olive);
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.result-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.situation-section {
  background: var(--wine);
  color: var(--paper);
}

.situation-section h2,
.situation-section .eyebrow {
  color: var(--paper);
}

.situation-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 76px;
}

.situation-list {
  counter-reset: points;
}

.situation-list p {
  position: relative;
  margin: 0;
  padding: 24px 0 24px 72px;
  border-top: 1px solid rgba(255, 253, 248, 0.28);
  font-size: 20px;
}

.situation-list p::before {
  counter-increment: points;
  content: "0" counter(points);
  position: absolute;
  left: 0;
  top: 22px;
  color: #d9c8a8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.handoff-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
}

.handoff-cards {
  display: grid;
  gap: 16px;
}

.handoff-cards article {
  padding: 28px 30px;
  border-left: 5px solid var(--olive);
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(62, 45, 34, 0.06);
}

.handoff-cards p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.offer-section {
  background: var(--paper);
}

.offer-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
}

.offer-main,
.offer-details {
  padding: 48px;
}

.offer-main {
  background: var(--soft-olive);
}

.offer-main h2 {
  font-size: 44px;
}

.offer-price {
  margin: 20px 0 6px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 66px;
  line-height: 1;
}

.offer-main > p:not(.eyebrow):not(.offer-price) {
  color: var(--muted);
}

.offer-details {
  columns: 2;
  column-gap: 46px;
}

.offer-details h3,
.offer-details p,
.offer-details ul {
  break-inside: avoid;
}

.offer-details ul {
  margin: 0 0 32px;
  padding-left: 22px;
}

.offer-details li {
  margin-bottom: 8px;
}

.offer-details p {
  color: var(--muted);
}

.process-section {
  background: #efe8dc;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.process-list li {
  min-height: 330px;
  padding: 26px 22px;
  border-top: 4px solid var(--wine);
  background: var(--paper);
}

.process-list li > span {
  display: block;
  margin-bottom: 64px;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.example-section {
  background: var(--paper);
}

.example-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.folder-tree {
  padding: 42px;
  border-radius: 18px;
  background: var(--wine);
  color: var(--paper);
  box-shadow: var(--shadow);
  font-family: "Courier New", Courier, monospace;
  font-size: 18px;
}

.folder-tree p {
  margin-bottom: 8px;
}

.community-section {
  padding-top: 0;
  background: var(--paper);
}

.community-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 42px 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
}

.community-card h2 {
  margin-bottom: 12px;
  font-size: 42px;
}

.community-card p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.community-card .secondary-button {
  min-width: 220px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 74px;
}

.faq-grid > div:first-child {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-grid > div:first-child > p:last-child {
  color: var(--muted);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  cursor: pointer;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 18px;
  color: var(--olive);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  padding: 0 48px 22px 0;
  color: var(--muted);
}

.request-section {
  background: var(--wine);
  color: var(--paper);
}

.request-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: start;
  gap: 76px;
}

.request-copy {
  position: sticky;
  top: 120px;
}

.request-copy h2,
.request-copy .eyebrow {
  color: var(--paper);
}

.request-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 38px;
}

.request-contact span {
  margin-bottom: 8px;
  color: #d9c8c2;
  font-size: 14px;
}

.request-contact a {
  margin-bottom: 6px;
  color: var(--paper);
  font-size: 24px;
  font-weight: 800;
}

.request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 38px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
}

.request-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
}

.request-form label > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.request-form input:not([type="checkbox"]),
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid #bfb6aa;
  border-radius: 9px;
  background: white;
  color: var(--ink);
}

.request-form input:not([type="checkbox"]),
.request-form select {
  min-height: 54px;
  padding: 0 14px;
}

.request-form textarea {
  min-height: 122px;
  padding: 12px 14px;
  resize: vertical;
}

.request-form label:nth-of-type(4),
.consent-row,
.submit-button,
.form-status {
  grid-column: 1 / -1;
}

.consent-row {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px !important;
  font-weight: 400 !important;
}

.consent-row input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--wine);
}

.consent-row span {
  font-size: 14px !important;
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: -6px 0 0;
  color: var(--olive);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 70px 0 22px;
  background: #231f1b;
  color: #ece6de;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
  gap: 44px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  color: #f1d8de;
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: #d9c8a8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  margin-bottom: 7px;
  color: #ece6de;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #a9a29a;
  font-size: 13px;
}

.cookie-note {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: min(520px, calc(100% - 44px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 18px 54px rgba(41, 38, 34, 0.2);
}

.cookie-note[hidden] {
  display: none;
}

.cookie-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-note button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--olive);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.legal-page,
.result-page {
  min-height: 100vh;
  padding: 72px 0;
  background: var(--paper);
}

.legal-wrap,
.result-wrap {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-kicker {
  color: var(--olive);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-page h1,
.result-page h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.legal-page h2 {
  margin-top: 44px;
  font-size: 32px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-back,
.result-back {
  display: inline-flex;
  margin-top: 34px;
  color: var(--wine);
  font-weight: 800;
}

.result-wrap {
  min-height: calc(100vh - 144px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.result-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--soft-olive);
  color: var(--olive);
  font-size: 38px;
}

.result-page p {
  max-width: 650px;
  font-size: 20px;
}

.result-phone {
  margin-top: 18px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 1fr 1fr;
  }

  nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hero-figure img {
    min-height: 560px;
  }

  .result-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .shell {
    width: min(100% - 32px, 1344px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 78px;
    grid-template-columns: 1fr auto;
  }

  .brand {
    font-size: 24px;
  }

  .header-phone {
    display: none;
  }

  .phone-button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    padding-top: 28px;
  }

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

  .hero-copy {
    order: 1;
  }

  .hero-figure {
    order: 2;
  }

  h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-offer {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .hero-offer .primary-button {
    width: 100%;
  }

  .hero-figure img {
    min-height: 360px;
    aspect-ratio: 1.15 / 1;
  }

  .hero-facts,
  .result-grid,
  .situation-grid,
  .handoff-grid,
  .offer-card,
  .example-grid,
  .faq-grid,
  .request-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts p + p {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-facts p {
    padding: 16px 4px;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .result-grid article {
    min-height: 0;
  }

  .situation-grid,
  .handoff-grid,
  .example-grid,
  .faq-grid,
  .request-grid {
    gap: 38px;
  }

  .offer-main,
  .offer-details {
    padding: 30px 24px;
  }

  .offer-main h2 {
    font-size: 38px;
  }

  .offer-price {
    font-size: 56px;
  }

  .offer-details {
    columns: 1;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 0;
  }

  .process-list li > span {
    margin-bottom: 24px;
  }

  .community-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }

  .community-card h2 {
    font-size: 36px;
  }

  .faq-grid > div:first-child,
  .request-copy {
    position: static;
  }

  .request-form {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .request-form label,
  .request-form label:nth-of-type(4),
  .consent-row,
  .submit-button,
  .form-status {
    grid-column: 1;
  }

  .request-contact a {
    font-size: 20px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .cookie-note {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-note button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
