/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1a2332;
  background: #f6f9f7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

/* ============ BACKGROUND BLOBS ============ */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(min(80px, 15vw));
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.bg-blob-1 { width: min(500px, 80vw); height: min(500px, 80vw); background: #b8e6c8; top: -200px; left: -150px; }
.bg-blob-2 { width: min(450px, 60vw); height: min(450px, 60vw); background: #ffd9a8; top: 30%; right: max(-200px, -20vw); }
.bg-blob-3 { width: min(400px, 65vw); height: min(400px, 65vw); background: #c8e0ff; bottom: -150px; left: 20%; }

/* ============ LAYOUT ============ */
.app {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ============ HERO ============ */
.hero {
  text-align: center;
  padding: 40px 20px 28px;
  position: relative;
  z-index: 1;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  padding: 8px 18px 8px 8px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(40, 80, 60, 0.06);
  margin-bottom: 28px;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6bd49c, #ffb87a);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.brand-text strong { font-size: 16px; font-weight: 800; color: #1a2332; }
.brand-text span { font-size: 11px; color: #6b7a85; font-weight: 500; }

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: #0f1a26;
}
.accent {
  background: linear-gradient(135deg, #2ec27e, #ff9b54);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subtitle {
  font-size: 17px;
  color: #4a5867;
  max-width: 620px;
  margin: 0 auto 22px;
}
.trust {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: 13px;
  color: #4a5867;
  font-weight: 500;
}
.trust span { display: inline-flex; align-items: center; gap: 4px; }

/* ============ CARD ============ */
.card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(40, 80, 60, 0.08), 0 2px 4px rgba(40,80,60,0.04);
  position: relative;
  z-index: 1;
}

/* ============ PROGRESS ============ */
.progress-wrap { margin-bottom: 28px; }
.progress {
  height: 6px;
  background: #e6efe9;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 14px;
}
.progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #2ec27e, #ff9b54);
  border-radius: 50px;
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.step-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8895a3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.step-labels .active { color: #1a2332; }

/* ============ STEPS ============ */
.step { display: none; animation: fadeIn 0.3s ease; }
.step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.step h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.step-hint {
  color: #6b7a85;
  margin: 0 0 24px;
  font-size: 15px;
}
.step-hint em { color: #4a5867; font-style: normal; font-weight: 600; }

/* ============ FORM FIELDS ============ */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2a3744;
}
.unit { color: #8895a3; font-weight: 500; font-size: 12px; margin-left: 4px; }
.opt { color: #8895a3; font-weight: 500; font-size: 12px; }
.hint { font-size: 12px; color: #8895a3; margin-top: 4px; }

.field input[type=number], .field input[type=email] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid #e1e8e3;
  border-radius: 14px;
  background: #fff;
  color: #1a2332;
  transition: all 0.2s;
  outline: none;
}
.field input:focus {
  border-color: #2ec27e;
  box-shadow: 0 0 0 4px rgba(46, 194, 126, 0.12);
}
.field input::placeholder { color: #8895a3; font-weight: 400; font-style: italic; opacity: 1; -webkit-text-fill-color: #8895a3; }

/* autofill fix */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-internal-autofill,
.field input:-internal-autofill:hover,
.field input:-internal-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: #1a2332 !important;
  caret-color: #1a2332;
  transition: background-color 5000s ease-in-out 0s;
}

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

/* ============ SLIDER ============ */
.slider-wrap { margin-top: 10px; }
input[type=range] {
  width: 100%;
  height: 6px;
  background: #e6efe9;
  border-radius: 50px;
  outline: none;
  -webkit-appearance: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #2ec27e, #ff9b54);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(46, 194, 126, 0.4);
  border: 3px solid #fff;
}
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #2ec27e, #ff9b54);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(46, 194, 126, 0.4);
}

/* ============ SEGMENTED CONTROL ============ */
.seg {
  display: flex;
  flex-wrap: wrap;
  background: #eef3f0;
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
}
.seg-wide { gap: 6px; }
.seg-btn {
  flex: 1;
  min-width: 80px;
  padding: 12px 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7a85;
  border-radius: 10px;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
}
.seg-btn:hover { color: #1a2332; }
.seg-btn.active {
  background: #fff;
  color: #1a2332;
  box-shadow: 0 4px 12px rgba(40, 80, 60, 0.08);
}

/* ============ ACTIVITY LIST ============ */
.activity-list { display: flex; flex-direction: column; gap: 8px; }
.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-height: 48px;
  border: 1.5px solid #e1e8e3;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}
.activity-item:hover { border-color: #c2d9cb; }
.activity-item input[type=radio] {
  width: 18px; height: 18px;
  accent-color: #2ec27e;
  cursor: pointer;
}
.activity-item:has(input:checked) {
  border-color: #2ec27e;
  background: #f3faf6;
  box-shadow: 0 0 0 4px rgba(46, 194, 126, 0.08);
}
.activity-body { flex: 1; display: flex; flex-direction: column; }
.activity-body strong { font-size: 15px; color: #1a2332; font-weight: 700; }
.activity-body span { font-size: 12px; color: #6b7a85; }
.activity-x {
  font-size: 13px;
  font-weight: 700;
  color: #2ec27e;
  background: rgba(46, 194, 126, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ============ BUTTONS ============ */
.actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  padding: 14px 24px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn.primary {
  background: linear-gradient(135deg, #2ec27e, #25a86c);
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 194, 126, 0.3);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(46, 194, 126, 0.4); }
.btn.primary:active { transform: translateY(0); }
.btn.ghost {
  background: #fff;
  color: #4a5867;
  border: 1.5px solid #e1e8e3;
}
.btn.ghost:hover { background: #f6f9f7; border-color: #c2d9cb; }
.btn.big { padding: 16px 32px; font-size: 16px; }
.btn.small { padding: 10px 16px; font-size: 13px; }

/* ============ RESULTS ============ */
.results { margin-top: 24px; }
.results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 4px;
}
.results-head h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(40, 80, 60, 0.06);
  transition: transform 0.2s;
}
.metric-card:hover { transform: translateY(-2px); }
.metric-card.big { grid-column: span 2; }
.metric-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7a85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.metric-value {
  font-size: 38px;
  font-weight: 800;
  color: #0f1a26;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.metric-sub { font-size: 13px; color: #6b7a85; }
.metric-hint { font-size: 11px; color: #8895a3; margin-top: 8px; }

/* big card with range */
.metric-bar {
  position: relative;
  height: 8px;
  background: #eef3f0;
  border-radius: 50px;
  margin: 16px 0 12px;
  overflow: visible;
}
.metric-bar-fill {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, #ff9b54, #2ec27e);
  border-radius: 50px;
  left: 33.33%;
  width: 33.33%;
}
.metric-bar-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  background: #fff;
  border: 3px solid #2ec27e;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(40, 80, 60, 0.2);
}
.metric-range {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  font-size: 12px;
  color: #6b7a85;
}
.metric-range strong {
  display: block;
  font-size: 15px;
  color: #1a2332;
  font-weight: 700;
  margin-top: 2px;
}

/* BMI scale */
.bmi-scale {
  position: relative;
  height: 8px;
  border-radius: 50px;
  display: flex;
  margin-top: 14px;
  overflow: hidden;
}
.bmi-seg {
  flex: 1;
  height: 100%;
}
.bmi-seg[data-cat=under] { background: #6fbfe8; }
.bmi-seg[data-cat=normal] { background: #2ec27e; }
.bmi-seg[data-cat=over] { background: #ffc24a; }
.bmi-seg[data-cat=obese] { background: #ff7a6c; }
.bmi-needle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #0f1a26;
  transition: left 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============ SECTION TITLE ============ */
.section-title {
  font-size: 20px;
  font-weight: 800;
  margin: 32px 0 16px;
  letter-spacing: -0.01em;
  color: #0f1a26;
  padding: 0 4px;
}

/* ============ MACROS ============ */
.macro-card { display: flex; flex-direction: column; }
.macros-chart {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
}
.macros-chart svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: #eef3f0; stroke-width: 22; }
.ring-p {
  fill: none;
  stroke: #2ec27e;
  stroke-width: 22;
  stroke-linecap: round;
  transition: stroke-dasharray 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.ring-f {
  fill: none;
  stroke: #ff9b54;
  stroke-width: 22;
  stroke-linecap: round;
  transition: stroke-dasharray 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.ring-c {
  fill: none;
  stroke: #6fbfe8;
  stroke-width: 22;
  stroke-linecap: round;
  transition: stroke-dasharray 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.macros-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.macros-center-val {
  font-size: 28px;
  font-weight: 800;
  color: #0f1a26;
  letter-spacing: -0.02em;
}
.macros-center-lbl { font-size: 11px; color: #8895a3; text-transform: uppercase; letter-spacing: 0.05em; }

.macros-legend { display: flex; flex-direction: column; gap: 8px; }
.macros-legend > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #2a3744;
}
.macros-legend strong { margin-left: auto; color: #0f1a26; font-weight: 700; }
.dot { width: 12px; height: 12px; border-radius: 4px; }
.dot.protein { background: #2ec27e; }
.dot.fat { background: #ff9b54; }
.dot.carbs { background: #6fbfe8; }

/* ============ WATER CARD ============ */
.water-card { display: flex; flex-direction: column; }
.water-vis {
  margin: 14px 0 8px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 50px;
}
.water-drop {
  flex: 1;
  background: linear-gradient(180deg, #6fbfe8, #4a9bd1);
  border-radius: 4px 4px 2px 2px;
  opacity: 0.7;
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip {
  0%, 100% { transform: scaleY(0.95); }
  50% { transform: scaleY(1); }
}

/* ============ PREMIUM BLOCK ============ */
.premium-block {
  background: linear-gradient(135deg, #1a2332 0%, #2a3744 100%);
  border-radius: 24px;
  padding: min(32px, 6vw);
  color: #fff;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 26, 38, 0.3);
}
.premium-block::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(46, 194, 126, 0.3), transparent 70%);
  pointer-events: none;
}
.premium-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.premium-block h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  position: relative;
}
.premium-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.premium-list li {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.premium-list strong { color: #fff; font-weight: 700; }

.email-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
}
.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
  transition: all 0.2s;
}
.email-form input::placeholder { color: rgba(255,255,255,0.5); }
.email-form input:focus { border-color: #2ec27e; background: rgba(255,255,255,0.12); }
.email-form button { white-space: nowrap; }
.premium-foot {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  position: relative;
}

/* ============ PREMIUM CONTENT ============ */
.premium-content { margin-top: 24px; }
.success-head {
  background: linear-gradient(135deg, #f3faf6, #fff7ed);
  border: 1px solid #c2e8d3;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}
.success-icon {
  width: 56px; height: 56px;
  background: #2ec27e;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin: 0 auto 12px;
  box-shadow: 0 8px 20px rgba(46, 194, 126, 0.3);
}
.success-head h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.success-head p { margin: 0; color: #4a5867; font-size: 14px; }

/* body fat bar */
.bf-bar {
  height: 8px;
  background: linear-gradient(90deg, #6fbfe8 0%, #2ec27e 30%, #ffc24a 70%, #ff7a6c 100%);
  border-radius: 50px;
  margin-top: 12px;
  position: relative;
}
.bf-bar-fill {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 16px;
  background: #0f1a26;
  border-radius: 2px;
  transition: left 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  left: 50%;
}

/* body type cells */
.types-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 14px;
}
.type-cell {
  text-align: center;
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7a85;
  background: #eef3f0;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}
.type-cell.active {
  background: linear-gradient(135deg, #2ec27e, #ff9b54);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(46, 194, 126, 0.3);
}

/* ============ MENU ============ */
.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.meal {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 8px 20px rgba(40, 80, 60, 0.05);
}
.meal-time {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #2ec27e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(46, 194, 126, 0.1);
  padding: 6px 8px;
  border-radius: 10px;
}
.meal-info strong { display: block; font-size: 15px; color: #0f1a26; margin-bottom: 2px; }
.meal-info span { font-size: 13px; color: #6b7a85; }
.meal-kcal { font-size: 18px; font-weight: 800; color: #0f1a26; white-space: nowrap; }
.meal-kcal small { display: block; font-size: 10px; color: #8895a3; text-align: right; font-weight: 500; }

/* ============ SUPPS ============ */
.supps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.supp {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(40, 80, 60, 0.05);
}
.supp-icon { font-size: 24px; margin-bottom: 6px; }
.supp-name { font-size: 15px; font-weight: 700; color: #0f1a26; margin-bottom: 4px; }
.supp-dose { font-size: 13px; color: #2ec27e; font-weight: 600; margin-bottom: 4px; }
.supp-desc { font-size: 12px; color: #6b7a85; line-height: 1.4; }

/* ============ CTA BOTTOM ============ */
.cta-bottom {
  background: linear-gradient(135deg, #2ec27e 0%, #ff9b54 100%);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  color: #fff;
  margin-top: 16px;
  box-shadow: 0 20px 50px rgba(46, 194, 126, 0.25);
}
.cta-bottom h3 { font-size: 24px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; }
.cta-bottom p { font-size: 15px; margin: 0 0 18px; opacity: 0.95; }
.cta-bottom .btn.primary {
  background: #fff;
  color: #0f1a26;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.cta-bottom .btn.primary:hover { background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,0.2); }

/* ============ FOOTER ============ */
.foot {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  font-size: 12px;
  color: #8895a3;
}

/* ============ ANIMATIONS ============ */
.results { animation: fadeIn 0.5s ease; }
.metric-card { animation: slideUp 0.4s ease both; }
.metric-card:nth-child(1) { animation-delay: 0.05s; }
.metric-card:nth-child(2) { animation-delay: 0.1s; }
.metric-card:nth-child(3) { animation-delay: 0.15s; }
.metric-card:nth-child(4) { animation-delay: 0.2s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ============ LANDING SECTIONS ============ */
.landing-section {
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.landing-head {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 4px;
}
.section-title.center {
  text-align: center;
  margin: 0 0 8px;
}
.section-sub {
  text-align: center;
  color: #4a5867;
  font-size: 16px;
  margin: 0 auto;
  max-width: 620px;
}

/* PDF benefits — 3x2 grid on desktop */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.benefit-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(40, 80, 60, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(40, 80, 60, 0.1);
}
.benefit-icon {
  font-size: 36px;
  margin-bottom: 10px;
  line-height: 1;
}
.benefit-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f1a26;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.benefit-card p {
  font-size: 14px;
  color: #4a5867;
  line-height: 1.5;
  margin: 0;
}

/* How it works — 3 cards with numbered steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.step-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 12px 32px rgba(40, 80, 60, 0.06);
  position: relative;
  text-align: left;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ec27e, #ff9b54);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(46, 194, 126, 0.3);
}
.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f1a26;
  margin: 0 0 6px;
}
.step-card p {
  font-size: 14px;
  color: #4a5867;
  line-height: 1.5;
  margin: 0;
}

/* VK widget — centered card, responsive iframe */
.vk-section {
  margin-top: 64px;
}
.vk-wrap {
  display: flex;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(40, 80, 60, 0.06);
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
}
#vk_groups {
  width: 100% !important;
  max-width: 460px;
  display: block !important;
}
.vk-wrap noscript .btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* Landing hero CTA block */
.landing-hero {
  text-align: center;
  padding: 56px 20px 36px;
  max-width: 760px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}
.hero-content { padding: 0 4px; }
.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #0f1a26 0%, #2EC27E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: #4a5867;
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto 26px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-ctas .btn {
  display: inline-block;
  text-decoration: none;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  min-height: 52px;
  line-height: 1.2;
}
.hero-ctas .btn.primary {
  background: linear-gradient(135deg, #2EC27E, #26a86a);
  color: #fff;
  box-shadow: 0 10px 28px rgba(46, 194, 126, 0.35);
}
.hero-ctas .btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(46, 194, 126, 0.45);
}
.hero-ctas .btn.secondary {
  background: rgba(255, 255, 255, 0.85);
  color: #0f1a26;
  border: 1px solid rgba(15, 26, 38, 0.1);
  box-shadow: 0 4px 14px rgba(15, 26, 38, 0.06);
}
.hero-ctas .btn.secondary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 26, 38, 0.1);
}
.hero-trust {
  font-size: 13px;
  color: #6b7785;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ============ RESPONSIVE ============ */

/* ============ TABLET (768px) ============ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(24px, 4.5vw, 36px);
  }
  .subtitle {
    font-size: 15px;
  }
  .card {
    padding: 28px;
  }
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .metric-card.big {
    grid-column: span 2;
  }
  .premium-block {
    padding: 24px;
  }
  .premium-block h3 {
    font-size: 22px;
  }
  .cta-bottom {
    padding: 28px;
  }
  .cta-bottom h3 {
    font-size: 20px;
  }
  .macros-chart {
    width: 170px;
    height: 170px;
  }
  .meal {
    gap: 12px;
    padding: 14px 16px;
  }
  /* landing overrides tablet */
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 24px; }
}

/* ============ MOBILE (640px) ============ */
@media (max-width: 640px) {
  .hero { padding: 24px 12px 20px; }
  .card { padding: 22px; border-radius: 22px; }
  .grid-2 { grid-template-columns: 1fr; }
  .metric-card.big { grid-column: span 1; }
  .step-labels { font-size: 9px; gap: 3px; letter-spacing: 0; }
  .step-labels span { flex: 1 1 auto; text-align: center; }
  .step-labels span:nth-child(3),
  .step-labels span:nth-child(4) { display: block; }
  .actions { flex-direction: column-reverse; }
  .actions .btn { width: 100%; }
  .email-form { flex-direction: column; }
  .email-form input { min-width: 0; width: 100%; }
  .email-form button { width: 100%; }
  .meal { grid-template-columns: 60px 1fr; }
  .meal-kcal { grid-column: 2; grid-row: 2; text-align: left; }
  .meal-kcal small { display: inline; }
  .metric-value { font-size: 30px; }
  .metric-card { padding: 16px; }
  .results-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .step h2 { font-size: 22px; }
  .seg-btn {
    min-height: 44px;
    font-size: 13px;
    padding: 10px 6px;
  }
  .seg-wide {
    gap: 4px;
  }
  .macros-chart {
    width: 150px;
    height: 150px;
  }
  .premium-block { padding: 20px; }
  .premium-block h3 { font-size: 20px; }
  .premium-list li { font-size: 14px; }
  .cta-bottom { padding: 24px; }
  .cta-bottom h3 { font-size: 18px; }
  .cta-bottom p { font-size: 14px; }
  .supps {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .metric-range {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .metric-range div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }
  .metric-range strong {
    display: inline;
  }
  .activity-x {
    font-size: 11px;
    padding: 2px 6px;
  }
  /* landing overrides mobile */
  .landing-section { margin-top: 40px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 12px; }
  .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .benefit-card, .step-card { padding: 18px; }
  .benefit-icon { font-size: 28px; }
  .step-num { width: 40px; height: 40px; font-size: 18px; margin-bottom: 10px; }
  .section-sub { font-size: 14px; }
}

/* ============ LANDSCAPE PHONE ============ */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { padding: 12px 20px 8px; }
  .hero h1 { font-size: 22px; margin-bottom: 8px; }
  .subtitle { font-size: 14px; margin-bottom: 12px; }
  .trust { font-size: 11px; }
  .card { padding: 16px; }
  .step h2 { font-size: 18px; margin-bottom: 4px; }
  .step-hint { margin-bottom: 12px; }
  .field { margin-bottom: 12px; }
  .actions { margin-top: 16px; }
  .metric-value { font-size: 24px; }
  .premium-block { padding: 16px; }
  .premium-block h3 { font-size: 18px; }
  .cta-bottom { padding: 16px; }
}

/* ============================================================
   v0.3 EXPERT LANDING — Маргарита (нутрициолог)
   ============================================================ */

/* ====== STICKY NAV (glassmorphism) ====== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 26, 38, 0.06);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #0f1a26; font-size: 16px; font-weight: 700; }
.nav-brand-mark { font-size: 24px; }
.nav-brand-text strong { font-weight: 800; letter-spacing: -0.01em; }
.nav-brand-text .muted { color: #6b7785; font-weight: 500; font-size: 13px; margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: #4a5867; font-size: 15px; font-weight: 600; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: #0F4C3A; }
.nav-links a.active { position: relative; }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: #2EC27E; border-radius: 2px; }
.nav-links .nav-cta { padding: 8px 16px; background: linear-gradient(135deg, #2EC27E, #26a86a); color: #fff !important; border-radius: 12px; box-shadow: 0 4px 14px rgba(46, 194, 126, 0.3); }
.nav-links .nav-cta::after { display: none; }
.nav-close { display: none; }

.burger { display: none; flex-direction: column; gap: 5px; width: 36px; height: 36px; border: none; background: transparent; cursor: pointer; padding: 6px; }
.burger span { display: block; height: 2.5px; background: #0f1a26; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ====== HERO LANDING ====== */
.hero-landing { padding: 56px 20px 40px; position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-content { max-width: 620px; }
.hero-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: #2EC27E; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.hero-title { font-size: clamp(28px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 18px; background: linear-gradient(135deg, #0F4C3A 0%, #2EC27E 60%, #FF9B54 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-subtitle { font-size: clamp(15px, 1.8vw, 18px); color: #4a5867; line-height: 1.55; margin: 0 0 24px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-ctas .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; font-size: 15px; font-weight: 700; border-radius: 14px; border: none; cursor: pointer; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; min-height: 48px; }
.hero-ctas .btn.primary { background: linear-gradient(135deg, #2EC27E, #26a86a); color: #fff; box-shadow: 0 10px 28px rgba(46, 194, 126, 0.35); }
.hero-ctas .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(46, 194, 126, 0.45); }
.hero-ctas .btn.ghost { background: rgba(255, 255, 255, 0.85); color: #0f1a26; border: 1px solid rgba(15, 26, 38, 0.08); box-shadow: 0 4px 14px rgba(15, 26, 38, 0.04); }
.hero-ctas .btn.ghost:hover { background: #fff; transform: translateY(-2px); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #4a5867; font-weight: 500; margin-top: 8px; }

/* ====== PHOTO SLOT (NO rounded per spec, gradient behind) ====== */






/* ====== SECTIONS — common ====== */
.section-head { text-align: center; margin: 0 auto 32px; max-width: 720px; }
.section-title { font-size: clamp(24px, 3.5vw, 38px); font-weight: 800; letter-spacing: -0.02em; color: #0f1a26; margin: 0 0 8px; }
.section-sub { font-size: clamp(14px, 1.6vw, 16px); color: #4a5867; margin: 0; }

/* ====== TRUST ====== */
.trust-section { padding: 32px 20px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 20px; padding: 24px; text-align: center; box-shadow: 0 10px 28px rgba(40, 80, 60, 0.05); }
.trust-num { font-size: clamp(28px, 3vw, 38px); font-weight: 800; background: linear-gradient(135deg, #0F4C3A, #2EC27E); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; }
.trust-label { font-size: 14px; color: #4a5867; font-weight: 500; }

/* ====== HOW I WORK ====== */
.how-section { padding: 64px 20px 40px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how-step { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 20px; padding: 24px 20px; box-shadow: 0 10px 28px rgba(40, 80, 60, 0.05); }
.how-num { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #2EC27E, #FF9B54); color: #fff; font-size: 20px; font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; box-shadow: 0 6px 16px rgba(46, 194, 126, 0.3); }
.how-step h3 { font-size: 17px; font-weight: 800; color: #0f1a26; margin: 0 0 6px; }
.how-step p { font-size: 14px; color: #4a5867; line-height: 1.5; margin: 0; }

/* ====== CALCULATOR FEATURE CARD ====== */
.feature-section { padding: 32px 20px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.feature-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: linear-gradient(135deg, rgba(46, 194, 126, 0.08), rgba(255, 155, 84, 0.06)); border: 1px solid rgba(46, 194, 126, 0.2); border-radius: 24px; padding: 28px 32px; box-shadow: 0 12px 32px rgba(40, 80, 60, 0.06); }
.feature-icon { font-size: 56px; line-height: 1; }
.feature-body h3 { font-size: 19px; font-weight: 800; color: #0f1a26; margin: 0 0 4px; }
.feature-body p { font-size: 14px; color: #4a5867; margin: 0; line-height: 1.5; }
.feature-card .btn { display: inline-block; padding: 14px 24px; background: linear-gradient(135deg, #2EC27E, #26a86a); color: #fff; text-decoration: none; font-size: 15px; font-weight: 700; border-radius: 14px; box-shadow: 0 10px 28px rgba(46, 194, 126, 0.3); transition: transform 0.15s; white-space: nowrap; }
.feature-card .btn:hover { transform: translateY(-2px); }

/* ====== SERVICES ====== */
.services-section { padding: 64px 20px 40px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { position: relative; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 22px; padding: 28px 24px; box-shadow: 0 12px 32px rgba(40, 80, 60, 0.06); transition: transform 0.2s; }
.service-card:hover { transform: translateY(-3px); }
.service-card.highlight { background: linear-gradient(135deg, rgba(46, 194, 126, 0.12), rgba(255, 255, 255, 0.9)); border: 1px solid rgba(46, 194, 126, 0.3); }
.service-badge { position: absolute; top: -10px; right: 20px; background: linear-gradient(135deg, #2EC27E, #FF9B54); color: #fff; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.service-card h3 { font-size: 18px; font-weight: 800; color: #0f1a26; margin: 0 0 8px; }
.service-card p { font-size: 14px; color: #4a5867; line-height: 1.5; margin: 0 0 16px; }
.service-price { font-size: 20px; font-weight: 800; color: #0F4C3A; letter-spacing: -0.01em; }

/* ====== REVIEWS ====== */
.reviews-section { padding: 64px 20px 40px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 20px; padding: 24px; box-shadow: 0 10px 28px rgba(40, 80, 60, 0.05); }
.review-text { font-size: 15px; color: #0f1a26; line-height: 1.6; margin: 0 0 12px; font-style: italic; }
.review-author { font-size: 13px; color: #6b7785; font-weight: 600; }

/* ====== FAQ ====== */
.faq-section { padding: 64px 20px 40px; max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 16px; padding: 0; box-shadow: 0 6px 18px rgba(40, 80, 60, 0.04); transition: box-shadow 0.2s; }
.faq-item:hover { box-shadow: 0 10px 26px rgba(40, 80, 60, 0.08); }
.faq-item summary { padding: 18px 50px 18px 22px; font-size: 16px; font-weight: 700; color: #0f1a26; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 600; color: #2EC27E; transition: transform 0.2s; }
.faq-item.open summary::after { content: '−'; }
.faq-item p { margin: 0; padding: 0 22px 18px; font-size: 15px; color: #4a5867; line-height: 1.6; }

/* ====== FINAL CTA ====== */
.cta-section { padding: 64px 20px; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.cta-card { background: linear-gradient(135deg, #0F4C3A 0%, #2EC27E 100%); border-radius: 28px; padding: 48px 36px; text-align: center; color: #fff; box-shadow: 0 20px 50px rgba(15, 76, 58, 0.3); position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255, 155, 84, 0.2), transparent 50%); pointer-events: none; }
.cta-card h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; position: relative; }
.cta-card p { font-size: 16px; opacity: 0.95; margin: 0 0 28px; position: relative; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-buttons .btn { display: inline-block; padding: 16px 32px; font-size: 16px; font-weight: 700; border-radius: 14px; text-decoration: none; transition: transform 0.15s, background 0.15s; min-height: 52px; }
.cta-buttons .btn.primary { background: #fff; color: #0F4C3A; }
.cta-buttons .btn.primary:hover { transform: translateY(-2px); background: #f5f1ea; }
.cta-buttons .btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.cta-buttons .btn.ghost:hover { background: rgba(255,255,255,0.1); }
.cta-buttons .btn.big { padding: 18px 36px; font-size: 17px; }

/* ====== VK SECTION ====== */
.vk-section { padding: 64px 20px 40px; max-width: 800px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.vk-section .section-sub { text-align: center; margin-left: auto; margin-right: auto; max-width: 560px; }
.vk-subscribe-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 2px solid #1a2332;
  border-radius: 50px;
  background: transparent;
  color: #1a2332;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.vk-subscribe-news:hover {
  background: #1a2332;
  color: #fff;
}
.vk-wrap { display: flex; justify-content: center; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 22px; padding: 24px; box-shadow: 0 12px 32px rgba(40, 80, 60, 0.06); max-width: 520px; margin: 0 auto; overflow: hidden; }
#vk_groups { width: 100% !important; max-width: 460px; display: block !important; }

/* ====== FOOTER ====== */
.foot { text-align: center; padding: 32px 20px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(15, 26, 38, 0.06); position: relative; z-index: 1; margin-top: 48px; }
.foot p { margin: 0 0 6px; font-size: 13px; color: #4a5867; }
.foot-disclaimer { font-size: 12px; color: #6b7785; font-style: italic; }

/* ====== SCROLL-REVEAL ====== */
/* ====== SCROLL-REVEAL: base (fade + up) ====== */
[data-reveal]:not([data-reveal-from]) { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms); will-change: opacity, transform; }
[data-reveal].revealed:not([data-reveal-from]) { opacity: 1; transform: translateY(0); }

/* ====== SCROLL-REVEAL: side slide-in (left / right) ====== */
[data-reveal-from="left"]  { opacity: 0; transform: translate3d(-90px, 0, 0); transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms), transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms); will-change: opacity, transform; }
[data-reveal-from="right"] { opacity: 0; transform: translate3d(90px, 0, 0);  transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms), transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms); will-change: opacity, transform; }
[data-reveal-from="left"].revealed,  [data-reveal-from="right"].revealed { opacity: 1; transform: translate3d(0, 0, 0); }

/* ====== SCROLL-REVEAL: scale (для CTA/hero) ====== */
[data-reveal-from="scale"] { opacity: 0; transform: scale(0.92); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms); will-change: opacity, transform; transform-origin: center; }
[data-reveal-from="scale"].revealed { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal]:not([data-reveal-from]),
  [data-reveal-from="left"], [data-reveal-from="right"], [data-reveal-from="scale"]
    { opacity: 1; transform: none; transition: none; }
  
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) { .hero-grid { gap: 32px; } }
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links { position: fixed; top: 0; right: 0; width: 100vw; height: 100vh; min-height: 100vh; min-height: 100dvh; background: #ffffff; flex-direction: column; align-items: flex-start; padding: 72px 24px 24px; gap: 18px; transform: translateX(100%); visibility: hidden; transition: transform 0.3s, visibility 0.3s; z-index: 9999; will-change: transform; box-shadow: -8px 0 30px rgba(0,0,0,0.10); }
  .nav-links.open { transform: translateX(0); visibility: visible; }
  .nav-links a { font-size: 18px; padding: 8px 0; }
  .nav-links .nav-close { display: block; position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: none; background: transparent; font-size: 24px; cursor: pointer; color: #0f1a26; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; text-align: center; }
  .feature-icon { font-size: 48px; }
}
@media (max-width: 480px) {
  .hero-landing { padding: 32px 16px 24px; }
  .hero-trust { gap: 10px; font-size: 12px; }
  .cta-card { padding: 36px 24px; }
  .cta-buttons .btn { width: 100%; }
  .how-steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-card .btn { width: 100%; }
  .nav-brand-text .muted { display: none; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .hero-landing { padding: 24px 16px 16px; }
  .hero-grid { grid-template-columns: 1fr 0.7fr; gap: 24px; }
  .hero-title { font-size: 24px; }
  .feature-section, .cta-section, .vk-section { padding: 32px 16px; }
}
}


/* ====== ABOUT (Обо мне) ====== */
.about-section { padding: 64px 20px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: 0.45fr 1fr; gap: 48px; align-items: center; }
.about-monogram { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.monogram-letter { font-family: 'Manrope', system-ui, sans-serif; font-size: clamp(120px, 16vw, 200px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(135deg, #0F4C3A 0%, #2EC27E 60%, #FF9B54 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.monogram-sub { font-size: 14px; color: #4a5867; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.about-content { max-width: 640px; }
.about-content .hero-eyebrow { margin-bottom: 8px; }
.about-content .section-title { text-align: left; font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 18px; }
.about-lead { font-size: clamp(15px, 1.7vw, 17px); color: #0f1a26; line-height: 1.65; margin: 0 0 22px; font-weight: 500; }
.about-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.about-list li { position: relative; padding-left: 28px; font-size: 15px; color: #4a5867; line-height: 1.6; }
.about-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #2EC27E, #FF9B54); box-shadow: 0 2px 6px rgba(46, 194, 126, 0.3); }
.about-list li strong { color: #0f1a26; font-weight: 700; display: block; margin-bottom: 2px; }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.about-cta .btn { display: inline-block; padding: 14px 24px; font-size: 15px; font-weight: 700; border-radius: 14px; text-decoration: none; min-height: 48px; }
.about-cta .btn.primary { background: linear-gradient(135deg, #2EC27E, #26a86a); color: #fff; box-shadow: 0 10px 28px rgba(46, 194, 126, 0.35); }
.about-cta .btn.primary:hover { transform: translateY(-2px); }
.about-cta .btn.ghost { background: rgba(255, 255, 255, 0.85); color: #0f1a26; border: 1px solid rgba(15, 26, 38, 0.08); }
.about-cta .btn.ghost:hover { background: #fff; transform: translateY(-2px); }

/* ====== PHOTO "?" PLACEHOLDER (no frame, gradient behind) ====== */



/* Responsive for about + photo */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .about-content .section-title { text-align: center; }
  .about-list li { padding-left: 0; padding-top: 26px; }
  .about-list li::before { left: 50%; top: 0; transform: translateX(-50%); }
  .about-cta { justify-content: center; }
}
@media (max-width: 480px) {
  .about-cta .btn { width: 100%; text-align: center; }
  .monogram-letter { font-size: 120px; }
}

/* ====== HERO PHOTO: circular/oval with feathered edges ====== */
.hero-photo { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; }
.hero-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%; left: 50%;
  width: 92%;
  height: 92%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, #0F4C3A 0%, #2EC27E 45%, #FF9B54 100%);
  filter: blur(48px);
  opacity: 0.75;
  border-radius: 50%;
  pointer-events: none;
}
.hero-photo-img {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
}
.hero-photo-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, rgba(0,0,0,0.5) 82%, transparent 100%);
          mask-image: radial-gradient(circle at 50% 50%, #000 58%, rgba(0,0,0,0.5) 82%, transparent 100%);
}
