/* =========================================================================
   Ram Computer & Institute — site styles (v2, premium)
   Brand colours come from the logo: warm orange + charcoal on warm cream.
   ========================================================================= */
:root {
  --brand: #c8621a;
  --brand-600: #a9500f;
  --brand-400: #ea8a2e;
  --brand-300: #f6b061;
  --brand-100: #fae3c9;
  --brand-50: #fdf4ea;
  --grad: linear-gradient(135deg, #a64b0c 0%, #bb5c13 100%); /* white text passes WCAG AA (4.5:1) across the whole gradient */
  --grad-soft: linear-gradient(135deg, #fdf4ea 0%, #fbe7d2 100%);
  --ink: #17151a;
  --ink-2: #3a3740;
  --muted: #6d6873;
  --line: #ece5dc;
  --cream: #fbf7f2;
  --cream-2: #f4ece2;
  --white: #fff;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --sh-1: 0 1px 2px rgba(23, 21, 26, .05), 0 1px 1px rgba(23, 21, 26, .03);
  --sh-2: 0 14px 34px -14px rgba(23, 21, 26, .20);
  --sh-3: 0 34px 70px -24px rgba(23, 21, 26, .30);
  --sh-brand: 0 14px 30px -10px rgba(200, 98, 26, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --bs-primary: var(--brand);
  --bs-primary-rgb: 200, 98, 26;
  --bs-link-color: var(--brand-600);
  --bs-link-color-rgb: 169, 80, 15;
  --bs-link-hover-color: var(--ink);
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink-2);
  --bs-border-color: var(--line);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font-body); color: var(--ink-2); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: color .2s; }
::selection { background: var(--brand-300); color: var(--ink); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn { font-weight: 600; border-radius: 12px; padding: .7rem 1.3rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; border-radius: 14px; }
.btn-sm { border-radius: 10px; }
.btn-brand { background: var(--grad); border: 0; color: #fff; box-shadow: var(--sh-brand); position: relative; overflow: hidden; }
.btn-brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-brand:hover::after { transform: translateX(120%); }
.btn-brand:hover, .btn-brand:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(200, 98, 26, .65); }
.btn-brand:disabled { transform: none; }
.btn-outline-brand { border: 1.5px solid var(--brand-100); color: var(--brand-600); background: #fff; }
.btn-outline-brand:hover { border-color: var(--brand); background: var(--brand-50); color: var(--brand-600); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; border: 0; }
.btn-ink:hover { background: #000; color: #fff; transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(200, 98, 26, .22); border-color: var(--brand); outline: 0; }
.link-arrow { font-weight: 600; color: var(--brand-600); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---- Announcement & header --------------------------------------------- */
.announce { background: var(--ink); color: #d9d4de; font-size: .84rem; padding: .5rem 0; }
.announce .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.announce .msg { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.announce .msg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); flex-shrink: 0; animation: pulse 2s infinite; }
.announce .msg a { color: var(--brand-300); font-weight: 600; white-space: nowrap; }
.announce .links { display: flex; gap: 1.25rem; flex-shrink: 0; }
.announce .links a { color: #d9d4de; }
.announce .links a:hover { color: var(--brand-300); }
.announce .links i { color: var(--brand-300); margin-right: .4rem; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } }

.site-header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.site-header.scrolled { background: rgba(255, 255, 255, .94); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(23, 21, 26, .25); }
.site-header .navbar { padding: .85rem 0; transition: padding .3s var(--ease); }
.site-header.scrolled .navbar { padding: .5rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand img { width: 52px; height: 52px; object-fit: contain; transition: width .3s, height .3s; }
.site-header.scrolled .brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-text strong { font-size: 1.15rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand-text small { font-size: .74rem; color: var(--brand-600); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.navbar-toggler { border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; font-size: 1.1rem; color: var(--ink); background: #fff; }
.navbar .nav-link { font-weight: 500; color: var(--ink-2); padding: .55rem .85rem !important; position: relative; font-size: .96rem; }
.navbar .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-link.show { color: var(--ink); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .dropdown-toggle::after { border: 0; content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; vertical-align: middle; margin-left: .35rem; position: static; background: none; transform: none; height: auto; display: inline; transition: transform .2s; }
.navbar .dropdown-toggle.show::after { transform: rotate(180deg); }
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-3); padding: .6rem; animation: dropIn .18s var(--ease); }
@keyframes dropIn { from { opacity: 0; transform: translateY(6px); } }
.dropdown-item { border-radius: 10px; padding: .55rem .75rem; font-weight: 500; color: var(--ink-2); display: flex; align-items: center; gap: .6rem; }
.dropdown-item i { color: var(--brand); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--brand-50); color: var(--ink); }
.dropdown-header { font-family: var(--font-head); color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; padding: .5rem .75rem .35rem; }

.mega-menu { padding: 1.1rem; }
.mega-wrap { display: grid; grid-template-columns: 1fr 1fr 230px; gap: 1rem; }
.mega-col .dropdown-item { padding: .45rem .7rem; }
.mega-col .dropdown-item .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; }
.mega-feature { background: var(--ink); color: #d9d4de; border-radius: 14px; padding: 1.1rem; display: flex; flex-direction: column; background-image: radial-gradient(circle at 100% 0, rgba(238, 143, 45, .35), transparent 55%); }
.mega-feature strong { color: #fff; font-family: var(--font-head); font-size: 1.02rem; margin: .5rem 0 .3rem; }
.mega-feature p { font-size: .85rem; margin-bottom: .9rem; }
.mega-feature .btn { margin-top: auto; }
@media (min-width: 992px) {
  .dropdown-mega .mega-menu { min-width: 720px; left: 50%; transform: translateX(-50%); }
  .dropdown-mega .mega-menu[data-bs-popper] { left: 50%; }
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .navbar .dropdown > .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
}
@media (max-width: 991.98px) {
  .offcanvas-lg { max-width: 340px; }
  .offcanvas-lg .offcanvas-body { padding-top: 0; }
  .mega-wrap { grid-template-columns: 1fr; gap: 0; }
  .mega-feature { display: none; }
  .dropdown-menu { box-shadow: none; border: 0; padding: 0 0 .5rem .5rem; animation: none; }
  .navbar .nav-link::after { display: none; }
  .navbar .nav-link { padding: .8rem .25rem !important; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
}

/* ---- Sections ----------------------------------------------------------- */
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); color: #cfc9d4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-600); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.text-center .eyebrow::after, .section-head.text-center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-title { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.15; margin-bottom: 1rem; font-weight: 800; }
.section-lead { color: var(--muted); font-size: 1.08rem; line-height: 1.7; max-width: 640px; }
.section-head { margin-bottom: 3.25rem; }
.section-head.text-center .section-lead { margin-inline: auto; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 3rem; }
.section-head-row .section-title { margin-bottom: .5rem; }

/* ---- Home hero ---------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 72px 0 96px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(23, 21, 26, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 30%, transparent 90%); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 90%); }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; opacity: .55; }
.hero .blob-1 { width: 520px; height: 520px; background: #f7c796; right: -120px; top: -140px; }
.hero .blob-2 { width: 380px; height: 380px; background: #fde2c4; left: -140px; bottom: -120px; }
.hero-pill { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem .35rem .4rem; font-size: .88rem; font-weight: 500; box-shadow: var(--sh-1); color: var(--ink-2); }
.hero-pill b { background: var(--grad); color: #fff; font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin: 1.4rem 0 1.25rem; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .35em; }
.hero .lead { color: var(--muted); font-size: 1.15rem; line-height: 1.7; max-width: 540px; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px dashed #e2d7ca; max-width: 560px; }
.hero-trust div { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.hero-trust i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--sh-1); border: 1px solid var(--line); }

.hero-collage { position: relative; height: 560px; }
.hero-collage .ph { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: var(--sh-3); border: 6px solid #fff; background: var(--cream-2); }
.hero-collage .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .ph-main { inset: 0 0 90px 60px; }
.hero-collage .ph-sub { width: 46%; height: 42%; left: 0; bottom: 0; }
.float-card { position: absolute; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .8); border-radius: 16px; box-shadow: var(--sh-2); padding: .8rem 1rem; display: flex; align-items: center; gap: .75rem; animation: float 6s ease-in-out infinite; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.05rem; flex-shrink: 0; }
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; line-height: 1.2; }
.float-card span { font-size: .8rem; color: var(--muted); }
.float-card.fc-1 { right: -18px; bottom: 36px; }
.float-card.fc-2 { left: 18px; top: 40px; animation-delay: -3s; }
.float-card.fc-2 .ic { background: #1f8a53; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 991.98px) {
  .hero { padding: 48px 0 72px; }
  .hero-collage { height: 420px; margin-top: 3rem; }
  .hero-collage .ph-main { inset: 0 0 70px 40px; }
  .float-card.fc-1 { right: 8px; }
}
@media (max-width: 575.98px) {
  .hero-collage { height: 340px; }
  .hero-collage .ph-main { inset: 0 0 60px 24px; }
  .float-card { padding: .6rem .75rem; }
  .float-card .ic { width: 34px; height: 34px; }
  .float-card.fc-2 { left: 0; top: 16px; }
  .hero h1 .hl { white-space: normal; }
}

/* ---- Marquee ------------------------------------------------------------ */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 1.05rem 0; transform: rotate(-1.2deg); margin: -26px -10px 0; position: relative; z-index: 2; box-shadow: var(--sh-2); }
.marquee-track { display: flex; gap: 2.75rem; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.75rem; white-space: nowrap; }
.marquee-track span::after { content: "\2726"; color: var(--brand-300); font-size: .9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Stats -------------------------------------------------------------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--sh-2); overflow: hidden; }
.stats-band .stat { padding: 2rem 1.5rem; border-right: 1px solid var(--line); }
.stats-band .stat:last-child { border-right: 0; }
.stats-band .num { font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stats-band .num sup { font-size: .5em; color: var(--brand); top: -.8em; margin-left: 2px; }
.stats-band .lbl { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
@media (max-width: 767.98px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band .stat:nth-child(2) { border-right: 0; }
  .stats-band .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats-band .stat { padding: 1.4rem 1.1rem; }
}

/* ---- Cards -------------------------------------------------------------- */
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-1); padding: 1.9rem; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card-soft.hoverable:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #e4d3c0; }
.icon-tile { width: 54px; height: 54px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 1.35rem; margin-bottom: 1.2rem; flex-shrink: 0; transition: background .3s, color .3s, transform .3s var(--ease); }
.icon-tile.solid { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.feature h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; line-height: 1.65; }

/* Course cards */
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; height: 100%; color: inherit; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.course-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
a.course-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: #ead8c4; color: inherit; }
a.course-card:hover::before { transform: scaleX(1); }
a.course-card:hover .icon-tile { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.course-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.course-card .tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .35rem; }
.course-card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.course-card p { color: var(--muted); font-size: .93rem; line-height: 1.6; flex-grow: 1; margin-bottom: 1.25rem; }
.course-card .foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.course-card .go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); transition: background .3s, color .3s, transform .3s var(--ease); }
a.course-card:hover .go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.badge-pop { background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; }
.badge-pop i { color: var(--brand-300); }

/* Filter pills */
.filter-pills { display: inline-flex; flex-wrap: wrap; gap: .35rem; padding: .35rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; }
.filter-pills button { border: 0; background: transparent; border-radius: 999px; padding: .5rem 1.05rem; font-weight: 600; color: var(--muted); font-size: .9rem; transition: background .2s, color .2s, box-shadow .2s; }
.filter-pills button:hover { color: var(--ink); }
.filter-pills button.active { background: #fff; color: var(--ink); box-shadow: var(--sh-1), 0 4px 10px -4px rgba(23, 21, 26, .15); }
[data-category][hidden] { display: none !important; }
@media (max-width: 575.98px) { .filter-pills { border-radius: 18px; justify-content: center; } }

/* ---- Bento (why us) ---------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 1.25rem; }
.bento > * { border-radius: var(--radius-lg); }
.bento .b-img { grid-column: span 2; grid-row: span 2; position: relative; overflow: hidden; min-height: 440px; box-shadow: var(--sh-2); }
.bento .b-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento .b-img:hover img { transform: scale(1.04); }
.bento .b-img .cap { position: absolute; inset: auto 0 0; padding: 2rem; color: #fff; background: linear-gradient(to top, rgba(12, 11, 14, .88), transparent); }
.bento .b-img .cap h3 { color: #fff; font-size: 1.5rem; margin-bottom: .35rem; }
.bento .b-img .cap p { margin: 0; color: #e4dfe8; }
.bento .card-soft { padding: 1.7rem; }
.bento .b-wide { grid-column: span 2; }
.bento .b-dark { background: var(--ink); border-color: var(--ink); color: #cfc9d4; background-image: radial-gradient(circle at 100% 0, rgba(238, 143, 45, .3), transparent 50%); }
.bento .b-dark h3 { color: #fff; }
.bento .b-dark p { color: #bdb7c3; }
.bento .b-dark .icon-tile { background: rgba(255, 255, 255, .08); color: var(--brand-300); }
@media (max-width: 991.98px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .b-img { min-height: 360px; } }
@media (max-width: 575.98px) { .bento { grid-template-columns: 1fr; } .bento .b-img, .bento .b-wide { grid-column: auto; grid-row: auto; } }

/* ---- Steps (admission journey) ----------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; border-top: 2px dashed #e0cdb8; z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; padding: 0 .5rem; }
.step .n { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand-100); color: var(--brand); font-size: 1.25rem; box-shadow: 0 0 0 8px var(--cream); transition: background .3s, color .3s, transform .3s var(--ease); }
.step:hover .n { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-4px); }
.step small { display: block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; color: var(--brand-600); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .35rem; }
.step h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 767.98px) {
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps::before { top: 0; bottom: 0; left: 28px; right: auto; border-top: 0; border-left: 2px dashed #e0cdb8; }
  .step { text-align: left; display: grid; grid-template-columns: 58px 1fr; gap: 1rem; padding: 0; }
  .step .n { margin: 0; }
}

/* ---- Director / quote -------------------------------------------------- */
.director { display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: center; }
.director .photo { position: relative; isolation: isolate; }
.director .photo img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--sh-3); }
.director .photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg); background: var(--grad); z-index: -1; opacity: .9; }
.director blockquote { font-family: var(--font-head); font-size: clamp(1.25rem, 2.3vw, 1.65rem); line-height: 1.5; color: var(--ink); font-weight: 600; letter-spacing: -.015em; margin: 0 0 1.5rem; position: relative; }
.director blockquote .q { font-size: 4rem; line-height: 0; vertical-align: -1.4rem; color: var(--brand-300); margin-right: .2rem; font-family: Georgia, serif; }
.director .who strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.director .who span { color: var(--muted); }
.director .sign { font-family: 'Brush Script MT', 'Segoe Script', cursive; font-size: 2rem; color: var(--brand-600); line-height: 1; margin-bottom: .4rem; }
@media (max-width: 991.98px) { .director { grid-template-columns: 1fr; gap: 3rem; } .director .photo { max-width: 320px; } }

/* Legacy quote card (about page) */
.quote-card { background: var(--ink); color: #e1dce5; border-radius: var(--radius-lg); padding: 2.5rem; position: relative; background-image: radial-gradient(circle at 100% 0, rgba(238, 143, 45, .28), transparent 55%); }
.quote-card::before { content: "\201C"; position: absolute; top: -8px; left: 28px; font-family: Georgia, serif; font-size: 6rem; color: var(--brand-300); line-height: 1; }
.quote-card p { font-size: 1.05rem; line-height: 1.75; }
.quote-card .who { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.quote-card .who img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-300); }
.quote-card .who strong { color: #fff; display: block; font-family: var(--font-head); }

/* ---- Photo strip -------------------------------------------------------- */
.photo-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; grid-template-rows: 220px 220px; gap: 1rem; }
.photo-strip a { border-radius: var(--radius); overflow: hidden; position: relative; display: block; }
.photo-strip a:nth-child(1) { grid-row: span 2; }
.photo-strip a:nth-child(4) { grid-row: span 2; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-strip a:hover img { transform: scale(1.06); }
@media (max-width: 767.98px) { .photo-strip { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); } .photo-strip a:nth-child(1), .photo-strip a:nth-child(4) { grid-row: auto; } .photo-strip a:nth-child(n+5) { display: none; } }

/* ---- Verify band -------------------------------------------------------- */
.verify-band { background: var(--ink); border-radius: 32px; padding: clamp(2rem, 5vw, 4rem); color: #cfc9d4; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; position: relative; overflow: hidden; background-image: radial-gradient(circle at 0 100%, rgba(238, 143, 45, .25), transparent 45%), radial-gradient(circle at 100% 0, rgba(238, 143, 45, .18), transparent 40%); }
.verify-band h2 { color: #fff; }
.verify-band .eyebrow { color: var(--brand-300); }
.qr-mock { background: #fff; border-radius: 22px; padding: 1.5rem; max-width: 280px; margin-left: auto; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: rotate(3deg); transition: transform .5s var(--ease); }
.verify-band:hover .qr-mock { transform: rotate(0); }
.qr-mock .grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; aspect-ratio: 1; }
.qr-mock .grid i { background: var(--ink); border-radius: 2px; }
.qr-mock .grid i.o { background: transparent; }
.qr-mock .ok { margin-top: 1rem; display: flex; align-items: center; gap: .6rem; background: #e7f6ee; color: #146c43; font-weight: 700; border-radius: 12px; padding: .6rem .8rem; font-size: .9rem; }
@media (max-width: 767.98px) { .verify-band { grid-template-columns: 1fr; } .qr-mock { margin: 0 auto; max-width: 220px; } }

/* ---- News carousel ------------------------------------------------------ */
.news-carousel { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-3); background: var(--ink); }
.news-carousel .carousel-item img { width: 100%; max-height: 560px; object-fit: contain; background: var(--ink); }
.news-carousel .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; border: 0; }

/* ---- Accordion ---------------------------------------------------------- */
.accordion-premium .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; margin-bottom: .75rem; overflow: hidden; background: #fff; transition: box-shadow .3s; }
.accordion-premium .accordion-item:has(.accordion-button:not(.collapsed)) { box-shadow: var(--sh-2); border-color: #ead8c4; }
.accordion-premium .accordion-button { font-family: var(--font-head); font-weight: 700; color: var(--ink); padding: 1.15rem 1.35rem; background: #fff; box-shadow: none; }
.accordion-premium .accordion-button:not(.collapsed) { color: var(--brand-600); background: #fff; }
.accordion-premium .accordion-button::after { background-image: none; content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: .8rem; transform: none; transition: transform .3s, background .3s, color .3s; }
.accordion-premium .accordion-button:not(.collapsed)::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.accordion-premium .accordion-body { padding: 0 1.35rem 1.25rem; color: var(--muted); line-height: 1.7; }
.accordion-premium .accordion-button:focus { box-shadow: none; }
.accordion-premium .accordion-button:focus-visible { box-shadow: inset 0 0 0 2px var(--brand-300); }

/* ---- Inner page hero ---------------------------------------------------- */
.page-hero { background: var(--cream); padding: 64px 0 60px; position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(23, 21, 26, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: #f7c796; filter: blur(80px); opacity: .55; z-index: -1; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; margin: 0; letter-spacing: -.03em; }
.page-hero .lead { color: var(--muted); margin: .85rem 0 0; max-width: 680px; font-size: 1.1rem; }
.page-hero .breadcrumb { margin-bottom: 1rem; font-size: .88rem; background: #fff; display: inline-flex; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.page-hero .breadcrumb a { color: var(--brand-600); font-weight: 500; }
.page-hero .breadcrumb-item.active { color: var(--muted); }

/* ---- About / split blocks ---------------------------------------------- */
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-3); position: relative; }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.2s var(--ease); }
.split-img:hover img { transform: scale(1.03); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2.1rem; margin-bottom: .9rem; line-height: 1.6; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .15rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--grad); color: #fff; font-size: .65rem; display: grid; place-items: center; }

.team-card { text-align: center; }
.team-card .photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 1.1rem; background: var(--cream); position: relative; box-shadow: var(--sh-1); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover .photo img { transform: scale(1.05); }
.team-card .photo .social { position: absolute; bottom: 12px; left: 50%; transform: translate(-50%, 12px); opacity: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--brand-600); box-shadow: var(--sh-2); transition: all .3s var(--ease); font-size: 1.1rem; margin: 0; }
.team-card:hover .photo .social, .team-card .photo .social:focus { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .team-card .photo .social { opacity: 1; transform: translate(-50%, 0); } }
.team-card h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.team-card span { color: var(--muted); font-size: .9rem; }

/* ---- Schedule / timetable ---------------------------------------------- */
.batch-card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: .75rem; margin-bottom: 0; }
.batch-card ul { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.batch-card li { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border-radius: 12px; font-size: .96rem; transition: background .2s; }
.batch-card li:nth-child(odd) { background: var(--cream); }
.batch-card li span:first-child { color: var(--muted); font-weight: 500; }
.batch-card li span:last-child { font-weight: 700; color: var(--ink); font-family: var(--font-head); }

/* ---- Course detail ------------------------------------------------------ */
.course-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 2.75rem; }
.course-facts div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: var(--sh-1); }
.course-facts span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .3rem; font-weight: 600; }
.course-facts strong { color: var(--ink); font-family: var(--font-head); font-weight: 700; }
.course-body .intro { font-size: 1.15rem; line-height: 1.8; color: var(--ink-2); }
.course-body h2 { font-size: 1.4rem; margin: 2.75rem 0 1.25rem; display: flex; align-items: center; gap: .75rem; }
.course-body h2::before { content: ""; width: 6px; height: 26px; border-radius: 4px; background: var(--grad); }
.point-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.point-list li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.15rem; background: var(--cream); border-radius: 14px; border: 1px solid transparent; transition: border-color .2s, background .2s; line-height: 1.6; }
.point-list li:hover { background: #fff; border-color: var(--line); }
.point-list li i { color: var(--brand); margin-top: .3rem; }
.point-list strong { color: var(--ink); }
.sticky-aside { position: sticky; top: 110px; }
.enroll-card { background: var(--ink); color: #cfc9d4; border-radius: var(--radius-lg); padding: 2rem; background-image: radial-gradient(circle at 100% 0, rgba(238, 143, 45, .35), transparent 55%); box-shadow: var(--sh-3); }
.enroll-card h3 { color: #fff; font-size: 1.35rem; }
.enroll-card .icon-tile { background: var(--grad); color: #fff; }
.enroll-card .btn-light { color: var(--ink); }
.enroll-card ul { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; font-size: .92rem; }
.enroll-card ul li { display: flex; gap: .6rem; margin-bottom: .5rem; }
.enroll-card ul i { color: var(--brand-300); margin-top: .25rem; }
.related a { display: flex; align-items: center; gap: .7rem; padding: .7rem .5rem; border-radius: 10px; color: var(--ink-2); font-weight: 500; transition: background .2s, color .2s; }
.related a:hover { color: var(--ink); background: var(--cream); }
.related a i { color: var(--brand); width: 1.2rem; text-align: center; }
.related a .fa-arrow-right { margin-left: auto; color: var(--muted); font-size: .8rem; }

/* ---- Prose (policy pages) ---------------------------------------------- */
.prose { max-width: 780px; margin-inline: auto; font-size: 1.04rem; line-height: 1.85; }
.prose h2 { font-size: 1.3rem; margin: 2.5rem 0 .8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--brand); }

/* ---- Forms -------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--sh-3); padding: clamp(1.5rem, 4vw, 2.75rem); position: relative; }
.form-label { font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .4rem; }
.form-label .req { color: #c0392b; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid #e6ded4; padding: .75rem 1rem; background-color: #fff; transition: border-color .2s, box-shadow .2s, background-color .2s; font-size: .98rem; }
.form-control:hover, .form-select:hover { border-color: #d6c8b8; }
.form-control::placeholder { color: #aaa3ae; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #dc3545; }
.form-text { color: var(--muted); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.invalid-feedback { display: block; font-size: .85rem; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #b3aab8; pointer-events: none; transition: color .2s; }
.input-icon > .form-control, .input-icon > .form-select { padding-left: 2.65rem; }
.input-icon:focus-within > i { color: var(--brand); }
.choice-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-group input { position: absolute; opacity: 0; pointer-events: none; }
.choice-group label { border: 1.5px solid #e6ded4; border-radius: 12px; padding: .65rem 1.1rem; cursor: pointer; font-weight: 500; transition: all .2s; background: #fff; }
.choice-group label:hover { border-color: #d6c8b8; }
.choice-group input:checked + label { border-color: var(--brand); background: var(--brand-50); color: var(--brand-600); box-shadow: 0 0 0 3px rgba(200, 98, 26, .12); }
.choice-group input:focus-visible + label { box-shadow: 0 0 0 .25rem rgba(200, 98, 26, .25); }

/* Stepper (registration) */
.stepper { display: flex; gap: .5rem; margin-bottom: 2.25rem; counter-reset: s; }
.stepper li { flex: 1; list-style: none; position: relative; }
.stepper button { width: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--muted); }
.stepper button:disabled { cursor: default; }
.stepper .bar { height: 5px; border-radius: 5px; background: var(--cream-2); margin-bottom: .7rem; overflow: hidden; }
.stepper .bar::after { content: ""; display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.stepper li.done .bar::after, .stepper li.current .bar::after { width: 100%; }
.stepper small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.stepper span { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.stepper li.current button, .stepper li.done button { color: var(--ink); }
.stepper li.done small::after { content: " \2713"; color: #1f8a53; }
.stepper li.has-error small { color: #dc3545; }
@media (max-width: 575.98px) { .stepper span { display: none; } }
.form-step { display: none; animation: stepIn .4s var(--ease); }
.form-step.active { display: block; }
.no-js .form-step { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
.step-title { font-size: 1.35rem; margin-bottom: .35rem; }
.step-sub { color: var(--muted); margin-bottom: 1.75rem; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* File dropzones */
.dropzone { position: relative; border: 2px dashed #e0d3c4; border-radius: 16px; padding: 1.4rem 1rem; text-align: center; background: var(--cream); transition: border-color .2s, background .2s; cursor: pointer; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: var(--brand-50); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone .dz-ic { width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--sh-1); margin-bottom: .75rem; }
.dropzone strong { font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.dropzone .dz-hint { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.dropzone .dz-preview { display: none; width: 100%; }
.dropzone.has-file { border-style: solid; border-color: #1f8a53; background: #f2fbf6; }
.dropzone.has-file .dz-empty { display: none; }
.dropzone.has-file .dz-preview { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.dropzone .dz-preview img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; box-shadow: var(--sh-1); }
.dropzone .dz-preview .dz-file { width: 84px; height: 84px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 2rem; color: #dc3545; box-shadow: var(--sh-1); }
.dropzone .dz-name { font-size: .85rem; font-weight: 600; color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone .dz-size { font-size: .75rem; color: #1f8a53; font-weight: 600; }
.dropzone.is-invalid { border-color: #dc3545; background: #fff5f5; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem 1.5rem; background: var(--cream); border-radius: 16px; padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.review-grid dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.review-grid dd { margin: 0; font-weight: 600; color: var(--ink); word-break: break-word; }

.side-note { background: var(--cream); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.side-note h3 { font-size: 1.05rem; }
.side-note ol { padding-left: 1.1rem; margin: 0; color: var(--muted); font-size: .93rem; }
.side-note ol li { margin-bottom: .6rem; }
.side-note ol li::marker { color: var(--brand); font-weight: 700; }

/* ---- Contact ------------------------------------------------------------ */
.contact-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
.contact-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; display: block; }
a.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #ead8c4; color: inherit; }
a.contact-tile:hover .icon-tile { background: var(--grad); color: #fff; }
.contact-tile h3 { font-size: 1rem; margin-bottom: .25rem; }
.contact-tile p { color: var(--muted); margin: 0; font-size: .92rem; word-break: break-word; }
@media (max-width: 991.98px) { .contact-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .contact-tiles { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-item p, .contact-item a { color: var(--muted); margin: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); line-height: 0; box-shadow: var(--sh-2); }
.map-embed iframe { width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* ---- Gallery ------------------------------------------------------------ */
.gallery-grid { columns: 3 280px; column-gap: 1rem; }
.gallery-grid button { border: 0; padding: 0; background: var(--cream); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; display: block; width: 100%; margin-bottom: 1rem; break-inside: avoid; }
.gallery-grid img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.05); }
.gallery-grid button::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.4rem; background: linear-gradient(to top, rgba(23, 21, 26, .55), rgba(23, 21, 26, .1)); opacity: 0; transition: opacity .3s; }
.gallery-grid button:hover::after, .gallery-grid button:focus-visible::after { opacity: 1; }
.gallery-tabs { margin-bottom: 2rem; }
.lightbox .modal-content { background: transparent; border: 0; }
.lightbox img { max-height: 85vh; width: auto; margin: auto; display: block; border-radius: var(--radius); }
.lightbox .btn-close { position: absolute; top: -2.5rem; right: 0; filter: invert(1); opacity: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); display: grid; place-items: center; }
.lightbox .lb-prev { left: -8px; } .lightbox .lb-next { right: -8px; }
.modal-backdrop.show { opacity: .88; }

/* ---- Result panels (verify / download) --------------------------------- */
.result-card { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: #fff; box-shadow: var(--sh-3); }
.result-head { padding: 1.5rem 1.75rem; display: flex; align-items: center; gap: 1rem; }
.result-head i { font-size: 2rem; }
.result-head h2 { font-size: 1.25rem; margin: 0 0 .15rem; }
.result-head.ok { background: linear-gradient(135deg, #e7f6ee, #d6f0e2); color: #146c43; }
.result-head.warn { background: linear-gradient(135deg, #fff6e5, #fdebc8); color: #8a5a00; }
.result-head.bad { background: linear-gradient(135deg, #fdecea, #f9d6d2); color: #a52a1f; }
.result-head.ok h2 { color: #146c43; } .result-head.warn h2 { color: #8a5a00; } .result-head.bad h2 { color: #a52a1f; }
.result-table { width: 100%; margin: 0; }
.result-table th { width: 40%; color: var(--muted); font-weight: 500; padding: .9rem 1.75rem; border-top: 1px solid var(--line); }
.result-table td { color: var(--ink); font-weight: 600; padding: .9rem 1.75rem; border-top: 1px solid var(--line); }

/* ---- CTA band & footer ------------------------------------------------- */
.cta-band { padding: 0 0 104px; }
.cta-inner { background: var(--grad); color: #fff; border-radius: 32px; padding: clamp(2rem, 5vw, 3.75rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; box-shadow: 0 40px 80px -30px rgba(200, 98, 26, .6); position: relative; overflow: hidden; isolation: isolate; }
.cta-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-inner::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .08); right: -120px; bottom: -160px; z-index: -1; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: .5rem; font-weight: 800; }
.cta-inner p { margin: 0; color: #fff; font-size: 1.05rem; }
.cta-inner .btn-light { color: var(--ink); }
.cta-inner .btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }

.site-footer { background: #121014; color: #aaa3b0; padding: 88px 0 0; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -300px; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(238, 143, 45, .14), transparent); pointer-events: none; }
.site-footer h3 { color: #fff; font-size: .82rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer a { color: #d2ccd7; }
.site-footer a:hover { color: var(--brand-300); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .75rem; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: var(--brand-300); }
.brand-footer img { background: #fff; border-radius: 50%; padding: 2px; }
.footer-badge { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; font-size: .85rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); padding: .45rem .85rem; border-radius: 999px; }
.footer-badge i { color: var(--brand-300); }
.footer-contact li { display: flex; gap: .85rem; }
.footer-contact i { color: var(--brand-300); margin-top: .3rem; width: 1rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.footer-social a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 4rem; padding: 1.6rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-wordmark { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 12vw, 10rem); letter-spacing: -.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); text-align: center; margin: 3rem 0 -1.5rem; user-select: none; white-space: nowrap; }

/* ---- Floating actions --------------------------------------------------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .55); z-index: 1030; transition: transform .25s var(--ease); }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.to-top { position: fixed; right: 30px; bottom: 96px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh-2); z-index: 1029; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

.mbar { display: none; }
@media (max-width: 767.98px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(23, 21, 26, .2); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; font-size: .75rem; font-weight: 600; color: var(--ink-2); border-radius: 12px; padding: .45rem; }
  .mbar a i { font-size: 1.1rem; }
  .mbar a.wa i { color: #25d366; }
  .mbar a.call i { color: var(--brand); }
  .mbar a.go { background: var(--grad); color: #fff; flex-direction: row; gap: .5rem; font-size: .92rem; box-shadow: var(--sh-brand); }
  body { padding-bottom: 76px; }
  .whatsapp-float { display: none; }
  .to-top { bottom: 90px; right: 16px; }
}

/* ---- Reveal on scroll --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 767.98px) {
  .section { padding: 72px 0; }
  .section-head, .section-head-row { margin-bottom: 2.25rem; }
  .page-hero { padding: 44px 0 40px; }
  .cta-band { padding-bottom: 72px; }
  .result-table th, .result-table td { display: block; width: 100%; padding: .5rem 1.25rem; }
  .result-table td { border-top: 0; padding-top: 0; }
}

@media print {
  .announce, .site-header, .site-footer, .whatsapp-float, .cta-band, .page-hero, .mbar, .to-top { display: none !important; }
}

/* Developer credit */
.dev-credit { color: #8d8693; }
.dev-credit a { color: var(--brand-300); font-weight: 600; }
.dev-credit a:hover { color: #fff; text-decoration: underline; }
