/* Kirtara landing page — palette "Senja" */
:root {
  --plum: #3A1450;
  --plum-700: #4E2468;
  --plum-300: #9C7BAE;
  --plum-100: #F1E8F5;
  --coral: #FF7A59;
  --coral-600: #E8603F;
  --coral-100: #FFE9E2;
  --gold: #FFC857;
  --gold-100: #FFF3D6;
  --cream: #FFF8F3;
  --white: #FFFFFF;
  --ink: #2A0F3A;
  --muted: #6B5577;
  --line: #EADFE4;
  --ok: #1F8A5B;
  --wa: #25D366;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -24px rgba(58, 20, 80, 0.35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--plum); }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
em { font-style: normal; color: var(--coral); }
ul { margin: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* Buttons & labels */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--coral { background: var(--coral); color: var(--plum); box-shadow: 0 10px 24px -12px rgba(255, 122, 89, 0.9); }
.btn--coral:hover { background: var(--coral-600); color: var(--white); }
.btn--plum { background: var(--plum); color: var(--cream); }
.btn--plum:hover { background: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 248, 243, 0.45); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--cream); background: rgba(255, 248, 243, 0.08); }
.btn--outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn--outline:hover { background: var(--plum); color: var(--cream); }

.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em; }
.pill--gold { background: var(--gold); color: var(--plum); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-600); margin-bottom: 12px; }
.eyebrow--light { color: var(--gold); }
.note { margin-top: 18px; text-align: center; font-size: 12px; color: var(--muted); }

