@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Outfit:wght@300;400;500;600&display=swap");

:root {
  --bg: #1a100c;
  --bg-deep: #120b08;
  --coffee: #2a1a12;
  --gray: #3a3530;
  --gray-soft: #4a4540;
  --text: #f7f1e8;
  --muted: #c9b8a4;
  --gold: #e8c44a;
  --gold-deep: #c9a227;
  --line: rgba(232, 196, 74, 0.28);
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.45), 0 6px 14px rgba(232, 196, 74, 0.16);
  --radius: 18px;
  --header-h: 78px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: #f3d86a;
}

h1,
h2,
h3,
.banner-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.55rem;
  margin: 0 0 0.7rem;
}

p {
  margin: 0 0 1rem;
}

.prose p::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.05em;
  font-weight: 700;
  float: left;
  line-height: 0.78;
  padding: 0.08em 0.12em 0 0;
  color: var(--gold);
}

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

.section {
  padding: 88px 0;
}

.section-gray {
  background: var(--gray);
}

.section-coffee {
  background: var(--coffee);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 72ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 11, 8, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 22px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}

.logo-square img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--gold);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.header-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
}

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

.nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-meta p,
.header-meta a {
  margin: 0;
  color: var(--text);
  font-size: 0.86rem;
  white-space: nowrap;
}

.header-meta a {
  color: var(--gold);
}

.banner {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 11, 8, 0.15), rgba(18, 11, 8, 0.78));
}

.banner-title {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 64px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1a100c;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: #f3d86a;
  color: #1a100c;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
}

.btn-ghost:hover {
  background: var(--gold);
  color: #1a100c;
}

.strengths-intro,
.block-intro {
  margin-bottom: 42px;
}

.strengths-row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.strength-card {
  flex: 1;
  padding: 28px 24px 32px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #2c1a12, #22140e) padding-box,
    linear-gradient(140deg, #f3d86a, #8a6114, #e8c44a 70%, #5a3d12) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
}

.strength-card:nth-child(1) {
  margin-top: 36px;
}

.strength-card:nth-child(2) {
  margin-top: 0;
}

.strength-card:nth-child(3) {
  margin-top: 52px;
}

.strength-card:nth-child(4) {
  margin-top: 18px;
}

.strength-card h3 {
  color: var(--gold);
}

.offer-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card,
.service-card {
  background: var(--coffee);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.offer-card img,
.service-card img,
.ratio-1 {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.offer-card .card-body,
.service-card .card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.offer-card .btn,
.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.price {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.stat {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.form-card {
  background: var(--coffee);
  border: 1px solid var(--gold);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field-full .btn {
  margin-top: 2px;
  align-self: flex-start;
}

label {
  font-size: 0.92rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #1a100c;
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-ok,
.form-err {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
}

.form-ok {
  background: #2c3a22;
  border: 1px solid #8fbf63;
  color: #e8f5d8;
}

.form-err {
  background: #3a2220;
  border: 1px solid #d27a6e;
  color: #f7d8d4;
}

.form-card.is-ok .form-ok,
.form-card.is-err .form-err {
  display: block;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--coffee);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gold);
}

details p {
  margin-top: 12px;
  color: var(--muted);
}

.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.about-photos {
  display: grid;
  gap: 18px;
}

.about-photos img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.sticks {
  display: grid;
  gap: 22px;
}

.stick {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.stick-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-weight: 600;
}

.stick-track {
  height: 10px;
  background: #2f2822;
  border-radius: 999px;
  overflow: hidden;
}

.stick-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: inherit;
}

.timeline {
  position: relative;
  margin-left: 18px;
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 196, 74, 0.2);
}

.timeline-item strong {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
}

.advantages-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: adv;
}

.advantages-list li {
  background: var(--coffee);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 18px 58px;
  position: relative;
}

.advantages-list li::before {
  counter-increment: adv;
  content: counter(adv);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a100c;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 32px 0;
}

.bonus-item {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.bonus-item svg {
  width: 42px;
  height: 42px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  margin: 0 auto 12px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

.contact-box {
  background: var(--coffee);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.contact-box p {
  color: var(--muted);
}

.legal {
  padding: 72px 0 96px;
}

.legal h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.legal h2 {
  font-size: 1.7rem;
  margin-top: 32px;
}

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: var(--text);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-meta p,
.footer-meta a {
  margin: 0 0 8px;
  color: var(--text);
}

.footer-meta a {
  color: var(--gold);
}

.footer-legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-legal p {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

@media (max-width: 1280px) {
  .burger {
    display: flex;
  }

  .header-panel {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(420px, 100%);
    height: calc(100vh - var(--header-h));
    background: #160f0b;
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px 40px;
    transform: translateX(110%);
    transition: transform 0.28s ease;
    overflow: auto;
    white-space: normal;
  }

  .nav-toggle:checked ~ .header-panel {
    transform: translateX(0);
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-meta {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .strengths-row,
  .offer-grid,
  .service-grid,
  .stats-grid,
  .about-split,
  .contact-layout,
  .footer-grid,
  .bonus-grid,
  .advantages-list,
  .form-grid {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .strengths-row {
    align-items: stretch;
  }

  .strength-card:nth-child(n) {
    margin-top: 0;
  }
}

@media (max-width: 740px) {
  .section {
    padding: 64px 0;
  }

  .banner {
    min-height: 46vh;
  }

  .offer-grid,
  .service-grid,
  .stats-grid,
  .about-split,
  .contact-layout,
  .footer-grid,
  .bonus-grid,
  .advantages-list,
  .form-grid,
  .strengths-row {
    grid-template-columns: 1fr;
  }

  .header-inner {
    width: calc(100% - 24px);
  }
}
