/* Legato English Club — halaman khusus (memakai token dari styles.css) */
.lec { --plum-deep: #6E2F55; --plum-dark: #8A3D6A; }

/* ---------- Hero ---------- */
.lec-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 90% at 85% 10%, #C46A9E 0%, var(--plum) 35%, var(--plum-dark) 70%, var(--plum-deep) 100%);
  padding: 48px 0 64px;
}
.lec-hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 920px) { .lec-hero { padding: 80px 0 96px; } .lec-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.lec-kicker {
  display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .04em;
}
.lec-hero h1 { color: var(--white); font-size: clamp(38px, 7.4vw, 66px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; margin: 0 0 18px; }
.lec-hero h1 span { color: var(--gold); display: block; }
.lec-lead { font-size: clamp(17px, 2.3vw, 20px); line-height: 1.6; color: rgba(255,255,255,.92); max-width: 46ch; margin: 0 0 24px; }
.lec-lead strong { color: var(--gold); }
.lec-facts { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.lec-facts li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 10px 16px; display: grid; min-width: 96px; }
.lec-facts b { font-family: var(--font-head); font-size: 24px; line-height: 1.1; color: var(--white); }
.lec-facts span { font-size: 13.5px; color: rgba(255,255,255,.78); }
.lec-hero .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.lec-hero-photo { position: relative; margin: 0 auto; max-width: 480px; width: 100%; }
.lec-hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 28px; border: 6px solid rgba(255,255,255,.95); box-shadow: 0 24px 60px rgba(40, 10, 30, .35); transform: rotate(2deg); }
.lec-sticker {
  position: absolute; left: -10px; bottom: -18px; width: 104px; height: 104px; border-radius: 50%;
  background: var(--gold); color: var(--navy-dark); display: grid; place-content: center; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1; transform: rotate(-12deg);
  box-shadow: 0 10px 24px rgba(0,0,0,.22); border: 4px dashed rgba(46,59,72,.25);
}
.lec-sticker small { display: block; font-size: 14px; font-weight: 600; margin-top: 4px; }

/* dekorasi */
.lec-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--plum-dark);
  background: var(--white); padding: 8px 14px; border-radius: 16px; box-shadow: 0 8px 20px rgba(40,10,30,.18);
  opacity: .95; animation: lec-float 6s ease-in-out infinite;
}
.bubble::after { content: ""; position: absolute; left: 16px; bottom: -7px; border: 8px solid transparent; border-top-color: var(--white); border-bottom: 0; }
.bubble.b1 { bottom: 7%; right: 5%; }
.bubble.b2 { bottom: 8%; right: 42%; background: var(--gold); color: var(--navy-dark); animation-delay: -2s; }
.bubble.b2::after { border-top-color: var(--gold); }
.bubble.b4 { display: none; }
.star { position: absolute; width: 28px; height: 28px; fill: var(--gold); opacity: .9; animation: lec-twinkle 3.5s ease-in-out infinite; }
.star.s1 { top: 12%; left: 46%; }
.star.s2 { bottom: 18%; left: 4%; width: 18px; height: 18px; animation-delay: -1.2s; }
.star.s3 { top: 4%; left: 8%; width: 14px; height: 14px; fill: #fff; animation-delay: -2.4s; }
@media (max-width: 919px) { .bubble { display: none; } .star.s1 { left: auto; right: 8%; top: 3%; } }
/* gelembung yang menempel di foto, untuk semua ukuran layar */
.lec-hero-photo::before {
  content: "I think…"; position: absolute; z-index: 2; top: -16px; right: 18px; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--plum-dark); background: var(--white); padding: 8px 14px; border-radius: 16px; box-shadow: 0 8px 20px rgba(40,10,30,.2);
}
.lec-hero-photo::after { content: ""; position: absolute; z-index: 2; top: 18px; right: 38px; border: 8px solid transparent; border-top-color: var(--white); border-bottom: 0; }
@media (min-width: 1200px) { .bubble.b4 { display: block; top: 16%; left: 40%; animation-delay: -3s; } }
@keyframes lec-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lec-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: .9; } 50% { transform: scale(1.25) rotate(15deg); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .bubble, .star { animation: none; } }

