/* IQ SOFTTECH — public site styles (on top of Bootstrap 5.3). Light and dark themes via data-bs-theme. */
:root,
[data-bs-theme="light"] {
  --iq-red: #c8102e;
  --iq-red-dark: #a00d24;
  --iq-red-soft: #fdecef;
  --iq-navy: #0d1b3e;
  --iq-navy-2: #16295a;
  --iq-gold: #f5b301;
  --iq-ink: #1c2333;
  --iq-muted: #5b6475;
  --iq-line: #e4e8f0;
  --iq-bg: #f6f8fc;
  --iq-card: #ffffff;
  --iq-green: #128c4b;
  --iq-radius: 14px;
  --iq-shadow: 0 6px 24px rgba(13, 27, 62, .08);
  --iq-shadow-lg: 0 16px 40px rgba(13, 27, 62, .14);
  --iq-header-h: 76px;
  --bs-primary: #c8102e;
  --bs-primary-rgb: 200, 16, 46;
  --bs-link-color: #c8102e;
  --bs-link-hover-color: #a00d24;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: #1c2333;
  --bs-body-bg: #ffffff;
}
[data-bs-theme="dark"] {
  --iq-red: #ff5470;
  --iq-red-dark: #e63d5a;
  --iq-red-soft: rgba(255, 84, 112, .14);
  --iq-navy: #0b1530;
  --iq-navy-2: #132351;
  --iq-ink: #e6e9f2;
  --iq-muted: #9aa4bf;
  --iq-line: #27304a;
  --iq-bg: #141b2d;
  --iq-card: #1b2338;
  --iq-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --iq-shadow-lg: 0 16px 40px rgba(0, 0, 0, .45);
  --bs-primary: #ff5470;
  --bs-primary-rgb: 255, 84, 112;
  --bs-link-color: #ff7a90;
  --bs-link-hover-color: #ffa0b0;
  --bs-body-color: #e6e9f2;
  --bs-body-bg: #0f1526;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--iq-header-h) + 16px); }
body { font-family: var(--bs-body-font-family); color: var(--iq-ink); background: var(--bs-body-bg); line-height: 1.65; }
h1, h2, h3, h4, .h1, .h2, .h3 { font-family: "Poppins", var(--bs-body-font-family); line-height: 1.25; color: var(--iq-navy); }
[data-bs-theme="dark"] h1, [data-bs-theme="dark"] h2, [data-bs-theme="dark"] h3, [data-bs-theme="dark"] h4 { color: #fff; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
:focus-visible { outline: 3px solid var(--iq-gold); outline-offset: 2px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--iq-navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { top: 12px; color: #fff; }
.text-muted, .muted { color: var(--iq-muted) !important; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--iq-red); margin-bottom: 10px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--iq-bg); }
.section-dark { background: var(--iq-navy); color: #d7dcea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--iq-gold); }
.section-dark .text-muted, .section-dark .muted { color: #b9c1d6 !important; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--iq-muted); font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: 11px 24px; transition: all .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-brand { background: var(--iq-red); border-color: var(--iq-red); color: #fff; box-shadow: 0 8px 20px rgba(200, 16, 46, .25); }
.btn-primary:hover, .btn-brand:hover, .btn-primary:focus { background: var(--iq-red-dark); border-color: var(--iq-red-dark); color: #fff; }
.btn-outline-brand { border: 2px solid var(--iq-red); color: var(--iq-red); background: transparent; }
.btn-outline-brand:hover { background: var(--iq-red); color: #fff; }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--iq-navy); }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: #fff; }
.btn-sm { padding: 7px 16px; font-size: .85rem; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--iq-navy); color: #c9d0e2; font-size: .85rem; }
.topbar a { color: #c9d0e2; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--iq-gold); margin-right: 6px; }
.site-header { position: sticky; top: 0; z-index: 1020; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--iq-line); }
[data-bs-theme="dark"] .site-header { background: rgba(15, 21, 38, .96); }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(13, 27, 62, .08); }
.site-header .navbar { min-height: var(--iq-header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--iq-navy); text-decoration: none; }
[data-bs-theme="dark"] .brand { color: #fff; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: "Poppins", sans-serif; font-size: 1.2rem; letter-spacing: .02em; white-space: nowrap; }
.brand-text strong span { color: var(--iq-red); }
.brand-text small { font-size: .68rem; color: var(--iq-muted); letter-spacing: .04em; white-space: nowrap; }
.navbar .nav-link { color: var(--iq-ink); font-weight: 500; font-size: .9rem; padding: 10px 9px; white-space: nowrap; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-item.active > .nav-link { color: var(--iq-red); }
.navbar .dropdown-menu { border-radius: 12px; box-shadow: var(--iq-shadow-lg); border: 1px solid var(--iq-line); padding: 8px; min-width: 250px; }
.navbar .dropdown-item { border-radius: 8px; padding: 9px 12px; font-size: .9rem; }
.navbar .dropdown-item:hover { background: var(--iq-red-soft); color: var(--iq-red); }
.navbar .dropdown-divider { margin: 6px 0; }
.navbar .dropdown-item.all { color: var(--iq-red); font-weight: 600; }
.theme-toggle { border: 1px solid var(--iq-line); background: transparent; color: var(--iq-ink); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
@media (min-width: 1200px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
@media (max-width: 1199.98px) {
  .topbar { display: none; }
  .navbar-collapse { padding: 10px 0 16px; }
  .navbar .dropdown-menu { box-shadow: none; border: 0; padding-left: 12px; }
}

/* ---------- hero slider ---------- */
.hero { position: relative; background: var(--iq-navy); color: #fff; overflow: hidden; }
.hero .carousel-item { min-height: clamp(520px, 78vh, 700px); display: flex; align-items: center; }
.hero .slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 27, 62, .92) 0%, rgba(13, 27, 62, .7) 50%, rgba(13, 27, 62, .25) 100%); }
.hero .carousel-item.no-image { background: radial-gradient(circle at 80% 30%, #26407f 0%, var(--iq-navy) 60%); }
.hero .carousel-item.no-image::after { background: none; }
.hero .slide-icon { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); font-size: clamp(8rem, 20vw, 16rem); color: rgba(255, 255, 255, .08); z-index: 1; }
.hero .slide-icon-badge { width: 76px; height: 76px; border-radius: 20px; background: var(--iq-red); display: grid; place-items: center; font-size: 2rem; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(200, 16, 46, .4); }
.hero .slide-content { position: relative; z-index: 2; max-width: 680px; padding: 60px 0 100px; }
.hero .slide-content h1, .hero .slide-content h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.hero .slide-content p { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #d7dcea; margin-bottom: 28px; }
.hero .eyebrow { color: var(--iq-gold); }
.hero .carousel-indicators { bottom: 24px; margin-bottom: 0; }
.hero .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 0; transition: width .3s; }
.hero .carousel-indicators .active { width: 30px; background: var(--iq-gold); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; opacity: .7; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--iq-navy) 0%, var(--iq-navy-2) 100%); color: #d7dcea; padding: 56px 0 50px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(rgba(200, 16, 46, .35), transparent 70%); }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { max-width: 720px; font-size: 1.08rem; margin: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--iq-gold); }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-hero .breadcrumb { margin-bottom: 14px; font-size: .85rem; --bs-breadcrumb-divider-color: #7d88a6; }
.page-hero .breadcrumb a { color: #b9c1d6; text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .active { color: var(--iq-gold); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.iq-card { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; position: relative; }
.iq-card:hover { transform: translateY(-6px); box-shadow: var(--iq-shadow-lg); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--iq-bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.iq-card:hover .card-img img { transform: scale(1.06); }
.card-img-icon { display: grid; place-items: center; font-size: 3rem; color: var(--iq-red); background: linear-gradient(135deg, var(--iq-red-soft), rgba(22, 41, 90, .08)); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.12rem; }
.card-body h3 a { color: var(--iq-navy); text-decoration: none; }
[data-bs-theme="dark"] .card-body h3 a { color: #fff; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card-body h3 a:hover { color: var(--iq-red); }
.card-body p { color: var(--iq-muted); margin: 0; font-size: .95rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; font-size: .82rem; color: var(--iq-muted); }
.iq-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--iq-red-soft); color: var(--iq-red); font-size: .75rem; font-weight: 600; }
.iq-badge-navy { background: rgba(22, 41, 90, .1); color: var(--iq-navy-2); }
[data-bs-theme="dark"] .iq-badge-navy { background: rgba(255, 255, 255, .1); color: #c9d0e2; }
.iq-badge-gold { background: #fff5d6; color: #8a6200; }
.icon-circle { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; background: var(--iq-red-soft); color: var(--iq-red); flex-shrink: 0; }
.feature-card { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); padding: 28px; transition: transform .25s, box-shadow .25s; height: 100%; color: inherit; text-decoration: none; display: block; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--iq-shadow); color: inherit; }
.feature-card h3 { margin: 16px 0 8px; font-size: 1.1rem; }
.feature-card p { color: var(--iq-muted); margin: 0; font-size: .95rem; }
.section-dark .feature-card { background: var(--iq-navy-2); border-color: rgba(255, 255, 255, .08); }
.section-dark .feature-card .icon-circle { background: rgba(245, 179, 1, .15); color: var(--iq-gold); }
.section-dark .feature-card p { color: #b9c1d6; }

.division-card { position: relative; border-radius: 20px; padding: 34px 28px; color: #fff; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 300px; transition: transform .25s, box-shadow .25s; text-decoration: none; }
.division-card:hover { transform: translateY(-6px); box-shadow: var(--iq-shadow-lg); color: #fff; }
.division-card h3 { color: #fff; font-size: 1.4rem; margin: 6px 0 0; }
.division-card p { color: rgba(255, 255, 255, .85); margin: 0; }
.division-card .icon-circle { background: rgba(255, 255, 255, .15); color: #fff; }
.division-card .link-arrow { margin-top: auto; color: #fff; }
.division-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.division-it { background: linear-gradient(135deg, #c8102e, #8f0b20); }
.division-academic { background: linear-gradient(135deg, #16295a, #0d1b3e); }
.division-software { background: linear-gradient(135deg, #0f6e8c, #0b3f5c); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
.split-img { position: relative; }
.split-img img { border-radius: 20px; box-shadow: var(--iq-shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-img .floating-card { position: absolute; left: -24px; bottom: -24px; background: var(--iq-card); border-radius: 16px; padding: 18px 22px; box-shadow: var(--iq-shadow-lg); display: flex; gap: 14px; align-items: center; }
.floating-card strong { font-family: "Poppins", sans-serif; font-size: 1.6rem; color: var(--iq-red); display: block; line-height: 1; }
.floating-card span { font-size: .85rem; color: var(--iq-muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--iq-red-soft); color: var(--iq-red); font-size: .65rem; display: grid; place-items: center; }
.check-list.two-col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-img .floating-card { left: 12px; bottom: -20px; }
}

.stats { background: linear-gradient(120deg, var(--iq-red) 0%, var(--iq-red-dark) 100%); color: #fff; padding: 44px 0; }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: "Poppins", sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; }
.stat span { font-size: .9rem; opacity: .9; letter-spacing: .04em; }

.class-tile { display: flex; gap: 16px; align-items: flex-start; background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); padding: 22px; transition: transform .25s, box-shadow .25s; color: var(--iq-ink); height: 100%; text-decoration: none; }
.class-tile:hover { transform: translateY(-4px); box-shadow: var(--iq-shadow); color: var(--iq-ink); }
.class-tile h3 { margin: 0 0 4px; font-size: 1.05rem; }
.class-tile p { margin: 0; color: var(--iq-muted); font-size: .9rem; }
.class-tile .icon-circle { background: rgba(22, 41, 90, .1); color: var(--iq-navy-2); }
[data-bs-theme="dark"] .class-tile .icon-circle { background: rgba(255, 255, 255, .1); color: #fff; }
.class-tile .fee { margin-top: 6px; color: var(--iq-red); font-weight: 600; font-size: .85rem; }

.software-card { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, box-shadow .25s; height: 100%; position: relative; }
.software-card:hover { transform: translateY(-6px); box-shadow: var(--iq-shadow-lg); }
.software-card h3 { margin: 0; }
.software-card h3 a { color: var(--iq-navy); text-decoration: none; }
[data-bs-theme="dark"] .software-card h3 a { color: #fff; }
.software-card h3 a::after { content: ""; position: absolute; inset: 0; }
.software-card .icon-circle { background: linear-gradient(135deg, #0f6e8c, #0b3f5c); color: #fff; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tag-list li { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--iq-bg); color: var(--iq-muted); border: 1px solid var(--iq-line); }
.tag-list.lg li { font-size: .95rem; padding: 8px 16px; background: var(--iq-card); }

.showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.screenshot { margin: 0; border-radius: 14px; overflow: hidden; background: var(--iq-card); border: 1px solid var(--iq-line); box-shadow: var(--iq-shadow); }
.screenshot a { display: block; }
.screenshot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.screenshot figcaption { padding: 12px 16px; font-size: .9rem; color: var(--iq-muted); }
.browser-frame { border-radius: 14px; overflow: hidden; box-shadow: var(--iq-shadow-lg); border: 1px solid var(--iq-line); background: var(--iq-card); }
.browser-frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: #eef1f7; }
[data-bs-theme="dark"] .browser-frame-bar { background: #27304a; }
.browser-frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd5e3; }
.browser-frame-bar span:first-child { background: #ff5f57; }
.browser-frame-bar span:nth-child(2) { background: #febc2e; }
.browser-frame-bar span:nth-child(3) { background: #28c840; }
.browser-frame img { width: 100%; display: block; }
.browser-frame .placeholder-art { aspect-ratio: 16/10; display: grid; place-items: center; background: linear-gradient(135deg, #eef2fb, #fdecef); text-align: center; padding: 24px; }
[data-bs-theme="dark"] .browser-frame .placeholder-art { background: linear-gradient(135deg, #1b2338, #2a1a2a); }

/* testimonials */
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 380px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; }
.testimonial { scroll-snap-align: start; background: var(--iq-card); border-radius: var(--iq-radius); padding: 28px; border: 1px solid var(--iq-line); display: flex; flex-direction: column; gap: 14px; margin: 0; }
.section-dark .testimonial { background: var(--iq-navy-2); border-color: rgba(255, 255, 255, .08); color: #d7dcea; }
.testimonial blockquote { margin: 0; font-size: 1rem; }
.testimonial blockquote::before { content: "\201C"; font-family: Georgia, serif; font-size: 3.2rem; line-height: .5; color: var(--iq-red); display: block; margin-bottom: 10px; }
.section-dark .testimonial blockquote::before { color: var(--iq-gold); }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--iq-red); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: "Poppins", sans-serif; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial strong { display: block; }
.section-dark .testimonial strong { color: #fff; }
.testimonial small { color: var(--iq-muted); }
.stars { color: var(--iq-gold); font-size: .85rem; letter-spacing: 2px; }
.track-controls { display: flex; gap: 10px; justify-content: center; }
.track-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--iq-line); background: var(--iq-card); color: var(--iq-navy); cursor: pointer; }
.track-btn:hover { background: var(--iq-red); color: #fff; border-color: var(--iq-red); }
[data-bs-theme="dark"] .track-btn { color: #fff; }

/* faculty */
.faculty-card { text-align: center; background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); padding: 28px 22px; transition: transform .25s, box-shadow .25s; height: 100%; position: relative; }
.faculty-card:hover { transform: translateY(-4px); box-shadow: var(--iq-shadow); }
.faculty-photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; border: 4px solid var(--iq-red-soft); display: block; }
.faculty-photo.placeholder { display: grid; place-items: center; font-size: 2.4rem; background: var(--iq-bg); color: var(--iq-muted); }
.faculty-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.faculty-card h3 a { color: var(--iq-navy); text-decoration: none; }
[data-bs-theme="dark"] .faculty-card h3 a { color: #fff; }
.faculty-card h3 a::after { content: ""; position: absolute; inset: 0; }
.faculty-card p { margin: 0; color: var(--iq-muted); font-size: .9rem; }

.news-date { font-size: .8rem; color: var(--iq-muted); display: inline-flex; align-items: center; gap: 6px; }
.empty { text-align: center; padding: 48px 24px; border: 2px dashed var(--iq-line); border-radius: var(--iq-radius); color: var(--iq-muted); background: var(--iq-card); }
.empty i { font-size: 2rem; color: #b3bacb; margin-bottom: 10px; display: block; }

/* ---------- accordion / modules ---------- */
.iq-accordion .accordion-item { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.iq-accordion .accordion-button { background: var(--iq-card); color: var(--iq-navy); font-weight: 600; padding: 18px 20px; gap: 14px; box-shadow: none; }
[data-bs-theme="dark"] .iq-accordion .accordion-button { color: #fff; }
.iq-accordion .accordion-button:not(.collapsed) { background: var(--iq-card); color: var(--iq-red); }
.iq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(245, 179, 1, .4); }
.iq-accordion .accordion-body { color: var(--iq-muted); padding: 0 20px 20px; }
.module-static { display: flex; gap: 14px; align-items: center; padding: 16px 20px; background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: 12px; font-weight: 600; color: var(--iq-navy); margin-bottom: 12px; }
[data-bs-theme="dark"] .module-static { color: #fff; }
.module-num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--iq-red-soft); color: var(--iq-red); display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.accordion-button:not(.collapsed) .module-num { background: var(--iq-red); color: #fff; }
.module-title small { display: block; font-weight: 500; color: var(--iq-muted); font-size: .82rem; }
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.topic-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: var(--iq-bg); border-radius: 8px; font-size: .92rem; color: var(--iq-ink); }
.topic-list li i { color: var(--iq-red); margin-top: 5px; font-size: .75rem; }

/* ---------- detail page layout ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.detail-main > section { margin-bottom: 48px; }
.detail-main h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.detail-main h2 i { color: var(--iq-red); font-size: 1.1rem; }
.sidebar { position: sticky; top: calc(var(--iq-header-h) + 20px); display: grid; gap: 20px; }
.side-card { background: var(--iq-card); border: 1px solid var(--iq-line); border-radius: var(--iq-radius); padding: 24px; box-shadow: var(--iq-shadow); }
.side-card h3 { font-size: 1.1rem; }
.fact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.fact-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--iq-line); font-size: .93rem; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list i { color: var(--iq-red); width: 18px; margin-top: 4px; text-align: center; }
.fact-list strong { display: block; font-size: .78rem; color: var(--iq-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.side-actions { display: grid; gap: 10px; }
.tabs-nav { position: sticky; top: var(--iq-header-h); z-index: 50; background: var(--bs-body-bg); border-bottom: 1px solid var(--iq-line); }
.tabs-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.tabs-nav a { display: block; padding: 14px 16px; color: var(--iq-muted); font-weight: 600; font-size: .9rem; white-space: nowrap; border-bottom: 3px solid transparent; text-decoration: none; }
.tabs-nav a:hover { color: var(--iq-red); border-color: var(--iq-red); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.info-box { background: var(--iq-bg); border-radius: 12px; padding: 22px; }
.info-box h3 { font-size: 1rem; display: flex; gap: 10px; align-items: center; }
.info-box h3 i { color: var(--iq-red); }
.info-box ul { margin: 0; padding-left: 1.1em; color: var(--iq-muted); }
.info-box .big { font-size: 1.2rem; font-weight: 700; color: var(--iq-navy); margin: 0; }
[data-bs-theme="dark"] .info-box .big { color: #fff; }
.notice { display: flex; gap: 12px; padding: 14px 18px; border-radius: 10px; background: #fff8e6; color: #6b5300; font-size: .92rem; border: 1px solid #f6e3a6; }
[data-bs-theme="dark"] .notice { background: rgba(245, 179, 1, .12); color: #f6e3a6; border-color: rgba(245, 179, 1, .3); }
@media (max-width: 1000px) {
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--iq-line); border-radius: var(--iq-radius); background: var(--iq-card); }
.table-wrap .table { margin: 0; min-width: 640px; font-size: .93rem; }
.table-wrap .table th { background: var(--iq-navy); color: #fff; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; padding: 14px 16px; }
.table-wrap .table td { padding: 14px 16px; vertical-align: top; }
.session-label { font-family: "Poppins", sans-serif; font-size: 1.1rem; margin: 28px 0 12px; display: flex; gap: 10px; align-items: center; }
.session-label i { color: var(--iq-red); }
.filters { background: var(--iq-bg); padding: 18px; border-radius: var(--iq-radius); margin-bottom: 24px; }

/* ---------- forms ---------- */
.form-card { background: var(--iq-card); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--iq-shadow-lg); border: 1px solid var(--iq-line); }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-label { font-weight: 600; font-size: .88rem; color: var(--iq-navy); }
[data-bs-theme="dark"] .form-label { color: #e6e9f2; }
.form-label .req { color: var(--iq-red); }
.form-control, .form-select { padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--iq-line); background: var(--iq-card); }
.form-control:focus, .form-select:focus { border-color: var(--iq-red); box-shadow: 0 0 0 4px rgba(200, 16, 46, .1); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--iq-muted); margin-top: 12px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.category-pills label { cursor: pointer; margin: 0; }
.category-pills input { position: absolute; opacity: 0; pointer-events: none; }
.category-pills span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--iq-line); font-size: .85rem; font-weight: 500; transition: all .2s; }
.category-pills input:checked + span { background: var(--iq-red); border-color: var(--iq-red); color: #fff; }
.category-pills input:focus-visible + span { outline: 3px solid var(--iq-gold); outline-offset: 2px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--iq-navy); }
[data-bs-theme="dark"] .contact-list strong { color: #fff; }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: var(--iq-radius); margin-top: 28px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--iq-navy) 0%, var(--iq-navy-2) 60%, #2a1a4f 100%); color: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #c9d0e2; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: #091530; color: #aab3c9; padding-top: 70px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #aab3c9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand small { color: #8e98b3; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s; }
.social-links a:hover { background: var(--iq-red); }
.topbar .social-links { margin: 0; gap: 4px; }
.topbar .social-links a { width: 30px; height: 30px; background: transparent; font-size: .85rem; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--iq-gold); margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 50px; padding: 22px 0; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 800; display: grid; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.6rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: transform .2s; text-decoration: none; }
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-whatsapp { background: #25d366; }
.float-call { background: var(--iq-red); font-size: 1.25rem; }
@media (min-width: 1200px) { .float-call { display: none; } }

.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--iq-line); color: var(--iq-ink); font-size: .88rem; font-weight: 500; background: var(--iq-card); text-decoration: none; }
.chip-nav a:hover, .chip-nav a.active { background: var(--iq-red); color: #fff; border-color: var(--iq-red); }
.category-block { margin-bottom: 56px; }
.category-block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.category-block-head h2 { margin: 0; display: flex; gap: 14px; align-items: center; }
.category-block-head p { margin: 4px 0 0; color: var(--iq-muted); }
.pagination .page-link { border-radius: 10px !important; margin: 0 3px; color: var(--iq-ink); border-color: var(--iq-line); }
.pagination .active .page-link { background: var(--iq-red); border-color: var(--iq-red); color: #fff; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
.prose { max-width: 760px; }
.thank-you { max-width: 640px; margin: 0 auto; text-align: center; }
.thank-you .icon-circle { width: 84px; height: 84px; font-size: 2.2rem; margin: 0 auto 20px; background: #e5f6ec; color: var(--iq-green); border-radius: 50%; }
.loading { text-align: center; padding: 60px 20px; color: var(--iq-muted); }
.loading .spinner-border { color: var(--iq-red); }
.setup-banner { max-width: 760px; margin: 60px auto; padding: 32px; border-radius: 16px; background: #fff8e6; border: 1px solid #f6e3a6; color: #6b5300; }
.toast-container { z-index: 1090; }
