/* Ajinkya Physics Academy: same look as physicscircle.in (light page, dark top bar, grey rounded panels, gradient headings).
   To change the brand colour, change --grad (headings) and --link (buttons and links). */
:root {
  --grad: linear-gradient(90deg, #3d3bd6, #8b3fd1 50%, #e8336d);
  --link: #2a3fc9;
  --link-hover: #2234b0;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --page: #ffffff;
  --panel: #f5f5f7;
  --card: #ffffff;
  --line: #ececf0;
  --nav: rgba(21, 18, 42, .96);
  --pink: #e8336d;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --link: #7f8cff;
  --link-hover: #97a2ff;
  --ink: #f2f1f7;
  --muted: #a5a3b0;
  --page: #18171c;
  --panel: #232128;
  --card: #2f2d35;
  --line: #3a3842;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sys); font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrapx { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.nw { white-space: nowrap; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Offer strip + top bar */
.offer-strip { display: block; padding: 7px 16px; background: #0d0b1f; color: #e6e4f5; font-size: 13px; text-align: center; text-decoration: none; }
.offer-strip b { color: #fff; }
.offer-strip u { color: #ffb4c8; text-underline-offset: 3px; }
.gnav { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, #eceaff 0, #eceaff max(250px, calc(50% - 270px)), #2b2370 max(390px, calc(50% - 140px)), #15122a 100%); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.gnav-row { display: flex; align-items: center; gap: 14px; max-width: 1060px; height: 56px; margin: 0 auto; padding: 0 22px; }
.brand { flex: none; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-pc { flex: none; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-pc img { height: 38px; width: auto; }
.b-tag { padding: 2px 8px; border-radius: 980px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.b-tag.off { background: #1f3c88; color: #fff; }
.b-tag.on { border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
#main-nav { display: flex; flex: 1; justify-content: flex-end; gap: 2px; }
#main-nav a { color: rgba(255, 255, 255, .82); font-size: 14px; text-decoration: none; padding: 8px 10px; border-radius: 8px; transition: color .2s, background .2s; }
#main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.theme-sw { display: flex; gap: 2px; padding: 3px; border-radius: 980px; background: rgba(255, 255, 255, .1); }
.theme-sw button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .7); font-size: 15px; cursor: pointer; }
.theme-sw button[aria-pressed="true"] { background: #fff; color: #15122a; }
.gnav-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 980px; background: #fff; color: #15122a; font-size: 14px; font-weight: 600; text-decoration: none; }
.menu-btn { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; width: 18px; height: 1.6px; background: #fff; transition: transform .25s; }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Dream colleges strip */
.dream-sec { padding-top: 22px; padding-bottom: 0; }
.dream { padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); text-align: center; }
.dream-h { display: inline-block; margin: 0 0 18px; padding-bottom: 8px; border-bottom: 3px solid transparent; border-image: var(--grad) 1; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; }
.dc-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.dc-row li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dc-logo { display: block; box-sizing: border-box; width: 84px; height: 84px; margin-bottom: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
.dc-logo img { width: 100%; height: 100%; object-fit: contain; }
.dc-row b { font-size: 15px; font-weight: 800; }
.dc-row small { color: var(--muted); font-size: 12.5px; }

/* Two brands band (under the hero) */
.brands-sec { padding-top: 22px; }
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bcard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px; border-radius: 22px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.bcard:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .1); }
.bcard.off { background: linear-gradient(135deg, #f3f1ff, #e3e9ff); color: #1d1d1f; border: 1px solid #dcdcf5; }
.bcard.on { background: linear-gradient(135deg, #1d1840, #3a2a86); color: #fff; }
.bcard img { height: 52px; width: auto; }
.bcard.on img { height: 60px; margin: -4px 0; }
.bc-tag { padding: 3px 10px; border-radius: 980px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.bcard.off .bc-tag { background: #1f3c88; color: #fff; }
.bcard.on .bc-tag { background: #ffcf5a; color: #3a2a00; }
.bc-line { font-size: 14.5px; line-height: 1.4; opacity: .85; }
.bc-go { font-size: 14px; font-weight: 700; }
.bcard.off .bc-go { color: #2a3fc9; }
.bcard.on .bc-go { color: #ffcf5a; }

/* Landing pages (exam / class pages) */
.lp-hero { position: relative; padding: 34px 0 18px; background: linear-gradient(var(--page) 0%, var(--page) 60%, var(--panel) 100%); overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: url(assets/doodles.svg) 0 0 / 520px repeat; opacity: .05; pointer-events: none; }
:root[data-theme="dark"] .lp-hero::before { background-image: url(assets/doodles-white.svg); }
.lp-hero .wrapx { position: relative; }
.crumbs { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--link); text-decoration: none; }
.lp-h1 { max-width: 820px; margin: 0; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.lp-lead { max-width: 720px; margin: 14px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.45; }
.lp-by { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.lp-by b { color: var(--ink); }
.lp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.lp-list li { position: relative; padding: 10px 12px 10px 34px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 15px; }
.lp-list li::before { content: "✓"; position: absolute; left: 12px; top: 9px; color: #13a37a; font-weight: 800; }
.lp-related, .lp-links { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-related a, .lp-links a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 980px; background: var(--card); color: var(--link); font-size: 14px; font-weight: 600; text-decoration: none; }
.lp-related a:hover, .lp-links a:hover { border-color: var(--link); }
.lp-links { margin-top: 14px; }

/* Articles */
.art { padding: 34px 0 10px; }
.art-wrap { max-width: 780px; }
.art-meta { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.art-meta b { color: var(--ink); }
.art-body { margin-top: 22px; font-size: 17.5px; line-height: 1.7; }
.art-body h2 { margin: 30px 0 8px; font-size: 22px; letter-spacing: -0.015em; }
.art-body p { margin: 0 0 14px; }
.art-body ul { margin: 0 0 14px; padding-left: 22px; }
.art-body li { margin-bottom: 6px; }
.art-cta p { margin: 10px 0 4px 16px; color: var(--muted); }
.art-list { display: flex; flex-direction: column; gap: 8px; }
.art-list a { color: var(--link); font-weight: 600; text-decoration: none; }
.art-list.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.art-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.art-card b { color: var(--ink); font-size: 17px; line-height: 1.3; }
.art-card small { color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.45; }
.art-card:hover { border-color: var(--link); }

/* Admission page */
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; font-size: 15px; }
.adm-table th, .adm-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.adm-table th { background: color-mix(in srgb, #8b3fd1 10%, var(--card)); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.adm-table a { color: var(--link); text-decoration: none; }
.adm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.adm-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); counter-increment: s; }
.adm-steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; }
.adm-steps span { color: var(--muted); font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 980px; background: var(--link); color: #fff; font: 600 16px/1 var(--sys); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--link-hover); }
.btn:active { transform: scale(.98); }
.btn svg { font-size: 20px; }
.btn.ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px var(--link); }
.btn.ghost:hover { background: color-mix(in srgb, var(--link) 8%, transparent); }

/* 1. Hero */
.hero { position: relative; padding: 48px 0 0; background: linear-gradient(var(--page) 0%, var(--page) 60%, var(--panel) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(assets/doodles.svg) 0 0 / 520px repeat; opacity: .05; pointer-events: none; }
:root[data-theme="dark"] .hero::before { background-image: url(assets/doodles-white.svg); opacity: .05; }
.hero-split { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.hero-split .hero-photo { margin-top: 24px; }
.hero-copy { padding-bottom: 56px; }
.hero-kick { margin: 0 0 12px; color: var(--muted); font-size: 15px; font-weight: 600; }
.hero-title { margin: 0; font-size: clamp(46px, 7.4vw, 84px); line-height: 1.03; font-weight: 800; letter-spacing: -0.045em; }
.hero-sub { max-width: 540px; margin: 18px 0 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.35; font-weight: 500; }
.hero-sub b { color: var(--ink); }
.kit-b { margin-top: 16px; }
.kit .kit-h { border: 0; background: none; padding-left: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 980px; background: var(--card); font-size: 14px; font-weight: 600; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.g-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); font-size: 14px; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .04); }
.g-logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); color: #fff; font-size: 12px; font-weight: 800; }
.g-rating b { font-size: 17px; }
.g-stars { color: #f5a623; letter-spacing: 1px; }
.g-count { color: var(--muted); }
.g-go { color: var(--muted); font-size: 18px; }
.yt-pill { margin-left: 8px; }
.yt-logo { width: 26px; height: 19px; }
.hero-photo { position: relative; justify-self: center; max-width: 420px; }
.hero-photo img { width: 100%; height: auto; }
.name-tag { position: absolute; right: 0; bottom: 28px; display: flex; flex-direction: column; margin: 0; padding: 8px 18px; border-radius: 16px; background: rgba(255, 255, 255, .94); color: #1d1d1f; font-size: 13px; line-height: 1.35; text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.name-tag b { font-size: 16px; }
.name-tag .nt-exp { color: var(--link); font-weight: 600; }
:root[data-theme="dark"] .name-tag .nt-exp { color: #2a3fc9; }

/* Sections and panels */
.sec { padding: 28px 0; }
.sec:first-of-type { padding-top: 0; }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); }
.panel + .panel { margin-top: 18px; }
.p-head { margin-bottom: 20px; }
.p-label { position: relative; margin: 0; padding-left: 16px; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.p-label::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; border-radius: 4px; background: var(--grad); }
.p-label.small { margin: 28px 0 14px; font-size: 19px; }
.p-label.small.first { margin-top: 0; }
.p-sub { margin: 6px 0 0 16px; color: var(--muted); font-size: 15px; }

/* 2. Batches */
.batch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.batch { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.batch.hot { box-shadow: 0 0 0 2px #8b3fd1; }
.batch.hot::after { content: "Board year"; position: absolute; top: 16px; right: 16px; padding: 3px 10px; border-radius: 980px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; }
.b-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, #8b3fd1 12%, transparent); color: #8b3fd1; font-size: 22px; }
.b-kick { margin: 14px 0 2px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.batch h3 { margin: 0 0 12px; font-size: 26px; letter-spacing: -0.02em; }
.ticks { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.ticks li { position: relative; padding: 5px 0 5px 22px; border-top: 1px dashed var(--line); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: "→"; position: absolute; left: 0; color: #8b3fd1; font-weight: 700; }
.b-for { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--link); font-size: 14px; font-weight: 600; }

/* 3. Results: hall of fame */
.av { flex: none; display: block; border-radius: 50%; object-fit: cover; transform: scale(1); }
img.av { clip-path: circle(46%); transform: scale(1.085); }
.av-i { display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; letter-spacing: .02em; }
/* All results in one grid, every card the same design */
.res-h { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; }
.res-h:first-of-type { margin-top: 0; }
.res-h .rc-tag { position: static; transform: none; padding: 4px 14px; font-size: 14px; }
.res-h small { color: var(--muted); font-size: 13px; font-weight: 600; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; }
@media (min-width: 961px) { .res-grid { grid-template-columns: repeat(8, 1fr); } }
.rc { position: relative; display: flex; flex-direction: column; align-items: center; padding: 28px 6px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-align: center; }
.av { width: 58px; height: 58px; margin-bottom: 4px; }
.av.av-i { font-size: 18px; }
.rc b { font-size: 21px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.rc b small { font-size: .5em; font-weight: 600; }
.rc-name { margin-top: 2px; font-size: 13px; font-weight: 700; line-height: 1.25; }
.rc-tag { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 1px 8px; border-radius: 980px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.rc .rc-tag { font-size: 10px; }
.rc-tag.jee { background: #3d3bd6; }
.rc-tag.cet { background: #0b7d5a; }
.rc-tag.neet { background: #e8336d; }
.rc-yr { font-weight: 600; }
.rc-col { margin-top: 4px; padding: 2px 8px; border-radius: 980px; background: color-mix(in srgb, #8b3fd1 12%, transparent); color: #6a2fb0; font-size: 11px; font-weight: 700; }
:root[data-theme="dark"] .rc-col { color: #c9a6ff; }
.res-more { margin: 10px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

/* 3b. Testimonial videos (YouTube, loaded on tap) */
.vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vid { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; }
.vid.short { aspect-ratio: 9 / 16; }
.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vid:hover img { transform: scale(1.04); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 0, 0, .92); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.v-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.v-dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; font-weight: 600; }

/* 4. Why us: icon tiles */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.why { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 10px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-align: center; }
.w-ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 6px; border-radius: 18px; background: var(--grad); color: #fff; font-size: 28px; box-shadow: 0 8px 18px color-mix(in srgb, #8b3fd1 30%, transparent); }
.why b { font-size: 15px; line-height: 1.2; }
.why small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.why-viz { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; margin-top: 12px; }
.viz { display: flex; flex-direction: column; justify-content: center; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.viz-h { margin: 0 0 14px; font-size: 15px; text-align: center; }
.pyramid { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pyramid li { width: var(--w); padding: 9px 0; clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); color: #fff; text-align: center; font-size: 14px; }
.pyramid li:nth-child(1) { background: #e8336d; clip-path: polygon(50% 0, 50% 0, 100% 100%, 0 100%); padding-top: 18px; }
.pyramid li:nth-child(2) { background: #b8379f; }
.pyramid li:nth-child(3) { background: #8b3fd1; }
.pyramid li:nth-child(4) { background: #5f3ed6; }
.pyramid li:nth-child(5) { background: #3d3bd6; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: calc(50% + 24px); right: calc(-50% + 24px); border-top: 2px dashed color-mix(in srgb, #8b3fd1 50%, transparent); }
.flow span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; }
.flow b { font-size: 14px; }
.flow small { color: var(--muted); font-size: 11.5px; line-height: 1.25; }
.flow-loop { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; color: var(--link); font-size: 13px; font-weight: 700; }
.flow-loop svg { font-size: 18px; }

/* 5. About */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.ab-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.ab-deg { margin: 6px 0 12px 16px; color: var(--link); font-size: 14px; font-weight: 600; }
.kit { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; padding: 0; list-style: none; }
.kit li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 980px; background: var(--card); font-size: 14px; font-weight: 600; }
.kit svg { color: #8b3fd1; font-size: 16px; }
.ab-line { margin: 0 0 14px; font-size: 19px; font-weight: 600; }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.ab-stats span { padding: 10px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--muted); font-size: 12px; text-align: center; }
.ab-stats b { display: block; font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-parents { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-left: 4px solid #f08a24; border-radius: 0 14px 14px 0; background: var(--card); }
.ab-parents p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.ap-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, #f08a24 15%, transparent); color: #e0701a; font-size: 18px; }

/* 6. Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 200px; gap: 12px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: 18px; }
.gallery .g-big { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 980px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; font-weight: 600; }
.gallery a:nth-child(4) { grid-column: 2 / span 2; }
.gallery a:nth-child(4) img { object-position: center 30%; }


/* 8. Visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.v-line { display: flex; gap: 12px; margin-top: 16px; }
.v-line svg { flex: none; margin-top: 3px; color: var(--pink); font-size: 22px; }
.v-line p { margin: 0; }
.v-line a { color: var(--ink); font-weight: 600; text-decoration: none; }
.v-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.v-map { min-height: 300px; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.v-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* 9. Enquiry */
.enquiry { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.enquiry label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.enquiry input, .enquiry select { min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: 500 16px var(--sys); }
.enquiry input:focus, .enquiry select:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.enquiry .btn { background: #1faa53; white-space: nowrap; }
.enquiry .btn:hover { background: #17924a; }

/* 10. FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:first-of-type { border-top: 0; }
.faq summary { position: relative; padding: 16px 32px 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--muted); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Footer */
.foot { margin-top: 28px; padding: 36px 0 90px; background: #15122a; color: rgba(255, 255, 255, .75); font-size: 14px; }
.foot-top { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-logo { height: 44px; width: auto; padding: 6px 12px; border-radius: 12px; background: #fff; }
.foot-tag { margin: 0; color: #fff; font-weight: 600; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; }
.foot-cols h3 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.foot-cols a { display: block; padding: 3px 0; color: rgba(255, 255, 255, .7); text-decoration: none; }
.foot-cols a:hover { color: #fff; }
.foot-legal { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; }

/* Floating WhatsApp */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.float-wa svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 960px) {

  .enquiry { grid-template-columns: 1fr 1fr; }
  .enquiry .btn { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .gnav-cta span { display: none; }
  .gnav-cta { padding: 8px; }
  #main-nav { position: absolute; top: 56px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--nav); }
  #main-nav.open { display: flex; }
  #main-nav a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .gnav-row { gap: 10px; }
  .brand { margin-right: auto; }
  .b-tag { display: none; }
  .gnav { background: linear-gradient(90deg, #eceaff 0, #eceaff 165px, #2b2370 230px, #15122a 100%); }
  .brands { grid-template-columns: 1fr; }
  .lp-list { grid-template-columns: 1fr; }
  .art-list.cards, .adm-steps { grid-template-columns: 1fr; }
  .dc-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 6px; }
  .dc-row li { width: calc(25% - 6px); }
  .dc-logo { width: 68px; height: 68px; border-radius: 16px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .chips, .hero-btns { justify-content: center; }
  .hero-photo { max-width: 340px; margin-top: 10px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .why-viz { grid-template-columns: 1fr; }
  .batch-grid { grid-template-columns: 1fr 1fr; }
  .batch-grid .batch:last-child { grid-column: 1 / -1; }
  .about, .visit { grid-template-columns: 1fr; }
  .ab-photo { max-width: 260px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
/* Phone */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrapx { padding: 0 16px; }
  .gnav-row { padding: 0 12px; }
  .brand img { height: 26px; }
  .brand-pc img { height: 32px; }
  .b-tag { display: none; }
  .theme-sw { display: none; }
  .gnav { background: linear-gradient(90deg, #eceaff 0, #eceaff 135px, #2b2370 185px, #15122a 100%); }
  .panel { padding: 18px; border-radius: 22px; }
  .res-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .rc { padding: 24px 4px 8px; }
  .rc-tag { left: 50%; transform: translateX(-50%); top: 6px; font-size: 9px; white-space: nowrap; }
  .av { width: 46px; height: 46px; }
  .rc b { font-size: 17px; }
  .rc-name { font-size: 11.5px; }
  .rc-col { font-size: 9.5px; padding: 1px 6px; }
  .batch-grid, .enquiry { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); }
  .why { padding: 14px 8px 12px; }
  .w-ico { width: 46px; height: 46px; border-radius: 14px; font-size: 22px; margin-bottom: 4px; }
  .why small { display: none; }
  .vids { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery .g-big { grid-column: 1 / -1; grid-row: auto; }
  .gallery a:nth-child(4) { grid-column: 1 / -1; }
  .name-tag { right: 50%; transform: translateX(50%); bottom: 14px; white-space: nowrap; }
  .g-rating { flex-wrap: wrap; justify-content: center; }
  .yt-pill { margin-left: 0; }
}
