/* ==========================================================================
   Academia Copiilor – foaie de stil principală
   Culori, fonturi și componente reproduse după schițele clientului.
   ========================================================================== */

:root {
  /* Culori */
  --ink: #34307a;          /* titluri */
  --ink-2: #2a2665;        /* text pe galben */
  --purple: #4d409b;       /* butoane principale */
  --purple-band: #574a9f;  /* benzi CTA */
  --violet: #8a80cf;       /* butoane secundare */
  --lav: #ece8f7;
  --lav-2: #f6f4fc;
  --lav-3: #ddd7f1;
  --yellow: #f7c548;
  --yellow-600: #eab12a;
  --yellow-soft: #fdf0c8;
  --cream: #fff8ea;
  --cream-2: #fffbf3;
  --coral: #e2575f;
  --coral-soft: #fce6e6;
  --green: #5da457;
  --green-soft: #e5f2e1;
  --wa: #4daa52;
  --plum: #7d3f73;
  --text: #4a476a;
  --muted: #6e6b8b;
  --bg: #fffdf9;
  --white: #fff;

  /* Forme */
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 14px rgba(52, 48, 122, .07);
  --shadow: 0 12px 32px rgba(52, 48, 122, .09);
  --shadow-lg: 0 18px 44px rgba(52, 48, 122, .14);

  /* Fonturi */
  --f-head: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --f-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-hand: 'Kalam', 'Comic Sans MS', cursive;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 96px;

  /* Valuri (măști SVG) */
  --wave-box: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0 4C180 0 360 7 560 4S880 0 1000 5V91C840 100 640 88 440 94S120 99 0 91Z'/%3E%3C/svg%3E");
  --wave-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0 10C160 2 330 16 520 8S860 0 1000 9V90C850 100 660 86 470 93S140 100 0 90Z'/%3E%3C/svg%3E");
  --wave-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H88C95 20 90 44 95 64C99 80 96 92 100 100H0Z'/%3E%3C/svg%3E");
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 30' preserveAspectRatio='none'%3E%3Cpath d='M0 12C160 2 330 22 520 10S860 0 1000 11V30H0Z'/%3E%3C/svg%3E");
  --wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1000V18C850 30 660 12 470 22S140 30 0 18Z'/%3E%3C/svg%3E");
  --wave-diag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M7 4C26 1 42 3 53 1.5C57 9 63 18 68 24C71 28 72 32 76 35C81 38 86 39 91 43C95 48 96 52 96.5 60C97.5 72 97.6 85 97 91C96 96 92 97.6 86 96.8C66 94 42 100.4 16 97.6C7 96.8 2 95 1 88C0 80 .4 62 .3 46S0 16 1.2 10C2 5.6 4 4.4 7 4Z'/%3E%3C/svg%3E");
  --wave-photo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M12 3C26 0 40 6 56 3S84 -1 93 5C99 9 97 24 98.5 40S101 70 99 84C97.5 95 92 97 80 96.5C64 96 50 100 34 98S8 99 3.5 93C0 88 2.5 72 1.5 56S-.5 22 2.5 12C4 6 7 4 12 3Z'/%3E%3C/svg%3E");
  --blob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M14 2H96C99 2 100 4 100 8V92C100 97 98 99 94 99H40C20 99 6 90 3 70C0 52 6 40 4 26C2 12 6 2 14 2Z'/%3E%3C/svg%3E");
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(77, 64, 155, .12);
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
input[type="text"], input[type="tel"], input[type="email"] { -webkit-appearance: none; appearance: none; }
button { -webkit-appearance: none; appearance: none; touch-action: manipulation; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 800; color: var(--ink); }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.nw { white-space: nowrap; }
/* <picture> (WebP generat de build.js) nu participă la layout: poza se așază ca înainte */
.pic { display: contents; }
.pic > source { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--purple); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow-600); outline-offset: 3px; border-radius: 6px; }

/* Culori utilitare pentru iconițe */
.c-purple { color: var(--purple); }
.c-violet { color: var(--violet); }
.c-coral { color: var(--coral); }
.c-yellow { color: var(--yellow-600); }
.c-green { color: var(--green); }
.c-plum { color: var(--plum); }
.bg-lav { background: var(--lav); }
.bg-coral { background: var(--coral-soft); }
.bg-yellow { background: var(--yellow-soft); }
.bg-green { background: var(--green-soft); }

/* Decorațiuni desenate de mână */
.deco { position: absolute; pointer-events: none; fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; z-index: 2; }
.deco-inline { display: inline-block; vertical-align: top; fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; width: .62em; height: .62em; margin-left: .08em; transform: rotate(8deg); }
.deco.white, .deco-inline.white { stroke: #fff; }
.deco.purple, .deco-inline.purple { stroke: var(--purple); }
.deco.coral, .deco-inline.coral { stroke: var(--coral); }
.deco.violet, .deco-inline.violet { stroke: var(--violet); }

/* ---------- Tipografie ---------- */
.eyebrow { display: block; font-family: var(--f-body); font-weight: 800; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.h1 { font-size: clamp(2.35rem, 4.6vw, 4.1rem); line-height: 1.02; }
.h2 { font-size: clamp(1.75rem, 3.1vw, 2.45rem); }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--text); }
.hand { font-family: var(--f-hand); font-weight: 400; }
.section { padding: clamp(40px, 5vw, 64px) 0; position: relative; }
.section-tight { padding: clamp(28px, 3.6vw, 44px) 0; }
.section-title { text-align: center; font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: 14px; }
.section-title::after { content: ""; display: block; width: 60px; height: 4px; border-radius: 4px; background: var(--yellow); margin: 10px auto 0; }
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }
.section-title.no-line::after { display: none; }
.section-sub { text-align: center; max-width: 760px; margin: -4px auto 30px; color: var(--text); }

