/* =========================================================
   UniKidSmart Center — Design System
   Modern minimalist · kids friendly
   Palette diambil dari logo UKSC (hijau, biru langit, merah,
   kuning, oranye) dengan navy sebagai warna teks utama.
   ========================================================= */

:root {
  /* Brand */
  --green: #8cc63f;
  --green-600: #6faa22;
  --green-50: #f1f9e6;
  --blue: #29abe2;
  --blue-600: #1590c6;
  --blue-50: #e8f6fd;
  --red: #ef4a3c;
  --red-50: #fdeceb;
  --yellow: #ffd23f;
  --yellow-50: #fff8dd;
  --orange: #f7931e;
  --orange-50: #fff1e0;
  --purple: #8e7cf0;
  --purple-50: #f1eefe;

  /* Neutrals */
  --navy: #1f2160;
  --ink: #2b2d55;
  --muted: #6b6f93;
  --line: #e9ebf5;
  --bg: #fffdf8;
  --bg-soft: #f6f9ff;
  --white: #ffffff;

  /* Typography */
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 44px;
  --shadow-sm: 0 2px 8px rgba(31, 33, 96, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(31, 33, 96, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(31, 33, 96, 0.28);

  --container: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*,
*::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-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--yellow);
  color: var(--navy);
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.section {
  padding: 110px 0;
  position: relative;
}
.section--soft {
  background: var(--bg-soft);
}
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left {
  margin-left: 0;
  text-align: left;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}
.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.eyebrow--green { color: var(--green-600); background: var(--green-50); }
.eyebrow--orange { color: var(--orange); background: var(--orange-50); }
.eyebrow--red { color: var(--red); background: var(--red-50); }

.hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.hl::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.08em;
  height: 0.38em;
  background: var(--yellow);
  border-radius: 999px;
  z-index: -1;
  transform-origin: left;
  animation: hl-in 1s 0.4s var(--ease) both;
}
.hl--green::after { background: #d5efb3; }
.hl--blue::after { background: #bfe7f8; }
@keyframes hl-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  position: relative;
  transition: transform 0.35s var(--bounce), box-shadow 0.35s var(--ease), background 0.3s;
  box-shadow: 0 6px 0 rgba(31, 33, 96, 0.15);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 0 rgba(31, 33, 96, 0.12), 0 18px 30px -12px rgba(31, 33, 96, 0.35);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(31, 33, 96, 0.15);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn--green { --btn-bg: var(--green); --btn-fg: var(--navy); }
.btn--wa { --btn-bg: #25d366; --btn-fg: #fff; }
.btn--yellow { --btn-bg: var(--yellow); --btn-fg: var(--navy); }
.btn--ghost {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  box-shadow: inset 0 0 0 2px var(--line), 0 6px 0 rgba(31, 33, 96, 0.06);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 2px var(--navy), 0 10px 0 rgba(31, 33, 96, 0.08);
}
.btn--sm { padding: 10px 20px; font-size: 0.95rem; }
.btn--block { width: 100%; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}
.logo__img {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.4s var(--bounce);
  display: block;
}
.logo:hover .logo__img {
  transform: scale(1.05);
}
.logo__badge {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--bounce);
}
.logo:hover .logo__badge {
  transform: translateY(-2px);
}
.logo__img--footer {
  height: 48px;
}
.logo__mark {
  width: 50px;
  height: 50px;
  flex: none;
  transition: transform 0.5s var(--bounce);
}
.logo:hover .logo__mark {
  transform: rotate(-8deg) scale(1.06);
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-size: 1.32rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo__name .g { color: var(--green-600); }
.logo__name .b { color: var(--blue); }
.logo__name .r { color: var(--red); }
.logo__name .y { color: #f2b705; }
.logo__sub {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 500;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, box-shadow 0.35s, height 0.35s;
}
.header.is-scrolled {
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(31, 33, 96, 0.3);
  --header-h: 68px;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.25s, color 0.25s;
}
.nav__link:hover {
  background: var(--blue-50);
  color: var(--blue-600);
}
.nav__link.is-active {
  background: var(--navy);
  color: #fff;
}
.header__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 0;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--line);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 90px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero__lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero__trust strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
}
.avatars {
  display: flex;
}
.avatars span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  margin-left: -12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.avatars span:first-child { margin-left: 0; }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.02;
  max-width: 540px;
  justify-self: center;
  width: 100%;
}
.hero__blob {
  position: absolute;
  inset: 4% 2% 2% 6%;
  background: var(--green);
  border-radius: 58% 42% 50% 50% / 48% 56% 44% 52%;
  animation: morph 12s ease-in-out infinite;
}
.hero__photo {
  position: absolute;
  inset: 8% 6% 6% 10%;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
  animation: morph 12s ease-in-out infinite reverse;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 50% 50% / 48% 56% 44% 52%; }
  50% { border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%; }
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 12px 18px 12px 12px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.25;
  animation: bob 5s ease-in-out infinite;
  z-index: 2;
}
.float-card small {
  display: block;
  font-family: var(--font-body);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
}
.float-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex: none;
}
.float-card--a { top: 10%; left: -6%; }
.float-card--b { bottom: 14%; right: -4%; animation-delay: -2.5s; }
.float-card--c { bottom: -2%; left: 8%; animation-delay: -1.2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Decorative shapes */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.deco--dot { border-radius: 50%; }
.deco--spin { animation: spin 22s linear infinite; }
.deco--float { animation: bob 6s ease-in-out infinite; }
@keyframes spin {
  to { transform: rotate(360deg); }
}
.hero > .container { position: relative; z-index: 1; }

.squiggle {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 2.4s 0.6s var(--ease) forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

/* ---------- Stats strip ---------- */
.stats {
  margin-top: -20px;
  position: relative;
  z-index: 3;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 34px 20px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.stats__grid::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 171, 226, 0.45), transparent 70%);
  right: -60px;
  top: -120px;
}
.stat {
  text-align: center;
  padding: 0 10px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}
