/* ExamShark — clean dark + yellow theme. Mobile-first, no framework. */
:root {
  --dark: #051b3a;
  --dark-2: #0a2550;
  --dark-3: #14336a;
  --yellow: #015bd6;        /* brand blue (variable name kept for compatibility) */
  --yellow-2: #0148ad;
  --yellow-soft: #e8f1fe;
  --accent-light: #5a9dff;  /* blue that reads well on navy */
  --star: #f5b301;
  --blue: #3b6cff;
  --blue-soft: #eef2ff;
  --ink: #1d2a44;
  --muted: #5f6b82;
  --line: #e8e9f0;
  --bg: #f4f7fc;
  --white: #fff;
  --green: #22a45d;
  --green-soft: #e8f7ee;
  --red: #e53950;
  --red-soft: #fdecef;
  --amber: #b36b00;
  --amber-soft: #fff4e0;
  --radius: 8px;
  --shadow: 0 8px 30px rgba(5, 27, 58, .07);
  --shadow-lg: 0 18px 50px rgba(5, 27, 58, .12);
  --font: "Mulish", "Segoe UI", Arial, sans-serif;
  /* aliases used by staff.css */
  --navy: var(--dark); --gold: var(--yellow); --cream: var(--bg); --line-cool: var(--line);
  --font-head: var(--font); --font-body: var(--font); --font-varsity: var(--font);
  --stars: none; --offset: var(--shadow);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--ink); background: #fff; font-weight: 400; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--yellow-2); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--dark); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; font-weight: 700; }
