/* ============================================================
   NPMC — redesign layer (loaded after styles.css)
   1. One menu for every page (dropdown "მეთოდები", "შესვლა", compact languages)
   2. Phone: bottom bar  [დარეკვა] [WhatsApp] [დაჯავშნე]
   3. Line icons instead of emoji
   4. Two colour versions, chosen in js/theme-choice.js:
        html[data-theme="refined"]  — dark, easier to read
        html[data-theme="combo"]    — dark top, light and warm content
   ============================================================ */

/* ── 1. Menu ─────────────────────────────────────────────── */
section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.nav__menu { gap: 4px; }
.nav__item--drop { position: relative; }
.nav__item--drop > .nav__link::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; margin-bottom: 3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7;
}
.nav__drop {
  position: absolute; top: 100%; left: -12px; min-width: 260px; padding: 8px; margin: 0; list-style: none;
  background: rgba(16, 18, 30, 0.98); border: 1px solid var(--border-2); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 50;
}
.nav__item--drop:hover > .nav__drop,
.nav__item--drop:focus-within > .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sublink {
  display: block; padding: 10px 12px; border-radius: 10px; color: #e9e9f0; font-size: .92rem; text-decoration: none;
}
.nav__sublink:hover { background: rgba(201,169,110,.12); color: var(--accent-light); }

/* "შესვლა" — icon + word, always (no lone padlock) */
.nav__portal {
  display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; height: auto !important;
  padding: 8px 12px !important; font-size: .9rem !important; border-radius: 10px;
}
.nav__portal::before, .nav__portal::after { content: none !important; display: none !important; }
.nav__portal svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav__portal .nav__portal-label { display: inline !important; }

/* Languages: only the current one shows; tap / hover shows the others */
.lang-switcher { position: relative; display: inline-flex; gap: 2px; }
.lang-switcher .lang-btn:not(.active) { display: none; }
.lang-switcher .lang-btn.active::after { content: " ▾"; font-size: .7em; opacity: .7; }
.lang-switcher:hover .lang-btn, .lang-switcher:focus-within .lang-btn { display: inline-flex; }
.lang-switcher:hover .lang-btn.active::after, .lang-switcher:focus-within .lang-btn.active::after { content: ""; }

@media (max-width: 1100px) {
  /* Phone / tablet menu (opened with ☰): the sub-pages listed in place, big tap targets */
  .nav__drop {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    background: transparent; padding: 0 0 6px 14px; min-width: 0;
  }
  .nav__item--drop > .nav__link::after { display: none; }
  .nav__sublink { padding: 9px 4px; font-size: 1rem; color: var(--text-2); }
}

/* ── 2. Phone bottom bar ─────────────────────────────────── */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 14, 24, 0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--border-2);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta__row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; max-width: 560px; margin: 0 auto; }
.sticky-cta__btn {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; width: auto !important;
  padding: 12px 8px !important; border-radius: 12px !important; font-size: .9rem !important; font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.sticky-cta__btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.sticky-cta__btn--ghost { background: rgba(255,255,255,.06) !important; color: #f0f0f5 !important; border: 1px solid rgba(255,255,255,.14); box-shadow: none !important; }
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  .wa-float { display: none !important; }        /* WhatsApp is in the bar */
  body { padding-bottom: 76px; }
}

/* ── 3. Line icons ───────────────────────────────────────── */
.ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(201,169,110,.12); color: var(--accent); margin-bottom: 10px; }
.ico svg { width: 22px; height: 22px; }

/* ── 4a. Version 1: refined dark ─────────────────────────── */
html[data-theme="refined"] {
  --bg:        #0d1322;
  --bg-2:      #121a2c;
  --surface:   #172036;
  --surface-2: #1c2741;
  --surface-3: #2a3654;
  --text:      #f5f5f8;
  --text-2:    #d3d7e0;
  --text-3:    #a3aabb;
  --border:    rgba(255,255,255,0.10);
}
html[data-theme="refined"] body { font-size: 17px; }
html[data-theme="refined"] p { line-height: 1.75; }