.stat:nth-child(1) .stat__num { color: var(--green); }
.stat:nth-child(2) .stat__num { color: var(--yellow); }
.stat:nth-child(3) .stat__num { color: #7fd3f7; }
.stat:nth-child(4) .stat__num { color: #ff8e84; }
.stat__label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.about__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about__media img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.about__media .img-tall {
  grid-row: span 2;
  height: 100%;
  min-height: 420px;
}
.about__media .img-sq {
  aspect-ratio: 1;
}
.about__badge {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  font-size: 0.9rem;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-md);
}
.about__badge span {
  display: block;
  font-size: 2rem;
}
.about__badge svg {
  position: absolute;
  inset: -2px;
  animation: spin 18s linear infinite;
}
.founder {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  margin: 26px 0;
}
.founder__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--purple-50);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex: none;
}
.founder h4 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}
.founder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Visi Misi */
.vm {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  margin-top: 80px;
}
.vm__visi {
  background: linear-gradient(150deg, var(--blue) 0%, #4fc3f0 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.vm__visi h3 {
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.vm__visi blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.vm__visi img {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 210px;
  opacity: 0.95;
}
.vm__visi::before {
  content: "\201C";
  position: absolute;
  font-family: Georgia, serif;
  font-size: 14rem;
  line-height: 1;
  top: -20px;
  right: 24px;
  color: rgba(255, 255, 255, 0.16);
}
.vm__misi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
}
.vm__misi h3 {
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.misi-list {
  counter-reset: misi;
  display: grid;
  gap: 14px;
}
.misi-list li {
  counter-increment: misi;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.99rem;
}
.misi-list li > span {
  flex: 1;
}
.misi-list li::before {
  content: counter(misi);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  background: var(--c, var(--green-50));
  flex-shrink: 0;
}
.misi-list li:nth-child(1) { --c: #dff2c7; }
.misi-list li:nth-child(2) { --c: #cdeefb; }
.misi-list li:nth-child(3) { --c: #ffeaa3; }
.misi-list li:nth-child(4) { --c: #ffd9d5; }
.misi-list li:nth-child(5) { --c: #ffdcb5; }

/* ---------- Feature cards (Keunggulan) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  --accent: var(--green);
  --accent-soft: var(--green-50);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--bounce), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.feature::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent-soft);
  right: -50px;
  top: -50px;
  transition: transform 0.6s var(--ease);
}
.feature:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature:hover::after {
  transform: scale(3.2);
}
.feature > * {
  position: relative;
  z-index: 1;
}
.feature__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-size: 1.9rem;
  box-shadow: 0 8px 0 rgba(31, 33, 96, 0.08);
  transition: transform 0.5s var(--bounce);
}
.feature:hover .feature__icon {
  transform: rotate(-10deg) scale(1.08);
}
.feature h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.feature p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}
.feature:nth-child(2) { --accent: var(--blue); --accent-soft: var(--blue-50); }
.feature:nth-child(3) { --accent: var(--yellow); --accent-soft: var(--yellow-50); }
.feature:nth-child(4) { --accent: var(--red); --accent-soft: var(--red-50); }
.feature:nth-child(5) { --accent: var(--orange); --accent-soft: var(--orange-50); }
.feature:nth-child(6) { --accent: var(--purple); --accent-soft: var(--purple-50); }

/* ---------- Services ---------- */
.tabs {
  display: inline-flex;
  background: var(--white);
  padding: 6px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  margin: 0 auto 44px;
  position: relative;
}
.tabs-wrap {
  text-align: center;
}
.tab {
  border: 0;
  background: transparent;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}
.tab.is-active {
  color: #fff;
}
.tabs__pill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.45s var(--bounce), width 0.45s var(--bounce);
}
.tab-panel {
  display: none;
  animation: fade-up 0.6s var(--ease);
}
.tab-panel.is-active {
  display: block;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service {
  --accent: var(--green);
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--bounce), box-shadow 0.45s var(--ease);
}
.service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service:hover .service__img img {
  transform: scale(1.08);
}
.service__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
}
.service__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service__body h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}
.service__body p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 16px;
  flex: 1;
}
.service__more {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service__more i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-style: normal;
  transition: transform 0.4s var(--bounce);
}
.service:hover .service__more i {
  transform: translateX(6px) rotate(-45deg);
}
.service:nth-child(2) { --accent: var(--red); }
.service:nth-child(3) { --accent: var(--orange); }
.service:nth-child(4) { --accent: var(--yellow); }
.service:nth-child(5) { --accent: var(--blue); }
.service:nth-child(6) { --accent: #c9ced8; }
.service:nth-child(7) { --accent: #f6b779; }
.service--cta {
  background: var(--navy);
  color: #fff;
  justify-content: center;
  padding: 34px 28px;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service--cta:hover { transform: none; box-shadow: none; }
.service--cta h3 { color: #fff; font-size: 1.5rem; }
.service--cta p { color: rgba(255, 255, 255, 0.72); font-size: 0.97rem; }
.service--cta img {
  position: absolute;
  right: -20px;
  bottom: -8px;
  width: 150px;
  opacity: 0.95;
}

/* Asesmen */
.assess {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
}
.assess__img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.assess__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.assess h3 {
  font-size: 1.9rem;
}
.assess__lead {
  color: var(--muted);
}
.chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 30px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--bg-soft);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  transition: transform 0.35s var(--bounce), background 0.3s;
}
.chip:hover {
  transform: translateX(6px);
  background: var(--yellow-50);
}
.chip span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--white);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  flex: none;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  border-top: 3px dashed #d4d8ea;
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}
.step__num {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.5s var(--bounce);
}
.step:hover .step__num {
  transform: translateY(-6px) rotate(6deg);
}
.step__num b {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--navy);
  display: grid;
  place-items: center;
  background: var(--c, var(--yellow));
  border: 3px solid var(--bg-soft);
}
.step:nth-child(1) { --c: var(--green); }
.step:nth-child(2) { --c: var(--blue); }
.step:nth-child(3) { --c: var(--yellow); }
.step:nth-child(4) { --c: var(--orange); }
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.step p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery__item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: var(--line);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s;
}
.gallery__item::after {
  content: attr(data-caption);
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  padding: 6px 14px;
  border-radius: 999px;
  transform: translateY(14px);
  opacity: 0;
  transition: 0.4s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.07);
}
.gallery__item:hover::after {
  transform: none;
  opacity: 1;
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 22, 60, 0.88);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-height: 80vh;
  max-width: min(1000px, 92vw);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: transform 0.45s var(--bounce);
}
.lightbox.is-open img {
  transform: none;
}
.lightbox__caption {
  color: #fff;
  font-family: var(--font-display);
  text-align: center;
  margin-top: 14px;
}
.icon-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--navy);
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--bounce);
}
.icon-btn:hover { transform: scale(1.1); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 24px; top: 50%; translate: 0 -50%; }