/* Text evidențiat cu „pensulă” galbenă */
.brush {
  position: relative; display: inline-block; z-index: 0;
  padding: .02em .5em .1em .45em;
  font-family: var(--f-hand); font-weight: 400; color: var(--ink);
}
.brush::before {
  content: ""; position: absolute; inset: .12em -.1em .02em -.2em; z-index: -1;
  background: var(--yellow); opacity: .78;
  border-radius: 40% 12% 46% 14% / 60% 30% 70% 40%;
  transform: rotate(-1.2deg);
}
.brush-head { font-family: var(--f-head); font-weight: 800; font-size: min(.86em, 8.2vw); padding: 0 .25em .02em .2em; margin-left: -.2em; }
.brush-head::before { inset: .3em -.25em .05em -.3em; opacity: .7; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; line-height: 1.1;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  text-align: center; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn .ic { font-size: 1.2em; stroke-width: 2.4; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(0); }
.btn-yellow { background: var(--yellow); color: var(--ink-2); box-shadow: 0 8px 18px rgba(234, 177, 42, .32); }
.btn-yellow:hover { background: #f9cd5d; box-shadow: 0 12px 24px rgba(234, 177, 42, .4); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(77, 64, 155, .28); }
.btn-purple:hover { background: #5547a8; }
.btn-dark { background: #3b3285; color: #fff; box-shadow: 0 8px 20px rgba(59, 50, 133, .3); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 8px 20px rgba(138, 128, 207, .35); }
.btn-violet:hover { background: #7e73c7; }
.btn-green { background: var(--wa); color: #fff; box-shadow: 0 8px 18px rgba(77, 170, 82, .28); }
.btn-green:hover { background: #45a04a; }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 19px 40px; font-size: 1.2rem; }
.btn-sm { padding: 11px 20px; font-size: .92rem; }

.round-arrow {
  position: absolute; right: 22px; bottom: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px;
  background: var(--lav-3); color: var(--purple); transition: transform .2s ease, background-color .2s;
}
.round-arrow.coral { background: var(--coral-soft); color: var(--coral); }
.round-arrow.yellow { background: var(--yellow); color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .97); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(52, 48, 122, .08); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.logo { display: block; flex-shrink: 0; padding: 6px 0; }
.logo-img { display: block; width: auto; height: 84px; }
.logo-img--indigo { height: auto; width: 190px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(10px, 1.5vw, 26px); }
.main-nav a {
  position: relative; display: block; padding: 10px 2px;
  font-size: .84rem; font-weight: 600; line-height: 1.22; color: var(--ink); text-align: center; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; height: 3px; width: 0; border-radius: 3px;
  background: var(--yellow); transform: translateX(-50%); transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { font-weight: 800; }
.header-cta { flex-shrink: 0; padding: 14px 24px; font-size: .96rem; }
.nav-toggle { display: none; }
.main-nav .nav-cta-mobile { display: none; }
.nav-overlay { display: none; }

/* ---------- Hero (comun) ---------- */
.hero { position: relative; padding: 0 var(--gutter); margin: 0 auto; max-width: calc(var(--container) + 80px + var(--gutter) * 2); }
.hero-box {
  position: relative; overflow: hidden; min-height: 540px;
  display: flex; align-items: center;
  background: linear-gradient(100deg, #fbf7f1 0%, #f8f3ee 40%, #f4eef3 100%);
  -webkit-mask: var(--wave-box) center / 100% 100% no-repeat;
  mask: var(--wave-box) center / 100% 100% no-repeat;
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 14%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 14%, #000 34%);
}
.hero-box.tall { min-height: 580px; }
.hero-content { position: relative; z-index: 3; width: 52%; padding: 64px 0 84px clamp(28px, 5.4vw, 80px); }
.hero-content .h1 { margin-bottom: 18px; }
.hero-content .lead { max-width: 520px; }
.hero .deco-sun { width: clamp(64px, 8vw, 116px); height: clamp(64px, 8vw, 116px); top: 9%; right: 5%; }

/* Hero – Acasă */
.hero--home .hero-box { min-height: 560px; background: linear-gradient(100deg, #f7efe7 0%, #f4ebe4 45%, #efe4dc 100%); }
.hero--home .hero-media { width: 66%; }
.hero--home .hero-media img { object-position: 30% center; }
.page-cursuri-programe .hero-media img { object-position: center top; }
/* Formular: rafturile galbene ale recepției sunt în stânga pozei – estompare mai scurtă, ca să se vadă */
@media (min-width: 861px) {
  .hero--form .hero-media img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 9%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 9%, #000 22%); }
}
.hero--home .hero-content { width: 46%; }
.hero--home .h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.hero--home .lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.55; margin-bottom: 28px; }
.hero-note {
  position: absolute; right: 5%; bottom: 20%; z-index: 3;
  font-family: var(--f-hand); color: #fff; font-size: clamp(1.1rem, 1.8vw, 1.6rem); line-height: 1.15;
  text-align: center; transform: rotate(-13deg); text-shadow: 0 2px 10px rgba(60, 30, 20, .35);
}
.hero-note .ic { stroke: #fff; font-size: .9em; }

/* Hero cu fotografii reale: echipa ocupă dreapta, fără să intre sub text */
@media (min-width: 861px) {
  .page-echipa .hero-content { width: 46%; }
  .page-echipa .hero-media { width: 55%; }
  .page-echipa .hero-media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%);
  }
  .page-cursuri-programe .hero-media { top: 3%; }
  .page-index .hero-note { right: 2.5%; bottom: auto; top: 34%; color: var(--purple); text-shadow: 0 0 10px #fff, 0 0 4px #fff; }
  .page-index .hero-note .ic { stroke: var(--purple); }
  .page-pregatire-scoala .hero .deco-sun { display: none; }
  .page-pregatire-scoala .hero .deco[style*="right:6%"] { right: 41% !important; top: 8% !important; }
  .page-formular-inscriere .hero .deco-sun { right: 33%; top: 6%; }
}

/* ---------- Statistici (Acasă) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 18px 0 8px; }
.stat { display: flex; align-items: center; gap: 20px; justify-content: center; }
.stat-icon { font-size: 66px; stroke-width: 1.7; }
.stat-icon--sun { stroke-width: 3.2; }
.stat-num { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 2.9rem); line-height: .95; color: var(--ink); }
.stat-label { display: block; font-weight: 800; text-transform: uppercase; color: var(--ink); font-size: 1rem; line-height: 1.2; margin-top: 6px; }
.stat-desc { display: block; font-size: .98rem; color: var(--text); }

/* ---------- Carduri „Descoperă” ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.d-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding-bottom: 70px; transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .d-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .d-card:hover .round-arrow { transform: translateX(3px); }
  }
.d-card-img { aspect-ratio: 16 / 9.3; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.d-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.d-card:hover .d-card-img img { transform: scale(1.04); }
.d-card-head { display: flex; align-items: flex-end; gap: 14px; padding: 0 22px; margin-top: -30px; position: relative; }
.d-card-icon {
  width: 66px; height: 66px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  font-size: 30px; border: 5px solid #fff; box-shadow: 0 4px 10px rgba(52, 48, 122, .08);
}
.d-card-title { font-size: clamp(1.2rem, 1.6vw, 1.38rem); padding-bottom: 6px; }
.d-card-text { padding: 12px 26px 0 102px; font-size: .97rem; }
.d-card--plain .d-card-title { padding: 18px 26px 0; }
.d-card--plain .d-card-text { padding: 10px 26px 0; }

/* ---------- Despre noi: fotografie părinți și copii ---------- */

/* ---------- Despre (Acasă) ---------- */
.about-home { position: relative; display: grid; grid-template-columns: 42% 58%; align-items: stretch; background: linear-gradient(90deg, var(--lav-2), #f4f2fa); border-radius: var(--radius-lg); overflow: hidden; }
.about-home-media { position: relative; min-height: 380px; }
.about-home-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: var(--wave-right) center / 100% 100% no-repeat; mask: var(--wave-right) center / 100% 100% no-repeat;
}
.about-home-content { position: relative; padding: clamp(32px, 4.4vw, 60px) clamp(24px, 4vw, 56px); align-self: center; }
.about-home-content .h2 { margin-bottom: 14px; }
.about-home-content p { max-width: 600px; font-size: 1rem; margin-bottom: 26px; }
.about-home .deco-sun { width: 70px; height: 70px; top: 28px; right: 40px; }
.about-home .deco-heart { width: 38px; height: 38px; }
.hand-note { font-family: var(--f-hand); color: var(--violet); line-height: 1.15; transform: rotate(-10deg); text-align: center; font-size: 1.35rem; }
.about-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.about-actions .hand-note { margin-left: auto; margin-right: 10px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(24px, 4vw, 48px); }
.info-strip { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 24px; padding: 30px clamp(8px, 3vw, 48px); border-top: 1px solid rgba(52, 48, 122, .08); }
.info-item { display: flex; align-items: flex-start; gap: 16px; }
.info-item > .ic { font-size: 40px; stroke-width: 1.6; color: var(--plum); margin-top: 2px; }
.info-item strong { display: block; font-size: 1rem; color: var(--ink); }
.info-item span { display: block; font-size: .92rem; color: var(--text); line-height: 1.45; }
a.info-item:hover strong, .info-link:hover strong { color: var(--purple); }
.info-link { display: block; padding: 4px 0; margin: -4px 0; }
.info-social { margin-top: 10px; }
.footer-bottom { background: var(--lav-2); padding: 16px 0 16px; font-size: .88rem; color: var(--muted); }
.footer-bottom-inner { padding-right: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-social { list-style: none; display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--purple); font-size: 18px; box-shadow: var(--shadow-sm); transition: transform .2s; }
.footer-social a:hover { transform: translateY(-2px); }

/* ---------- Hero split (pagini interioare) ---------- */
.hero--split .hero-box { background: linear-gradient(100deg, #fdfaf5 0%, #faf6f0 45%, #f6f1ee 100%); }
.hero-sub { font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.12; margin: -4px 0 16px; }
.h1-line2 { font-size: min(.8em, 8.2vw); white-space: nowrap; }
.hero-text p { font-size: .98rem; max-width: 540px; }

/* Despre noi – imagine cu formă organică */
.hero--about .hero-box { background: transparent; -webkit-mask: none; mask: none; min-height: 0; align-items: center; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.34fr); gap: 20px; }
.hero--about .hero-content { width: auto; padding: 36px 0 24px clamp(8px, 3vw, 40px); }
.hero--about .hero-sub { text-wrap: balance; }
.hero--about .hero-media { position: relative; width: auto; inset: auto; aspect-ratio: 1400 / 584; }
.hero--about .deco-sun { top: -24%; right: 3%; width: clamp(56px, 6vw, 88px); height: clamp(56px, 6vw, 88px); }
.hero--about .hero-media img { -webkit-mask: var(--blob) center / 100% 100% no-repeat; mask: var(--blob) center / 100% 100% no-repeat; border-radius: 0; }

/* Carduri cu vârstă (Despre noi) */
.age-card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding-bottom: 26px; display: flex; flex-direction: column; }
.age-card-img { aspect-ratio: 16 / 8.6; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.age-card-img img { width: 100%; height: 100%; object-fit: cover; }
.age-badge { align-self: flex-start; margin: -18px 0 0 22px; position: relative; padding: 6px 18px; border-radius: 999px; font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--ink); background: var(--yellow); box-shadow: 0 4px 10px rgba(52, 48, 122, .1); }
.age-badge.lav { background: var(--lav-3); }
.age-card h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); padding: 12px 24px 8px; }
.check-list { list-style: none; padding: 0 24px; display: grid; gap: 6px; }
.check-list li { position: relative; padding-left: 28px; font-size: .97rem; line-height: 1.4; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check-list.purple li::before { background-color: var(--violet); }
.age-card-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: auto 24px 0; padding-top: 18px; font-family: var(--f-head); font-weight: 700; color: var(--purple); }
.age-card-link .ic { font-size: 18px; transition: transform .2s; }
.age-card-link:hover .ic { transform: translateX(3px); }
.loc-pill { display: inline-flex; align-items: center; gap: 8px; margin: 16px 24px 0; padding: 9px 16px; background: var(--lav-2); border-radius: 12px; font-size: .93rem; color: var(--ink); font-weight: 600; }
.loc-pill .ic { color: var(--purple); font-size: 20px; }

/* Abordarea noastră (Despre noi) */
.approach { position: relative; max-width: 900px; margin: 0 auto; padding: 34px clamp(22px, 5vw, 56px); text-align: center; border-radius: var(--radius-lg); background: var(--lav-2); }
.approach .section-title { margin-bottom: 14px; }
.approach p { margin: 0; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.6; color: var(--ink); }
.approach .deco-sun { width: 50px; height: 50px; top: -18px; right: 26px; }

/* Scop, misiune, viziune */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mv-box { border-radius: var(--radius); padding: 30px 30px 32px; text-align: center; background: var(--lav-2); }
.mv-box:nth-child(2) { background: #fff; box-shadow: var(--shadow-sm); }
.mv-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.mv-head .ic { font-size: 44px; stroke-width: 1.7; }
.mv-head h3 { font-size: 1.4rem; }
.mv-box p { font-size: .98rem; }

/* Listă de caracteristici cu iconițe */
.features { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 18px; text-align: center; }
.feature { padding: 6px 8px; }
.feature-icon { display: inline-grid; place-items: center; font-size: 50px; margin-bottom: 10px; stroke-width: 1.6; }
.feature-icon.circle { width: 84px; height: 84px; border-radius: 50%; font-size: 40px; }
.feature h3 { font-size: 1.08rem; line-height: 1.2; margin-bottom: 6px; }
.feature p { font-size: .93rem; color: var(--muted); line-height: 1.45; }
.features.divided .feature + .feature { border-left: 1px solid rgba(52, 48, 122, .1); }
.features.boxed { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 18px; }

/* Testimoniale */
.testimonials { position: relative; }
.t-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.t-track::-webkit-scrollbar { display: none; }
.t-card { margin: 0; scroll-snap-align: start; display: block; align-items: start; background: #fff; border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow-sm); }
.t-quote-ic { font-size: 30px; color: var(--lav-3); margin-bottom: 2px; }
.t-card blockquote { margin: 0; font-size: .93rem; line-height: 1.5; font-style: italic; color: var(--text); }
.t-name { display: block; margin: 10px 0 0; font-weight: 800; color: var(--ink); font-size: .92rem; }
.t-stars { display: flex; gap: 3px; margin-top: 6px; color: var(--yellow); }
.t-stars .ic { fill: currentColor; stroke: currentColor; font-size: 17px; }
.t-nav { position: absolute; top: 50%; transform: translateY(-60%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: 22px; cursor: pointer; z-index: 3; transition: opacity .2s; }
.t-nav:disabled { opacity: .35; cursor: default; }
.t-nav[hidden], .t-dots[hidden] { display: none; }
.t-prev { left: -58px; }
.t-next { right: -58px; }
.t-dots { display: flex; justify-content: center; gap: 0; margin-top: 4px; }
.t-dots button { position: relative; width: 32px; height: 32px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.t-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid var(--violet); box-sizing: border-box; transition: background-color .2s; }
.t-dots button[aria-current="true"]::before { background: var(--violet); }

/* CTA – bandă deschisă (Despre noi) */
.cta-soft {
  position: relative; display: flex; align-items: center; gap: clamp(18px, 3vw, 40px);
  padding: clamp(34px, 4vw, 52px) clamp(24px, 5vw, 72px);
  background: linear-gradient(90deg, #fdf3d6, #fdf0cf 60%, #fcefd2);
  -webkit-mask: var(--wave-band) center / 100% 100% no-repeat; mask: var(--wave-band) center / 100% 100% no-repeat;
}
.cta-soft .cta-sun { width: clamp(70px, 8vw, 104px); height: clamp(70px, 8vw, 104px); flex-shrink: 0; fill: none; stroke: var(--yellow-600); stroke-width: 3; stroke-linecap: round; }
.cta-soft .cta-text { flex: 1; }
.cta-soft h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 6px; }
.cta-soft p { max-width: 560px; }
.cta-hearts { position: relative; width: 90px; height: 80px; flex-shrink: 0; }
.cta-hearts svg { position: absolute; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* CTA – bandă mov */
.cta-band {
  position: relative; display: flex; align-items: center; gap: clamp(18px, 3vw, 36px);
  padding: clamp(34px, 3.6vw, 46px) clamp(24px, 4.6vw, 64px);
  background: linear-gradient(90deg, #5a4ca2, #564aa0 50%, #5246a0);
  color: #fff;
  -webkit-mask: var(--wave-band) center / 100% 100% no-repeat; mask: var(--wave-band) center / 100% 100% no-repeat;
}
.cta-band .cta-sun { width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); flex-shrink: 0; fill: none; stroke: var(--yellow); stroke-width: 3.4; stroke-linecap: round; }
.cta-band .cta-text { flex: 1; font-family: var(--f-hand); font-weight: 400; font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.2; color: #fff; margin: 0; }
.cta-band .cta-text .deco-inline { stroke: var(--yellow); width: .9em; height: .9em; vertical-align: middle; }
.cta-band .btn { flex-shrink: 0; }
.cta-band .cta-text--wide { flex: 0 1 auto; min-width: 280px; }
.cta-band .divider { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .25); margin: 6px 0; }
.cta-band .cta-hearts svg { stroke: var(--yellow); }
.cta-stats { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-family: var(--f-body); }
.cta-stat { display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3; color: rgba(255, 255, 255, .9); max-width: 190px; }
.cta-stat .ic { font-size: 42px; stroke-width: 1.6; color: #fff; }
.cta-stat .ic.green { color: #9bd38f; }
.cta-stat strong { color: #fff; display: block; font-size: 1.1rem; }

/* ---------- Creșă & Grădiniță ---------- */
.hand-sign { font-family: var(--f-hand); color: var(--violet); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: .03em; margin-top: 8px; }
.hand-sign .deco-inline { stroke: var(--yellow); }
.extras-head { display: flex; align-items: center; justify-content: center; gap: 14px; }
.extras-head .ic { font-size: 46px; color: var(--ink); stroke-width: 1.6; }
.extras-head .section-title { margin-bottom: 4px; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.extra { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--lav-2); border-radius: var(--radius); }
.extra .ic { font-size: 50px; stroke-width: 1.6; }
.extra h3 { font-size: 1.2rem; margin-bottom: 2px; }
.extra p { font-size: .93rem; color: var(--muted); line-height: 1.4; }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.price-time { display: flex; gap: 16px; align-items: flex-start; padding: 26px 22px 26px 26px; }
.price-time .ic { font-size: 44px; color: var(--ink); stroke-width: 1.8; }
.price-time h3 { font-size: 1.45rem; margin-bottom: 4px; }
.price-time h3, .price-time .hours { white-space: nowrap; }
.price-time .hours { font-size: 1.35rem; color: var(--text); font-weight: 600; }
.price-amount { text-align: center; padding: 22px 26px; background: var(--cream); align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.price-amount small { font-weight: 700; color: var(--ink); font-size: .95rem; }
.price-amount .amount { font-family: var(--f-head); font-weight: 800; font-size: 1.85rem; line-height: 1.05; color: var(--ink); }
.price-amount p { font-size: .82rem; color: var(--muted); line-height: 1.3; margin-top: 4px; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.note { display: flex; align-items: center; gap: 16px; padding: 4px 26px; font-size: .97rem; }
.note .ic { font-size: 46px; stroke-width: 1.6; }

/* ---------- Pregătire pentru școală ---------- */
.hero-tagline { font-size: clamp(min(1.45rem, 6.6vw), 2.4vw, 2.05rem); margin: -2px 0 18px -6px; }
.mini-stats { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; flex-wrap: wrap; }
.mini-stat { display: flex; align-items: center; gap: 12px; line-height: 1.25; font-size: .92rem; }
.mini-stat .ic { font-size: 50px; stroke-width: 1.6; }
.mini-stat strong { display: block; font-family: var(--f-head); font-size: 1.35rem; line-height: 1.05; }
.mini-stats .sep { width: 1px; height: 54px; background: rgba(52, 48, 122, .15); }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.schedule { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px 26px; }
.schedule.warm { background: var(--cream-2); }
.schedule-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.schedule-head .ic { font-size: 50px; stroke-width: 1.6; }
.schedule-head h3 { font-size: 1.35rem; }
.schedule-head span { display: block; color: var(--text); }
.schedule-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; border-top: 1px solid rgba(52, 48, 122, .08); padding-top: 16px; }
.schedule-time { display: flex; align-items: center; gap: 14px; }
.schedule-time .ic { font-size: 40px; color: var(--ink); stroke-width: 1.8; }
.schedule-time strong { display: block; font-size: 1.08rem; }
.schedule-time span { font-size: 1.3rem; font-weight: 600; color: var(--text); }
.tariff { text-align: center; background: var(--lav-2); border-radius: 16px; padding: 10px 22px; }
.schedule.warm .tariff { background: #fff; }
.tariff small { display: block; color: var(--muted); font-size: .85rem; }
.tariff b { font-family: var(--f-head); font-size: 1.55rem; color: var(--ink); line-height: 1.1; }
.photo-row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-row img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; -webkit-mask: var(--wave-photo) center / 100% 100% no-repeat; mask: var(--wave-photo) center / 100% 100% no-repeat; }

/* ---------- Cursuri & Programe ---------- */
.hero-feats { display: flex; gap: clamp(14px, 2.4vw, 34px); margin-top: 22px; flex-wrap: wrap; }
.hero-feat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; max-width: 150px; font-family: var(--f-head); font-weight: 700; color: var(--ink); line-height: 1.15; font-size: .98rem; }
.hero-feat .ic { font-size: 46px; stroke-width: 1.6; }
.hero-feats.small .hero-feat { font-size: .85rem; max-width: 96px; }
.hero-feats.small .hero-feat .ic { font-size: 40px; }
.hero-feats.divided .hero-feat + .hero-feat { border-left: 1px solid rgba(52, 48, 122, .1); padding-left: clamp(14px, 2.4vw, 30px); }

.service { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.service-media { position: relative; filter: drop-shadow(0 8px 18px rgba(52, 48, 122, .1)); }
.service-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; -webkit-mask: var(--wave-photo) center / 100% 100% no-repeat; mask: var(--wave-photo) center / 100% 100% no-repeat; }
.service-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 8px; }
.service-sub { font-size: clamp(1.15rem, 1.8vw, 1.45rem); margin-bottom: 10px; }
.service-body > p { font-size: 1.02rem; margin-bottom: 18px; }
.icon-row { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 10px; text-align: center; }
.icon-row .item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; font-size: .92rem; line-height: 1.25; color: var(--text); }
.icon-row .item .ic { font-size: 44px; stroke-width: 1.6; }
.icon-row.boxed .item { background: var(--lav-2); border-radius: var(--radius-sm); }
.service--after { grid-template-columns: 1.25fr 1fr; }
.service--logo { background: var(--lav-2); border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 28px); }
.service--logo .service-media img { aspect-ratio: 4 / 3.6; }
/* After School: marginea dreaptă tăiată în val pe diagonală, ca fereastra să nu se vadă (oamenii rămân întregi) */
.service--after .service-media img {
  -webkit-mask: var(--wave-diag) center / 100% 100% no-repeat; mask: var(--wave-diag) center / 100% 100% no-repeat;
}
.consult { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; margin-top: 18px; }
.consult > .ic { font-size: 46px; color: var(--ink); stroke-width: 1.6; }
.consult strong { display: block; font-family: var(--f-head); font-size: 1.2rem; line-height: 1.15; }
.consult p { font-size: .9rem; color: var(--muted); line-height: 1.35; }
.consult .btn { border-left: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-top: 22px; }
.fact { display: flex; align-items: center; gap: 16px; padding: 18px 24px; }
.fact + .fact { border-left: 1px solid rgba(52, 48, 122, .1); }
.fact .ic { font-size: 46px; stroke-width: 1.6; }
.fact strong { display: block; font-family: var(--f-head); font-size: 1.2rem; line-height: 1.15; }
.fact span { font-size: .93rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Indigo ---------- */
/* jos pe poză, dar deasupra valului de jos al cutiei hero (masca ar tăia orice intră în val) */
.free-badge {
  position: absolute; right: 2.6%; bottom: 14%; z-index: 4;
  width: clamp(92px, 8.2vw, 112px); aspect-ratio: 1; border-radius: 50%; padding: 8px;
  background: var(--yellow); color: var(--ink); display: flex; flex-direction: column; justify-content: center; text-align: center;
  font-family: var(--f-hand); font-weight: 700; line-height: 1.02; font-size: clamp(.86rem, 1.1vw, 1.04rem);
  transform: rotate(-10deg); box-shadow: 0 6px 14px rgba(234, 177, 42, .35);
}
.free-badge small { display: block; font-size: .62em; font-weight: 400; margin-top: 4px; }
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.course { background: var(--lav-2); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; }
.course-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.course h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.02; margin-bottom: 6px; }
.course h2.course-logo { margin-bottom: 10px; }
.course-logo img { display: block; width: 100%; max-width: 300px; height: auto; }
.course .tag { font-size: 1.08rem; line-height: 1.3; color: var(--text); margin-bottom: 14px; }
.age-pill { display: inline-block; padding: 7px 26px; border-radius: 999px; background: var(--violet); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
.course-img { position: relative; }
.course-img img { width: 100%; aspect-ratio: 1 / .95; object-fit: cover; border-radius: var(--radius); -webkit-mask: var(--blob) center / 100% 100% no-repeat; mask: var(--blob) center / 100% 100%; }
/* Smart Reader: poză lată, ca să se vadă toți cei 5 copii */
.course-top.course-top--wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.course-img--wide img { aspect-ratio: 1100 / 592; }
.course-img .ic { position: absolute; left: -8px; bottom: 3%; font-size: 40px; color: var(--purple); stroke-width: 1.6; background: rgba(255, 255, 255, .92); border-radius: 12px; padding: 5px; box-shadow: var(--shadow-sm); }
.course .icon-row { --cols: 5; margin-bottom: 14px; }
.course .icon-row .item { font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: .86rem; padding: 6px 2px; }
.course .icon-row .item .ic { font-size: 40px; }
.course > p { font-size: .95rem; color: var(--muted); }
.why-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.why-head .ic { font-size: 52px; stroke-width: 1.6; }
.why-head .h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; background: var(--lav-2); border-radius: var(--radius-lg); padding: 24px; position: relative; }
.duo-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; margin-bottom: 10px; }
.duo-panel h3 .ic { font-size: 40px; stroke-width: 1.6; }
.duo-panel p { font-size: .95rem; }
.duo-panel > img, .duo-panel > .pic > img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; -webkit-mask: var(--wave-photo) center / 100% 100% no-repeat; mask: var(--wave-photo) center / 100% 100% no-repeat; }
.flags { display: flex; gap: 14px; margin-top: 14px; }
.flag { width: 40px; height: 30px; border-radius: 5px; object-fit: cover; box-shadow: 0 2px 6px rgba(0, 0, 0, .14); }
.where { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 22px; align-items: center; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px 26px; }
.where-title { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; color: var(--ink); font-size: 1.5rem; line-height: 1.05; font-style: italic; }
.where-title .ic { font-size: 48px; color: var(--ink); stroke-width: 1.6; font-style: normal; }
.where-loc { display: grid; grid-template-columns: auto 1fr 170px; gap: 16px; align-items: center; }
.where-loc > .ic { font-size: 46px; color: var(--violet); stroke-width: 1.6; }
.where-loc h3 { font-size: 1.2rem; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; text-decoration-thickness: 3px; margin-bottom: 4px; }
.where-loc p { font-size: .97rem; line-height: 1.4; }
.where-loc img { width: 100%; aspect-ratio: 4 / 2.9; object-fit: cover; border-radius: var(--radius-sm); }
.where .vsep { width: 1px; height: 80%; background: rgba(52, 48, 122, .12); }

/* ---------- Echipa ---------- */
/* Panouri lila pe grupuri; toți membrii au aceeași mărime și poză în valuri */
/* panouri în valuri: marginile de sus și jos au înălțime fixă, ca valul să nu se întindă pe panourile înalte */
.team-panel {
  background: var(--lav-2); padding: clamp(36px, 3.6vw, 48px) clamp(24px, 3vw, 40px);
  -webkit-mask: var(--wave-top) top / 100% 28px no-repeat, var(--wave-bottom) bottom / 100% 28px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 54px) no-repeat;
  mask: var(--wave-top) top / 100% 28px no-repeat, var(--wave-bottom) bottom / 100% 28px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 54px) no-repeat;
}
.team-panel + .team-panel { margin-top: 22px; }
/* conducerea: un soare și o inimă discrete în golurile din stânga/dreapta grilei de 720px */
.team-panel--lead { position: relative; }
.team-side { display: none; opacity: .55; }
.team-side--left { width: 68px; height: 68px; top: 22%; left: calc((100% - 720px) / 4 - 34px); }
.team-side--right { width: 46px; height: 46px; bottom: 26%; right: calc((100% - 720px) / 4 - 23px); stroke-width: 2.6; transform: rotate(10deg); }
@media (min-width: 1100px) { .team-side { display: block; } }
/* telefon: directorul stă singur pe rând, golurile din părți au fiecare cât jumătate din card */
.team-side-m { display: none; opacity: .5; }
.team-side-m--left { width: 40px; height: 40px; top: 18%; left: calc(-25% - 20px); }
.team-side-m--right { width: 28px; height: 28px; top: 40%; right: calc(-25% - 14px); stroke-width: 2.6; transform: rotate(10deg); }
@media (max-width: 860px) { .member--director { position: relative; } .team-side-m { display: block; } }
.team-head { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; font-family: var(--f-head); font-weight: 800; color: var(--ink); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; margin-bottom: 22px; }
.team-head .ic { font-size: 1.5em; color: var(--yellow-600); stroke-width: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 20px; }
.team-grid--lead { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; }
/* 6 oameni: toți pe un rând pe ecran mare, 3 + 3 pe ecran mediu */
.team-grid--six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 16px; }
@media (min-width: 861px) and (max-width: 1100px) { .team-grid--six { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; } }
.member { text-align: center; }
.member-photo { aspect-ratio: 8 / 9; filter: drop-shadow(0 5px 12px rgba(52, 48, 122, .1)); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--wave-photo) center / 100% 100% no-repeat; mask: var(--wave-photo) center / 100% 100% no-repeat; }
.member-tag { display: inline-block; position: relative; z-index: 2; margin-top: -16px; background: var(--yellow); color: var(--ink); font-family: var(--f-hand); font-weight: 700; font-size: .98rem; line-height: 1.3; padding: 4px 14px 2px; border-radius: 12px 12px 12px 4px; transform: rotate(-2deg); box-shadow: 0 5px 12px rgba(234, 177, 42, .28); }
.member h3 { font-size: 1.08rem; line-height: 1.15; margin-top: 8px; }
.role { display: block; color: var(--text); font-size: .86rem; line-height: 1.25; }
.exp { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; text-align: left; font-size: .8rem; line-height: 1.25; color: var(--text); }
.exp .ic { font-size: 22px; color: var(--ink); stroke-width: 1.7; }

/* ---------- Contacte ---------- */
.hero-swoosh { display: block; width: min(440px, 80%); height: 18px; margin-top: 8px; fill: none; stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
/* cardurile au înălțimi egale: butonul și harta coboară jos, aliniate între ele */
.loc-card { display: flex; flex-direction: column; }
.loc-card .loc-details { flex: 1; align-content: start; }
.loc-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.loc-card-head .ic { font-size: 54px; stroke-width: 1.6; }
.loc-card-head h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.city-pill { padding: 5px 22px; border-radius: 999px; background: var(--yellow); font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.city-pill.lav { background: var(--lav-3); }
.loc-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7.6; box-shadow: var(--shadow-sm); }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; }
.loc-details { list-style: none; display: grid; gap: 10px; padding: 18px 8px 4px 22px; }
.loc-details li { display: flex; gap: 16px; align-items: flex-start; font-family: var(--f-head); font-weight: 700; font-size: 1.22rem; color: var(--ink); line-height: 1.25; }
.loc-details li .ic { font-size: 30px; color: var(--violet); margin-top: 0; }
.loc-details li small { display: block; font-family: var(--f-body); font-weight: 600; font-size: .98rem; color: var(--muted); }
.loc-details a { display: inline-block; padding: 8px 0; margin: -8px 0; }
.loc-details a:hover { color: var(--purple); }
.loc-actions { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 16px 0 18px 22px; }
.loc-actions .btn { border-radius: 16px; font-size: 1.1rem; padding: 16px 20px; }
.map-static { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 6.6; background: #eceef0; }
.map-static svg.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-label { position: absolute; left: 42%; top: 26%; display: flex; align-items: center; gap: 10px; background: #fff; padding: 9px 16px 9px 10px; border-radius: 14px; box-shadow: var(--shadow-sm); font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.15; white-space: nowrap; }
.map-label .ic { font-size: 34px; color: var(--violet); margin-left: -28px; }
.map-static .btn { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); }
.map-static:hover .btn { transform: translateX(-50%) translateY(-2px); }
.social { display: grid; grid-template-columns: 1.3fr 2fr; gap: 24px; align-items: center; background: linear-gradient(90deg, var(--lav-2), #faf7f2); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); }
.social h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.social-groups { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-around; gap: 16px; }
.social-group { text-align: center; padding: 0 12px; }
.social-group + .social-group { border-left: 1px solid rgba(52, 48, 122, .12); }
.social-group h3 { font-size: 1.12rem; margin-bottom: 10px; }
.social-links { display: flex; justify-content: center; gap: 20px; list-style: none; }
.social-links a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .88rem; color: var(--text); transition: transform .2s; }
.social-links a:hover { transform: translateY(-2px); }
.sico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 30px; }
.sico.fb { color: #4a67ad; }
.sico.fb .ic { font-size: 44px; }
.sico.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }
.sico.ig .ic { stroke-width: 2.2; }
.cta-photo { position: relative; display: grid; grid-template-columns: 34% 1fr; align-items: center; background: linear-gradient(90deg, #fdf6e8, #fbf6ef); border-radius: var(--radius-lg); overflow: hidden; min-height: 280px; }
.cta-photo-media { align-self: stretch; position: relative; min-height: 260px; }
.cta-photo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--wave-right) center / 100% 100% no-repeat; mask: var(--wave-right) center / 100% 100% no-repeat; }
.cta-photo-body { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; padding: 40px clamp(22px, 4vw, 52px) 40px clamp(18px, 3vw, 36px); }
.cta-photo-body h2 { grid-column: 1 / -1; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-photo-body p { font-size: 1rem; }

/* ---------- Formular ---------- */
.form-wrap { position: relative; background: linear-gradient(180deg, #faf8fd, #f7f4fb 60%, #fbf6ec); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.form-step { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.step-num { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-3); color: var(--ink); font-family: var(--f-head); font-weight: 800; font-size: 1.55rem; flex-shrink: 0; }
.form-step h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 0 0 38px; border: 0; padding: 0; min-width: 0; }
.choices-col { display: grid; gap: 14px; align-content: start; }
.choice { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 22px; background: rgba(255, 255, 255, .75); border-radius: 16px; cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.2; border: 2px solid transparent; transition: border-color .2s, background-color .2s; }
.choice:hover { background: #fff; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .box { width: 26px; height: 26px; flex-shrink: 0; border: 2.5px solid var(--ink); border-radius: 6px; display: grid; place-items: center; background: #fff; transition: background-color .15s; }
.choice .box .ic { font-size: 18px; color: #fff; stroke-width: 3.2; opacity: 0; }
.choice input:checked + .box { background: var(--purple); border-color: var(--purple); }
.choice input:checked + .box .ic { opacity: 1; }
.choice:has(input:checked) { border-color: var(--violet); background: #fff; }
.choice input:focus-visible + .box { outline: 3px solid var(--yellow-600); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; }
.field label { display: block; font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: 1.08rem; margin-bottom: 8px; }
.field label .req { color: var(--coral); }
.field-input { position: relative; }
.field-input .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); }
.field input { width: 100%; padding: 15px 18px; border: 1.5px solid #e4e0ee; border-radius: 14px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field-input .ic + input { padding-left: 50px; }
.field input::placeholder { color: #a9a6bd; }
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(138, 128, 207, .18); }
.field.invalid input { border-color: var(--coral); }
.field-error, .choices-error { display: none; color: var(--coral); font-size: .86rem; margin-top: 6px; font-weight: 700; }
.field.invalid .field-error, .choices-error.show { display: block; }
.choices-error { margin: -26px 0 26px; }
.form-submit { position: relative; display: flex; justify-content: center; margin-top: 40px; }
.form-submit .btn { min-width: min(100%, 520px); font-size: 1.5rem; padding: 22px 40px; }
.form-submit .deco { width: 150px; height: 100px; right: 2%; top: -20px; stroke: var(--yellow-600); stroke-width: 2.4; }
.form-status { display: none; margin-top: 22px; padding: 16px 20px; border-radius: 14px; text-align: center; font-weight: 700; }
.form-status.ok { display: block; background: var(--green-soft); color: #2f6d2b; }
.form-status.err { display: block; background: var(--coral-soft); color: #9c2f36; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Modal video ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(30, 26, 70, .72); overscroll-behavior: contain; }
.modal[hidden] { display: none; }
.modal-dialog { position: relative; width: min(960px, 100%); background: #1d1a3f; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.modal-dialog iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-dialog.has-video { aspect-ratio: 16 / 9; }
.modal-dialog.has-video [data-video-frame] { position: absolute; inset: 0; }
.modal-placeholder { display: grid; place-content: center; text-align: center; color: #fff; padding: 56px 24px 36px; gap: 8px; min-height: min(420px, 60vh); }
.modal-placeholder .ic { font-size: 64px; margin: 0 auto 6px; color: var(--yellow); }
.modal-placeholder strong { color: #fff; font-size: 1.3rem; }
.modal-placeholder > span { max-width: 520px; margin: 0 auto; }
.modal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.modal-links .btn .ic { font-size: 1.1em; margin: 0; color: currentColor; }
.modal-links .btn-white { color: var(--ink); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 22px; cursor: pointer; }

/* ---------- Pop-up contact ---------- */
.contact-fab {
  position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px)); z-index: 80;
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 26px;
  background: var(--purple); color: #fff; box-shadow: 0 10px 26px rgba(77, 64, 155, .38);
  transition: transform .2s ease, background-color .2s;
}
.contact-fab::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--yellow); opacity: 0; animation: fab-ring 2.6s ease-out infinite;
}
.contact-fab:hover { transform: translateY(-3px); background: #5547a8; }
@keyframes fab-ring { 0% { transform: scale(.85); opacity: .9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
.nav-open .contact-fab { display: none; }

.contact-modal { padding: 16px; }
.contact-dialog {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 44px 36px 32px; text-align: center; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--cream-2) 0%, #fdf8ef 55%, var(--lav-2) 100%);
  box-shadow: 0 30px 70px rgba(30, 26, 70, .35);
  animation: contact-in .28s ease-out;
}
@supports (max-height: 100dvh) { .contact-dialog { max-height: calc(100dvh - 32px); } }
@keyframes contact-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.contact-close {
  position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 14px; cursor: pointer;
  display: grid; place-items: center; font-size: 20px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--lav-3); transition: background-color .2s;
}
.contact-close:hover { background: var(--lav); }
.contact-sun { width: 54px; height: 54px; top: 18px; left: 22px; }
.contact-eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 8px; font-weight: 800; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--violet); }
.contact-eyebrow::before { content: ""; width: 44px; height: 2px; border-radius: 2px; background: var(--yellow); }
.contact-title { font-size: clamp(1.9rem, 5.4vw, 2.5rem); margin-bottom: 10px; }
.contact-sub { max-width: 400px; margin: 0 auto 18px; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.contact-number { display: inline-block; font-family: var(--f-head); font-weight: 800; color: var(--ink); font-size: clamp(2.3rem, 8.4vw, 3.3rem); line-height: 1; letter-spacing: .02em; transition: color .2s; }
.contact-number:hover { color: var(--purple); }
.contact-note { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 24px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid #e8e3f3; font-size: .92rem; font-weight: 700; color: var(--text); }
.contact-note .ic { font-size: 18px; color: var(--violet); }
.contact-call { display: flex; width: 100%; padding: 18px 24px; font-size: 1.15rem; }

/* Blocarea derulării paginii cât e deschis meniul sau o fereastră (funcționează și pe iOS) */
body.scroll-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

/* ---------- Pagina 404 ---------- */
.not-found { position: relative; max-width: 720px; margin: 0 auto; text-align: center; padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 48px); background: var(--lav-2); border-radius: var(--radius-lg); }
/* „404” e desenat ca grafică SVG (decorativ; titlul de dedesubt spune același lucru) */
.not-found-code { display: block; width: auto; height: clamp(4.5rem, 14vw, 8rem); margin: 0 auto 8px; overflow: visible; }
.not-found-code text { font-family: var(--f-head); font-weight: 800; font-size: 112px; fill: var(--yellow); }
.not-found .h2 { margin-bottom: 14px; }
.not-found .lead { max-width: 520px; margin: 0 auto 26px; }
.not-found-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.not-found .deco-sun { width: 64px; height: 64px; top: 22px; right: 26px; }

/* ---------- Animații la scroll ---------- */
/* conținutul se ascunde doar dacă JavaScript rulează (clasa .js e pusă în <head>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .deco[style*="left:-"], .deco[style*="right:-"] { display: none; }
  .t-prev { left: -10px; }
  .t-next { right: -10px; }
}

@media (max-width: 1260px) {
  :root { --header-h: 80px; }
  .logo-img { height: 70px; }
  .logo-img--indigo { height: auto; width: 160px; }
  .nav-toggle {
    position: relative; z-index: 70; display: inline-grid; place-items: center;
    width: 50px; height: 50px; border-radius: 14px; border: 0; cursor: pointer;
    background: var(--lav); color: var(--ink); font-size: 26px;
  }
  .nav-toggle .ic-close { display: none; }
  .nav-open .nav-toggle .ic-open { display: none; }
  .nav-open .nav-toggle .ic-close { display: block; }
  .header-cta { margin-left: auto; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(86vw, 360px); flex-direction: column; justify-content: flex-start;
    padding: 96px 22px calc(32px + env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: -12px 0 40px rgba(30, 26, 70, .16);
    transform: translateX(105%); visibility: hidden; height: 100vh; height: 100dvh;
    transition: transform .35s ease, visibility 0s linear .35s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .35s ease, visibility 0s; }
  .nav-open .site-header { z-index: 100; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { text-align: left; font-size: 1.06rem; padding: 12px 16px; border-radius: 12px; }
  .main-nav a br { display: none; }
  .main-nav a::after { display: none; }
  .main-nav a:hover { background: var(--lav-2); }
  .main-nav a.is-active { background: var(--yellow-soft); }
  .main-nav .nav-cta-mobile { display: inline-flex; margin-top: 18px; padding: 15px 28px; font-size: 1.02rem; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(30, 26, 70, .38); }
  .nav-overlay[hidden] { display: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 1024px) {
  .hero-feats { flex-wrap: nowrap; gap: 12px; }
  .hero-feats > .hero-feat { flex: 1 1 0; min-width: 0; font-size: .88rem; }
  .hero-feats.divided .hero-feat + .hero-feat { padding-left: 12px; }
  .hero-box, .hero-box.tall { min-height: 480px; }
  .hero-content { width: 54%; padding: 48px 0 70px 36px; }
  .hero-media { width: 52%; }
  .course-top { grid-template-columns: 1fr minmax(0, 280px); }
  .hero--home .hero-content { width: 52%; }
  .features { --cols: 3 !important; row-gap: 26px; }
  .features.divided .feature + .feature { border-left: 0; }
  .t-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .service, .service--after { grid-template-columns: 1fr 1fr; }
  .course-grid, .duo { grid-template-columns: minmax(0, 1fr); }
  .where { grid-template-columns: minmax(0, 1fr); }
  .where .vsep { display: none; }
  .social { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-wrap: wrap; }
  .cta-band .divider { display: none; }
  .cta-band .cta-hearts { display: none; }
  .price-grid, .schedule-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .hero { padding: 0 var(--gutter); }
  .hero-box, .hero-box.tall, .hero--home .hero-box { flex-direction: column; align-items: stretch; min-height: 0; -webkit-mask: none; mask: none; border-radius: var(--radius-lg); }
  .hero-media, .hero--home .hero-media { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 420px; }
  .hero-media img {
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero-content, .hero--home .hero-content { width: 100%; padding: 4px 24px 36px; margin-top: -24px; }
  .hero--about .hero-box { grid-template-columns: minmax(0, 1fr); }
  .hero--about .hero-media { order: -1; aspect-ratio: 1400 / 584; }
  .hero--about .hero-content { padding: 8px 4px 8px; margin-top: 0; }
  .hero .deco-sun { top: 18px; right: 18px; }
  .hero .deco.white { display: none; }
  .hero--about .deco-sun { top: 6px; right: auto; left: 18px; width: 46px; height: 46px; }
  .hero-note { bottom: auto; top: clamp(120px, 34vw, 230px); right: 6%; font-size: 1.1rem; }
  .page-index .hero-note { right: auto; left: 5%; top: 22px; color: var(--purple); text-shadow: 0 0 10px #fff, 0 0 4px #fff; }
  .page-index .hero-note .ic { stroke: var(--purple); }
  .free-badge { bottom: auto; top: calc(min(420px, (100vw - var(--gutter) * 2) * .75) - 108px); right: 14px; }
  .stats { grid-template-columns: 1fr; gap: 18px; max-width: 420px; margin: 0 auto; }
  .stat { justify-content: flex-start; }
  .card-grid, .mv-grid, .extras { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .team-panel { padding: 34px 14px; }
  .team-head { font-size: 1.08rem; gap: 8px; }
  .team-grid, .team-grid--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; max-width: 560px; margin: 0 auto; }
  /* un singur card pe rând (directorul sus, ultimul din grup jos) stă pe mijloc, fără gol */
  .team-grid--lead .member:first-child, .team-grid:not(.team-grid--lead) .member:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); margin: 0 auto; }
  .member-tag { white-space: nowrap; font-size: .86rem; padding: 4px 10px 2px; }
  .about-home { grid-template-columns: minmax(0, 1fr); }
  /* poza în flux, cu aspect-ratio pe ea: Safari pe iPhone ignoră aspect-ratio pe celula de grilă întinsă și o lasă cu înălțimea 0 */
  .about-home-media { min-height: 0; }
  .about-home-media img { position: static; height: auto; aspect-ratio: 16 / 10; -webkit-mask: none; mask: none; }
  .about-actions .hand-note { margin-left: 0; }
  .service, .service--after { grid-template-columns: minmax(0, 1fr); }
  .service--after .service-media { order: -1; }
  .service-media { width: 100%; max-width: 560px; margin: 0 auto; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row > img:last-of-type, .photo-row > .pic:last-of-type > img { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid rgba(52, 48, 122, .1); }
  .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-photo { grid-template-columns: minmax(0, 1fr); }
  .cta-photo-media { min-height: 0; }
  .cta-photo-media img { position: static; height: auto; aspect-ratio: 16 / 9; -webkit-mask: none; mask: none; }
  .cta-photo-body { grid-template-columns: minmax(0, 1fr); padding: 26px 24px 32px; }
  .cta-plane { display: none; }
  .notes { grid-template-columns: 1fr; gap: 12px; }
  .note { padding: 4px 6px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .logo-img { height: 62px; }
  .logo-img--indigo { height: auto; width: 140px; }
  .hero-content, .hero--home .hero-content { padding: 0 18px 30px; }
  .hero-media, .hero--home .hero-media { aspect-ratio: 1 / .86; }
  /* pe telefon: jos în card, sub iconițe, centrat (nu acoperă poza și nu atinge marginile) */
  .free-badge { position: relative; top: auto; right: auto; bottom: auto; align-self: center; margin: 2px auto 30px; width: 98px; font-size: .84rem; }
  .features { --cols: 2 !important; gap: 22px 12px; }
  .features .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .icon-row, .course .icon-row { --cols: 3 !important; }
  .icon-row .item:last-child:nth-child(3n + 1) { grid-column: 2; }
  .icon-row:has(> .item:nth-child(4):last-child) { --cols: 2 !important; }
  .icon-row:has(> .item:nth-child(4):last-child) .item:last-child { grid-column: auto; }
  .course .icon-row .item:nth-child(4):nth-last-child(2) { grid-column: auto; }
  .course-top { grid-template-columns: minmax(0, 1fr); }
  .course-img { max-width: 320px; }
  .t-track { grid-auto-columns: 88%; }
  .t-prev, .t-next { display: none; }
  .cta-band, .cta-soft { flex-direction: column; text-align: center; -webkit-mask: none; mask: none; border-radius: var(--radius-lg); }
  .cta-band .btn, .cta-soft .btn { width: 100%; }
  .cta-stats { justify-content: center; }
  .cta-soft .cta-hearts { display: none; }
  .price-card { grid-template-columns: minmax(0, 1fr); }
  .price-amount { min-width: 0; }
  .schedule-row { grid-template-columns: minmax(0, 1fr); }
  .tariff { justify-self: start; }
  .mini-stats .sep { display: none; }
  .duo-panel { grid-template-columns: minmax(0, 1fr); }
  .duo-panel > .deco { top: auto !important; bottom: -12px; right: 22px !important; }
  .where-loc { grid-template-columns: auto 1fr; }
  .where-loc img { grid-column: 1 / -1; }
  .choices, .fields { grid-template-columns: minmax(0, 1fr); }
  .choice { font-size: 1.04rem; padding: 14px 16px; }
  .form-submit .btn { font-size: 1.25rem; padding: 18px 24px; width: 100%; }
  .form-submit .deco { display: none; }
  .loc-actions { grid-template-columns: 1fr; margin-left: 0; gap: 10px; }
  .loc-actions .btn { font-size: 1rem; padding: 14px 10px; }
  .loc-details { padding-left: 4px; }
  .loc-details li { font-size: 1.1rem; }
  .map-static { aspect-ratio: 16 / 9; }
  .map-label { left: 50%; transform: translateX(-35%); top: 18%; }
  .social-groups { grid-template-columns: minmax(0, 1fr); }
  .social-group + .social-group { border-left: 0; border-top: 1px solid rgba(52, 48, 122, .12); padding-top: 14px; }
  .info-strip { grid-template-columns: minmax(0, 1fr); padding: 26px 4px; }
  .btn-lg { padding: 17px 24px; font-size: 1.08rem; }
  .footer-bottom-inner { justify-content: center; text-align: center; padding-right: 0; }
  .footer-bottom { padding-bottom: 88px; }
  .hero-feats.divided .hero-feat + .hero-feat { border-left: 0; padding-left: 0; }
  .hero-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 14px 8px; }
  .hero-feat { max-width: none; }
  .hero-feats.small { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 12px 6px; }
  .hero-feats.small .hero-feat { max-width: none; }
  .course-img { max-width: 300px; margin: 0 auto; }
  .course-top.course-top--wide { grid-template-columns: minmax(0, 1fr); }
  .course-img.course-img--wide { max-width: 440px; }
  .consult { grid-template-columns: auto 1fr; }
  .consult .btn { grid-column: 1 / -1; }
  .about-actions { flex-direction: column; align-items: flex-start; }
  .about-actions > .deco-inline { display: none; }
  .about-actions .hand-note { align-self: flex-end; margin: -6px 6px 0 0; }
  .about-home .deco-sun { width: 52px; height: 52px; top: 18px; right: 18px; }
  .about-home-content .h2 { padding-right: 56px; }
  .hero-feats.small { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 6px; }
  .hero-feats.small > .hero-feat { flex: 0 0 calc(33.333% - 4px); min-width: 0; }
  .hero-feats.small:has(> .hero-feat:nth-child(4):last-child) > .hero-feat { flex-basis: calc(50% - 3px); }
  .hero--about .deco-sun { display: none; }
  .not-found-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .contact-dialog { padding: 40px 18px 22px; }
  .contact-sun { width: 42px; height: 42px; top: 14px; left: 14px; }
  .contact-fab { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px)); width: 56px; height: 56px; }
}

@media (max-width: 380px) {
  .member .exp { flex-direction: column; gap: 4px; text-align: center; }
  .loc-actions { grid-template-columns: 1fr; }
  .btn { padding-left: 20px; padding-right: 20px; }
}
