/* ---------- Base ---------- */
:root {
  --orange: #f26b1d;
  --orange-dark: #d9560f;
  --gold: #f5b73b;
  --teal: #1aa8a3;
  --cream: #fff8ef;
  --ink: #1b1b1f;
  --muted: #6b6b73;
  --line: #ece4d8;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 27, 31, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans Malayalam', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* ---------- Malayalam typography tweaks ---------- */
html[lang="ml"] body { font-family: 'Noto Sans Malayalam', 'Inter', system-ui, sans-serif; }
html[lang="ml"] .hero__title { line-height: 1.25; font-size: clamp(34px, 4.8vw, 60px); }
html[lang="ml"] .section__title { line-height: 1.35; }
html[lang="ml"] .hero__eyebrow,
html[lang="ml"] .section__tag,
html[lang="ml"] .hero__meta-label,
html[lang="ml"] .countdown__label,
html[lang="ml"] .countdown__unit,
html[lang="ml"] .route__point strong,
html[lang="ml"] .footer__tag { letter-spacing: .02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all .25s ease;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242,107,29,.3); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 14px; background: var(--orange); color: #fff; }
.btn--sm:hover { background: var(--orange-dark); }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: all .3s ease;
}
.nav.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { order: 2; }
.nav__right { order: 3; }
.nav__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.nav__brand-badge { background: var(--orange); color: #fff; padding: 2px 10px; border-radius: 8px; font-size: 14px; }
.nav__links { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; margin-left: auto; }
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--orange); transition: width .25s ease;
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; background: rgba(27,27,31,.06); border-radius: 999px; padding: 3px; }
.lang__btn {
  border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; color: var(--muted); transition: all .2s;
  font-family: 'Inter', 'Noto Sans Malayalam', sans-serif;
}
.lang__btn.is-active { background: var(--ink); color: #fff; }
.lang__short { display: none; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(245,183,59,.25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(26,168,163,.12), transparent 40%),
    var(--cream);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.hero__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 18px;
}
.hero__title { font-size: clamp(40px, 5.5vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }
.hero__title-accent { color: var(--orange); }
.hero__sub { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero__meta { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__meta-item { display: flex; flex-direction: column; }
.hero__meta-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.hero__meta-value { font-size: 17px; font-weight: 700; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual { display: flex; justify-content: center; }
.hero__poster-wrap {
  position: relative; max-width: 380px; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(27,27,31,.18);
  transform: rotate(2deg); transition: transform .4s ease;
}
.hero__poster-wrap:hover { transform: rotate(0) scale(1.02); }
.hero__poster-wrap::before {
  content: ''; position: absolute; inset: -14px; z-index: -1; border-radius: 30px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  opacity: .25;
}
.hero__poster { width: 100%; height: auto; }

/* ---------- Countdown ---------- */
.countdown { background: var(--ink); color: #fff; padding: 40px 0; }
.countdown__label { text-align: center; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.countdown__grid { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.countdown__box {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 18px 26px; min-width: 110px; text-align: center;
}
.countdown__num { display: block; font-size: 40px; font-weight: 800; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__unit { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--cream); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section__tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.section__tag--light { color: var(--gold); }
.section__title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about__text p { color: var(--muted); margin-top: 18px; font-size: 17px; }
.about__stats { display: grid; gap: 18px; }
.stat {
  background: var(--cream); border-radius: var(--radius); padding: 24px 28px;
  border-left: 4px solid var(--orange);
}
.stat__num, .stat__suffix { font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1; }
.stat__suffix { color: var(--orange); }
.stat__label { display: block; margin-top: 6px; color: var(--muted); font-weight: 500; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(27,27,31,.12); }
.card__icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Route ---------- */
.route { display: flex; align-items: center; justify-content: center; gap: 0; max-width: 900px; margin: 0 auto; }
.route__point { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.route__point strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); }
.route__point p { font-weight: 600; }
.route__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); flex-shrink: 0; box-shadow: 0 0 0 6px rgba(26,168,163,.15); }
.route__dot--start { background: var(--orange); box-shadow: 0 0 0 6px rgba(242,107,29,.18); }
.route__dot--end { background: var(--ink); box-shadow: 0 0 0 6px rgba(27,27,31,.12); }
.route__line { flex: 1; height: 3px; margin: 0 20px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 36px 0; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer strong { color: #fff; display: block; margin-bottom: 4px; }
.footer__tag { color: var(--gold); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.footer__credit { display: flex; align-items: center; gap: 12px; }
.footer__avatar {
  width: 44px; height: 44px; max-width: 44px; border-radius: 50%; object-fit: cover; object-position: center;
  border: 2px solid var(--gold); flex-shrink: 0;
}
.footer__credit-label { display: block; font-size: 12px; color: rgba(255,255,255,.55); }
.footer__credit-name { display: block; color: #fff; font-size: 15px; margin: 0; }
.footer__credit-addr { display: block; font-size: 12px; color: rgba(255,255,255,.55); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 8px 20px rgba(242,107,29,.35);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; z-index: 90;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner, .about { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero__visual { order: -1; }
  .hero__poster-wrap { max-width: 300px; transform: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .lang__btn { padding: 5px 10px; font-size: 12px; }
  .nav__right { gap: 8px; }
  .nav__brand { font-size: 16px; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08); display: none;
  }
  .nav__links a { padding: 12px 0; width: 100%; }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open { background: #fff; }
  .section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
  .route { flex-direction: column; align-items: flex-start; gap: 20px; }
  .route__line { width: 3px; height: 40px; margin: 0 0 0 7px; background: repeating-linear-gradient(180deg, var(--orange) 0 8px, transparent 8px 14px); }
  .countdown__box { min-width: 70px; padding: 14px 16px; }
  .countdown__num { font-size: 30px; }
  .hero__meta { gap: 20px; }
  .footer__credit { flex-basis: 100%; }
  .footer { padding-bottom: 80px; }
}
