/* ============================================
   安森老师 Anson — Personal Brand Site
   Palette from logo: cream · ink · bright blue
   ============================================ */

:root {
  --cream: #fdf6ed;
  --cream-deep: #f5e8d6;
  --cream-soft: #fffaf3;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --blue: #1d6fd8;
  --blue-deep: #1557b0;
  --blue-soft: #e8f1fc;
  --coral: #ff6b4a;
  --coral-soft: #ffe8e2;
  --white: #ffffff;
  --line: rgba(28, 25, 23, 0.08);
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 25, 23, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-cn);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(253, 246, 237, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1.2;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  background: var(--blue);
  color: var(--white);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 4px 12px rgba(29, 111, 216, 0.2);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand-text strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.nav-brand-text small {
  font-family: var(--font-en);
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  margin: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.25s;
}

/* Desktop: brand — links — lang */
@media (min-width: 721px) {
  .nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
  }

  .nav-links {
    justify-content: flex-end;
    margin-right: 0.25rem;
  }

  .nav-actions {
    margin-left: 0;
    order: 3;
  }

  .nav-brand {
    order: 1;
  }

  .nav-links {
    order: 2;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(29, 111, 216, 0.35);
}

.btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 12px 28px rgba(29, 111, 216, 0.4);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-nav {
  padding: 0.55rem 1.1rem !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: #b8d4f8;
  top: -80px;
  right: 10%;
}

.blob-2 {
  width: 240px;
  height: 240px;
  background: #ffd4c8;
  bottom: 0;
  left: 5%;
}

.blob-3 {
  width: 180px;
  height: 180px;
  background: #ffe9a8;
  top: 40%;
  left: 40%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1rem;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero h1 .line-soft {
  display: block;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.72em;
  margin-bottom: 0.15em;
}

.hero h1 .line-strong {
  display: block;
  background: linear-gradient(120deg, var(--blue) 0%, #3b8ef0 50%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.hero-lead strong {
  color: var(--ink);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat strong {
  font-family: var(--font-en);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  background: var(--white);
  border-radius: 32px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  max-width: 380px;
  width: 100%;
  animation: float-soft 5s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.float-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  animation: float-soft 4s ease-in-out infinite;
}

.chip-1 {
  top: 12%;
  left: -4%;
  animation-delay: -1s;
}

.chip-2 {
  bottom: 18%;
  right: -6%;
  background: var(--blue);
  color: var(--white);
  border-color: transparent;
  animation-delay: -2s;
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head.light h2,
.section-head.light .section-sub {
  color: var(--white);
}

.section-head.light .eyebrow {
  color: #9ec0f5;
}

.section-head.light .section-sub {
  color: rgba(255, 255, 255, 0.78);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}

.about-main {
  padding: 2rem;
}

.about-main h3 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.about-main p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.check-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.about-side {
  display: grid;
  gap: 0.85rem;
}

.info-pill {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
}

.pill-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.info-pill strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.info-pill p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Why ---------- */
.why {
  background: linear-gradient(145deg, #1557b0 0%, #1d6fd8 45%, #3b8ef0 100%);
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, background 0.2s;
}

.why-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.why-num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.85rem;
  color: #9ec0f5;
  margin-bottom: 0.85rem;
}

.why-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.why-card p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

/* ---------- Courses ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.course-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.course-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, #f0f6ff 0%, var(--white) 50%);
  box-shadow: 0 16px 40px rgba(29, 111, 216, 0.12);
}

.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--coral);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.course-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.course-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.course-card > p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.course-card ul {
  display: grid;
  gap: 0.45rem;
}

.course-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.course-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.courses-cta {
  text-align: center;
  margin-top: 2.25rem;
}

/* ---------- Method ---------- */
.method {
  background: var(--cream-deep);
}

.method-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.method-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.25;
}

.method-copy > p {
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
}

.method-steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-n {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.step strong {
  display: block;
  margin-bottom: 0.15rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.method-panel {
  padding: 2rem;
}

.method-panel blockquote {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  border-left: 4px solid var(--blue);
  padding-left: 1rem;
}

.method-panel cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  font-family: var(--font-en);
}

.method-note {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.method-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.method-tags span {
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

/* ---------- Social ---------- */
/* TikTok embeds */
.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.tiktok-card {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1rem;
  overflow: hidden;
}

.tiktok-meta {
  margin-bottom: 0.85rem;
}

.tiktok-views {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.tiktok-meta h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.tiktok-meta p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.tiktok-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
}

.tiktok-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tiktok-open {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--blue);
  transition: color 0.15s;
}

.tiktok-open:hover {
  color: var(--blue-deep);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 1.15rem;
}

.social-grid-links {
  margin-top: 0.5rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 220px;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.social-card.tiktok .social-icon {
  background: #111;
  color: #fff;
}

.social-card.ig .social-icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
}

.social-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-en);
  font-size: 1.1rem;
}

.social-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.social-cta {
  margin-top: 1.25rem;
  font-weight: 800;
  color: var(--blue);
  font-size: 0.95rem;
}

.social-highlight {
  padding: 1.75rem;
}

.hl-label {
  margin: 0 0 1rem;
  font-weight: 800;
  color: var(--ink);
}

.social-highlight ul {
  display: grid;
  gap: 0.7rem;
}

.social-highlight li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.social-highlight li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 800;
}

/* ---------- Quotes ---------- */
.quotes {
  padding-top: 2rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote-card {
  padding: 1.5rem;
  margin: 0;
}

.quote-card p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
}

.quote-card figcaption {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-en);
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
}

.contact-copy > p {
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
}

.contact-channels {
  display: grid;
  gap: 0.75rem;
}

.channel {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  transition: border-color 0.2s;
}

a.channel:hover {
  border-color: var(--blue);
}

.channel strong {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.channel span {
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-form {
  padding: 1.75rem;
}

.contact-form h3 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.form-success {
  margin: 0.75rem 0 0;
  text-align: center;
  font-weight: 700;
  color: var(--blue);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  text-align: center;
  justify-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-brand strong {
  display: block;
  color: white;
  font-size: 1.05rem;
}

.footer-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}

.footer-links a {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-en);
}

/* ---------- FAB WhatsApp ---------- */
.fab-wa {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .method-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tiktok-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }

  .tiktok-frame {
    max-height: 560px;
  }

  .social-grid {
    grid-template-columns: 1fr 1fr;
  }

  .social-highlight {
    grid-column: 1 / -1;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 320px;
    margin-inline: auto;
  }

  .float-chip {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-actions {
    order: 2;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(253, 246, 237, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 0.5rem;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: var(--blue-soft);
  }

  .btn-nav {
    text-align: center;
    margin-top: 0.35rem;
  }

  .course-grid,
  .why-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-stats {
    gap: 1rem 1.5rem;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .tiktok-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .tiktok-frame {
    max-height: 440px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-card,
  .float-chip {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