/* ---------- Testimonials ---------- */
.testi {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.testi__cards {
  display: grid;
  gap: 22px;
}
.quote {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 34px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.45s var(--bounce), box-shadow 0.4s;
}
.quote:nth-child(2) {
  margin-left: 60px;
}
.quote:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.quote__stars {
  color: #f5b800;
  letter-spacing: 3px;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.quote p {
  font-size: 1.12rem;
  color: var(--ink);
  margin-bottom: 20px;
}
.quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}
.quote__who strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
}
.quote__who small {
  color: var(--muted);
}
.quote__mark {
  position: absolute;
  right: 26px;
  top: 18px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--blue-50);
}
.testi__visual {
  position: relative;
}
.testi__visual .ring {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  position: relative;
  display: grid;
  place-items: center;
}
.testi__visual .ring img {
  width: 90%;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid var(--white);
}

/* ---------- Franchise teaser ---------- */
.teaser {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.teaser h2 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}
.teaser p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}
.teaser__nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.teaser__num {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: 22px;
  transition: background 0.3s, transform 0.4s var(--bounce);
}
.teaser__num:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.teaser__num b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
}
.teaser__num:nth-child(1) b { color: var(--green); }
.teaser__num:nth-child(2) b { color: var(--yellow); }
.teaser__num:nth-child(3) b { color: #7fd3f7; }
.teaser__num:nth-child(4) b { color: #ff9b91; }
.teaser__num span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.teaser .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}
.contact__info {
  display: grid;
  gap: 14px;
  align-content: start;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: transform 0.4s var(--bounce), box-shadow 0.3s, border-color 0.3s;
}
.contact-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.contact-item--static {
  cursor: default;
}
.contact-item--static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.contact-item .contact-branch {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  font-size: 1.05rem;
  margin-top: 4px;
}
.badge-soon {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--orange-50);
  color: var(--orange);
  border: 1px solid rgba(247, 147, 30, 0.35);
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.4;
  letter-spacing: 0.2px;
}
.footer .badge-soon {
  background: rgba(255, 210, 63, 0.15);
  color: var(--yellow);
  border-color: rgba(255, 210, 63, 0.35);
}
.contact-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.3;
}
.contact-item strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  font-size: 1.08rem;
  word-break: break-word;
}
.map {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 200px;
  margin-top: 4px;
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  position: relative;
}
.form-card h3 {
  font-size: 1.6rem;
}
.form-card > p {
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  border: 2px solid var(--line);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(41, 171, 226, 0.14);
}
.field.is-invalid input,
.field.is-invalid select {
  border-color: var(--red);
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 14px 0 0;
  text-align: center;
}
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
  animation: fade-up 0.6s var(--ease);
}
.form-success .big {
  font-size: 3.4rem;
  display: block;
  margin-bottom: 10px;
  animation: pop 0.7s var(--bounce);
}
.form-card.is-done form { display: none; }
.form-card.is-done .form-success { display: block; }
@keyframes pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 110px 0 30px;
  margin-top: 60px;
}
.footer__grass {
  position: absolute;
  top: -58px;
  left: 0;
  right: 0;
  height: 70px;
  background: url("../img/grass.png") repeat-x bottom / auto 70px;
  pointer-events: none;
}
.footer__kids {
  position: absolute;
  top: -150px;
  right: 6%;
  width: 190px;
  animation: bob 4s ease-in-out infinite;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: rgba(255, 255, 255, 0.55); }
