/* ============================================================
   you.mazing — Website stylesheet
   Corporate design: Montserrat · Navy #0a2351 · Yellow #fdc100
   ============================================================ */

:root {
  --navy: #0a2351;
  --navy-2: #0e2c63;
  --blue: #5375b4;
  --lavender: #c3d2fa;
  --lav-tint: #eef1fb;
  --yellow: #fdc100;
  --yellow-light: #ffde5a;
  --yellow-dark: #e3ae05;
  --paper: #fbfcfe;
  --ink: #0a2351;
  --muted: #5b6b8c;

  --grad-yellow: linear-gradient(90deg, var(--yellow-light), var(--yellow-dark));
  --grad-radial: radial-gradient(120% 120% at 25% 15%, #1c47a0 0%, #0d2c66 42%, #0a2351 78%);
  --grad-radial-soft: radial-gradient(120% 130% at 80% 0%, #28529f 0%, #102d63 45%, #08193b 100%);

  --maxw: 1180px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-card: 0 18px 50px -20px rgba(10,35,81,.28);
  --shadow-soft: 0 10px 30px -16px rgba(10,35,81,.22);

  --accent: var(--yellow);
  --accent-grad: var(--grad-yellow);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--yellow); color: var(--navy); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section.dark { background: var(--grad-radial); color: #fff; }
.section.dark-2 { background: var(--grad-radial-soft); color: #fff; }
.section.tint { background: var(--lav-tint); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(83,117,180,.14); color: var(--blue);
  border: 1px solid rgba(83,117,180,.28);
}
.dark .eyebrow, .dark-2 .eyebrow {
  background: rgba(255,255,255,.07); color: var(--yellow);
  border-color: rgba(253,193,0,.32);
}
.h-display { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 600; }
.h-1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.h-2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.h-3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; font-weight: 300; }
.text-yellow { color: var(--yellow); }
.thin { font-weight: 200; }
.light { font-weight: 300; }
.medium { font-weight: 500; }
p { line-height: 1.62; }

.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { margin: 18px 0 0; }
.section-head .lead { margin: 18px 0 0; opacity: .82; }
.dark .section-head .lead, .dark-2 .section-head .lead { opacity: .72; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; line-height: 1; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-grad); color: var(--navy);
  box-shadow: 0 12px 26px -10px rgba(227,174,5,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(227,174,5,.7); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid rgba(10,35,81,.22); }
.btn-ghost:hover { border-color: var(--navy); }
.dark .btn-ghost, .dark-2 .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.dark .btn-ghost:hover, .dark-2 .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav.scrolled { background: rgba(251,252,254,.86); backdrop-filter: blur(14px); border-bottom-color: rgba(10,35,81,.08); box-shadow: 0 6px 24px -18px rgba(10,35,81,.4); }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: .95rem; font-weight: 500; text-decoration: none; color: #fff;
  opacity: .85; transition: opacity .15s ease, color .15s ease; cursor: pointer;
}
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; color: var(--yellow); }
.nav.scrolled .nav-link.active { color: var(--blue); }
.nav.scrolled .nav-logo img { content: none; }
.nav.scrolled .nav-link { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 11px 20px; font-size: .9rem; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .25s; border-radius: 2px; }
.nav.scrolled .nav-burger span { background: var(--navy); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--grad-radial);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 40px;
  transform: translateY(-100%); transition: transform .4s cubic-bezier(.7,0,.2,1); opacity: 0;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu a { color: #fff; text-decoration: none; font-size: 1.8rem; font-weight: 300; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu a:last-of-type { border: 0; }

/* ---------- hero shared ---------- */
.hero { position: relative; overflow: hidden; }
.hero .glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; }
.hero .glow.a { width: 520px; height: 520px; background: #2a59b8; top: -160px; right: -120px; }
.hero .glow.b { width: 420px; height: 420px; background: rgba(253,193,0,.25); bottom: -180px; left: -100px; }
.stats { display: flex; gap: 14px; flex-wrap: nowrap; }
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 20px 24px; flex: 1 1 0; min-width: 0; backdrop-filter: blur(6px);
}
.stat .num { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--yellow); line-height: 1; }
.stat .lbl { font-size: .82rem; opacity: .72; margin-top: 8px; font-weight: 300; line-height: 1.35; }

