:root {
  --bg: #18231f;
  --bg-soft: #24342d;
  --cream: #f8f0df;
  --cream-2: #ede0c7;
  --text: #17201c;
  --muted: #746b60;
  --accent: #d8845c;
  --accent-dark: #b66342;
  --line: rgba(248, 240, 223, 0.18);
  --glass: rgba(24, 35, 31, 0.62);
  --shadow: 0 24px 70px rgba(24, 35, 31, 0.26);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

body::selection {
  background: var(--accent);
  color: #fff;
}

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(248, 240, 223, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(24, 35, 31, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--bg);
  font-family: "Playfair Display", serif;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.82);
}

.main-nav a,
.header-phone {
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.header-phone:hover {
  color: var(--cream-2);
  transform: translateY(-1px);
}

.header-phone {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(248, 240, 223, 0.14);
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 80px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(24, 35, 31, 0.92), rgba(24, 35, 31, 0.58), rgba(24, 35, 31, 0.2)),
    url("assets/img/photo-1516734212186-a967f81ad0d7-2fa99ba6.jpg") center/cover;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -20% 42%;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 132, 92, 0.35), transparent 65%);
  filter: blur(20px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.03;
}

h1, h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 850px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.3rem);
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  color: rgba(255,255,255,0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: 800 0.95rem/1 "Raleway", sans-serif;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 36px rgba(216, 132, 92, 0.34);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.btn-card {
  width: max-content;
  color: var(--bg);
  background: var(--cream-2);
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 74px;
  z-index: 3;
  width: min(300px, calc(100% - 48px));
  padding: 26px;
  border: 1px solid rgba(248, 240, 223, 0.22);
  border-radius: 28px;
  background: rgba(248, 240, 223, 0.11);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.hero-card span {
  color: rgba(255,255,255,0.7);
  font-weight: 700;
}

.hero-card strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 3.4rem;
  font-family: "Playfair Display", serif;
}

.hero-card p { margin: 0; color: rgba(255,255,255,0.78); }

.pain-panel {
  width: min(1180px, calc(100% - 32px));
  margin: -52px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(24, 35, 31, 0.13);
  box-shadow: var(--shadow);
}

.pain-panel div {
  padding: 28px;
  background: #fff8ea;
}

.pain-panel span {
  display: block;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 12px;
}

.pain-panel strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pain-panel p {
  margin: 0;
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 54px;
  align-items: center;
}

.about-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 24px 0 0;
}

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

.stats div {
  padding: 22px;
  border-radius: 24px;
  background: #fff8ea;
  box-shadow: 0 14px 35px rgba(24, 35, 31, 0.08);
}

.stats strong {
  display: block;
  color: var(--bg);
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-photo {
  position: relative;
}

.about-photo img {
  height: 540px;
  width: 100%;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.floating-note {
  position: absolute;
  left: -34px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 248, 234, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(24,35,31,0.18);
  font-weight: 700;
}

.floating-note img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
}

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

.case-card,
.step,
.price-card {
  border-radius: 30px;
  background: #fff8ea;
  box-shadow: 0 16px 45px rgba(24, 35, 31, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover,
.step:hover,
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(24, 35, 31, 0.15);
}

.case-card {
  overflow: hidden;
}

.case-image {
  overflow: hidden;
  height: 230px;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.08);
}

.case-card h3,
.case-card p {
  padding: 0 24px;
}

.case-card h3 { margin-top: 22px; }

.case-card p {
  margin: 12px 0 26px;
  color: var(--muted);
}

.process {
  color: #fff;
  width: 100%;
  max-width: none;
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 75% 15%, rgba(216,132,92,0.22), transparent 34%),
    var(--bg);
}

.process .section-head {
  width: min(1180px, 100%);
}

.process h2 {
  max-width: 900px;
}

.steps {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 28px;
  color: #fff;
  background: rgba(248, 240, 223, 0.08);
  border: 1px solid var(--line);
  box-shadow: none;
}

.step span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.step p {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.72);
}

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

.price-card {
  padding: 32px;
}

.price-card p:not(.tag) {
  color: var(--muted);
}

.price-card strong {
  display: block;
  margin: 30px 0 22px;
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  color: var(--bg);
}

.price-card.featured {
  color: #fff;
  background: linear-gradient(145deg, var(--bg), var(--bg-soft));
}

.price-card.featured p:not(.tag) {
  color: rgba(255,255,255,0.72);
}

.price-card.featured strong {
  color: #fff;
}

.faq {
  padding-top: 20px;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: #fff8ea;
  box-shadow: var(--shadow);
}

.faq-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border: 0;
  border-bottom: 1px solid rgba(24,35,31,0.1);
  background: transparent;
  color: var(--text);
  text-align: left;
  font: 800 1.05rem/1.3 "Raleway", sans-serif;
  cursor: pointer;
}

.faq-item i {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}

.faq-item i::before,
.faq-item i::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: #fff;
}

.faq-item i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item.active i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  background: rgba(216,132,92,0.06);
}

.faq-content p {
  margin: 0;
  padding: 0 28px 24px;
  color: var(--muted);
}

.contact {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 110px 24px;
  color: #fff;
  background:
    linear-gradient(rgba(24,35,31,0.78), rgba(24,35,31,0.8)),
    url("assets/img/photo-1601758174114-e711c0cbaa69-25baa539.jpg") center/cover;
}

.contact-inner {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 46px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 38px;
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 90px rgba(0,0,0,0.25);
}

.contact p {
  color: rgba(255,255,255,0.78);
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.78);
  font-weight: 700;
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  outline: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font: 600 1rem/1.4 "Raleway", sans-serif;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

input:focus,
textarea:focus {
  border-color: rgba(216,132,92,0.9);
  box-shadow: 0 0 0 4px rgba(216,132,92,0.18);
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  color: rgba(255,255,255,0.78);
  background: #111916;
}

.site-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--cream-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero { padding-top: 130px; }
  .hero-card { position: relative; right: auto; bottom: auto; margin-top: 40px; }
  .pain-panel, .about-grid, .section-head, .contact-inner { grid-template-columns: 1fr; }
  .case-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .floating-note { left: 20px; }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 22px;
    align-items: flex-start;
  }

  .header-phone {
    font-size: 0.86rem;
    padding: 9px 10px;
  }

  .logo span:last-child { display: none; }

  h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }

  .hero {
    min-height: auto;
    padding-bottom: 52px;
  }

  .hero-actions { flex-direction: column; }

  .btn { width: 100%; }

  .pain-panel,
  .case-grid,
  .price-grid,
  .steps,
  .stats {
    grid-template-columns: 1fr;
  }

  .section { padding: 72px 0; }

  .about-photo img { height: 380px; }

  .floating-note {
    position: static;
    margin-top: 16px;
    max-width: none;
  }

  .contact-inner { padding: 22px; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