.footer h4 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 16px;
}
.footer ul {
  display: grid;
  gap: 10px;
}
.footer a {
  transition: color 0.25s;
}
.footer a:hover {
  color: var(--yellow);
}
.footer__about {
  margin-top: 18px;
  font-size: 0.95rem;
  max-width: 320px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.4s var(--bounce);
}
.socials a:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-4px) rotate(-6deg);
}
.socials svg { width: 20px; height: 20px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-float__bubble {
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 16px 16px 4px 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px) scale(0.9);
  transform-origin: right bottom;
  transition: 0.4s var(--bounce);
  pointer-events: none;
  white-space: nowrap;
}
.wa-float:hover .wa-float__bubble,
.wa-float.is-hinting .wa-float__bubble {
  opacity: 1;
  transform: none;
}
.wa-float__btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px -8px rgba(37, 211, 102, 0.7);
  position: relative;
  transition: transform 0.4s var(--bounce);
}
.wa-float__btn:hover {
  transform: scale(1.1) rotate(-8deg);
}
.wa-float__btn svg { width: 32px; height: 32px; }
.wa-float__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.7); opacity: 0; }
}

.to-top {
  position: fixed;
  right: 32px;
  bottom: 100px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 59;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.35s var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 22, 60, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s var(--ease);
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}
.modal__dialog {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 860px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.5s var(--bounce);
  position: relative;
  max-height: 90vh;
}
.modal.is-open .modal__dialog {
  transform: none;
}
.modal__img {
  min-height: 100%;
}
.modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal__body {
  padding: 44px 40px;
  overflow-y: auto;
}
.modal__body h3 {
  font-size: 1.9rem;
}
.modal__body p {
  color: var(--muted);
}
.modal__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}
.modal__list li {
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.modal .icon-btn {
  top: 16px;
  right: 16px;
  box-shadow: var(--shadow-md);
  width: 44px;
  height: 44px;
  z-index: 2;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(0.9); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Franchise page
   ========================================================= */
.f-hero {
  padding: calc(var(--header-h) + 70px) 0 100px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(41, 171, 226, 0.14), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(140, 198, 63, 0.16), transparent 40%);
}
.f-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.f-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}
.f-hero__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}
.f-hero__card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
  rotate: 2deg;
  transition: rotate 0.6s var(--bounce);
}
.f-hero__card:hover {
  rotate: 0deg;
}
.f-hero__card img {
  border-radius: calc(var(--r-xl) - 10px);
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.f-hero__card .float-card--a { left: -40px; top: 30px; }
.f-hero__card .float-card--b { right: -30px; bottom: 30px; }

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

/* Investment */
.invest {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.donut {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}
.donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.donut circle {
  fill: none;
  stroke-width: 26;
  transition: stroke-dashoffset 1.4s var(--ease), stroke-width 0.3s;
  cursor: pointer;
}
.donut circle:hover {
  stroke-width: 32;
}
.donut__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.donut__center small {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}
.donut__center b {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.1;
}
.donut__center span {
  font-size: 0.85rem;
  color: var(--muted);
}
.invest__list {
  display: grid;
  gap: 14px;
}
.invest__item {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: transform 0.4s var(--bounce), box-shadow 0.3s;
}
.invest__item:hover,
.invest__item.is-hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}
.invest__item i {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: var(--c);
}
.invest__item h4 {
  margin: 0;
  font-size: 1.06rem;
}
.invest__item small {
  color: var(--muted);
  font-size: 0.86rem;
  display: block;
  line-height: 1.4;
}
.invest__item b {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  font-size: 1.12rem;
  white-space: nowrap;
}
.invest__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-md);
  padding: 20px 24px;
  font-family: var(--font-display);
}
.invest__total b {
  font-size: 1.5rem;
  color: var(--yellow);
  font-weight: 600;
}