/* ── 4b. Version 3: dark top, light and warm content ─────── */
html[data-theme="combo"] :is(.services, .process, .conditions, .testimonials, .team, .faq, .contact,
  .specialists, .methods, .screening, .brain-compare, .page-light, main, body > .wrap, body > .sep) {
  --bg:           #f7f4ee;
  --bg-2:         #f0eadf;
  --surface:      #ffffff;
  --surface-2:    #f8f4ec;
  --surface-3:    #e7dfd0;
  --text:         #1c2430;
  --text-2:       #444e5c;
  --text-3:       #6a7280;
  --accent:       #9c7434;
  --accent-light: #b8904f;
  --accent-dark:  #7d5c26;
  --border:       rgba(28,36,48,0.10);
  --border-2:     rgba(156,116,52,0.28);
  --shadow:       0 8px 28px rgba(28,36,48,0.08);
  --shadow-gold:  0 8px 28px rgba(156,116,52,0.12);
  background: var(--bg);
  color: var(--text);
  position: relative; z-index: 1;
}
html[data-theme="combo"] :is(.process, .testimonials, .faq, .specialists, .brain-compare) { background: var(--bg-2); }
html[data-theme="combo"] body { font-size: 17px; }
html[data-theme="combo"] main p, html[data-theme="combo"] section p { line-height: 1.75; }
/* Text that was written white for the dark design */
html[data-theme="combo"] :is(.services, .process, .conditions, .testimonials, .team, .faq, .contact,
  .specialists, .methods, .screening, .brain-compare, .page-light, main, body > .wrap) :is(h1, h2, h3, h4, strong, summary, label, td, th) { color: var(--text); }
html[data-theme="combo"] :is(.contact, .screening, main) :is(input, select, textarea) {
  background: #fff; color: var(--text); border: 1px solid var(--surface-3);
}
html[data-theme="combo"] :is(.contact, .screening, main) :is(input, textarea)::placeholder { color: #9aa1ad; }
html[data-theme="combo"] .section__label, html[data-theme="combo"] .section-label { color: var(--accent); }

/* Phone menu: full screen, solid, left-aligned, big rows */
@media (max-width: 1100px) {
  .nav__menu.open {
    bottom: 0; overflow-y: auto; align-items: stretch !important; text-align: left;
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom)) !important; gap: 0 !important;
    background: #0d1120 !important;
  }
  .nav__menu.open > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav__menu.open > li > .nav__link { display: block; padding: 14px 4px; font-size: 1.08rem; text-align: left; }
  .nav__menu.open .nav__portal, .nav__menu.open .nav__cta { margin: 14px 0 0; justify-content: center; width: 100% !important; padding: 13px !important; }
  .nav__menu.open > li:has(.nav__portal), .nav__menu.open > li:has(.nav__cta) { border-bottom: 0; }
}
.nav__drop { min-width: 300px; }

/* An older page rule ("body > * { position: relative }") pinned the bar and the WhatsApp
   button to the end of the page; keep both fixed to the screen. */