/* ---------- Umum ---------- */
.lec .eyebrow { color: var(--plum); }
.lec-body { font-size: 18px; line-height: 1.7; color: var(--charcoal); max-width: 60ch; margin: 0 0 14px; }
.lec-body strong { color: var(--ink); }
.lec-intro { margin: -12px 0 28px; }
.lec-ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--plum-soft); }
.lec-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--plum-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tentang ---------- */
.lec-about { display: grid; gap: 36px; align-items: start; }
@media (min-width: 920px) { .lec-about { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.lec-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lec-pillars li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.lec-pillars h3 { font-size: 19px; margin: 2px 0 4px; color: var(--navy-dark); }
.lec-pillars p { margin: 0; color: var(--charcoal); }
.lec-pillars li:nth-child(2) .lec-ico { background: var(--gold-soft); }
.lec-pillars li:nth-child(2) .lec-ico svg { stroke: #9A6A00; fill: var(--gold); }

/* ---------- Kutipan ---------- */
.lec-quote { background: var(--navy-dark); color: var(--white); padding: 64px 0; position: relative; overflow: hidden; }
.lec-quote::before { content: "“"; position: absolute; left: 4%; top: -40px; font-family: Georgia, serif; font-size: 260px; line-height: 1; color: rgba(252,184,44,.14); }
.lec-quote blockquote { margin: 0 auto; max-width: 820px; text-align: center; position: relative; }
.lec-quote blockquote > p { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 5vw, 46px); line-height: 1.15; color: var(--gold); margin: 0 0 18px; }
.lec-quote footer { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.85); }
.lec-quote footer strong { color: var(--white); }

/* ---------- Kategori ---------- */
.lec-cats { display: grid; gap: 20px; }
@media (min-width: 760px) { .lec-cats { grid-template-columns: 1fr 1fr; gap: 24px; } }
.lec-cat { position: relative; overflow: hidden; border-radius: 26px; padding: 30px 28px 32px; color: var(--white); min-height: 260px; }
.lec-cat.rising { background: linear-gradient(150deg, #F9C552 0%, #F2A93B 100%); color: var(--navy-dark); }
.lec-cat.shining { background: linear-gradient(150deg, #C46A9E 0%, var(--plum-dark) 100%); }
.lec-cat::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 22px solid rgba(255,255,255,.18); }
.lec-cat-star { position: relative; width: 64px; height: 64px; margin-bottom: 18px; }
.lec-cat-star svg { width: 64px; height: 64px; }
.lec-cat.rising .lec-cat-star svg { fill: var(--white); filter: drop-shadow(0 4px 8px rgba(154,106,0,.35)); }
.lec-cat.shining .lec-cat-star svg { fill: var(--gold); filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.lec-cat-star .spark { position: absolute; inset: -14px; width: 92px; height: 92px; fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.4; stroke-linecap: round; filter: none; }
.lec-cat-age { display: inline-block; margin: 0 0 6px; padding: 4px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 14px; background: rgba(255,255,255,.28); }
.lec-cat h3 { font-size: clamp(30px, 4.4vw, 40px); font-weight: 800; margin: 0 0 8px; color: inherit; letter-spacing: -.01em; }
.lec-cat p { margin: 0; font-size: 17px; line-height: 1.6; max-width: 38ch; position: relative; z-index: 1; }
.lec-note { margin: 18px 0 0; font-size: 15px; color: var(--slate); }

/* ---------- Kegiatan ---------- */
.lec-acts-wrap { background: linear-gradient(180deg, var(--plum-soft) 0%, #FBF4F8 100%); }
.lec-acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: act; }
@media (min-width: 600px) { .lec-acts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .lec-acts { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1140px) { .lec-acts { grid-template-columns: repeat(4, 1fr); } }
.lec-acts li {
  counter-increment: act; position: relative; background: var(--white); border: 1px solid #EBD6E2; border-radius: 20px;
  padding: 20px 20px 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lec-acts li::before {
  content: counter(act, decimal-leading-zero); position: absolute; top: 16px; right: 18px;
  font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #EBD6E2;
}
.lec-acts li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(110,47,85,.14); border-color: #D9B3C9; }
.lec-acts li:nth-child(3n+2) .lec-ico { background: var(--gold-soft); }
.lec-acts li:nth-child(3n+2) .lec-ico svg { stroke: #9A6A00; }
.lec-acts li:nth-child(3n) .lec-ico { background: var(--mist); }
.lec-acts li:nth-child(3n) .lec-ico svg { stroke: var(--navy); }
.lec-acts h3 { font-size: 17.5px; margin: 14px 0 6px; color: var(--navy-dark); line-height: 1.3; }
.lec-acts p { margin: 0; color: var(--charcoal); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 599px) {
  .lec-acts li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 16px 16px 18px; }
  .lec-acts li .lec-ico { grid-row: span 2; }
  .lec-acts h3 { margin: 2px 0 4px; padding-right: 30px; }
  .lec-acts li::before { top: 14px; right: 14px; font-size: 18px; }
}
.lec-more { text-align: center; margin: 24px 0 0; font-family: var(--font-head); font-weight: 600; color: var(--plum-dark); }

/* ---------- Hadiah ---------- */
.lec-prize-wrap { padding: 0; margin-top: -1px; background: linear-gradient(180deg, #FBF4F8 0 50%, var(--gold-soft) 50% 100%); }
.lec-prize {
  display: grid; gap: 20px; align-items: center; border-radius: 28px; padding: 32px 28px;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 100%); color: var(--white);
  box-shadow: 0 20px 44px rgba(46,59,72,.25); position: relative; overflow: hidden;
}
.lec-prize::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(252,184,44,.16); }
@media (min-width: 700px) { .lec-prize { grid-template-columns: auto 1fr; padding: 40px 48px; gap: 32px; } }
.lec-trophy { width: 96px; height: 96px; border-radius: 50%; background: rgba(252,184,44,.15); display: grid; place-items: center; }
.lec-trophy svg { width: 64px; height: 64px; }
.lec-trophy .cup, .lec-trophy .base { fill: var(--gold); }
.lec-trophy .handle { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.lec-trophy .shine { stroke: rgba(255,255,255,.7); stroke-width: 3; stroke-linecap: round; }
.lec-prize-kicker { margin: 0 0 4px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lec-prize h2 { color: var(--white); font-size: clamp(24px, 3.6vw, 32px); margin: 0 0 8px; }
.lec-prize p { margin: 0; color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.6; max-width: 60ch; position: relative; z-index: 1; }

/* ---------- CTA ---------- */
.lec-cta { background: var(--plum-dark); }
.lec .faq a { color: var(--plum); }