/* foerderung ribbon */
.ribbon {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: .9rem; font-weight: 500; color: var(--lavender);
}
.ribbon b { color: var(--yellow); font-weight: 600; }
.ribbon .strike { text-decoration: line-through; opacity: .5; font-weight: 300; }

/* ---------- placeholder image ---------- */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(83,117,180,.16) 0 12px, rgba(83,117,180,.06) 12px 24px),
    var(--lav-tint);
  border: 1px dashed rgba(83,117,180,.4);
  display: flex; align-items: center; justify-content: center; min-height: 220px;
}
.ph.on-dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 12px, rgba(255,255,255,.02) 12px 24px),
    rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.2);
}
.ph .tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .78rem;
  color: var(--blue); background: rgba(251,252,254,.85); padding: 7px 12px; border-radius: 8px;
  letter-spacing: .02em;
}
.ph.on-dark .tag { color: var(--lavender); background: rgba(10,35,81,.5); }

/* ---------- cards / offers ---------- */
.grid { display: grid; gap: 24px; }
.offer-card {
  background: #fff; border-radius: var(--r-lg); padding: 36px; border: 1px solid rgba(10,35,81,.07);
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.offer-card .kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.offer-card h3 { font-size: 1.5rem; }
.offer-card p { color: #44557a; font-weight: 300; margin: 0; }
.offer-card .price { font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.offer-card .price .was { text-decoration: line-through; opacity: .45; font-weight: 300; margin-right: 8px; }
.offer-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.offer-card li { display: flex; gap: 10px; font-size: .96rem; color: #3a4a6e; font-weight: 400; line-height: 1.4; }
.offer-card li svg { flex: none; margin-top: 2px; }
.offer-card .card-foot { margin-top: auto; padding-top: 8px; }

.offer-flag {
  background: var(--grad-radial); color: #fff; border: 0;
}
.offer-flag .kicker { color: var(--yellow); }
.offer-flag h3 { color: #fff; }
.offer-flag p { color: rgba(255,255,255,.78); }
.offer-flag li { color: rgba(255,255,255,.88); }
.offer-flag .price { color: #fff; }
.flag-badge {
  position: absolute; top: 24px; right: -42px; transform: rotate(45deg);
  background: var(--grad-yellow); color: var(--navy); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; padding: 7px 52px; text-transform: uppercase;
  text-align: center; width: 168px;
}

/* 4A method */
.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.phase {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden;
  transition: transform .25s ease, background .25s ease;
}
.phase:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); }
.phase .big-a {
  position: absolute; top: -22px; right: 6px; font-size: 7rem; font-weight: 700;
  color: rgba(253,193,0,.1); line-height: 1; pointer-events: none;
}
.phase .pnum { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.phase h3 { font-size: 1.3rem; margin: 14px 0 6px; color: #fff; }
.phase .tag-line { font-size: .82rem; color: var(--lavender); font-weight: 500; margin-bottom: 14px; }
.phase p { font-size: .92rem; color: rgba(255,255,255,.7); font-weight: 300; margin: 0; }

/* results */
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.result-grid > * { display: flex; flex-direction: column; }
.result {
  background: #fff; border-radius: var(--r-lg); padding: 36px 32px; text-align: left;
  border: 1px solid rgba(10,35,81,.07); box-shadow: var(--shadow-soft);
  flex: 1;
}
.result .big { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600; color: var(--navy); line-height: 1; }
.result .big small { font-size: 1.1rem; font-weight: 500; color: var(--blue); display: block; margin-top: 6px; }
.result h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.result p { font-size: .94rem; color: #44557a; font-weight: 300; margin: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-photo .cap {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  background: rgba(10,35,81,.66); backdrop-filter: blur(8px); color: #fff;
  padding: 16px 20px; border-radius: var(--r); font-size: .92rem;
}
.about-photo .cap b { color: var(--yellow); }
.about-body p { color: #3a4a6e; font-weight: 300; margin: 0 0 18px; }
.about-body p:first-of-type { margin-top: 24px; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.value {
  border-top: 3px solid var(--yellow); padding-top: 22px;
}
.value h4 { font-size: 1.15rem; margin-bottom: 10px; }
.value p { font-size: .92rem; color: #44557a; font-weight: 300; margin: 0; line-height: 1.55; }

/* testimonials */
.tgrid { columns: 3; column-gap: 24px; }
.tcard {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 28px; margin-bottom: 24px; break-inside: avoid;
  backdrop-filter: blur(4px);
}
.tcard .stars { color: var(--yellow); letter-spacing: 3px; font-size: .95rem; margin-bottom: 14px; }
.tcard p { font-size: .94rem; color: rgba(255,255,255,.82); font-weight: 300; line-height: 1.6; margin: 0 0 18px; }
.tcard .who { font-weight: 600; font-size: .98rem; }
.tcard .role { font-size: .82rem; color: var(--lavender); opacity: .8; margin-top: 2px; font-weight: 300; }
.tcard.video { padding: 0; overflow: hidden; }
.tcard.video .vid {
  aspect-ratio: 16/10; background: var(--grad-radial-soft); position: relative;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.tcard.video .play {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(253,193,0,.95);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.tcard.video .vlabel { position: absolute; top: 16px; left: 16px; right: 16px; font-size: .82rem; font-weight: 600; color: #fff; }
.tcard.video .body { padding: 24px 28px 28px; }

/* newsletter */
.news-grid { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); }
.news-photo { position: relative; min-height: 420px; }
.news-form { background: var(--lavender); padding: clamp(36px, 4vw, 56px); }
.news-form h2 { color: var(--navy); }
.news-form .lead { color: #2c3e6b; margin: 14px 0 28px; }
.news-form .field { margin-bottom: 14px; }
.news-form label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: #2c3e6b; margin-bottom: 6px; }
.news-form input[type=text], .news-form input[type=email] {
  width: 100%; padding: 15px 18px; border-radius: var(--r-sm); border: 1.5px solid rgba(10,35,81,.16);
  font-family: inherit; font-size: 1rem; background: rgba(255,255,255,.85); color: var(--navy);
}
.news-form input:focus { outline: none; border-color: var(--navy); background: #fff; }
.news-form .check { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: #2c3e6b; margin: 8px 0 22px; line-height: 1.45; font-weight: 300; }
.news-form .check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.news-form .btn { width: 100%; justify-content: center; }
.news-ok { background: rgba(255,255,255,.6); border-radius: var(--r); padding: 28px; text-align: center; color: var(--navy); }
.news-ok .check-ring { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }

/* footer */
.footer { background: var(--navy); color: #fff; padding: 72px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo img { height: 26px; margin-bottom: 18px; }
.footer p { color: rgba(255,255,255,.62); font-weight: 300; font-size: .95rem; max-width: 320px; }
.footer h5 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 18px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,.74); text-decoration: none; font-size: .95rem; font-weight: 300; padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: .85rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; margin-left: 20px; }
.footer-bottom a:hover { color: #fff; }

/* reveal — content always fully visible (no entrance animation; some preview
   environments freeze CSS animations/transitions at their first frame, which
   would leave content stuck invisible). */
.reveal { opacity: 1; transform: none; }

/* ---------- blog ---------- */
.blog-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(10,35,81,.07);
  box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.blog-card:hover .blog-more { gap: 12px; }
.blog-thumb { position: relative; aspect-ratio: 16/10; }
.blog-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--grad-yellow); color: var(--navy); padding: 6px 12px; border-radius: 999px;
}
.blog-cat.solid { position: static; display: inline-block; }
.blog-card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-meta { font-size: .8rem; color: var(--blue); font-weight: 500; letter-spacing: .02em; }
.blog-card h3 { font-size: 1.25rem; line-height: 1.22; }
.blog-card p { font-size: .95rem; color: #44557a; font-weight: 300; margin: 0; flex: 1; }
.blog-more { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: .9rem; transition: gap .2s ease; margin-top: 4px; }

.blog-card.featured { display: grid; grid-template-columns: 1.1fr 1fr; }
.blog-card.featured .blog-thumb { aspect-ratio: auto; min-height: 320px; }
.blog-card.featured .blog-card-body { padding: 40px; justify-content: center; }
.blog-card.featured h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.blog-card.featured p { font-size: 1.05rem; flex: none; }

.back-link { color: var(--lavender); text-decoration: none; font-size: .92rem; font-weight: 500; display: inline-block; }
.back-link:hover { color: #fff; }
.article-body p { font-size: 1.12rem; line-height: 1.72; color: #2f3f63; font-weight: 300; margin: 0 0 24px; }
.article-body .lead { margin-bottom: 28px; }
.article-cta {
  margin-top: 48px; padding: 36px; border-radius: var(--r-lg); background: var(--lav-tint);
  border: 1px solid rgba(83,117,180,.2); text-align: center;
}
.article-cta p { color: #44557a; font-weight: 300; margin: 12px 0 22px; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr !important; }
  .blog-card.featured { grid-template-columns: 1fr; }
  .blog-card.featured .blog-thumb { min-height: 220px; }
}

/* ---------- chat widget ---------- */
.chat-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 180;
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent-grad); box-shadow: 0 14px 34px -10px rgba(227,174,5,.6);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, opacity .2s ease;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.04); }
.chat-fab.hide { opacity: 0; pointer-events: none; transform: scale(.6); }

.chat-panel {
  position: fixed; bottom: 26px; right: 26px; z-index: 181;
  width: 380px; max-width: calc(100vw - 36px); height: 560px; max-height: calc(100vh - 52px);
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 90px -28px rgba(10,35,81,.5); border: 1px solid rgba(10,35,81,.08);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.chat-head { background: var(--grad-radial); color: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.chat-id { display: flex; align-items: center; gap: 12px; }
.chat-av { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-grad); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.chat-name { font-weight: 600; font-size: .98rem; }
.chat-status { font-size: .76rem; opacity: .8; display: flex; align-items: center; gap: 6px; margin-top: 2px; font-weight: 300; }
.chat-status .online { width: 7px; height: 7px; border-radius: 50%; background: #46d39a; box-shadow: 0 0 0 3px rgba(70,211,154,.25); }
.chat-x { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.chat-x:hover { background: rgba(255,255,255,.22); }

.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--lav-tint); display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.5; font-weight: 400; white-space: pre-wrap; }
.bubble.assistant { background: #fff; color: var(--navy); border: 1px solid rgba(10,35,81,.08); border-bottom-left-radius: 5px; align-self: flex-start; box-shadow: 0 4px 14px -10px rgba(10,35,81,.3); }
.bubble.user { background: var(--navy); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.bubble.typing { display: flex; gap: 5px; align-items: center; }
.cdot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .5; animation: cblink 1.2s infinite ease-in-out; }
.cdot:nth-child(2) { animation-delay: .2s; } .cdot:nth-child(3) { animation-delay: .4s; }
@keyframes cblink { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: .9; transform: translateY(-3px); } }

.chat-sugg { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.chat-sugg button {
  text-align: left; background: #fff; border: 1px solid rgba(83,117,180,.3); color: var(--navy);
  padding: 10px 14px; border-radius: 12px; font-family: inherit; font-size: .86rem; font-weight: 500; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.chat-sugg button:hover { border-color: var(--navy); transform: translateX(2px); }

.chat-input { display: flex; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid rgba(10,35,81,.08); }
.chat-input input { flex: 1; border: 1.5px solid rgba(10,35,81,.14); border-radius: 999px; padding: 11px 16px; font-family: inherit; font-size: .92rem; color: var(--navy); }
.chat-input input:focus { outline: none; border-color: var(--navy); }
.chat-input button[type=submit] { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--accent-grad); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.chat-input button[type=submit]:hover:not(:disabled) { transform: scale(1.06); }
.chat-input button[type=submit]:disabled { opacity: .4; cursor: default; }
.chat-foot { text-align: center; font-size: .68rem; color: #8893ad; padding: 0 0 9px; background: #fff; }

@media (max-width: 640px) {
  .chat-panel { bottom: 0; right: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .chat-fab { bottom: 18px; right: 18px; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav .nav-cta .btn { display: none; }
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .values { grid-template-columns: 1fr; }
  .tgrid { columns: 2; }
  .news-grid { grid-template-columns: 1fr; }
  .news-photo { min-height: 240px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .phase-grid { grid-template-columns: 1fr; }
  .tgrid { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr !important; }
  .stat { flex: 1; min-width: 0; }
}