html body > #stickyCta.sticky-cta { position: fixed; z-index: 9998; }
html body > a.wa-float:not(#_) { position: fixed; z-index: 9997; }   /* :not(#_) outweighs the older rule */

@media (max-width: 1100px) {
  .nav__menu.open .nav__cta { display: flex !important; align-items: center; justify-content: center; }
}
/* Phone: the conditions in two columns, tighter */
@media (max-width: 768px) {
  .conditions__grid { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .conditions__grid > * { padding: 16px 12px !important; }
}
.diag-card__icon, .treat-card__emoji, .youth-card__icon { font-size: 0 !important; }

/* ============================================================
   Compact home page (design v4)
   ============================================================ */
.hero { min-height: min(760px, 92vh) !important; }
.hero-chips { margin-top: 30px; }
.hero-chips__label { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.hero-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chip {
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-2); background: rgba(255,255,255,.05);
  color: var(--text); font: inherit; font-size: .92rem; cursor: pointer; transition: background .2s, border-color .2s;
}
.hero-chip:hover { background: rgba(201,169,110,.16); border-color: var(--accent); }

.help.section, .how.section { padding: 72px 0; }
.help__container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.help__head { text-align: center; margin-bottom: 32px; }
.help__head .section__title { margin-top: 8px; }
.help__layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.help__tabs { display: flex; flex-direction: column; gap: 6px; }
.help__tab {
  text-align: left; padding: 13px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent;
  color: var(--text-2); font: inherit; font-size: 1rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.help__tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.help__tab.active { color: var(--text); background: var(--surface-2); border-color: var(--border-2); font-weight: 600; }
.help__panel { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px 34px; min-height: 320px; }
.help__panel-title { font-family: var(--font-display); font-size: 1.9rem; color: var(--text); margin-bottom: 10px; }
.help__panel-text { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; max-width: 640px; }
.help__panel-label { margin-top: 22px; margin-bottom: 10px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.help__methods { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.help__methods li { padding: 7px 13px; border-radius: 999px; background: rgba(201,169,110,.12); color: var(--accent-light); font-size: .92rem; }
.help__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.help__note { text-align: center; margin-top: 22px; color: var(--text-2); }
.help__note a { color: var(--accent); }

.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how__step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; }
.how__num { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.how__step h3 { font-size: 1.12rem; color: var(--text); margin: 6px 0 6px; }
.how__step p { color: var(--text-2); font-size: .95rem; line-height: 1.6; margin: 0; }
.how__subtitle { text-align: center; font-family: var(--font-display); font-size: 1.45rem; color: var(--text); margin: 40px 0 18px; }
.how__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how__tile {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s;
}
.how__tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.how__tile .ico { margin: 0; flex-shrink: 0; }
.how__tile strong { display: block; font-size: 1rem; }
.how__tile small { display: block; color: var(--text-2); font-size: .86rem; margin-top: 2px; }

/* The rest of the home page: less empty space */
.testimonials.section, .team.section, .faq.section, .contact.section { padding: 64px 0 !important; }
.team-card__photo { height: 150px !important; min-height: 0 !important; }
.section__header, .section-header { margin-bottom: 32px !important; }

@media (max-width: 900px) {
  .help__layout { grid-template-columns: 1fr; }
  .help__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .help__tab { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; border-color: var(--border); }
  .help__panel { padding: 24px 20px; min-height: 0; }
  .help__panel-title { font-size: 1.5rem; }
  .how__steps { grid-template-columns: 1fr; gap: 10px; }
  .how__tiles { grid-template-columns: 1fr 1fr; }
  .how__tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .help.section, .how.section { padding: 48px 0; }
  .testimonials.section, .team.section, .faq.section, .contact.section { padding: 48px 0 !important; }
  .hero { min-height: 0 !important; }
}

/* "რა გაწუხებს?": one booking button under the whole block */
.help__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.help__cta .help__note { margin-top: 0; }

/* Stats band: word cards (personal / painless) sit on the same line as the big numbers. */
.stats__number.stats__number--word { font-family: 'Noto Sans Georgian','Inter',system-ui,sans-serif !important; font-size: 1.75rem; min-height: 2.4rem; display:flex; align-items:flex-end; justify-content:center; }
@media (max-width: 600px) { .stats__number.stats__number--word { font-size: 1.3rem; min-height: auto; } }

/* ============================================================
   iOS-style menu (every width where the burger shows, ≤1400px)
   A small frosted card under the burger; the page stays visible,
   only softly dimmed. Rows with chevrons, "მეთოდები" opens in place.
   ============================================================ */
html body .nav__burger {
  width: 44px; height: 44px; padding: 0 !important; border: 0; border-radius: 12px; background: transparent;
  align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none;
  transition: background .2s ease;
}
html body .nav__burger:hover { background: rgba(255,255,255,.07); }
html body .nav__burger:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
html body .nav__burger span { transition: transform .32s cubic-bezier(.32,1.25,.5,1), opacity .2s ease; }
html body .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html body .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
html body .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

html body > #navScrim:not(#_) {
  position: fixed; inset: 0; z-index: 999; background: rgba(6, 8, 18, .20);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
html.menu-open body > #navScrim:not(#_) { opacity: 1; pointer-events: auto; }

@media (max-width: 1400px) {
  html body .nav .nav__menu {
    display: flex !important; position: fixed !important; z-index: 1001 !important;
    top: calc(var(--nav-h) - 4px) !important; bottom: auto !important;
    left: var(--menu-x, 10px) !important; right: auto !important;
    width: min(340px, calc(100vw - 20px)) !important; max-height: calc(100dvh - var(--nav-h) - 20px);
    overflow-y: auto; overscroll-behavior: contain;
    flex-direction: row !important; flex-wrap: wrap; justify-content: space-between;
    align-items: flex-start !important; gap: 0 !important; text-align: left;
    padding: 8px !important; border-radius: 22px !important; border: 1px solid rgba(255,255,255,.10) !important;
    background: rgba(32, 35, 52, .74) !important;
    backdrop-filter: blur(30px) saturate(180%) !important; -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.42), 0 2px 10px rgba(0,0,0,.22) !important;
    opacity: 0; visibility: hidden; transform: scale(.92) translateY(-8px);
    transform-origin: var(--menu-origin, top right);
    transition: opacity .18s ease, transform .3s cubic-bezier(.32,1.25,.5,1), visibility 0s linear .3s;
  }
  html body .nav .nav__menu.open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s ease, transform .34s cubic-bezier(.32,1.25,.5,1), visibility 0s;
  }
  html body .nav .nav__menu > li { width: 100% !important; margin: 0 !important; border: 0 !important; }
  /* thin inset line between rows, like iOS lists */
  html body .nav .nav__menu > li + li > .nav__link {
    background-image: linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.08)) !important;
    background-size: calc(100% - 28px) 1px !important; background-position: 14px 0 !important; background-repeat: no-repeat !important;
  }
  html body .nav .nav__menu > li > .nav__link {
    display: flex !important; align-items: center; justify-content: space-between; width: 100% !important;
    padding: 13px 14px !important; font-size: 1.02rem !important; font-weight: 500; letter-spacing: 0;
    color: #f2f2f7 !important; border-radius: 13px !important; text-align: left; background-color: transparent;
    transition: background .15s ease; -webkit-tap-highlight-color: transparent;
  }
  html body .nav .nav__menu > li > .nav__link:hover,
  html body .nav .nav__menu > li > .nav__link:active { background-color: rgba(255,255,255,.08) !important; }
  html body .nav .nav__menu > li > .nav__link::after {
    content: "" !important; display: block !important; position: static !important; flex-shrink: 0;
    width: 7px !important; height: 7px !important; margin: 0 4px 0 12px !important; padding: 0 !important;
    background: none !important; border: 0 !important; opacity: 1 !important;
    border-top: 2px solid rgba(235,235,245,.32) !important; border-right: 2px solid rgba(235,235,245,.32) !important;
    transform: rotate(45deg) !important; transition: transform .25s ease !important;
  }
  html body .nav .nav__menu > .nav__item--drop > .nav__link::after { transform: rotate(135deg) translate(-2px, 2px) !important; }
  html body .nav .nav__menu > .nav__item--drop.sub-open > .nav__link::after { transform: rotate(-45deg) translate(-1px, 2px) !important; }

  /* "მეთოდები" — opens in place as an inner rounded group */
  html body .nav .nav__menu .nav__drop {
    position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
    min-width: 0 !important; width: 100%; box-shadow: none !important; border: 0 !important;
    background: rgba(255,255,255,.055) !important; border-radius: 14px !important;
    max-height: 0; overflow: hidden; margin: 0 !important; padding: 0 4px !important;
    transition: max-height .3s ease, margin .3s ease, padding .3s ease;
  }
  html body .nav .nav__menu .nav__item--drop.sub-open > .nav__drop { max-height: 360px; margin: 2px 0 8px !important; padding: 4px !important; }
  html body .nav .nav__menu .nav__sublink {
    padding: 11px 12px !important; font-size: .95rem !important; color: rgba(235,235,245,.82) !important; border-radius: 10px !important;
  }
  html body .nav .nav__menu .nav__sublink:hover { background: rgba(255,255,255,.07) !important; color: #fff !important; }

  /* Two buttons side by side at the bottom: შესვლა | დაჯავშნე */
  html body .nav .nav__menu > li:has(.nav__portal),
  html body .nav .nav__menu > li:has(.nav__cta) { width: calc(50% - 4px) !important; margin-top: 8px !important; }
  html body .nav .nav__menu .nav__portal,
  html body .nav .nav__menu .nav__cta {
    display: flex !important; align-items: center; justify-content: center; gap: 7px;
    width: 100% !important; margin: 0 !important; padding: 12px 10px !important; border-radius: 14px !important;
    font-size: .95rem !important; font-weight: 600;
  }
  html body .nav .nav__menu .nav__portal { background: rgba(255,255,255,.09) !important; border: 0 !important; color: #f2f2f7 !important; }
  html body .nav .nav__menu .nav__portal:hover { background: rgba(255,255,255,.14) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body .nav .nav__menu, html body .nav .nav__menu.open, html body .nav__burger span { transition: none !important; }
}

/* ============================================================
   iOS feel across the whole site
   Rounded buttons with a soft top light, a gentle press (shrink + spring back),
   frosted secondary buttons, segmented tabs, grouped FAQ, iOS-style fields,
   and a bottom sheet for the details window on phones.
   Scoped to the dark theme (the one the site uses).
   ============================================================ */
:root {
  --ios-spring: cubic-bezier(.32, 1.25, .5, 1);
  --ios-out: cubic-bezier(.2, .8, .2, 1);
  --ios-glass: rgba(255,255,255,.07);
  --ios-glass-2: rgba(255,255,255,.12);
  --ios-line: rgba(255,255,255,.09);
}

/* Buttons */
html:not([data-theme="combo"]) body :is(.btn, .nav__cta, .scr-submit-btn, .team-card__detail-btn, .social-btn) {
  border-radius: 14px; font-weight: 600; letter-spacing: 0; -webkit-tap-highlight-color: transparent;
  transition: transform .4s var(--ios-spring), background .2s ease, box-shadow .25s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
html:not([data-theme="combo"]) body .btn--large { border-radius: 16px; }
html:not([data-theme="combo"]) body :is(.btn--primary, .nav__cta, .scr-submit-btn) {
  background: linear-gradient(180deg, #dcbf88 0%, var(--accent) 100%); color: #10101a; border: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 18px rgba(201,169,110,.20);
}
html:not([data-theme="combo"]) body :is(.btn--primary, .nav__cta, .scr-submit-btn):hover {
  background: linear-gradient(180deg, #e6cc98 0%, #cfaf74 100%); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 10px 26px rgba(201,169,110,.28);
}
html:not([data-theme="combo"]) body :is(.btn--ghost, .btn--outline, .btn--outline-white, .team-card__detail-btn, .social-btn) {
  background: var(--ios-glass); border: 1px solid var(--ios-line); color: #f2f2f7;
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
}
html:not([data-theme="combo"]) body :is(.btn--ghost, .btn--outline, .btn--outline-white, .team-card__detail-btn, .social-btn):hover {
  background: var(--ios-glass-2); border-color: rgba(255,255,255,.16); color: #fff; transform: translateY(-1px);
}

/* Press: everything tappable shrinks a little and springs back */
:is(.btn, .nav__cta, .scr-submit-btn, .team-card__detail-btn, .social-btn, .sticky-cta__btn,
    .hero-chip, .scr-tab, .bc-tab, .methods__tab, .lang-btn, .nav__burger, .wa-float) {
  -webkit-tap-highlight-color: transparent;
}
html body :is(.btn, .nav__cta, .scr-submit-btn, .team-card__detail-btn, .social-btn, .sticky-cta__btn,
    .hero-chip, .scr-tab, .bc-tab, .methods__tab, .lang-btn, .nav__burger):active {
  transform: scale(.95) !important; opacity: .82; transition: transform .08s ease, opacity .08s ease !important;
}
html body :is(.help__tab, .how__tile, .faq__question, .testi-card, .team-card):active {
  transform: scale(.985) !important; transition: transform .1s ease !important;
}
html body a.wa-float:not(#_):active { transform: scale(.9); }

/* Chips and pill tabs: frosted pills; the chosen one is filled */
html:not([data-theme="combo"]) body :is(.hero-chip, .scr-tab, .bc-tab) {
  border-radius: 999px; background: var(--ios-glass); border: 1px solid var(--ios-line); color: #e9e9f0;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .4s var(--ios-spring), background .2s ease, color .2s ease, border-color .2s ease;
}
html:not([data-theme="combo"]) body :is(.hero-chip, .scr-tab, .bc-tab):hover { background: var(--ios-glass-2); color: #fff; border-color: rgba(255,255,255,.16); }
html:not([data-theme="combo"]) body :is(.scr-tab, .bc-tab).active {
  background: linear-gradient(180deg, #dcbf88 0%, var(--accent) 100%); color: #10101a; border-color: transparent; font-weight: 600;
}

/* Method tabs: an iOS segmented control */
html:not([data-theme="combo"]) body .methods__tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 0; border-radius: 14px;
  background: rgba(118,118,128,.20);
}
html:not([data-theme="combo"]) body .methods__tab {
  border: 0; margin: 0; border-radius: 10px; padding: 10px 18px; color: rgba(235,235,245,.7);
  transition: transform .4s var(--ios-spring), background .25s ease, color .2s ease, box-shadow .25s ease;
}
html:not([data-theme="combo"]) body .methods__tab:hover { color: #fff; }
html:not([data-theme="combo"]) body .methods__tab.active {
  background: rgba(255,255,255,.16); color: #fff; font-weight: 600; box-shadow: 0 3px 10px rgba(0,0,0,.25), inset 0 .5px 0 rgba(255,255,255,.2);
}
@media (max-width: 480px) { html:not([data-theme="combo"]) body .methods__tabs { display: grid; } }

/* Help block: list on the left like iOS settings, card on the right */
html:not([data-theme="combo"]) body .help__tab { border-radius: 14px; transition: transform .4s var(--ios-spring), background .2s ease, color .2s ease; }
html:not([data-theme="combo"]) body .help__tab.active { background: rgba(255,255,255,.10); border-color: transparent; box-shadow: inset 0 .5px 0 rgba(255,255,255,.12); }
html:not([data-theme="combo"]) body .help__panel {
  border-radius: 24px; border-color: var(--ios-line);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.03));
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.help__panel > * { animation: iosIn .38s var(--ios-out) both; }
.help__panel > *:nth-child(2) { animation-delay: .03s; }
.help__panel > *:nth-child(3) { animation-delay: .06s; }
.help__panel > *:nth-child(n+4) { animation-delay: .09s; }
@keyframes iosIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Cards lift softly */
html:not([data-theme="combo"]) body :is(.how__tile, .testi-card, .team-card) {
  border-radius: 20px; transition: transform .45s var(--ios-spring), border-color .2s ease, background .2s ease, box-shadow .3s ease;
}
html:not([data-theme="combo"]) body :is(.how__tile, .testi-card, .team-card):hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.28); }

/* FAQ: grouped rounded rows */
html:not([data-theme="combo"]) body .faq__item {
  border: 0; border-radius: 16px; margin-bottom: 10px; padding: 0 20px;
  background: rgba(255,255,255,.045); transition: background .25s ease;
}
html:not([data-theme="combo"]) body .faq__item.open { background: rgba(255,255,255,.075); }
html:not([data-theme="combo"]) body .faq__question { padding: 18px 0; }
html:not([data-theme="combo"]) body .faq__icon {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 1.15rem;
  transition: transform .4s var(--ios-spring), background .2s ease, color .2s ease;
}
html:not([data-theme="combo"]) body .faq__item.open .faq__icon { background: rgba(201,169,110,.18); }

/* Fields: filled, rounded, soft gold ring on focus */
html:not([data-theme="combo"]) body :is(.form__group input, .form__group select, .form__group textarea) {
  border-radius: 12px; background-color: rgba(118,118,128,.16); border: 1px solid transparent;
  transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
html:not([data-theme="combo"]) body :is(.form__group input, .form__group select, .form__group textarea):focus {
  outline: none; background-color: rgba(118,118,128,.22); border-color: rgba(201,169,110,.55); box-shadow: 0 0 0 4px rgba(201,169,110,.18);
}

/* Language pill */
html body .lang-switcher .lang-btn { border-radius: 10px; transition: transform .4s var(--ios-spring), background .2s ease; }

/* Phone bottom bar: frosted like the iOS tab bar */
html body > #stickyCta.sticky-cta {
  background: rgba(18, 20, 32, .72); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: .5px solid rgba(255,255,255,.12); transition: transform .45s var(--ios-spring);
}
html body .sticky-cta__btn { border-radius: 14px !important; transition: transform .4s var(--ios-spring), opacity .15s ease; }
html body .sticky-cta__btn--ghost { background: rgba(255,255,255,.09) !important; border: 0 !important; }

/* Details window: springier card; a bottom sheet on phones */
html body .fs-body { border-radius: 26px; border-color: var(--ios-line); animation: iosCard .42s var(--ios-spring); }
@keyframes iosCard { from { opacity: 0; transform: scale(.94) translateY(14px); } to { opacity: 1; transform: none; } }
html body .fs-nav { z-index: 2; }
html body .fs-nav__back { border-radius: 50%; background: rgba(255,255,255,.12); border: 0; font-size: 0 !important; color: #f2f2f7;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .4s var(--ios-spring), background .2s ease; }
html body .fs-nav__back::after { font-size: .9rem; }
html body .fs-nav__back:active { transform: scale(.9); }
@keyframes iosSheet { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 600px) {
  html body .fs-overlay[style*="flex"] { align-items: flex-end !important; padding: 0 !important; }
  html body .fs-nav { top: calc(9vh + 14px) !important; right: 14px !important; }
  html body .fs-body {
    height: 91vh; max-height: 91vh; border-radius: 24px 24px 0 0; padding: 34px 20px calc(24px + env(safe-area-inset-bottom));
    animation: iosSheet .45s var(--ios-out);
  }
}

/* Scroll-in: shorter rise, smoother ease */
.fade-up { transform: translateY(18px); transition: opacity .7s var(--ios-out), transform .8s var(--ios-out); }

@media (prefers-reduced-motion: reduce) {
  .help__panel > *, html body .fs-body { animation: none !important; }
  .fade-up { transition: opacity .3s ease; transform: none; }
}

/* ============================================================
   Website chat (js/chat.js) — replaces the WhatsApp button.
   iOS Messages look: gold bubbles for the visitor, frosted grey for the assistant.
   ============================================================ */
html body > a.wa-float:not(#_) { display: none !important; }

html body > #chatFab:not(#_) {
  position: fixed; right: 24px; bottom: 24px; z-index: 9990;
  display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600; font-size: .95rem;
  color: #10101a; background: linear-gradient(180deg, #dcbf88 0%, var(--accent) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 30px rgba(0,0,0,.35), 0 4px 14px rgba(201,169,110,.3);
  transition: transform .4s var(--ios-spring, ease), box-shadow .25s ease, opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}
html body > #chatFab:not(#_) svg { width: 24px; height: 24px; }
html body > #chatFab:not(#_):hover { transform: translateY(-2px); }
html body > #chatFab:not(#_):active { transform: scale(.94); }
html.chat-open body > #chatFab:not(#_) { opacity: 0; pointer-events: none; transform: scale(.8); }
html.chat-open body > #stickyCta.sticky-cta { transform: translateY(110%); }

html body > #chatPanel:not(#_) {
  position: fixed; right: 24px; bottom: 24px; z-index: 10001;
  width: 380px; height: min(620px, calc(100dvh - 48px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; border: 1px solid rgba(255,255,255,.10);
  background: rgba(22, 24, 38, .86);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 2px 10px rgba(0,0,0,.25);
  opacity: 0; transform: scale(.9) translateY(16px); transform-origin: bottom right;
  transition: opacity .2s ease, transform .38s var(--ios-spring, ease);
}
html body > #chatPanel:not(#_)[hidden] { display: none; }
html body > #chatPanel:not(#_).is-open { opacity: 1; transform: none; }

.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px 16px; border-bottom: .5px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); }
.chat-avatar {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display, serif); font-weight: 700; font-size: 1.15rem; color: #10101a;
  background: linear-gradient(180deg, #e2c690, var(--accent));
}
.chat-head__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-title { color: #f2f2f7; font-size: 1rem; font-weight: 600; }
.chat-status { display: flex; align-items: center; gap: 6px; color: rgba(235,235,245,.6); font-size: .78rem; }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgba(52,199,89,.18); }
.chat-icon-btn {
  width: 34px; height: 34px; flex-shrink: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.09); color: rgba(235,235,245,.85); transition: transform .3s var(--ios-spring, ease), background .2s ease;
}
.chat-icon-btn svg { width: 16px; height: 16px; }
.chat-icon-btn:hover { background: rgba(255,255,255,.15); }
.chat-icon-btn:active { transform: scale(.9); }

.chat-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg {
  max-width: 84%; padding: 10px 14px; border-radius: 20px; font-size: .94rem; line-height: 1.5; word-wrap: break-word;
  animation: chatIn .32s var(--ios-spring, ease) both;
}
.chat-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.chat-msg--bot { align-self: flex-start; background: rgba(255,255,255,.09); color: #f2f2f7; border-bottom-left-radius: 6px; }
.chat-msg--user { align-self: flex-end; background: linear-gradient(180deg, #dcbf88, var(--accent)); color: #10101a; border-bottom-right-radius: 6px; }
.chat-msg--error { background: rgba(255,69,58,.14); color: #ffd7d4; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-typing { display: inline-flex; gap: 4px; padding: 13px 16px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(235,235,245,.55); animation: chatDot 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }

.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 10px; }
.chat-quick[hidden] { display: none; }
.chat-quick button {
  border: 1px solid rgba(201,169,110,.45); background: rgba(201,169,110,.10); color: var(--accent-light, #e2c690);
  border-radius: 999px; padding: 7px 13px; font: inherit; font-size: .84rem; cursor: pointer;
  transition: transform .3s var(--ios-spring, ease), background .2s ease;
}
.chat-quick button:hover { background: rgba(201,169,110,.2); }
.chat-quick button:active { transform: scale(.94); }

.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 8px 12px 6px; }
.chat-input {
  flex: 1; resize: none; min-height: 40px; max-height: 120px; padding: 9px 14px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(118,118,128,.18); color: #f2f2f7;
  font: inherit; font-size: 16px; line-height: 1.35; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.chat-input::placeholder { color: rgba(235,235,245,.45); }
.chat-input:focus { border-color: rgba(201,169,110,.6); box-shadow: 0 0 0 3px rgba(201,169,110,.15); }
.chat-send {
  width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #10101a; background: linear-gradient(180deg, #dcbf88, var(--accent));
  transition: transform .3s var(--ios-spring, ease), opacity .2s ease;
}
.chat-send svg { width: 18px; height: 18px; }
.chat-send:active { transform: scale(.9); }
.chat-send:disabled { opacity: .45; cursor: default; }
.chat-note { margin: 0; padding: 2px 16px 12px; font-size: .7rem; line-height: 1.4; color: rgba(235,235,245,.42); text-align: center; }
.chat-note a { color: rgba(235,235,245,.6); }

/* Phone: the chat button lives in the bottom bar; the window fills the screen like an iOS sheet. */
@media (max-width: 768px) {
  html body > #chatFab:not(#_) { display: none; }
}
@media (max-width: 600px) {
  html body > #chatPanel:not(#_) {
    inset: 0; right: 0; bottom: 0; width: 100%; height: 100dvh; border-radius: 0; border: 0;
    padding-bottom: env(safe-area-inset-bottom); background: rgba(16, 18, 30, .96);
    transform: translateY(100%); transform-origin: bottom center;
    transition: opacity .15s ease, transform .42s cubic-bezier(.2,.8,.2,1);
  }
  html body > #chatPanel:not(#_).is-open { transform: none; }
  html.chat-open body { overflow: hidden; }
  .chat-head { padding-top: calc(14px + env(safe-area-inset-top)); }
}
@media (prefers-reduced-motion: reduce) {
  html body > #chatPanel:not(#_), .chat-msg, .chat-typing span { transition: none !important; animation: none !important; }
}