/* Scenario */
.scenario-switch {
  display: inline-flex;
  background: var(--white);
  border-radius: 999px;
  padding: 6px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  position: relative;
  margin-bottom: 40px;
}
.scenario-switch .tab.is-active { color: var(--navy); }
.scenario-switch .tabs__pill { background: var(--yellow); }

.scenario {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.kpi {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 26px;
  border: 1px solid var(--line);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.kpi__label {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kpi__label span {
  font-size: 1.2rem;
}
.kpi__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin: 8px 0 4px;
  line-height: 1.1;
}
.kpi__sub {
  font-size: 0.85rem;
  color: var(--muted);
}
.kpi--highlight {
  background: var(--green);
  border-color: transparent;
}
.kpi--highlight .kpi__label,
.kpi--highlight .kpi__sub {
  color: rgba(31, 33, 96, 0.72);
}

.bars {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 32px;
  display: grid;
  gap: 20px;
}
.bar__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.bar__track {
  height: 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  background: var(--c, var(--blue));
  transition: width 1.1s var(--ease);
  position: relative;
}
.bar__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.25) 0 8px,
    transparent 8px 16px
  );
  animation: stripes 1s linear infinite;
}
@keyframes stripes {
  to { background-position: 22px 0; }
}

.bep {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--yellow-50);
  border: 2px dashed #f3d36b;
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-top: 20px;
}
.bep__months {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex: 1;
}
.bep__months span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #f0e2ad;
  transition: background 0.3s, transform 0.4s var(--bounce);
  transition-delay: calc(var(--i) * 40ms);
}
.bep__months span.on {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.06);
}
.bep__months span.flag {
  background: var(--red);
  border-color: var(--red);
}
.bep b {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
  font-weight: 600;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
.fin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.96rem;
}
.fin-table th,
.fin-table td {
  padding: 14px 20px;
  text-align: right;
  border-bottom: 1px solid var(--line);
}
.fin-table th:first-child,
.fin-table td:first-child {
  text-align: left;
}
.fin-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-soft);
}
.fin-table .group td {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.fin-table .total td {
  font-weight: 800;
  color: var(--navy);
  background: var(--green-50);
}
.fin-table tbody tr:not(.group):hover td {
  background: var(--yellow-50);
}
.fin-table td.col-active,
.fin-table th.col-active {
  box-shadow: inset 2px 0 0 var(--yellow), inset -2px 0 0 var(--yellow);
}
.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
}