.thin { font-weight: 300; display: block; }
.h-split .thin { display: block; }
p { margin: 0 0 1em; }
.lead { font-size: 1.08rem; color: var(--muted); font-weight: 300; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--dark); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.section { padding: 80px 0; }
.section-sm { padding: 44px 0; }
.section-alt, .section-cream, .section-paper { background: var(--bg); }
.section-dark, .section-navy { background: var(--dark); color: #b9bccb; }
.section-dark h2, .section-dark h3, .section-navy h2, .section-navy h3 { color: #fff; }
.section-dark .lead { color: #9ea2b3; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.hero-small .eyebrow, .hero .eyebrow, .section-dark .eyebrow, .section-navy .eyebrow { color: var(--accent-light); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-2); margin-bottom: 10px; }

/* Icons */
.ic { width: 22px; height: 22px; vertical-align: middle; flex-shrink: 0; }
.ic-sm { width: 16px; height: 16px; }
.ic-xs { width: 12px; height: 12px; }
.flag { width: 46px; height: 25px; vertical-align: middle; border-radius: 3px; margin-left: 6px; }
.stars { color: var(--star); letter-spacing: 3px; font-size: 1.2rem; white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 800; font-size: .98rem; text-transform: uppercase; letter-spacing: .02em; padding: 13px 28px; border-radius: 4px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s, transform .1s; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn-yellow, .btn-red { background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-2) 100%); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .12); box-shadow: 0 8px 20px rgba(1, 91, 214, .28); }
.btn-yellow:hover, .btn-red:hover { color: #fff; box-shadow: 0 10px 26px rgba(1, 91, 214, .42); filter: brightness(1.04); }
.btn-outline-yellow { background: transparent; color: var(--accent-light); border-color: var(--accent-light); }
.btn-outline-yellow:hover { background: var(--yellow); border-color: var(--yellow); color: #fff; }
.btn-dark, .btn-navy { background: var(--dark); color: #fff; }
.btn-dark:hover, .btn-navy:hover { background: var(--dark-3); color: #fff; }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--yellow-soft); color: var(--dark); }
.btn-ghost { background: transparent; color: var(--dark); }
.btn-lg { font-size: 1.05rem; padding: 16px 44px; }
.btn-sm { font-size: .8rem; padding: 8px 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Topbar & header */
.topbar { background: #f1efe7; color: var(--muted); font-size: .84rem; border-bottom: 1px solid #e6e2d4; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.topbar a:hover { color: var(--dark); }
.topbar .flag { width: 22px; height: 12px; margin: 0 6px 0 0; vertical-align: -1px; }
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo img { height: 48px; width: auto; }
.logo-text, .logo > span { display: flex; flex-direction: column; font-family: var(--font); font-weight: 800; font-size: .86rem; letter-spacing: .42em; text-transform: uppercase; color: var(--accent-light); line-height: 1; }
.logo b { display: block; color: #fff; font-weight: 900; font-size: 1.55rem; letter-spacing: .04em; margin-bottom: 3px; }
.logo-full { height: 120px; width: auto; }

.logo:hover { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: space-between; margin-left: 24px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav ul a { display: block; padding: 8px 12px; font-weight: 600; font-size: .98rem; color: #fff; text-decoration: none; }
.site-nav ul a:hover, .site-nav ul a.active { color: var(--accent-light); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #4a4c5a; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; position: relative; transition: border-color .15s, background .15s; }
.round-btn:hover { border-color: var(--accent-light); color: var(--accent-light); }
.round-blue { background: var(--blue); border-color: var(--blue); }
.round-blue:hover { background: #2f5ae6; color: #fff; border-color: #2f5ae6; }
.round-label { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle .ic { width: 28px; height: 28px; }

/* Breadcrumbs & alerts */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .86rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b5b8c5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--yellow-2); }
.alert { padding: 12px 16px; border-radius: 6px; margin: 16px 0; border-left: 4px solid; }
.alert-success { background: var(--green-soft); border-color: var(--green); color: #14663a; }
.alert-error { background: var(--red-soft); border-color: var(--red); color: #9b1c30; }
.alert-info { background: var(--blue-soft); border-color: var(--blue); color: #243f99; }
.alert-warning { background: var(--amber-soft); border-color: var(--amber); color: #6b4200; }
.alert ul { margin: 0; padding-left: 18px; }

/* Home hero: photo + dark order panel */
.hero-split { display: grid; grid-template-columns: 1fr 480px; background: var(--dark); min-height: 620px; }
.hero-visual { position: relative; background: linear-gradient(90deg, rgba(3, 16, 38, .78) 0%, rgba(3, 16, 38, .45) 55%, rgba(3, 16, 38, .15) 100%), var(--photo) center / cover no-repeat; display: flex; align-items: center; }
.hero-copy { padding: 60px 48px 60px max(16px, calc((100vw - 1200px) / 2 + 16px)); max-width: 820px; }
.hero-copy h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.18; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.hero-copy h1 .thin { font-weight: 300; }
.hero-sub { color: #fff; font-size: clamp(1.1rem, 2vw, 1.45rem); text-transform: uppercase; font-weight: 600; margin: 18px 0 28px; max-width: 560px; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--dark); border-radius: 999px; padding: 6px 16px 6px 6px; font-size: .74rem; font-weight: 900; text-transform: uppercase; }
.pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: .75rem; }
.pill-green { background: #d9f99d; }
.pill-green i { background: #65a30d; color: #fff; }
.hero-panel { background: var(--dark); padding: 28px 40px 36px; display: flex; align-items: center; }
.hero-panel .calc-card { width: 100%; }
.hero-split > *, .two-col > *, .order-layout > *, .say-grid > *, .hero-grid > *, .staff-grid > * { min-width: 0; }
.uf select, .uf input { max-width: 100%; min-width: 0; }
.uf .stepper input { flex: 1; width: auto; }

/* Page hero with photo */
.hero, .hero-small { position: relative; background: linear-gradient(90deg, rgba(3, 16, 38, .88) 0%, rgba(3, 16, 38, .6) 100%), var(--photo, none) center / cover no-repeat, var(--dark); color: #cfd2de; }
.hero-small .container { position: relative; padding-top: 64px; padding-bottom: 64px; }
.hero-small h1, .hero h1 { color: #fff; margin-bottom: .3em; }
.hero-small .lead, .hero .lead { color: #d7d9e3; margin: 0; max-width: 760px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 64px 16px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.hero-points li { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 600; }
.hero-points .ic { color: var(--accent-light); }
.hero .calc-card { background: var(--dark); padding: 28px; border-radius: 6px; }
.photo-caption, .pennant, .script { display: none; }

/* Order panel (underline fields on dark) */
.calc-card { color: #fff; }
.calc-card h2 { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 18px; }
.uf { border-bottom: 1px solid #3a3c4a; padding: 10px 12px 6px; margin-bottom: 4px; }
.uf label { display: block; color: #8d91a3; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.uf select, .uf input { background: transparent; border: 0; color: #fff; font-family: var(--font); font-size: .95rem; font-weight: 600; text-transform: uppercase; padding: 6px 0 6px 20px; width: 100%; box-shadow: none; border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' fill='none' stroke='%2322a45d' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 0 50%; }
.uf select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' fill='none' stroke='%2322a45d' stroke-width='1.8'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23fff'/%3E%3C/svg%3E"); background-position: 0 50%, right 4px center; background-repeat: no-repeat; }
.uf select option, .uf select optgroup { color: var(--ink); background: #fff; text-transform: none; }
.uf select:focus, .uf input:focus { box-shadow: none; outline: none; }
.uf:focus-within { border-bottom-color: var(--accent-light); }
.uf .stepper { display: flex; align-items: center; }
.calc-card .uf .stepper input { text-align: center; background: transparent; border: 0; color: #fff; padding: 6px 0; -moz-appearance: textfield; }
.calc-card .uf .stepper input::-webkit-inner-spin-button, .calc-card .uf .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.uf .stepper button { background: none; border: 0; color: #fff; font-size: 1.3rem; width: 40px; cursor: pointer; }
.uf .stepper button:hover { color: var(--accent-light); }
.calc-per { color: #b9bccb; font-size: .9rem; margin: 18px 12px 4px; }
.calc-per b { color: #fff; }
.calc-total { display: flex; align-items: baseline; gap: 10px; margin: 0 12px; text-transform: uppercase; font-weight: 800; color: #fff; }
.calc-total strong { font-size: 2rem; font-weight: 800; color: #fff; }
.calc-note { color: #8d91a3; font-size: .85rem; margin: 2px 12px 18px; }
.calc-note b { color: var(--accent-light); }
.calc-card .btn-yellow { margin-left: 12px; min-width: 240px; }
aside .calc-card, .sticky > .calc-card { background: var(--dark); padding: 28px 22px; border-radius: 8px; box-shadow: var(--shadow-lg); }
.ticket { background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 26px; }

/* Stats strip */
.stats-strip { background: var(--bg); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { display: flex; align-items: center; gap: 16px; }
.stat-item small { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 400; }
.stat-item strong { font-size: 1.6rem; font-weight: 800; color: var(--dark); line-height: 1.1; }
.bubble { position: relative; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 6px 24px rgba(5, 27, 58, .1); display: inline-flex; align-items: center; justify-content: center; color: var(--yellow-2); flex-shrink: 0; }
.bubble .ic { width: 32px; height: 32px; stroke-width: 1.6; }
.bubble-sm { width: 54px; height: 54px; }
.bubble-sm .ic { width: 24px; height: 24px; }
.bubble .dot { position: absolute; right: 2px; bottom: 6px; width: 14px; height: 14px; border-radius: 50%; background: #7ac943; border: 2px solid #fff; }

/* Testimonials */
.say-grid { display: grid; grid-template-columns: .9fr 2fr; gap: 48px; align-items: start; }
.say-grid .lead { color: var(--ink); line-height: 1.9; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.review { margin: 0; }
.review figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-who { font-size: 1.05rem; color: var(--ink); }
.review-meta { font-size: .86rem; color: var(--muted); margin: 4px 0 14px; }
.review blockquote { margin: 0; background: #fff; border-radius: 6px; box-shadow: var(--shadow); padding: 24px 24px; color: var(--ink); font-weight: 300; line-height: 1.9; }
.sample-tag { display: inline-block; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--bg); color: var(--muted); padding: 1px 6px; border-radius: 3px; margin-left: 4px; }

/* School picker & chat call-to-action */
.school-picker { gap: 18px; }
.school-picker.form-grid { margin: 0; }
.chat-cta { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--dark); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.chat-cta:hover { transform: translateY(-2px); color: #fff; }
.chat-cta .ic { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--yellow); color: #fff; }
.chat-cta b { display: block; }
.chat-cta span { font-size: .9rem; color: #b9bccb; line-height: 1.4; }
.chat-cta b { color: #fff; font-size: 1rem; }

/* Exam prep tiers & products */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.tier { position: relative; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 30px 26px; display: flex; flex-direction: column; }
.tier .checklist { flex: 1; margin: 18px 0 24px; }
.tier h3 { font-size: 1.3rem; text-transform: uppercase; margin: 0; }
.tier-price { font-size: 2.4rem; font-weight: 900; color: var(--dark); line-height: 1.1; margin-top: 8px; }
.tier-price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.tier-tag { display: inline-block; align-self: flex-start; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.tier.featured { background: var(--dark); color: #cfd2de; transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.tier.featured h3, .tier.featured .tier-price { color: #fff; }
.tier.featured .tier-tag { background: var(--yellow); color: #fff; }
.tier.featured .tier-price small { color: #8d91a3; }
.tier-free { outline: 2px dashed var(--yellow); outline-offset: -8px; }
.product-list { display: grid; gap: 10px; }
.product-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.product-option > span:first-of-type { flex: 1; }
.product-option .hint { display: block; }
.product-option .amt { font-size: 1.25rem; white-space: nowrap; }
.product-option .amt small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.plan-option:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ladder-item { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 22px; }
.ladder-item b { display: block; font-size: 1.6rem; font-weight: 900; color: var(--dark); }
.ladder-item span { color: var(--muted); font-size: .95rem; }
.exam-table td:first-child a { font-weight: 700; color: var(--dark); text-decoration: none; }
.exam-table td:first-child a:hover { color: var(--yellow-2); }
@media (max-width: 1000px) { .tiers, .ladder { grid-template-columns: 1fr; } .tier.featured { transform: none; } }
@media (min-width: 641px) and (max-width: 1000px) { .ladder { grid-template-columns: repeat(2, 1fr); } }

/* Google reviews */
.g-logo { width: 28px; height: 28px; flex-shrink: 0; }
.bubble .g-logo { width: 32px; height: 32px; }
.g-reviews { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 28px; }
.g-summary { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.g-summary > .g-logo { width: 44px; height: 44px; }
.g-summary > div:first-of-type { flex: 1; min-width: 200px; }
.g-title { display: block; font-weight: 800; color: var(--dark); font-size: 1.15rem; }
.g-score { display: flex; align-items: center; gap: 8px; }
.g-score b { font-size: 1.6rem; font-weight: 900; color: var(--dark); }
.g-count { display: block; color: var(--muted); font-size: .88rem; }
.g-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.g-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.g-review { margin: 0; }
.g-review figcaption { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.g-review figcaption img, .g-initial { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.g-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; font-weight: 800; }
.g-review figcaption > span { flex: 1; min-width: 0; }
.g-review figcaption strong, .g-review figcaption strong a { display: block; color: var(--dark); text-decoration: none; font-size: .95rem; }
.g-review figcaption small { color: var(--muted); font-size: .8rem; }
.g-review figcaption .g-logo { width: 20px; height: 20px; }
.g-review .stars { font-size: 1rem; }
.g-review blockquote { margin: 6px 0 0; color: var(--ink); font-weight: 300; line-height: 1.8; font-size: .95rem; }
.g-credit { margin: 18px 0 0; font-size: .78rem; color: var(--muted); text-align: right; }
.g-setup { display: flex; gap: 14px; align-items: flex-start; border: 2px dashed #c9ccd8; border-radius: 10px; padding: 18px 20px; color: var(--ink); font-size: .95rem; background: #fff; }
@media (max-width: 1000px) { .g-list { grid-template-columns: 1fr; } }

/* Cards & grids (flat, soft shadow, no borders) */
.grid { display: grid; gap: 28px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.card-link h3 { font-size: 1.15rem; }
.card-link p { color: var(--muted); flex: 1; font-weight: 300; }
.card-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow-soft); color: var(--yellow-2); margin-bottom: 16px; }
.card-icon .ic { width: 26px; height: 26px; stroke-width: 1.7; }
.card-foot { display: flex; align-items: center; justify-content: space-between; font-size: .92rem; color: var(--muted); padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--line); }
.card-foot strong { color: var(--dark); font-weight: 800; }
.card h2 { font-size: 1.3rem; }

/* Exam categories */
.exam-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 40px; }
.exam-item { display: flex; align-items: center; gap: 16px; padding: 14px 8px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .15s; }
.exam-item:hover { background: var(--bg); color: var(--ink); }
.exam-item strong { display: block; color: var(--dark); font-weight: 800; }
.exam-item small { display: block; color: var(--muted); font-size: .88rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: #fff; font-weight: 900; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.step h3 { color: #fff; }
.step p { color: #9ea2b3; margin: 0; font-weight: 300; }
.section:not(.section-dark) .step h3 { color: var(--dark); }
.section:not(.section-dark) .step p { color: var(--muted); }

/* Split banner */
.split-banner { background: var(--dark); color: #b9bccb; border-radius: 10px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background-image: radial-gradient(circle at 100% 0, rgba(1, 91, 214, .35), transparent 45%); }
.split-banner h2 { color: #fff; margin-bottom: .3em; }
.split-banner h2 .thin { display: inline; }
.split-banner p { margin: 0; font-size: 1.08rem; font-weight: 300; }

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.mosaic-tile { position: relative; overflow: hidden; border-radius: 8px; display: block; }
.mosaic-tile.tall { grid-row: span 2; grid-column: span 2; }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.mosaic-tile:hover img { transform: scale(1.05); }
.mosaic-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(3, 16, 38, .8)); }
.mosaic-label { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; }
.photo-band { background: var(--bg); }

/* Samples */
.paper-card { position: relative; display: block; text-decoration: none; color: var(--ink); background: #fff; padding: 28px; border-radius: 8px; box-shadow: var(--shadow); border-top: 4px solid var(--yellow); transition: transform .18s, box-shadow .18s; }
.paper-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.paper-card h3 { font-size: 1.15rem; margin: 10px 0; }
.paper-card p { color: var(--muted); font-weight: 300; }
.paper-type { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); background: var(--yellow-soft); padding: 3px 10px; border-radius: 3px; }
.paper-meta { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.paper-sheet { background: #fff; padding: 48px; border-radius: 8px; box-shadow: var(--shadow); line-height: 1.9; }
.paper-sheet h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); text-transform: none; margin: 12px 0 6px; }
.paper-sheet h2 { font-size: 1.2rem; text-transform: none; margin: 1.6em 0 .4em; }
.paper-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 10px; }
.paper-note { font-size: .9rem; color: var(--muted); background: var(--bg); padding: 12px 16px; line-height: 1.6; border-left: 4px solid var(--yellow); border-radius: 4px; }

/* Guarantee */
.badge-card { text-align: center; padding: 10px; }
.badge-card h3 { margin-top: 16px; }
.badge-card p { color: var(--muted); font-size: .95rem; font-weight: 300; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .9rem; box-shadow: 0 2px 8px rgba(5, 27, 58, .06); }
.chips a:hover { background: var(--yellow); color: #fff; }
.chips abbr { text-decoration: none; font-weight: 800; font-size: .72rem; color: var(--yellow-2); }
.section-dark .chips a { background: var(--dark-3); color: #fff; box-shadow: none; }
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.state-grid a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; box-shadow: 0 2px 10px rgba(5, 27, 58, .06); transition: box-shadow .15s, color .15s; }
.state-grid a:hover { box-shadow: var(--shadow-lg); color: var(--yellow-2); }
.state-grid abbr { text-decoration: none; font-weight: 900; font-size: .76rem; width: 34px; text-align: center; color: #fff; background: var(--yellow); border-radius: 3px; padding: 3px 0; }

/* Content */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' fill='none' stroke='%23ffffff' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.sticky { position: sticky; top: 96px; }
.prose h2 { margin-top: 1.5em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.guarantee { display: flex; gap: 16px; }

/* Forms (light pages) */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-grid .field { margin-bottom: 0; }
label, .label { font-weight: 700; font-size: .9rem; color: var(--dark); }
.hint { font-weight: 400; font-size: .84rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #d9dbe4; border-radius: 6px; padding: 11px 12px; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow-2); box-shadow: 0 0 0 3px rgba(1, 91, 214, .2); }
textarea { resize: vertical; min-height: 110px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--yellow-2); }
.stepper { display: flex; align-items: stretch; }
.stepper button { width: 46px; border: 1px solid #d9dbe4; background: var(--bg); font-size: 1.3rem; font-weight: 700; color: var(--dark); cursor: pointer; }
.stepper button:first-child { border-radius: 6px 0 0 6px; border-right: 0; }
.stepper button:last-child { border-radius: 0 6px 6px 0; border-left: 0; }
.stepper input { border-radius: 0; text-align: center; }
.field-error { color: var(--red); font-size: .86rem; font-weight: 600; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--dark); color: #fff; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
tbody tr:hover { background: #fafbfe; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 0; }
.kv dt { font-weight: 700; color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; white-space: nowrap; background: var(--bg); color: var(--dark); }
.badge-pending_payment, .pay-unpaid { background: var(--amber-soft); color: var(--amber); }
.badge-new { background: var(--blue-soft); color: #243f99; }
.badge-in_progress { background: #eef0ff; color: #3b3fb6; }
.badge-in_review { background: #f3ecff; color: #6b36b3; }
.badge-completed, .pay-paid { background: var(--green-soft); color: #14663a; }
.badge-revision { background: var(--red-soft); color: var(--red); }
.badge-cancelled { background: #eceef2; color: #6b7280; }
.pay-partial { background: var(--amber-soft); color: var(--amber); }

/* FAQ */
.faq details { background: #fff; border-radius: 8px; margin-bottom: 12px; box-shadow: 0 2px 12px rgba(5, 27, 58, .06); }
.faq summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--dark); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--yellow-soft); color: var(--yellow-2); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.faq details[open] summary::after { content: "–"; background: var(--yellow); color: #fff; }
.faq-a { padding: 0 22px 18px; color: var(--muted); font-weight: 300; }

/* Order page */
.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; padding: 32px 16px 80px; }
.form-section { background: #fff; border-radius: 8px; padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow); }
.form-section h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.form-section h2 .num { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; font-weight: 900; }
.summary-card { background: var(--dark); color: #b9bccb; border-radius: 8px; padding: 28px; box-shadow: var(--shadow-lg); }
.summary-card h2 { color: #fff; font-size: 1.15rem; border-bottom: 1px solid #3a3c4a; padding-bottom: 12px; }
.summary-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0 0 16px; font-size: .93rem; }
.summary-card dt { color: #8d91a3; }
.summary-card dd { margin: 0; text-align: right; color: #fff; font-weight: 600; }
.summary-total { border-top: 1px solid #3a3c4a; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; text-transform: uppercase; font-weight: 800; color: #fff; }
.summary-total strong { font-size: 2rem; color: #fff; }
.summary-due { background: var(--dark-3); border-radius: 6px; padding: 10px 12px; margin: 14px 0; display: flex; justify-content: space-between; }
.summary-due b { color: var(--accent-light); }
.plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan-option { position: relative; display: block; border: 2px solid var(--line); border-radius: 8px; padding: 16px 18px; cursor: pointer; background: #fff; font-weight: 400; color: var(--ink); transition: border-color .15s, background .15s; }
.plan-option input { position: absolute; opacity: 0; }
.plan-option strong { display: block; color: var(--dark); font-size: 1rem; text-transform: uppercase; }
.plan-option .amt { font-size: 1.5rem; font-weight: 900; color: var(--dark); }
.plan-option:has(input:checked) { border-color: var(--yellow); background: var(--yellow-soft); }
.plan-option:has(input:focus-visible) { outline: 3px solid var(--yellow); }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .86rem; color: #8d91a3; margin-top: 12px; }

/* Checkout */
.gateway-list { display: grid; gap: 12px; }
.gateway-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 20px; border: 2px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-weight: 800; font-size: 1.05rem; color: var(--dark); cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s; }
.gateway-btn:hover { border-color: var(--yellow); box-shadow: var(--shadow); }
.gateway-btn small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; }
.gw-logo { font-weight: 900; font-size: 1rem; padding: 6px 12px; border-radius: 4px; color: #fff; white-space: nowrap; }
.gw-paypal { background: #003087; }
.gw-paypal i { color: #009cde; font-style: normal; }
.gw-stripe { background: #635bff; }
.gw-nowpayments { background: #111; }

/* Account / order detail */
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.score-num { font-size: 1.8rem; font-weight: 900; line-height: 1.2; }
.status-track { display: flex; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: s; }
.status-track li { flex: 1; text-align: center; position: relative; font-size: .82rem; color: var(--muted); font-weight: 700; padding-top: 38px; }
.status-track li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 900; z-index: 1; }
.status-track li::after { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.status-track li:first-child::after { display: none; }
.status-track li.done { color: var(--dark); }
.status-track li.done::before { background: var(--green); color: #fff; content: "✓"; }
.status-track li.done::after, .status-track li.current::after { background: var(--green); }
.status-track li.current { color: var(--dark); }
.status-track li.current::before { background: var(--yellow); color: #fff; }
.file-list { list-style: none; padding: 0; margin: 0 0 16px; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.file-list a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 700; word-break: break-all; }
.tag { font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.tag-final { background: var(--green-soft); color: #14663a; }

/* ===== Chat: "ExamShark Support" widget ===== */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 90; font-family: var(--font); }
.online-dot { position: absolute; right: 0; bottom: 2px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; border: 2px solid var(--dark); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@media (prefers-reduced-motion: reduce) { .online-dot { animation: none; } }

.chat-launcher { position: relative; display: flex; align-items: center; gap: 12px; background: var(--dark); color: #fff; border: 0; border-radius: 999px; padding: 7px 22px 7px 7px; cursor: pointer; box-shadow: 0 14px 36px rgba(5, 27, 58, .35), inset 0 0 0 2px rgba(90, 157, 255, .9); transition: transform .15s, box-shadow .15s; }
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(5, 27, 58, .42), inset 0 0 0 2px var(--yellow); }
.launcher-avatar { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--dark-2); display: inline-flex; align-items: center; justify-content: center; }
.launcher-avatar img { width: 40px; height: 40px; border-radius: 12px; }
.launcher-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.launcher-text b { font-size: .98rem; font-weight: 800; }
.launcher-text small { font-size: .74rem; color: #3ddc84; font-weight: 700; }
.launcher-badge { position: absolute; top: -6px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.launcher-badge[hidden] { display: none; }
.chat-widget.is-open .chat-launcher { box-shadow: 0 8px 20px rgba(5, 27, 58, .25), inset 0 0 0 2px var(--yellow); }

.chat-teaser { position: absolute; right: 0; bottom: 76px; width: 300px; background: #fff; border-radius: 16px 16px 4px 16px; box-shadow: 0 18px 44px rgba(5, 27, 58, .22); padding: 16px 16px 14px; display: flex; gap: 12px; animation: pop .35s ease-out; }
.chat-teaser[hidden] { display: none; }
.chat-teaser img { border-radius: 10px; flex-shrink: 0; }
.chat-teaser strong { color: var(--dark); }
.chat-teaser p { margin: 2px 0 10px; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.teaser-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.teaser-actions button { border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; background: var(--yellow); color: #fff; }
.teaser-actions button + button { background: var(--dark); color: #fff; }
.teaser-close { position: absolute; top: 8px; right: 8px; background: var(--bg); border: 0; border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

.chat-panel { position: absolute; right: 0; bottom: 78px; width: 390px; max-width: calc(100vw - 32px); height: 620px; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(5, 27, 58, .35); display: flex; flex-direction: column; overflow: hidden; animation: pop .25s ease-out; }
.chat-panel[hidden] { display: none; }
.chat-head { position: relative; background: radial-gradient(circle at 100% 0, rgba(1, 91, 214, .45), transparent 55%), var(--dark); color: #fff; padding: 18px 16px 16px; display: flex; align-items: center; gap: 12px; }
.head-avatar { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.head-avatar img { width: 46px; height: 46px; border-radius: 14px; }
.chat-title { flex: 1; min-width: 0; }
.chat-title strong { display: block; font-size: 1.05rem; font-weight: 900; letter-spacing: .01em; }
.chat-title small { display: block; color: #b9bccb; font-size: .78rem; }
.chat-close { background: rgba(255, 255, 255, .08); border: 0; color: #fff; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.chat-close:hover { background: rgba(255, 255, 255, .18); }

.chat-tabs { display: flex; gap: 4px; background: var(--dark); padding: 0 10px 10px; }
.chat-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: transparent; border: 0; border-radius: 10px; color: #b9bccb; font: inherit; font-size: .82rem; font-weight: 800; padding: 9px 6px; cursor: pointer; white-space: nowrap; }
.chat-tabs button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.chat-tabs button[aria-selected="true"] { background: var(--yellow); color: #fff; }

.chat-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--bg); }
.chat-pane[hidden] { display: none; }
.chat-start, .widget-quote, .widget-track, .my-orders { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-pane[data-pane="order"], .chat-pane[data-pane="track"], .chat-start { overflow-y: auto; }
.chat-start[hidden] { display: none; }
.start-hello, .pane-intro { margin: 0; font-size: .9rem; color: var(--ink); line-height: 1.5; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.topic-chips label { cursor: pointer; }
.topic-chips input { position: absolute; opacity: 0; pointer-events: none; }
.topic-chips span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--ink); transition: all .15s; }
.topic-chips input:checked + span { background: var(--dark); border-color: var(--dark); color: #fff; }
.topic-chips input:focus-visible + span { outline: 3px solid var(--yellow); }
.wf { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.wf input, .wf select { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink); }
.wf input:focus, .wf select:focus { border-color: var(--yellow-2); box-shadow: 0 0 0 3px rgba(1, 91, 214, .2); }
.wf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wf-row > * { min-width: 0; }
.wf-stepper { display: flex; }
.wf-stepper input { border-radius: 0; text-align: center; flex: 1; min-width: 0; }
.wf-stepper button { width: 44px; border: 1.5px solid var(--line); background: #fff; font-size: 1.2rem; font-weight: 800; color: var(--dark); cursor: pointer; }
.wf-stepper button:first-child { border-radius: 10px 0 0 10px; border-right: 0; }
.wf-stepper button:last-child { border-radius: 0 10px 10px 0; border-left: 0; }
.chat-error { color: var(--red); font-size: .85rem; margin: 0; font-weight: 600; }
.chat-error[hidden] { display: none; }
.chat-privacy { display: flex; gap: 6px; align-items: center; font-size: .76rem; color: var(--muted); margin: 0; }
.chat-pane .btn { border-radius: 12px; padding: 12px 18px; font-size: .9rem; }
.quote-total { display: flex; justify-content: space-between; align-items: flex-end; background: var(--dark); color: #fff; border-radius: 14px; padding: 14px 16px; }
.quote-total small { display: block; color: #8d91a3; font-size: .72rem; text-transform: uppercase; font-weight: 700; }
.quote-total strong { font-size: 1.7rem; font-weight: 900; line-height: 1.1; }
.quote-total b { color: var(--accent-light); font-size: 1.05rem; }
.quote-total > div:last-child { text-align: right; }
.my-orders { padding-bottom: 0; }
.my-orders[hidden] { display: none; }
.my-orders-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.my-orders-list a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; text-decoration: none; color: var(--ink); box-shadow: 0 2px 8px rgba(5, 27, 58, .06); }
.my-orders-list a:hover { box-shadow: 0 6px 16px rgba(5, 27, 58, .12); }
.my-orders-list b { color: var(--dark); }
.my-orders-list em { font-style: normal; justify-self: end; }
.my-orders-list span, .my-orders-list small { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); }
.my-orders-list small { color: var(--red); font-weight: 700; }

.chat-box { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-box[hidden] { display: none; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px 14px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg-row { display: flex; gap: 8px; align-items: flex-end; }
.msg-row.mine { justify-content: flex-end; }
.msg-row.system { justify-content: center; }
.msg-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: #fff; font-size: .78rem; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.msg { max-width: 80%; padding: 9px 13px 6px; border-radius: 16px 16px 16px 4px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; background: #fff; box-shadow: 0 1px 4px rgba(5, 27, 58, .07); }
.msg .body { display: block; }
.msg .meta { display: block; font-size: .68rem; color: var(--muted); margin-top: 3px; font-weight: 600; }
.msg.mine { background: var(--dark); color: #fff; border-radius: 16px 16px 4px 16px; }
.msg.mine .meta { color: #8d91a3; text-align: right; }
.msg.system { max-width: 92%; background: var(--yellow-soft); color: var(--dark-2); font-size: .8rem; text-align: center; box-shadow: none; border-radius: 12px; }
.quick-replies { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; background: #fff; border-top: 1px solid var(--line); scrollbar-width: none; }
.quick-replies::-webkit-scrollbar { display: none; }
.quick-replies a, .quick-replies button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .78rem; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.quick-replies a:hover, .quick-replies button:hover { border-color: var(--yellow); background: var(--yellow-soft); color: var(--dark); }
.chat-send { display: flex; gap: 8px; padding: 10px; background: #fff; }
.chat-send textarea { min-height: 44px; max-height: 120px; padding: 11px 14px; resize: none; border-radius: 22px; border: 1.5px solid var(--line); background: var(--bg); }
.chat-send button { background: var(--yellow); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; align-self: flex-end; }
.chat-send button:hover { background: var(--yellow-2); }
.chat-foot { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: .72rem; color: var(--muted); padding: 8px; background: #fff; border-top: 1px solid var(--line); }
.chat-inline { border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; height: 460px; background: #fff; box-shadow: var(--shadow); }
.chat-inline .chat-send { border-top: 1px solid var(--line); }
.chat-empty { color: var(--muted); text-align: center; font-size: .9rem; margin: auto; }

/* Invoice */
.invoice { background: #fff; max-width: 860px; margin: 32px auto; padding: 44px; border-radius: 8px; box-shadow: var(--shadow); position: relative; }
.invoice .logo-text, .invoice .logo > span { color: var(--dark); }
.invoice-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 4px solid var(--yellow); padding-bottom: 20px; margin-bottom: 24px; }
.invoice-head h1 { font-size: 2rem; margin: 0; }
.invoice-meta { text-align: right; }
.invoice-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.invoice-stamp { position: absolute; top: 130px; right: 44px; transform: rotate(-12deg); border: 3px solid; padding: 6px 16px; font-weight: 900; font-size: 1.3rem; letter-spacing: .1em; border-radius: 6px; opacity: .75; }
.stamp-paid { color: var(--green); }
.stamp-partial { color: var(--yellow-2); }
.stamp-unpaid { color: var(--red); }
.invoice-totals { margin-left: auto; width: 320px; max-width: 100%; margin-top: 16px; }
.invoice-totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.invoice-totals .grand { border-top: 2px solid var(--dark); font-weight: 900; font-size: 1.15rem; color: var(--dark); }

/* Auth */
.auth-wrap { max-width: 470px; margin: 56px auto 80px; padding: 0 16px; }
.auth-wrap .card { padding: 36px; border-top: 4px solid var(--yellow); }
.auth-wrap h1 { font-size: 1.7rem; }

/* Footer */
.site-footer { background: var(--dark); color: #9ea2b3; }
.footer-cta { background: linear-gradient(180deg, var(--yellow), var(--yellow-2)); }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.footer-cta h2 { color: #fff; margin: 0 0 4px; }
.footer-cta p { margin: 0; color: #dbe8ff; }
.footer-cta .btn-red { background: var(--dark); color: #fff; box-shadow: none; text-shadow: none; }
.footer-cta .btn-red:hover { background: var(--dark-3); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #9ea2b3; text-decoration: none; font-size: .93rem; }
.site-footer a:hover { color: var(--accent-light); }
.footer-brand p { font-size: .93rem; margin-top: 12px; font-weight: 300; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badges span { background: var(--dark-3); color: #fff; font-weight: 800; font-size: .72rem; padding: 5px 9px; border-radius: 4px; }
.footer-bottom { border-top: 1px solid #2c2d38; padding: 18px 0 90px; font-size: .84rem; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1150px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .site-nav ul a { padding: 8px 7px; font-size: .92rem; }
  .hero-split { grid-template-columns: 1fr 420px; }
  .hero-panel { padding: 24px 24px 30px; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; margin: 0; gap: 12px; border-top: 1px solid #2c2d38; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid #2c2d38; }
  .nav-actions { flex-wrap: wrap; }
  .round-btn { width: auto; border-radius: 999px; padding: 0 16px; gap: 8px; }
  .round-label { display: inline; font-weight: 700; font-size: .9rem; }
  .nav-actions .btn { width: 100%; }
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { min-height: 440px; }
  .hero-copy { padding: 48px 16px; }
  .hero-panel { padding: 32px 16px 40px; }
  .hero-grid, .two-col, .order-layout, .say-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split-banner { grid-template-columns: 1fr; padding: 36px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hide-sm { display: none; }
  .topbar-inner { font-size: .76rem; justify-content: center; }
  .topbar-right { display: none; }
  .header-inner { min-height: 64px; }
  .logo img { height: 42px; }
  .logo b { font-size: 1.3rem; }
  .logo-text, .logo > span { font-size: .74rem; }
  .hero-visual { min-height: 380px; }
  .flag { width: 34px; height: 19px; }
  .hero-points, .exam-cols, .reviews { grid-template-columns: 1fr; }
  .cards-2, .cards-3, .cards-4, .steps, .form-grid, .plan-options, .invoice-cols, .stats-grid { grid-template-columns: 1fr; }
  .mosaic { grid-auto-rows: 130px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .invoice { padding: 22px; margin: 16px; }
  .invoice-head { flex-direction: column; }
  .invoice-meta { text-align: left; }
  .invoice-stamp { top: 16px; right: 16px; font-size: 1rem; }
  .chat-widget { right: 14px; bottom: 14px; }
  .launcher-text { display: none; }
  .chat-launcher { padding: 6px; }
  .chat-teaser { width: calc(100vw - 28px); bottom: 70px; padding: 12px 14px; }
  .chat-teaser p { display: none; }
  .chat-teaser strong { display: block; margin-bottom: 8px; }
  .chat-panel { position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); }
  .chat-head { padding-top: max(16px, env(safe-area-inset-top)); }
  .chat-widget.is-open .chat-launcher { display: none; }
  .chat-tabs button { font-size: .78rem; }
  .wf input, .wf select, .chat-send textarea { font-size: 16px; }
  .status-track li { font-size: .68rem; }
  .paper-sheet { padding: 26px 20px; }
  .calc-card .btn-yellow { width: calc(100% - 24px); min-width: 0; }
}

@media print {
  .topbar, .site-header, .site-footer, .chat-widget, .no-print, .breadcrumbs { display: none !important; }
  .invoice { box-shadow: none; margin: 0; }
}
