/* ====== RESET & TOKENS ====== */
:root {
  --bg: #fffaf5;
  --bg-alt: #fdf1e6;
  --bg-dark: #1c1410;
  --ink: #2a1e18;
  --ink-soft: #5c4b41;
  --ink-muted: #8a7868;
  --line: #ebddd0;
  --accent: #c97b5b;
  --accent-2: #e0a47e;
  --accent-deep: #8a4a31;
  --gold: #d4a574;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(42, 30, 24, 0.06);
  --shadow: 0 12px 32px rgba(42, 30, 24, 0.1);
  --shadow-lg: 0 24px 64px rgba(42, 30, 24, 0.14);
  --radius: 16px;
  --radius-lg: 28px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.accent { color: var(--accent); font-style: italic; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent-2); }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 20px;
}

/* ====== NAV ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
@media (max-width: 820px) {
  .nav {
    /* in-app browsers (Telegram, Claude, Threads) report safe-area=0 but
       still overlay status bar. Force minimum 44px space on mobile.
       Keep sticky so header doesn't disappear on scroll. */
    padding-top: max(env(safe-area-inset-top), 44px);
  }
}
.nav__wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.nav__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  color: #fff;
  font-style: italic;
  font-size: 1.3rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
}
.nav__links a {
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--accent); }
.nav__cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  transition: transform .2s ease, background .2s ease;
}
.nav__cta:hover { background: var(--accent); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 820px) {
  .nav {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* burger visible, links hidden by default on mobile */
  .nav__toggle { display: flex !important; }
  .nav__links { display: none !important; }
  /* when menu is open, links drop down as a column block under nav */
  body.menu-open .nav__links {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 99;
  }
  body.menu-open .nav__links a {
    padding: 12px 0;
    font-size: 1.05rem;
  }
  body.menu-open .nav__links a.nav__cta {
    margin-top: 8px;
    text-align: center;
    padding: 12px 20px;
  }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: clamp(60px, 10vh, 120px) 0 clamp(80px, 12vh, 140px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(224, 164, 126, 0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(201, 123, 91, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  z-index: -1;
}
.hero__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--accent-deep);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero__title {
  margin-bottom: 28px;
  line-height: 1.05;
}
.hero__lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta div {
  display: flex;
  flex-direction: column;
}
.hero__meta strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__meta span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.hero__photo {
  position: relative;
  display: flex;
  justify-content: center;
}
.photo-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--gold) 100%);
  box-shadow: var(--shadow-lg);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame--large { width: 100%; max-width: 500px; }
.photo-frame__label {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
}
.photo-frame--placeholder .photo-frame__label { display: flex; }

.hero__badge {
  position: absolute;
  bottom: 24px;
  left: 0;
  transform: translateX(-20%);
  background: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
}
.hero__badge svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

@media (max-width: 860px) {
  .hero__container { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { order: -1; }
  .photo-frame { width: min(100%, 340px); }
  .hero__badge { transform: translateX(0); left: auto; right: 10%; }
  .hero__meta { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .hero__meta strong { font-size: 1.6rem; }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 123, 91, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 123, 91, 0.45); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: #fff; border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ====== QUOTE ====== */
.quote {
  padding: 80px 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 16px;
}
.quote blockquote em { color: var(--accent); font-weight: 500; }
.quote cite {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ====== SECTIONS ====== */
.section {
  padding: clamp(70px, 10vh, 120px) 0;
}
.section--light {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--bg-dark);
  color: #fdf1e6;
}
.section--dark h2, .section--dark h3 { color: #fdf1e6; }
.section--dark .eyebrow { color: var(--gold); }

.section__head {
  max-width: 720px;
  margin-bottom: 60px;
}
.section__head--center {
  margin: 0 auto 60px;
  text-align: center;
}

/* ====== GRID & CARDS ====== */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 12px; color: var(--ink); }
.card p { color: var(--ink-soft); }

/* ====== SPLIT ====== */
.container--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.split__text p + p { margin-top: 16px; }
.credentials {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.credentials li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
}
.credentials span {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  margin-top: 4px;
}
@media (max-width: 860px) {
  .container--split { grid-template-columns: 1fr; gap: 32px; }
}

/* ====== PAINS ====== */
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain {
  background: rgba(253, 241, 230, 0.06);
  border: 1px solid rgba(253, 241, 230, 0.12);
  border-radius: var(--radius);
  padding: 28px 28px;
  transition: background .25s ease, border-color .25s ease;
}
.pain:hover {
  background: rgba(253, 241, 230, 0.1);
  border-color: var(--accent);
}
.pain p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
  font-style: italic;
  color: #f5e1d0;
}
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }

/* ====== BENEFITS ====== */
.benefit {
  padding: 32px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}
.benefit__num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 500;
  line-height: 1;
}
.benefit h3 { margin-bottom: 8px; }
.benefit p { color: var(--ink-soft); }

/* ====== STEPS ====== */
.steps {
  list-style: none;
  display: grid;
  gap: 28px;
  counter-reset: steps;
  max-width: 780px;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.steps__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-soft); }

/* ====== REVIEWS ====== */
.review {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
}
.review::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 24px;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.25;
}
.review p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 18px;
}
.review cite {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-style: normal;
  letter-spacing: 0.05em;
}
.reviews__note {
  margin-top: 40px;
  text-align: center;
  color: var(--ink-soft);
}
.reviews__note a { color: var(--accent); font-weight: 500; border-bottom: 1px solid currentColor; }

/* ====== BOOKING ====== */
.booking { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.booking__card {
  background: var(--bg-dark);
  color: #fdf1e6;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.booking__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(224, 164, 126, 0.25) 0%, transparent 55%),
              radial-gradient(ellipse at 100% 100%, rgba(212, 165, 116, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.booking__card > * { position: relative; }
.booking__card h2 { color: #fff; margin-bottom: 16px; }
.booking__lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #f5e1d0;
  margin-bottom: 36px;
  line-height: 1.5;
}
.booking__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.booking__card .btn--ghost {
  border-color: rgba(253, 241, 230, 0.3);
  color: #fdf1e6;
}
.booking__card .btn--ghost:hover {
  background: rgba(253, 241, 230, 0.1);
  border-color: var(--accent-2);
  color: #fff;
}
.booking__small {
  font-size: 0.9rem;
  color: rgba(245, 225, 208, 0.7);
  max-width: 520px;
  margin: 0 auto;
}

/* ====== CONTACTS ====== */
.contacts {
  background: var(--bg-alt);
}
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contacts__list {
  list-style: none;
  display: grid;
  gap: 16px;
}
.contacts__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.contacts__list span {
  color: var(--ink-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contacts__list a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px dashed transparent;
  transition: border-color .2s ease, color .2s ease;
}
.contacts__list a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) { .contacts__grid { grid-template-columns: 1fr; } }

/* ====== FOOTER ====== */
.footer {
  background: var(--bg-dark);
  color: #8a7868;
  padding: 32px 0;
  font-size: 0.9rem;
}
.footer__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__note { color: var(--accent-2); }

/* ====== REVEAL ANIMATION ====== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