.lead {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.checklist {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checklist li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: none;
  font-size: 0.9rem;
  margin-top: 1px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .scenario { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .section { padding: 84px 0; }
  .nav {
    position: fixed;
    inset: var(--header-h) 16px auto;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 14px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s var(--ease);
  }
  .menu-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__link { padding: 13px 18px; font-size: 1.05rem; }
  .menu-toggle { display: block; }
  .header__cta .btn--hide-sm { display: none; }

  .hero__grid,
  .about__grid,
  .testi,
  .teaser,
  .contact,
  .f-hero__grid,
  .invest,
  .lead,
  .assess,
  .vm {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__visual { max-width: 460px; margin-top: 20px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3)::before { display: none; }
  .teaser { padding: 44px 32px; }
  .testi__visual { max-width: 380px; margin: 0 auto; order: -1; }
  .quote:nth-child(2) { margin-left: 0; }
  .modal__dialog { grid-template-columns: 1fr; }
  .modal__img { max-height: 240px; }
  .f-hero__card { max-width: 560px; margin: 20px auto 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .services,
  .features,
  .why,
  .scenario { grid-template-columns: 1fr; }
  .form-grid,
  .chips { grid-template-columns: 1fr; }
  .form-card,
  .assess { padding: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
  .float-card--a { left: -2%; }
  .float-card--b { right: -2%; }
  .float-card { font-size: 0.82rem; padding: 8px 12px 8px 8px; }
  .float-card__icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .about__media .img-tall { min-height: 300px; }
  .about__badge { width: 104px; height: 104px; font-size: 0.78rem; }
  .vm__visi, .vm__misi { padding: 30px; }
  .footer__kids { width: 130px; top: -110px; }
  .wa-float__bubble { display: none; }
  .logo__sub { display: none; }
  .logo__name { font-size: 1.15rem; }
  .logo__img { height: 42px; max-width: 170px; }
  .logo__img--footer { height: 40px; }
  .logo__badge { padding: 6px 10px; }
  .bep { flex-direction: column; align-items: flex-start; }
  .f-hero__card .float-card--a { left: -6px; }
  .f-hero__card .float-card--b { right: -6px; }
  .tab { padding: 10px 16px; font-size: 0.92rem; }
}