/* Announcement bar */
.announce { background: var(--plum); color: var(--cream); font-size: 14px; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 0; flex-wrap: wrap; text-align: center; }
.announce__tag { background: var(--coral); color: var(--plum); font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; animation: pulse 2.4s ease-in-out infinite; }
.announce__link { color: var(--gold); font-weight: 700; text-decoration: none; }
.announce__link:hover { text-decoration: underline; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 243, 0.9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { width: 120px; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--plum); }
.nav__menu a:not(.btn):hover { color: var(--coral-600); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__bar { display: block; width: 22px; height: 2px; background: var(--plum); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: 12px 0 0; }
.hero__panel { background: radial-gradient(120% 90% at 100% 100%, #5B1F5E 0%, var(--plum) 55%); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; position: relative; overflow: hidden; }
.hero__panel::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; bottom: -280px; background: var(--coral); opacity: 0.22; border-radius: 50%; filter: blur(10px); }
.hero__panel::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 248, 243, 0.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.hero__copy, .hero__visual { position: relative; z-index: 1; }
.hero h1 { color: var(--cream); font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; margin: 20px 0 18px; }
.hero__lead { font-size: 18px; color: rgba(255, 248, 243, 0.82); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__platforms { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__platforms li { font-size: 12px; font-weight: 600; color: rgba(255, 248, 243, 0.8); border: 1px solid rgba(255, 248, 243, 0.2); padding: 4px 12px; border-radius: 999px; }

/* Dashboard mockup */
.mock { margin: 0; background: var(--cream); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); color: var(--ink); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--white); border-bottom: 1px solid var(--line); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock__dots i:first-child { background: var(--coral); }
.mock__dots i:nth-child(2) { background: var(--gold); }
.mock__url { font-size: 12px; color: var(--muted); background: var(--cream); padding: 3px 12px; border-radius: 999px; }
.mock__live { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.mock__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s ease-in-out infinite; }
.mock__body { padding: 16px; display: grid; gap: 12px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.kpi__label { font-size: 11px; color: var(--muted); }
.kpi__value { font-size: 22px; font-weight: 800; color: var(--plum); }
.kpi__value b { color: var(--gold); font-size: 18px; }
.mock__panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock__head { font-size: 12px; font-weight: 700; color: var(--plum); margin-bottom: 8px; }
.review { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12px; }
.review:first-of-type { border-top: 0; padding-top: 0; }
.review__stars { color: var(--gold); letter-spacing: 1px; grid-row: span 2; }
.review__stars--low { color: var(--coral); }
.review__stars span { color: var(--line); }
.tag { justify-self: start; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.tag--ok { background: #E3F4EC; color: var(--ok); }
.tag--alert { background: var(--coral-100); color: #B23F22; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
.bars i { flex: 1; height: var(--h); background: var(--plum-300); border-radius: 6px 6px 2px 2px; }
.bars i:last-child { background: var(--coral); }

/* Floating toasts around the mockup */
.toast { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.45); font-size: 13px; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.toast b { display: block; color: var(--plum); }
.toast small { color: var(--muted); font-size: 11px; }
.toast__icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; flex: none; }
.toast__icon--gold { background: var(--gold-100); color: #B07A00; }
.toast__icon--green { background: #E3F4EC; color: var(--ok); }
.toast__icon--coral { background: var(--coral-100); color: var(--coral-600); }
.toast--a { top: -34px; left: -44px; }
.toast--b { bottom: 70px; left: -52px; animation-delay: -2s; }
.toast--c { bottom: -20px; right: -14px; animation-delay: -4s; }

/* Trust marquee */
.trust { padding: 40px 0 8px; }
.trust__title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-tile, .name-tile { height: 72px; display: flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); flex: none; }
.logo-tile img { width: auto; max-height: 44px; max-width: 180px; }
.logo-tile--dark { background: #1F2A5C; border-color: #1F2A5C; }
.name-tile { font-weight: 800; color: var(--plum); font-size: 16px; gap: 10px; white-space: nowrap; }
.name-tile::before { content: ""; width: 14px; height: 14px; background: url("../img/kirtara-star.svg") center / contain no-repeat; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--white { background: var(--white); }
.section__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section__head--light h2 { color: var(--cream); }
.section__head--light p { color: rgba(255, 248, 243, 0.75); }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.problem { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; transition: transform .25s, box-shadow .25s; }
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.problem h3 { margin-top: 18px; }
.problem p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.problem__visual { height: 120px; border-radius: 18px; background: var(--cream); padding: 14px; position: relative; overflow: hidden; }
.problem__visual--cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; align-content: center; }
.problem__visual--cal i { aspect-ratio: 1; border-radius: 6px; background: var(--line); }
.problem__visual--cal i.on { background: var(--plum-300); }
.problem__visual--review { background: var(--coral-100); display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mini-stars { color: var(--coral); font-size: 18px; letter-spacing: 2px; }
.mini-stars span { color: rgba(58, 20, 80, 0.15); }
.mini-line { height: 8px; width: 90%; border-radius: 4px; background: rgba(58, 20, 80, 0.12); }
.mini-line--short { width: 60%; }
.mini-badge { align-self: flex-start; font-size: 11px; font-weight: 700; color: #B23F22; background: var(--white); padding: 3px 10px; border-radius: 999px; }
.problem__visual--ads { background: var(--gold-100); display: flex; align-items: center; justify-content: center; gap: 10px; }
.mini-pill { background: var(--white); font-weight: 800; font-size: 13px; color: var(--plum); padding: 8px 12px; border-radius: 12px; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.4); }
.mini-arrow { font-size: 22px; color: var(--plum-300); }
.mini-q { width: 44px; height: 44px; border-radius: 50%; background: var(--plum); color: var(--gold); font-weight: 800; font-size: 22px; display: grid; place-items: center; }
.problem__visual--todo { background: var(--plum-100); display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.todo { font-size: 12px; font-weight: 600; color: var(--plum); background: var(--white); padding: 5px 10px 5px 28px; border-radius: 8px; position: relative; }
.todo::before { content: ""; position: absolute; left: 9px; top: 50%; width: 11px; height: 11px; margin-top: -6px; border: 2px solid var(--plum-300); border-radius: 3px; }
.todo.done { color: var(--muted); text-decoration: line-through; }
.todo.done::before { background: var(--plum-300); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile--wide { grid-column: span 2; flex-direction: row; gap: 28px; align-items: center; }
.tile--wide > * { flex: 1; }
.tile--full { grid-column: 1 / -1; }
.tile--plum { background: var(--plum); border-color: var(--plum); }
.tile--plum h3 { color: var(--cream); }
.tile--plum p { color: rgba(255, 248, 243, 0.78); }
.tile--plum .tile__kicker { color: var(--gold); }
.tile--coral { background: var(--coral); border-color: var(--coral); }
.tile--coral p { color: var(--plum); }
.tile--coral .tile__kicker { color: var(--plum); }
.tile--gold { background: var(--gold-100); border-color: #F7E1A8; }
.tile__kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-600); margin-top: 18px; }
.tile--wide .tile__kicker { margin-top: 0; }
.tile h3 { margin-top: 6px; font-size: 20px; }
.tile--wide h3 { font-size: clamp(22px, 2.4vw, 28px); }
.tile p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.ui-review { display: grid; gap: 10px; }
.ui-review__card, .ui-review__reply { background: var(--white); border-radius: 16px; padding: 14px; font-size: 13px; color: var(--ink); }
.ui-review__who { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: var(--plum); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.ui-stars { color: var(--gold); margin-left: auto; letter-spacing: 1px; }
.ui-review__reply { background: var(--plum-100); margin-left: 24px; }
.ai-chip { display: inline-block; font-size: 11px; font-weight: 800; color: var(--plum); background: var(--gold); padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; }
.ui-btn { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; background: var(--coral); color: var(--plum); padding: 6px 14px; border-radius: 999px; }

.ui-cal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-cal__day { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; font-size: 11px; font-weight: 700; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px; min-height: 58px; align-content: flex-start; }
.ui-cal__day b { display: block; width: 100%; font-size: 10px; color: var(--white); border-radius: 6px; padding: 2px 6px; }
.c-ig { background: linear-gradient(90deg, #F58529, #DD2A7B); }
.c-tt { background: #111; }
.c-fb { background: #1877F2; }

.ui-phone { align-self: center; width: 130px; height: 190px; border-radius: 22px; background: var(--plum); padding: 7px; box-shadow: 0 18px 34px -16px rgba(58, 20, 80, 0.6); }
.ui-phone__screen { height: 100%; border-radius: 16px; background: linear-gradient(160deg, var(--coral) 0%, #FF9C6E 50%, var(--gold) 100%); padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; color: var(--plum); }
.ui-phone__tag { align-self: flex-start; font-size: 10px; font-weight: 800; background: var(--white); padding: 2px 8px; border-radius: 999px; }
.ui-phone__screen b { font-size: 15px; line-height: 1.2; }
.ui-phone__time { margin-top: auto; font-size: 10px; font-weight: 700; }

.ui-wa { background: #E7F8EC; border-radius: 16px; padding: 14px; font-size: 13px; position: relative; }
.ui-wa__from { font-size: 11px; font-weight: 800; color: var(--ok); }
.ui-wa p { margin-top: 4px; color: var(--ink); }
.ui-wa__time { display: block; text-align: right; font-size: 10px; color: var(--muted); margin-top: 4px; }

.ui-report { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px; position: relative; }
.ui-report__title { font-size: 12px; font-weight: 800; color: var(--plum); }
.ui-report__bars { display: flex; align-items: flex-end; gap: 10px; height: 70px; margin-top: 10px; }
.ui-report__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--plum-300); }
.ui-report__bars i:nth-child(4) { background: var(--coral); }
.ui-report__pdf { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 800; color: var(--white); background: #D93025; padding: 2px 7px; border-radius: 6px; }

.ui-funnel { display: grid; gap: 8px; }
.ui-funnel div { width: var(--w); min-width: 150px; background: var(--white); border-radius: 12px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--plum); }
.ui-funnel b { font-weight: 800; }

/* Stats band */
.stats-band { background: var(--gold); padding: clamp(40px, 6vw, 64px) 0; }
.stats-band__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__value { display: inline-flex; align-items: flex-start; }
.stat__num { font-size: clamp(44px, 6vw, 72px); font-weight: 800; color: var(--plum); line-height: 1; letter-spacing: -0.03em; }
.stat__plus { font-size: clamp(30px, 4vw, 48px); font-weight: 800; color: var(--coral-600); line-height: 1; margin-left: 2px; }
.stat__label { margin-top: 8px; font-weight: 700; color: var(--plum); font-size: 15px; }

/* Segments */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.segment { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--plum); }
.segment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.segment:hover img { transform: scale(1.06); }
.segment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 20, 80, 0) 30%, rgba(58, 20, 80, 0.92) 100%); }
.segment__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.segment h3 { color: var(--white); font-size: 21px; }
.segment p { margin-top: 6px; color: rgba(255, 248, 243, 0.85); font-size: 14px; }

/* Early access */
.early { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.early__copy p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.early__icon { margin-top: 36px; border-radius: 18px; transform: rotate(-8deg); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--plum); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: url("../img/kirtara-star.svg") center / 18px no-repeat; }
.form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 700; font-size: 14px; color: var(--plum); }
.field input[type="text"], .field input[type="tel"], .field select { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.18); }
.field input[aria-invalid="true"] { border-color: #C0392B; }
.field__error { color: #C0392B; font-size: 13px; }
.field--choice { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.field--choice legend { width: 100%; margin-bottom: 6px; }
.field--choice label { font-weight: 500; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.field--choice input { accent-color: var(--coral); width: 18px; height: 18px; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }

/* Bridge */
.bridge { background: var(--plum); color: var(--cream); padding: clamp(64px, 9vw, 112px) 0; position: relative; overflow: hidden; }
.bridge::before { content: ""; position: absolute; width: 480px; height: 480px; left: -200px; top: -200px; border-radius: 50%; background: var(--coral); opacity: 0.14; }
.bridge__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.bridge h2 { color: var(--cream); }
.bridge__copy > p { margin-top: 16px; color: rgba(255, 248, 243, 0.8); font-size: 17px; }
.bridge__tagline { margin: 22px 0 28px !important; font-weight: 800; letter-spacing: 0.04em; color: var(--coral) !important; }
.bridge__img { border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); transform: rotate(1.5deg); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__media { position: relative; height: 200px; overflow: hidden; background: var(--plum-100); }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__media--logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 22px; align-content: center; background: var(--plum); }
.service__media--logos img { background: var(--white); border-radius: 10px; height: 64px; object-fit: contain; padding: 8px; }
.service__num { position: absolute; left: 18px; top: 16px; font-size: 14px; font-weight: 800; color: var(--plum); background: var(--gold); padding: 4px 12px; border-radius: 999px; }
.service__body { padding: clamp(22px, 3vw, 32px); }
.service h3 { font-size: 22px; }
.service__body > p { margin-top: 10px; color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 13px; font-weight: 600; color: var(--plum); background: var(--cream); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter { font: inherit; font-size: 14px; font-weight: 700; color: var(--plum); background: var(--cream); border: 1.5px solid var(--line); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.filter:hover { border-color: var(--plum-300); }
.filter.is-active { background: var(--plum); border-color: var(--plum); color: var(--cream); }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; animation: fadeUp .5s both; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work[hidden] { display: none; }
.work__img { position: relative; overflow: hidden; background: var(--white); }
.work__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.work:hover .work__img img { transform: scale(1.06); }
.work__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255, 122, 89, 0.92); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5); }
.work__play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid var(--plum); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.work__body { padding: 18px 20px 22px; }
.work__tag { font-size: 12px; font-weight: 700; color: var(--coral-600); text-transform: uppercase; letter-spacing: 0.06em; }
.work h3 { margin-top: 6px; }
.work p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.works__more { text-align: center; margin-top: 32px; }
.works__more[hidden] { display: none; }

/* Media network */
.network { background: var(--plum); padding: clamp(64px, 9vw, 112px) 0; overflow: hidden; }
.network__label { font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); text-align: center; margin: 0 0 18px; }
.media-grid { list-style: none; padding: 0; margin: 0 0 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; --cols: 5; }
.media-grid li { flex: 0 0 calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); background: var(--white); border-radius: 14px; height: 84px; display: grid; place-items: center; padding: 12px 18px; transition: transform .25s, box-shadow .25s; }
.media-grid li:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6); }
.media-grid img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
.marquee--local { margin-bottom: 14px; }
.marquee--local .marquee__track { animation-duration: 55s; gap: 14px; }
.local-tile { width: 112px; height: 112px; background: var(--white); border-radius: 18px; display: grid; place-items: center; padding: 10px; flex: none; }
.local-tile--wide { width: 190px; }
.local-tile img { max-width: 100%; max-height: 92px; object-fit: contain; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--coral) 0 8px, transparent 8px 16px); }
.step { counter-increment: step; text-align: center; position: relative; padding: 0 8px; }
.step__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 22px; background: var(--plum); display: grid; place-items: center; position: relative; box-shadow: 0 12px 26px -14px rgba(58, 20, 80, 0.8); }
.step__icon::after { content: "0" counter(step); position: absolute; top: -10px; right: -10px; font-size: 12px; font-weight: 800; background: var(--gold); color: var(--plum); border-radius: 999px; padding: 2px 8px; }
.step__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step__name { display: block; font-size: 24px; font-weight: 800; color: var(--plum); letter-spacing: -0.02em; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__intro p { margin: 14px 0 24px; color: var(--muted); }
.faq__list { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--plum); padding: 18px 32px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 500; color: var(--coral-600); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Closing */
.closing { padding: 0 0 clamp(64px, 9vw, 112px); }
.closing__inner { background: var(--coral); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; position: relative; overflow: hidden; }
.closing__star { position: absolute; right: -40px; top: -60px; width: 260px; opacity: 0.25; filter: brightness(0) invert(1); animation: spin 30s linear infinite; }
.closing__inner > div, .contact { position: relative; }
.closing h2 { font-size: clamp(32px, 5vw, 60px); color: var(--plum); }
.closing h2 em { color: var(--cream); }
.closing p { margin: 16px 0 28px; color: var(--plum); font-size: 17px; max-width: 560px; }
.contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact span { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--plum-700); }
.contact a { font-size: 20px; font-weight: 800; color: var(--plum); text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.contact__words { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); }

/* Footer */
.footer { background: var(--plum); color: rgba(255, 248, 243, 0.75); padding: 40px 0 96px; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer__copy { margin-left: auto; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7); transition: transform .2s; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }

/* Mascot: a Kirtara star that follows the cursor (positioned by main.js) */
.mascot { position: fixed; left: 0; top: 0; z-index: 70; width: 72px; height: 72px; pointer-events: none; will-change: transform; transform: translate3d(20px, calc(100vh - 92px), 0); }
.mascot__body { width: 100%; height: 100%; animation: bob 2.8s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(58, 20, 80, 0.35)); }
.mascot__body svg { width: 100%; height: 100%; overflow: visible; transition: transform .25s ease; transform: rotate(var(--tilt, 0deg)); }
.mascot__eyes { transform-origin: 50px 49px; animation: blink 4.5s infinite; }
.mascot__pupils { transition: transform .12s linear; }
.mascot__sparkle { transform-origin: 84px 16px; animation: twinkle 1.8s ease-in-out infinite; }
.mascot__mouth { transition: d .2s; }
.mascot.is-excited .mascot__body svg { transform: rotate(var(--tilt, 0deg)) scale(1.18); }
.mascot.is-excited .mascot__mouth { d: path("M44 59q6 8 12 0"); }
.mascot__bubble { position: absolute; left: 62px; bottom: 58px; white-space: nowrap; background: var(--white); color: var(--plum); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 14px 14px 14px 4px; box-shadow: 0 10px 24px -12px rgba(58, 20, 80, 0.5); opacity: 0; transform: translateY(6px) scale(0.9); transform-origin: left bottom; transition: opacity .3s, transform .3s; }
.mascot.has-bubble .mascot__bubble { opacity: 1; transform: none; }
.mascot.bubble-left .mascot__bubble { left: auto; right: 62px; border-radius: 14px 14px 4px 14px; transform-origin: right bottom; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.5); opacity: 0.5; } }
@media (max-width: 640px) { .mascot { width: 56px; height: 56px; } .mascot__bubble { left: 48px; bottom: 44px; font-size: 12px; } }

/* Motion */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(24px); 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 { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .problems { grid-template-columns: repeat(2, 1fr); }
  .media-grid { --cols: 4; }
  .toast--a { left: -10px; }
  .toast--b { left: -16px; }
}
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__menu { position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 16px; }
  .hero__panel, .bridge__inner, .early, .faq, .closing__inner { grid-template-columns: 1fr; }
  .hero__visual { margin: 12px 8px 24px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: 1 / -1; }
  .works, .segments { grid-template-columns: repeat(2, 1fr); }
  .stats-band__inner { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .media-grid { --cols: 3; }
  .footer__copy { margin-left: 0; }
  .bridge__img { transform: none; }
}
@media (max-width: 640px) {
  .problems, .bento, .works, .segments, .services { grid-template-columns: 1fr; }
  .tile--wide { flex-direction: column; align-items: stretch; }
  .mock__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .kpi { padding: 8px; }
  .kpi__value { font-size: 18px; }
  .toast { font-size: 12px; padding: 8px 10px 8px 8px; }
  .toast--a { top: -24px; left: -6px; }
  .toast--b { display: none; }
  .toast--c { right: -6px; bottom: -26px; }
  .announce__text { display: none; }
  .hero__cta .btn { width: 100%; }
  .media-grid { --cols: 3; gap: 10px; }
  .media-grid li { height: 60px; padding: 8px 10px; border-radius: 12px; }
  .media-grid img { max-height: 38px; }
  .local-tile { width: 92px; height: 92px; }
  .local-tile--wide { width: 150px; }
  .steps { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .segment { aspect-ratio: 4 / 3; }
}
