:root {
  --blue: #0868df;
  --blue-dark: #08245d;
  --blue-soft: #edf5ff;
  --blue-pale: #f6f9ff;
  --text: #17233f;
  --muted: #65728a;
  --line: #dce7f5;
  --white: #fff;
  --shadow: 0 14px 36px rgba(36, 76, 133, .08);
  --shadow-soft: 0 8px 24px rgba(36, 76, 133, .06);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: var(--sans); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 64px 0; }
.section-title { margin: 0 0 30px; text-align: center; color: var(--blue-dark); font: 500 clamp(30px, 3vw, 44px)/1.12 var(--serif); }
.section-subtitle { max-width: 760px; margin: -14px auto 30px; text-align: center; color: var(--muted); }
.card { background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 22px; border-radius: 7px; border: 1px solid transparent; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, .menu-toggle:focus-visible { outline: 3px solid rgba(8,104,223,.28); outline-offset: 3px; }
.button img { width: 24px; height: 24px; object-fit: contain; }
.button-primary { background: linear-gradient(135deg, #0875ed, #0055cf); color: #fff; box-shadow: 0 10px 24px rgba(0, 92, 213, .2); }
.button-primary:hover { box-shadow: 0 14px 30px rgba(0, 92, 213, .27); }
.button-outline { color: var(--blue); border-color: var(--blue); background: #fff; }
.button-outline:hover { background: var(--blue-pale); }
.question-mark { width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; }

.site-header { position: relative; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(218,230,245,.65); }
.header-inner { min-height: 88px; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 24px; }
.brand img { width: 238px; height: auto; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: 38px; font-size: 15px; font-weight: 700; }
.desktop-nav a { position: relative; padding: 32px 0; color: #38445b; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.header-cta { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.header-cta img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; overflow: hidden; padding-top: 20px; padding-bottom: 0; background: linear-gradient(180deg, #fff 0%, #fbfdff 100%); border-bottom: 1px solid #edf2f8; }
.hero-grid { display: grid; grid-template-columns: 58% 42%; min-height: 590px; align-items: stretch; }
.hero-copy { padding: 70px 42px 36px 0; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.hero h1 { max-width: 760px; margin: 0 0 22px; color: var(--blue-dark); font: 500 clamp(39px, 4.4vw, 64px)/1.03 var(--serif); letter-spacing: -.025em; }
.hero-lead { max-width: 690px; margin: 0 0 26px; color: #47546c; font-size: 18px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.stat-card { width: 160px; min-height: 76px; display: flex; align-items: center; gap: 10px; padding: 10px 13px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-soft); }
.stat-card img { width: 43px; height: 43px; object-fit: contain; }
.stat-card strong, .stat-card span { display: block; line-height: 1.25; }
.stat-card strong { color: var(--blue); font-size: 15px; }
.stat-card span { color: #4d5c74; font-size: 12px; }
.hero-actions { display: flex; gap: 18px; }
.hero-photo-wrap { min-height: 590px; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.hero-photo-wrap::before { content: ""; position: absolute; inset: 20px 0 0 0; background: linear-gradient(140deg, #f6f9fd, #fff); border-left: 1px solid #edf2f8; }
.hero-photo { position: relative; z-index: 1; width: min(100%, 500px); height: 100%; object-fit: cover; object-position: center top; }
.hero-molecule { position: absolute; z-index: 1; width: 160px; left: 51%; top: 74px; opacity: .5; }
.hero-dna { position: absolute; z-index: 2; width: 210px; right: -48px; top: 255px; opacity: .38; }
.hero-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0 30px; }
.hero-benefits article { display: flex; align-items: center; justify-content: center; gap: 12px; color: #273651; font-size: 14px; font-weight: 700; }
.hero-benefits img { width: 50px; height: 50px; object-fit: contain; }

.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 18px; }
.about-main { position: relative; overflow: hidden; padding: 28px 32px 22px; }
.about-main h2 { margin: 0 0 12px; font: 500 36px/1.1 var(--serif); color: var(--blue-dark); }
.about-main p { margin: 0 0 12px; font-size: 15px; }
.about-main .signature { width: 150px; margin-top: 8px; }
.about-decor { position: absolute; right: -20px; bottom: -18px; width: 170px; opacity: .45; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-card { min-height: 212px; display: flex; gap: 14px; padding: 23px 20px; }
.feature-card img { flex: 0 0 auto; width: 55px; height: 55px; object-fit: contain; }
.feature-card h3 { margin: 0 0 10px; color: var(--blue); font-size: 16px; }
.feature-card p, .feature-card ul { margin: 0; color: #4e5b72; font-size: 14px; }
.feature-card ul { padding-left: 18px; }

.topics { padding-top: 20px; }
.topics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic-card { min-height: 255px; padding: 22px 16px 18px; text-align: center; }
.topic-card img { width: 78px; height: 78px; margin: 0 auto 10px; object-fit: contain; }
.topic-card h3 { margin: 0 0 8px; color: var(--blue-dark); font: 700 18px/1.2 var(--serif); }
.topic-card p { margin: 0; color: #5f6b80; font-size: 13px; }

.support { padding-top: 34px; }
.support-shell { padding: 48px 34px 38px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #f1f6ff, #f7f8ff); border: 1px solid #dce9f8; box-shadow: var(--shadow-soft); }
.support-benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 26px; }
.support-benefits article { min-height: 130px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(255,255,255,.78); border: 1px solid rgba(216,228,244,.9); border-radius: 14px; box-shadow: 0 8px 18px rgba(39, 76, 127, .05); color: var(--blue-dark); font-weight: 700; font-size: 13px; }
.support-benefits img { width: 55px; height: 55px; object-fit: contain; margin-bottom: 6px; }
.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.program-card { position: relative; overflow: hidden; padding: 30px 32px; }
.program-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 180px; height: 220px; background: url('../images/01_brand_and_decor/06_botanical_about.png') center/contain no-repeat; opacity: .12; }
.program-card-vip { border-color: #b9d5f7; }
.program-kicker { color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.program-card h3 { margin: 4px 0 6px; color: var(--blue-dark); font: 500 35px/1.1 var(--serif); }
.program-card p { margin: 0 0 18px; color: var(--muted); }
.check-list { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding: 6px 0 6px 28px; border-bottom: 1px dashed #e1e9f4; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--blue); font-weight: 900; }
.program-card .button { position: relative; z-index: 2; width: 100%; }

.flow { padding-bottom: 44px; }
.flow-grid { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr; align-items: stretch; }
.flow-step { position: relative; text-align: center; padding: 12px 8px 16px; }
.flow-step img { width: 63px; height: 63px; margin: 0 auto 8px; object-fit: contain; }
.flow-step h3 { margin: 0 0 6px; color: var(--blue-dark); font-size: 15px; }
.flow-step p { margin: 0; color: #59667b; font-size: 12px; }
.step-number { position: absolute; top: 3px; left: 8px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; }
.flow-arrow { display: grid; place-items: center; color: #62a3e9; font-size: 25px; }

.free-start { padding-top: 30px; }
.free-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.free-card { min-height: 260px; display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 20px; padding: 25px 28px; }
.free-card > img { width: 135px; height: 135px; object-fit: contain; margin: auto; }
.free-card h3 { margin: 0 0 10px; color: var(--blue-dark); font: 500 26px/1.12 var(--serif); }
.free-card p { margin: 0 0 18px; color: var(--muted); }
.telegram-line { max-width: 980px; margin: 16px auto 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #57667e; font-size: 14px; text-align: center; }
.telegram-line img { width: 32px; height: 32px; object-fit: contain; }

.philosophy { padding: 48px 0; }
.philosophy-shell { min-height: 510px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.45fr); align-items: center; gap: 44px; padding: 42px 58px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #f8fbff, #fff); border: 1px solid #e3edf9; }
.philosophy-decor { position: relative; inset: auto; z-index: 0; width: 100%; height: 100%; max-height: 500px; object-fit: contain; object-position: center; opacity: 1; pointer-events: none; }
.philosophy-copy { position: relative; z-index: 1; width: 100%; min-width: 0; }
.philosophy-copy h2 { margin: 0 0 20px; color: var(--blue-dark); font: 500 48px/1.05 var(--serif); }
.philosophy-copy p { margin: 0 0 13px; color: #3f4d65; }
.philosophy-accent { color: var(--blue) !important; font: 500 24px/1.3 var(--serif); }
.result-line { display: block; color: var(--blue-dark); font: 500 36px/1.1 var(--serif); }
.philosophy-values { display: flex; gap: 34px; margin-top: 28px; }
.philosophy-values article { display: flex; align-items: center; gap: 9px; color: var(--blue-dark); font-weight: 700; font-size: 13px; }
.philosophy-values img { width: 48px; height: 48px; object-fit: contain; }

.reviews { padding-top: 34px; }
.reviews-layout { display: grid; grid-template-columns: 255px 1fr; gap: 18px; }
.rating-card { min-height: 285px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rating-number { color: var(--blue); font: 500 60px/1 var(--serif); }
.stars { margin: 10px 0 18px; color: #ffb900; font-size: 25px; letter-spacing: 3px; }
.rating-card .button { font-size: 13px; }
.reviews-slider { min-width: 0; position: relative; overflow: hidden; }
.reviews-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; transition: transform .35s ease; }
.review-card { min-height: 285px; position: relative; display: flex; flex-direction: column; padding: 24px 22px; }
.review-card p { margin: 0 0 auto; color: #445168; font-size: 14px; }
.review-card strong { color: var(--blue-dark); font-size: 14px; }
.review-card span { color: #8a96aa; font-size: 12px; }
.heart-button { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; opacity: .35; }
.heart-button.active { opacity: 1; }
.heart-button img { width: 100%; height: 100%; object-fit: contain; }
.slider-controls { display: none; }

.site-footer { margin-top: 60px; padding: 42px 0 18px; background: linear-gradient(180deg, #fff, #f8fbff); border-top: 1px solid #e4edf8; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .85fr .75fr; gap: 50px; }
.footer-brand > img { width: 250px; }
.footer-brand p { max-width: 380px; color: #647086; font-size: 14px; }
.footer-grid h2 { margin: 0 0 14px; color: var(--blue-dark); font: 500 24px/1.1 var(--serif); }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts a, .footer-contacts p { margin: 0; display: flex; align-items: center; gap: 10px; color: #4b5971; font-size: 14px; }
.footer-contacts img { width: 26px; height: 26px; object-fit: contain; }
.social-links { display: flex; gap: 12px; margin-bottom: 8px; }
.social-link { position: relative; display: inline-flex; align-items: center; text-decoration: none; }
.social-links img { width: 42px; height: 42px; object-fit: contain; }
.social-restriction-mark { position: absolute; left: calc(100% + 3px); top: 50%; transform: translateY(-50%); color: #66758b; font-size: 13px; line-height: 1; font-weight: 700; }
.social-restriction-note { width: min(calc(100% - 40px), var(--container)); max-width: var(--container); margin: 20px auto 0; color: #748096; font-size: 9px; line-height: 1.45; }
.footer-social .button { width: 100%; font-size: 13px; }
.footer-social .button img { filter: brightness(0) invert(1); }
.footer-bottom { margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #e3edf8; color: #9aa5b5; font-size: 12px; }
.footer-bottom a { color: #7d8da5; }


@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 210px 1fr auto; }
  .brand img { width: 205px; }
  .desktop-nav { gap: 20px; }
  .hero h1 { font-size: 48px; }
  .topics-grid { grid-template-columns: repeat(4, 1fr); }
  .flow-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .flow-arrow { display: none; }
  .free-card { grid-template-columns: 120px 1fr; padding: 22px; }
  .free-card > img { width: 105px; height: 105px; }
  .philosophy-shell { grid-template-columns: minmax(240px, .72fr) minmax(0, 1.4fr); gap: 28px; padding: 36px; }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 42px 0; }
  .site-header { position: sticky; top: 0; box-shadow: 0 6px 18px rgba(39,71,114,.05); }
  .header-inner { min-height: 64px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .brand img { width: 148px; }
  .desktop-nav { display: none; }
  .header-cta { min-height: 36px; padding: 6px 10px; font-size: 11px; }
  .header-cta img { width: 18px; height: 18px; }
  .menu-toggle { width: 38px; height: 38px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 8px; background: #f1f6fd; }
  .menu-toggle span { width: 19px; height: 2px; background: var(--blue-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { display: none; padding: 10px 16px 18px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 12px 24px rgba(35,72,120,.09); text-align: center; }
  .mobile-menu.open { display: grid; justify-items: center; }
  .mobile-menu a { width: 100%; padding: 11px 4px; border-bottom: 1px solid #eef3f9; font-weight: 700; text-align: center; }
  .mobile-menu .button { width: min(100%, 400px); margin: 12px auto 0; justify-content: center; }

  .hero { padding-top: 0; }
  .hero-grid { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { padding: 34px 0 0; }
  .eyebrow { font-size: 11px; }
  .hero h1 { max-width: none; font-size: clamp(34px, 9vw, 48px); line-height: 1.05; }
  .hero-lead { font-size: 15px; }
  .hero-photo-wrap { min-height: 410px; order: 2; margin-top: 18px; }
  .hero-photo-wrap::before { inset: 0; border-left: 0; border-radius: 20px 20px 0 0; }
  .hero-photo { width: min(100%, 410px); height: 410px; object-fit: cover; object-position: center top; }
  .hero-molecule { width: 120px; left: auto; right: 10px; top: 190px; }
  .hero-dna { width: 125px; right: -28px; top: 520px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-card { width: 100%; min-width: 0; min-height: 65px; padding: 7px; justify-content: center; }
  .stat-card img { width: 34px; height: 34px; }
  .stat-card strong { font-size: 12px; }
  .stat-card span { font-size: 10px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-benefits { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 20px 0 26px; }
  .hero-benefits article { flex-direction: column; gap: 4px; text-align: center; font-size: 10px; }
  .hero-benefits img { width: 38px; height: 38px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-main { padding: 24px 20px; }
  .about-main h2 { font-size: 32px; }
  .about-main p { font-size: 14px; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { min-height: 190px; display: block; padding: 18px 15px; }
  .feature-card img { width: 48px; height: 48px; margin-bottom: 8px; }
  .feature-card p, .feature-card ul { font-size: 12px; }

  .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .topic-card { min-width: 0; min-height: 205px; padding: 18px 10px; }
  .topic-card img { width: 62px; height: 62px; }
  .topic-card h3 { font-size: 12px; }
  .topic-card p { font-size: 11px; }

  .support-shell { padding: 32px 14px 20px; }
  .support-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: visible; padding-bottom: 0; scroll-snap-type: none; }
  .support-benefits article { min-width: 0; min-height: 130px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(255,255,255,.78); border: 1px solid rgba(216,228,244,.9); border-radius: 14px; box-shadow: 0 8px 18px rgba(39,76,127,.05); color: var(--blue-dark); font-weight: 700; font-size: 12px; scroll-snap-align: none; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { padding: 26px 20px; }

  .flow-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .flow-step { display: grid; grid-template-columns: 54px 1fr; grid-template-areas: "icon title" "icon text"; text-align: left; gap: 0 14px; padding: 18px 16px 18px 54px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); }
  .flow-step:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -22px; color: #7eafe7; font-size: 21px; }
  .flow-step img { grid-area: icon; width: 54px; height: 54px; margin: 0; align-self: center; }
  .flow-step h3 { grid-area: title; margin: 2px 0 4px; font-size: 15px; }
  .flow-step p { grid-area: text; font-size: 12px; }
  .step-number { left: 12px; top: 17px; }

  .free-grid { grid-template-columns: 1fr; }
  .free-card { grid-template-columns: 90px 1fr; gap: 14px; padding: 20px 16px; }
  .free-card > div { display: contents; }
  .free-card > img { grid-column: 1; grid-row: 1 / span 2; width: 80px; height: 80px; align-self: start; }
  .free-card h3 { grid-column: 2; grid-row: 1; font-size: 21px; margin-bottom: 0; }
  .free-card p { grid-column: 2; grid-row: 2; font-size: 13px; margin-bottom: 0; }
  .free-card .button { grid-column: 1 / -1; grid-row: 3; width: 100%; max-width: none; font-size: 13px; justify-content: center; }
  .telegram-line { text-align: left; font-size: 12px; }

  .philosophy-shell { display: block; padding: 28px 18px; }
  .philosophy-decor { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center; opacity: .18; }
  .philosophy-copy h2 { font-size: 38px; }
  .philosophy-copy p { font-size: 13px; }
  .philosophy-accent { font-size: 19px !important; }
  .result-line { font-size: 28px; }
  .philosophy-values { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .philosophy-values article { flex-direction: column; text-align: center; font-size: 10px; }
  .philosophy-values img { width: 40px; height: 40px; }

  .reviews-layout { grid-template-columns: 1fr; }
  .rating-card { min-height: 190px; }
  .reviews-slider { overflow: visible; }
  .reviews-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; scrollbar-width: none; }
  .reviews-track::-webkit-scrollbar { display: none; }
  .review-card { min-width: 86%; min-height: 250px; scroll-snap-align: start; }
  .slider-controls { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
  .slider-arrow { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; }
  .slider-arrow img { width: 100%; height: 100%; object-fit: contain; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-brand > img { width: 210px; margin-inline: auto; }
  .footer-brand p { margin-inline: auto; text-align: center; }
  .footer-contacts { align-items: center; text-align: center; }
  .footer-contacts h2,
  .footer-social h2 { text-align: center; }
  .footer-contacts a,
  .footer-contacts p { justify-content: center; text-align: center; }
  .footer-social { text-align: center; }
  .social-links { justify-content: center; }
  .footer-social .button { width: min(100%, 400px); max-width: 400px; margin-inline: auto; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .section-title { margin-bottom: 22px; font-size: 29px; }
  .header-cta span { display: none; }
  .header-cta { width: 40px; padding: 0; border-radius: 7px; }
  .header-cta img { width: 22px; height: 22px; }
  .hero h1 { font-size: 34px; }
  .hero-photo-wrap { min-height: 360px; }
  .hero-photo { height: 360px; }
  .hero-benefits { padding-top: 14px; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .feature-card { min-height: 180px; }
  .support-shell .section-title { font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
  .program-card h3 { font-size: 31px; }
  .free-card { grid-template-columns: 70px 1fr; }
  .free-card > img { width: 64px; height: 64px; }
  .philosophy-shell { padding: 26px 18px; }
  .philosophy-copy h2 { font-size: 34px; }
  .philosophy-copy p:nth-of-type(n+3) { display: none; }
  .philosophy-accent { display: block !important; }
  .result-line { font-size: 24px; }
  .philosophy-values { display: none; }
}


/* Feedback modal */
body.modal-open { overflow: hidden; }

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.feedback-modal.is-open { display: flex; }
.feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 62, .58);
  backdrop-filter: blur(3px);
}
.feedback-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(16, 47, 94, .22);
}
.feedback-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f3f7fc;
  color: var(--blue-dark);
  font-size: 29px;
  line-height: 1;
}
.feedback-modal__close:hover { background: #e9f2fc; }
.feedback-modal__dialog h2 {
  margin: 0 44px 8px 0;
  color: var(--blue-dark);
  font: 500 34px/1.1 var(--serif);
}
.feedback-modal__lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}
.feedback-form { display: grid; gap: 16px; }
.feedback-field { display: grid; gap: 7px; }
.feedback-field > span {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}
.feedback-field b { color: #d72c2c; }
.feedback-field input,
.feedback-field textarea {
  width: 100%;
  border: 1px solid #ccd9ea;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.feedback-field input { min-height: 48px; }
.feedback-field textarea { min-height: 132px; resize: vertical; }
.feedback-field input:focus,
.feedback-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 104, 223, .10);
}
.feedback-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: #4f5d73;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}
.feedback-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.feedback-submit { width: 100%; }
.feedback-submit:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: .48;
  box-shadow: none;
}
.feedback-form__note {
  margin: -5px 0 0;
  text-align: center;
  color: #7a879a;
  font-size: 11px;
}
.feedback-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* Thank-you and send-error pages */
.service-page {
  min-height: 100vh;
  background: linear-gradient(145deg, #f5f9ff, #fff);
}
.service-page__main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}
.service-card {
  width: min(100%, 620px);
  padding: 42px 36px;
  text-align: center;
}
.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff1f1;
  color: #bd2525;
  font-size: 30px;
  font-weight: 800;
}
.service-card__icon--success {
  background: #eaf8ef;
  color: #23834a;
}
.service-card h1 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font: 500 clamp(32px, 6vw, 44px)/1.08 var(--serif);
}
.service-card p {
  max-width: 500px;
  margin: 0 auto 24px;
  color: var(--muted);
}

@media (max-width: 540px) {
  .feedback-modal {
    align-items: center;
    justify-content: center;
    padding: 12px;
  }
  .feedback-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 26px 18px 20px;
    border-radius: 20px;
  }
  .feedback-modal__dialog h2 {
    font-size: 29px;
  }
  .feedback-modal__lead {
    margin-bottom: 18px;
  }
  .feedback-field input {
    min-height: 50px;
    font-size: 16px;
  }
  .feedback-field textarea {
    min-height: 120px;
    font-size: 16px;
  }
  .feedback-consent {
    font-size: 12px;
  }
  .service-card {
    padding: 34px 20px;
  }
}


/* Legal links, legal pages and cookie controls */
.feedback-consent label { cursor: pointer; }
.feedback-consent a,
.feedback-form__legal a,
.feedback-health-warning a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.feedback-form__legal { margin: -9px 0 0 30px; color: #718096; font-size: 11px; line-height: 1.45; }
.feedback-health-warning { margin: -5px 0 0; padding: 10px 12px; border: 1px solid #dbe8f7; border-radius: 10px; background: #f7fbff; color: #526178; font-size: 12px; line-height: 1.45; }
.feedback-health-warning strong { color: var(--blue-dark); }

.footer-legal { margin-top: 30px; padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid #e3edf8; color: #66758b; font-size: 12px; line-height: 1.5; }
.footer-legal strong, .footer-legal span { display: block; }
.footer-legal strong { margin-bottom: 3px; color: #3e4e66; }
.footer-docs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
.footer-docs a { color: #687a95; text-decoration: underline; text-decoration-color: #c4d1e2; text-underline-offset: 3px; }
.footer-docs a:hover { color: var(--blue); }

.cookie-banner { position: fixed; z-index: 1400; left: 16px; right: 16px; bottom: 16px; }
.cookie-banner[hidden], .cookie-settings[hidden] { display: none !important; }
.cookie-banner__body { width: min(100%, 980px); margin: 0 auto; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 14px 22px; align-items: center; background: rgba(255,255,255,.98); border: 1px solid #d9e5f4; border-radius: 16px; box-shadow: 0 18px 60px rgba(17, 47, 91, .18); }
.cookie-banner__text strong { display: block; margin-bottom: 3px; color: var(--blue-dark); }
.cookie-banner__text p { margin: 0; color: #5b687c; font-size: 12px; line-height: 1.45; }
.cookie-banner__text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: grid; grid-template-columns: repeat(2, auto); gap: 7px; min-width: 270px; }
.cookie-button { min-height: 40px; padding: 8px 15px; font-size: 12px; }
.cookie-settings-toggle { grid-column: 1 / -1; border: 0; padding: 3px 6px; background: transparent; color: var(--blue); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #e5edf7; }
.cookie-setting-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 8px 0; }
.cookie-setting-row span, .cookie-setting-row small { display: block; }
.cookie-setting-row strong { color: #31425c; font-size: 12px; }
.cookie-setting-row small { margin-top: 2px; color: #77869a; font-size: 11px; }
.cookie-setting-row input { width: 18px; height: 18px; accent-color: var(--blue); }
.cookie-setting-row--muted { opacity: .72; }
.cookie-save { min-height: 40px; margin-top: 8px; padding: 8px 15px; font-size: 12px; }

.legal-page { min-height: 100vh; background: #f7faff; }
.legal-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid #e3edf8; }
.legal-header__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.legal-header__logo img { width: 220px; }
.legal-back { color: var(--blue); font-size: 14px; font-weight: 700; }
.legal-main { padding: 42px 0 70px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 820px) 260px; gap: 28px; align-items: start; }
.legal-card { padding: 34px 38px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); }
.legal-card h1 { margin: 0 0 8px; color: var(--blue-dark); font: 500 clamp(31px, 4vw, 46px)/1.1 var(--serif); }
.legal-updated { margin: 0 0 28px; color: #7c899c; font-size: 12px; }
.legal-card h2 { margin: 30px 0 10px; color: var(--blue-dark); font: 500 25px/1.2 var(--serif); }
.legal-card h3 { margin: 22px 0 8px; color: #23395e; font-size: 16px; }
.legal-card p, .legal-card li { color: #4f5e73; font-size: 14px; }
.legal-card p { margin: 0 0 12px; }
.legal-card ul, .legal-card ol { margin: 8px 0 16px; padding-left: 22px; }
.legal-card li { margin-bottom: 6px; }
.legal-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-note { padding: 14px 16px; border-left: 3px solid var(--blue); border-radius: 8px; background: #f3f8ff; }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 13px; }
.legal-table th, .legal-table td { padding: 10px 12px; border: 1px solid #dce7f5; text-align: left; vertical-align: top; }
.legal-table th { width: 32%; background: #f7faff; color: #31425c; }
.legal-nav { position: sticky; top: 104px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); }
.legal-nav strong { display: block; margin-bottom: 10px; color: var(--blue-dark); }
.legal-nav a { display: block; padding: 7px 0; color: #607089; font-size: 12px; border-bottom: 1px solid #eef3f8; }
.legal-nav a:last-child { border-bottom: 0; }
.legal-nav a:hover { color: var(--blue); }
.legal-footer { margin-top: 36px; color: #7d8a9b; font-size: 12px; text-align: center; }

@media (max-width: 860px) {
  .footer-legal { grid-template-columns: 1fr; text-align: center; }
  .footer-docs { justify-content: center; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner__body { grid-template-columns: 1fr; padding: 14px; }
  .cookie-banner__actions { min-width: 0; width: 100%; }
  .cookie-button { width: 100%; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; order: -1; }
  .legal-main { padding-top: 24px; }
}

@media (max-width: 540px) {
  .feedback-form__legal { margin-left: 0; }
  .footer-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; width: 100%; }
  .footer-docs a { display: flex; align-items: center; justify-content: center; min-width: 0; text-align: center; }
  .footer-docs a:last-child { grid-column: 1 / -1; }
  .cookie-banner__body { max-height: calc(100dvh - 20px); overflow-y: auto; }
  .cookie-banner__actions { grid-template-columns: 1fr 1fr; }
  .legal-header__inner { min-height: 68px; }
  .legal-header__logo img { width: 165px; }
  .legal-back { font-size: 12px; }
  .legal-card { padding: 24px 18px; border-radius: 16px; }
  .legal-card h2 { font-size: 22px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table tr { margin-bottom: 10px; border: 1px solid #dce7f5; border-radius: 10px; overflow: hidden; }
  .legal-table th, .legal-table td { border: 0; }
  .legal-table th { padding-bottom: 4px; }
  .legal-table td { padding-top: 4px; }
}
