/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C99A2E;
  --gold-dark: #A07820;
  --gold-light: #FDF4E0;
  --gold-pale: #FFFBF0;
  --black: #1A1A1A;
  --gray-800: #333;
  --gray-600: #555;
  --gray-400: #888;
  --gray-200: #E8E8E8;
  --gray-100: #F5F5F5;
  --white: #fff;
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --radius: 8px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--black); background: var(--white); font-size: 16px; line-height: 1.6; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--black); color: #aaa;
  font-size: 0.78rem; text-align: center; padding: 0.45rem 1rem; letter-spacing: 0.03em;
}
.top-bar span { color: var(--gold); font-weight: 700; }

/* ── NAV ── */
.site-nav {
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  padding: 0 3rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; cursor: pointer; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--black); line-height: 1.15; }
.nav-logo-text small { display: block; font-size: 0.62rem; font-weight: 600; color: var(--gold-dark); letter-spacing: 0.09em; text-transform: uppercase; }

.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  text-decoration: none; color: var(--gray-800);
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 700;
  padding: 0 1.1rem; height: 68px; display: flex; align-items: center; gap: 0.3rem;
  border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold-dark); border-bottom-color: var(--gold); }

/* Dropdown arrow */
.nav-links > li > a .arrow {
  width: 10px; height: 10px; display: inline-block;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s;
}
.nav-links > li:hover > a .arrow { transform: rotate(-135deg) translateY(-2px); }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: calc(100% + 2px); left: 0;
  background: var(--white); border: 1px solid var(--gray-200);
  border-top: 2px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius);
  min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 200;
}
.nav-links > li:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 0.75rem 1.25rem;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--gray-800);
  text-decoration: none; border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--gold-pale); color: var(--gold-dark); }
.dropdown a.active { color: var(--gold-dark); background: var(--gold-pale); }

/* CTA button in nav */
.nav-cta {
  background: var(--gold) !important; color: var(--black) !important;
  border-radius: 4px; padding: 0 1.2rem !important;
  height: 38px !important; border-bottom: none !important;
  font-weight: 800 !important; font-size: 0.82rem !important;
  transition: background 0.15s !important; margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ── HERO ── */
.hero {
  background: var(--black); min-height: 420px;
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 4rem 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  width: 100%; position: relative; z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.hero-eyebrow::before { content: ''; display: inline-block; width: 22px; height: 2px; background: var(--gold); }
.hero h1 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 1.1rem;
}
.hero h1 span { color: var(--gold); }
.hero-desc { color: #aaa; font-size: 1rem; line-height: 1.75; margin-bottom: 2rem; max-width: 440px; }
.hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold); color: var(--black); padding: 0.8rem 1.75rem;
  border-radius: 4px; font-family: var(--font-head); font-weight: 800; font-size: 0.88rem;
  text-decoration: none; border: none; cursor: pointer; transition: background 0.15s;
}
.btn-primary:hover { background: var(--gold-dark); color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--white); padding: 0.8rem 1.75rem;
  border-radius: 4px; font-family: var(--font-head); font-weight: 700; font-size: 0.88rem;
  border: 1.5px solid rgba(255,255,255,0.25); cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-pillars { display: flex; flex-direction: column; gap: 0.7rem; }
.pillar {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(201,154,46,0.2);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.pillar-icon {
  width: 38px; height: 38px; border-radius: 6px; background: rgba(201,154,46,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pillar-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-title { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--white); }
.pillar-sub { font-size: 0.76rem; color: #777; margin-top: 0.1rem; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--gold-light); border-bottom: 1px solid #e8d8a0; padding: 0.875rem 3rem; }
.trust-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.45rem; font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; color: var(--gray-800); }
.trust-item svg { width: 15px; height: 15px; stroke: var(--gold-dark); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── SHARED SECTION STYLES ── */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 4rem 3rem; }
.section-header { margin-bottom: 2.25rem; }
.section-header h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--black); margin-bottom: 0.4rem; }
.section-header p { color: var(--gray-600); font-size: 0.95rem; max-width: 580px; }
.gold-bar { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 0.75rem; }

/* ── ABOUT STRIP ── */
.about-strip { background: var(--gray-100); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.about-strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 3.5rem 3rem;
  display: grid; grid-template-columns: 1fr 2fr; gap: 3.5rem; align-items: center;
}
.about-label { font-family: var(--font-head); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.75rem; }
.about-strip h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--black); line-height: 1.25; }
.about-strip p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.75; margin-bottom: 0.85rem; }
.about-strip p:last-child { margin-bottom: 0; }

/* ── OFFERINGS GRID ── */
.offerings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.offering-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.offering-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.07); border-color: #e8d8a0; }
.offering-icon {
  width: 46px; height: 46px; background: var(--gold-light); border-radius: 8px;
  border: 1px solid #e8d8a0; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.offering-icon svg { width: 22px; height: 22px; stroke: var(--gold-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.offering-card h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 800; color: var(--black); margin-bottom: 0.45rem; }
.offering-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.65; }

/* ── ABOUT PAGE ── */
.about-page-header {
  background: linear-gradient(135deg, var(--black) 0%, #221A08 100%);
  padding: 4rem 3rem 3rem;
}
.about-page-header-inner { max-width: 1200px; margin: 0 auto; }
.about-page-header h1 { font-family: var(--font-head); font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 0.65rem; }
.about-page-header p { color: #999; font-size: 0.95rem; max-width: 600px; }

.about-content { max-width: 900px; margin: 0 auto; padding: 4rem 3rem; }
.about-content h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--black); margin-bottom: 1rem; }
.about-content p { color: var(--gray-600); font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; }

/* ── PRODUCTS PAGE ── */
.products-page-header {
  background: linear-gradient(135deg, var(--black) 0%, #221A08 100%);
  padding: 4rem 3rem 3rem;
}
.products-page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-eyebrow { font-family: var(--font-head); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.65rem; }
.products-page-header h1 { font-family: var(--font-head); font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 0.65rem; }
.products-page-header p { color: #999; font-size: 0.95rem; max-width: 600px; }

/* Sub-tab navigation */
.subtab-bar {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 0 3rem; position: sticky; top: 68px; z-index: 90;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.subtab-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 0; }
.subtab {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700;
  color: var(--gray-600); padding: 1rem 1.25rem;
  border-bottom: 3px solid transparent; cursor: pointer;
  transition: color 0.15s, border-color 0.15s; background: none; border-top: none; border-left: none; border-right: none;
}
.subtab:hover { color: var(--gold-dark); }
.subtab.active { color: var(--gold-dark); border-bottom-color: var(--gold); }

/* Workbook cards */
.subpage { display: none; }
.subpage.active { display: block; }

.wb-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 1.75rem;
  display: grid; grid-template-columns: 240px 1fr;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: box-shadow 0.2s;
}
.wb-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); }
.wb-cover {
  min-height: 260px; position: relative; overflow: hidden;
  background: var(--gray-100);
}
.wb-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.wb-info { padding: 1.75rem 2rem; display: flex; flex-direction: column; }
.wb-vol-badge {
  display: inline-block; background: var(--gold-pale); color: var(--gold-dark);
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 800;
  border: 1px solid #e8d8a0; border-radius: 20px;
  padding: 0.2rem 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.65rem;
}
.wb-info h2 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--black); margin-bottom: 0.45rem; }
.wb-info .desc { color: var(--gray-600); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.1rem; }
.topics-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.topic-pill {
  font-size: 0.72rem; font-family: var(--font-head); font-weight: 700;
  background: var(--gray-100); color: var(--gray-800);
  border: 1px solid var(--gray-200); border-radius: 20px; padding: 0.2rem 0.65rem;
}
.wb-cta { margin-top: auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.btn-enquire {
  background: var(--gold); color: var(--black); padding: 0.65rem 1.5rem;
  border-radius: 4px; font-family: var(--font-head); font-weight: 800; font-size: 0.85rem;
  border: none; cursor: pointer; transition: background 0.15s;
}
.btn-enquire:hover { background: var(--gold-dark); color: var(--white); }
.btn-sample {
  background: transparent; color: var(--black); padding: 0.62rem 1.4rem;
  border-radius: 4px; font-family: var(--font-head); font-weight: 800; font-size: 0.85rem;
  border: 2px solid var(--black); cursor: pointer; transition: background 0.15s, color 0.15s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.btn-sample:hover { background: var(--black); color: var(--white); }
.wb-level { font-size: 0.75rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.07em; }

/* ── CONTACT PAGE ── */
.contact-pg-header { background: var(--gray-100); border-bottom: 1px solid var(--gray-200); padding: 3rem 3rem 2rem; }
.contact-pg-header-inner { max-width: 1200px; margin: 0 auto; }
.contact-pg-header h1 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--black); margin-bottom: 0.35rem; }
.contact-pg-header p { color: var(--gray-600); font-size: 0.95rem; }

.contact-body { max-width: 1200px; margin: 0 auto; padding: 2.5rem 3rem; display: grid; grid-template-columns: 1fr 1.7fr; gap: 2.5rem; }

.contact-sidebar h2 { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--black); margin-bottom: 1rem; }
.contact-detail {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.875rem 1rem; background: var(--gray-100); border-radius: var(--radius);
  margin-bottom: 0.65rem; border: 1px solid var(--gray-200);
}
.contact-detail-icon {
  width: 34px; height: 34px; background: var(--gold-light); border-radius: 6px; border: 1px solid #e8d8a0;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-icon svg { width: 15px; height: 15px; stroke: var(--gold-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail strong { font-family: var(--font-head); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gray-800); display: block; margin-bottom: 0.1rem; }
.contact-detail span,
.contact-detail a { font-size: 0.85rem; color: var(--gray-600); text-decoration: none; }
.contact-detail a:hover { color: var(--gold-dark); text-decoration: underline; }

.bulk-note { margin-top: 1.25rem; padding: 1.1rem; background: var(--gold-pale); border: 1px solid #e8d8a0; border-radius: var(--radius); }
.bulk-note strong { font-family: var(--font-head); font-size: 0.82rem; font-weight: 800; color: var(--black); display: block; margin-bottom: 0.3rem; }
.bulk-note p { font-size: 0.8rem; color: var(--gray-600); line-height: 1.6; }

.contact-form-box { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 1.75rem; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.contact-form-box h2 { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--black); margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: var(--font-head); font-size: 0.7rem; font-weight: 800; color: var(--gray-800); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.07em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--gray-200); border-radius: 5px;
  font-family: var(--font-body); font-size: 0.875rem; color: var(--black);
  background: var(--white); outline: none; transition: border-color 0.15s; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; background: var(--gold); color: var(--black); padding: 0.8rem;
  border: none; border-radius: 5px; font-family: var(--font-head); font-size: 0.9rem; font-weight: 800;
  cursor: pointer; transition: background 0.15s;
}
.btn-submit:hover { background: var(--gold-dark); color: var(--white); }
.success-msg {
  display: none; margin-top: 0.875rem;
  background: #F0FBF4; border: 1px solid #A8D8B8;
  padding: 0.8rem 1rem; border-radius: 5px;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: #2D6A4F;
}

/* ── FOOTER ── */
.site-footer { background: var(--black); border-top: 2px solid var(--gold); padding: 1.75rem 3rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.footer-logo img { height: 32px; opacity: 0.85; }
.footer-logo span { font-family: var(--font-head); font-size: 0.95rem; font-weight: 800; color: var(--white); }
.footer-copy { font-size: 0.78rem; color: #666; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.8rem; color: #777; text-decoration: none; font-family: var(--font-head); font-weight: 600; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold); }

/* ── ANSWER KEY BUTTON (Products page) ── */
.btn-answerkey {
  background: transparent; color: var(--gold-dark); padding: 0.62rem 1.4rem;
  border-radius: 5px; text-decoration: none; font-family: var(--font-head); font-size: 0.82rem; font-weight: 800;
  border: 2px solid var(--gold); cursor: pointer; transition: background 0.15s, color 0.15s;
}
.btn-answerkey:hover { background: var(--gold); color: var(--black); }

/* ── ANSWER KEY VIEWER PAGE ── */
.viewer-header {
  background: linear-gradient(135deg, var(--black) 0%, #221A08 100%);
  padding: 2.25rem 3rem 1.5rem;
}
.viewer-header-inner { max-width: 1000px; margin: 0 auto; }
.viewer-header h1 { font-family: var(--font-head); color: var(--white); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.4rem; }
.viewer-header p { color: #c9c9c9; font-size: 0.88rem; }
.viewer-notice {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--gold-pale); border: 1px solid #e8d8a0; border-radius: var(--radius);
  padding: 0.75rem 1.1rem; margin: 1.25rem auto 0; max-width: 1000px;
  font-size: 0.82rem; color: var(--gray-800);
}
.viewer-notice svg { width: 18px; height: 18px; stroke: var(--gold-dark); fill: none; stroke-width: 2; flex-shrink: 0; }

.viewer-wrap {
  max-width: 1000px; margin: 0 auto; padding: 2rem 1.5rem 4rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  user-select: none; -webkit-user-select: none;
}
.viewer-page-canvas {
  max-width: 100%; height: auto; box-shadow: 0 4px 18px rgba(0,0,0,0.12); border-radius: 4px;
}
.viewer-loading {
  text-align: center; padding: 4rem 1rem; color: var(--gray-600); font-family: var(--font-head); font-weight: 700;
}
.viewer-loading .spinner {
  width: 32px; height: 32px; border: 3px solid var(--gray-200); border-top-color: var(--gold);
  border-radius: 50%; margin: 0 auto 1rem; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.viewer-error { text-align: center; padding: 3rem 1rem; color: var(--gray-600); }
.viewer-error a { color: var(--gold-dark); font-weight: 700; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE / MOBILE
   ══════════════════════════════════════════════════════ */

/* ── Hamburger button (hidden on desktop) ── */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2.5px; background: var(--black);
  border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Tablet & mobile (≤ 880px) ── */
@media (max-width: 880px) {

  /* Nav becomes a hamburger-triggered dropdown panel */
  .site-nav { padding: 0 1.25rem; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 2px solid var(--gold);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12); padding: 0.4rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    height: auto; width: 100%; padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--gray-100); border-left: 3px solid transparent;
  }
  .nav-links > li > a:hover,
  .nav-links > li > a.active { border-bottom-color: var(--gray-100); border-left-color: var(--gold); background: var(--gold-pale); }
  .nav-cta {
    margin: 0.5rem 1.5rem 0.25rem !important; height: 44px !important;
    justify-content: center; border-radius: 5px !important;
  }
  /* Dropdown duplicates the Products link target — simplest to hide on mobile rather than build a tap-to-expand panel */
  .dropdown { display: none !important; }
  .nav-links > li > a .arrow { display: none; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; gap: 2rem; }
  .hero-desc { max-width: none; }

  /* Section wraps & page headers */
  .section-wrap,
  .about-content,
  .contact-body { padding: 2.5rem 1.25rem; }
  .about-page-header,
  .products-page-header,
  .contact-pg-header,
  .viewer-header { padding: 2.5rem 1.25rem 2rem; }
  .subtab-bar { padding: 0 1.25rem; }

  /* Grids stack to a single column */
  .offerings-grid { grid-template-columns: 1fr; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 1.25rem; }
  .contact-body { grid-template-columns: 1fr; }

  /* Workbook cards: image on top, info below */
  .wb-card { grid-template-columns: 1fr; }
  .wb-cover { min-height: 220px; }
  .wb-cta { flex-direction: column; align-items: stretch; }
  .wb-cta .btn-enquire,
  .wb-cta .btn-sample,
  .wb-cta .btn-answerkey { width: 100%; text-align: center; justify-content: center; }
  .wb-cta .wb-level { text-align: center; }

  /* PDF viewer */
  .viewer-wrap { padding: 1.5rem 1rem 3rem; }
  .viewer-notice { flex-wrap: wrap; }

  /* Footer */
  .site-footer { padding: 1.75rem 1.25rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
  .top-bar { font-size: 0.68rem; padding: 0.4rem 0.6rem; }
  .nav-logo img { height: 36px; }
  .nav-logo-text { font-size: 1rem; }

  .form-row { grid-template-columns: 1fr; }

  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { text-align: center; }
}

/* ── ORDER NOW BUTTON (Products page) ── */
.btn-ordernow {
  background: var(--gold); color: var(--black);
  padding: 0.65rem 1.5rem; border-radius: 4px;
  font-family: var(--font-head); font-weight: 800; font-size: 0.85rem;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: background 0.15s;
  -webkit-appearance: none; appearance: none; line-height: 1; min-height: 44px;
}
.btn-ordernow:hover { background: var(--gold-dark); color: var(--white); }

/* ══════════════════════════════════════════════════════
   ORDER PAGE  —  mobile-first
   ══════════════════════════════════════════════════════ */

.order-page-header {
  background: linear-gradient(135deg, var(--black) 0%, #221A08 100%);
  padding: 2.5rem 1.25rem 2rem;
}
.order-page-header-inner { max-width: 1100px; margin: 0 auto; }
.order-page-header h1 { font-family: var(--font-head); font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 0.5rem; }
.order-page-header p { color: #999; font-size: 0.9rem; }

/* ── Layout: single column mobile, two-column desktop ── */
.order-layout {
  max-width: 1100px; margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}

/* ── Shared section labels ── */
.order-region-badge {
  display: inline-block; background: var(--gold-pale); color: var(--gold-dark);
  border: 1px solid #e8d8a0; border-radius: 20px;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 800;
  padding: 0.2rem 0.75rem; text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 0.6rem;
}
.order-section-label h2 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--black); margin-bottom: 0.35rem; }
.order-section-label p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.1rem; }

/* ── Form box ── */
.order-form-box {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ── Fieldsets ── */
.order-fieldset {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  padding: 0.9rem 1rem; margin-bottom: 1.1rem;
}
.order-fieldset legend {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 800;
  color: var(--gray-800); text-transform: uppercase; letter-spacing: 0.07em; padding: 0 0.4rem;
}
.fieldset-hint { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 0.75rem; }
.req { color: #c0392b; }

/* ── Module rows ── */
.module-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); min-height: 52px;
}
.module-row:last-child { border-bottom: none; padding-bottom: 0; }

.module-check-label {
  display: flex; align-items: center; gap: 0.75rem; cursor: pointer; flex: 1; min-width: 0;
}
.module-check-label input[type="checkbox"] { display: none; }
.module-check-box {
  width: 22px; height: 22px; border: 2px solid var(--gray-200); border-radius: 5px;
  flex-shrink: 0; transition: background 0.15s, border-color 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.module-check-label input[type="checkbox"]:checked + .module-check-box {
  background: var(--gold); border-color: var(--gold);
}
.module-check-label input[type="checkbox"]:checked + .module-check-box::after {
  content: ''; display: block; width: 5px; height: 9px;
  border: 2.5px solid var(--black); border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.module-info { flex: 1; min-width: 0; }
.module-name { font-family: var(--font-head); font-size: 0.9rem; font-weight: 800; color: var(--black); display: block; }
.module-price { font-size: 0.76rem; font-weight: 700; color: var(--gold-dark); display: block; margin-top: 1px; }

/* ── Qty stepper ── */
.qty-stepper {
  display: flex; align-items: center; flex-shrink: 0;
  opacity: 0.3; pointer-events: none; transition: opacity 0.15s;
}
.module-row:has(.module-check-label input:checked) .qty-stepper { opacity: 1; pointer-events: auto; }
.qty-btn {
  width: 36px; height: 36px; background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 4px; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: var(--gray-800);
  transition: background 0.1s; -webkit-appearance: none; appearance: none;
}
.qty-btn:hover { background: var(--gold-light); }
.qty-stepper input[type="number"] {
  width: 42px; text-align: center;
  border: 1px solid var(--gray-200); border-left: none; border-right: none; border-radius: 0;
  padding: 0; height: 36px; font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  color: var(--black); background: var(--white);
  -moz-appearance: textfield; appearance: textfield;
}
.qty-stepper input[type="number"]::-webkit-inner-spin-button,
.qty-stepper input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ── Delivery options ── */
.delivery-option {
  display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer;
  padding: 0.9rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 0.6rem; transition: border-color 0.15s, background 0.15s; min-height: 52px;
}
.delivery-option:has(input:checked) { border-color: var(--gold); background: var(--gold-pale); }
.delivery-option input[type="radio"] { display: none; }
.delivery-radio-box {
  width: 20px; height: 20px; border: 2px solid var(--gray-200); border-radius: 50%;
  flex-shrink: 0; margin-top: 2px; transition: border-color 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.delivery-option:has(input:checked) .delivery-radio-box { border-color: var(--gold); }
.delivery-option:has(input:checked) .delivery-radio-box::after {
  content: ''; display: block; width: 9px; height: 9px;
  background: var(--gold); border-radius: 50%;
}
.delivery-option-text strong { font-family: var(--font-head); font-size: 0.9rem; font-weight: 800; color: var(--black); display: block; }
.delivery-option-text small { font-size: 0.76rem; color: var(--gray-600); }
.address-wrap { display: none; margin-top: 0.75rem; }

/* ── Order summary box ── */
.order-summary-box {
  background: var(--black); border-radius: var(--radius);
  padding: 1.25rem; color: var(--white);
}
.summary-title {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 800;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.summary-empty { text-align: center; padding: 1rem 0; color: #666; font-size: 0.82rem; }
.summary-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.35rem 0; font-size: 0.85rem;
}
.summary-line-label { color: #aaa; }
.summary-line-qty { color: #777; font-size: 0.78rem; margin-left: 0.25rem; }
.summary-line-amount { font-family: var(--font-head); font-weight: 700; color: var(--white); white-space: nowrap; }
.summary-divider { border: none; border-top: 1px solid #2a2a2a; margin: 0.6rem 0; }
.summary-subtotal-line {
  display: flex; justify-content: space-between; padding: 0.35rem 0; font-size: 0.85rem;
}
.summary-subtotal-label { color: #aaa; }
.summary-subtotal-amount { font-family: var(--font-head); font-weight: 700; color: var(--white); }

/* Bundle discount block */
.summary-bundle {
  background: rgba(200,160,0,0.1); border: 1px solid rgba(200,160,0,0.25);
  border-radius: 6px; padding: 0.65rem 0.75rem; margin: 0.5rem 0;
}
.summary-bundle-header {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.85rem;
}
.summary-bundle-label { color: var(--gold); font-family: var(--font-head); font-weight: 700; }
.summary-bundle-saving { font-family: var(--font-head); font-weight: 800; color: #6fcf6f; white-space: nowrap; }
.summary-bundle-detail { font-size: 0.74rem; color: #888; margin-top: 0.25rem; }
.summary-bundle-was { text-decoration: line-through; color: #666; }

/* Delivery line */
.summary-delivery-line {
  display: flex; justify-content: space-between; padding: 0.35rem 0; font-size: 0.85rem;
}
.summary-delivery-label { color: #aaa; }
.summary-delivery-amount { font-family: var(--font-head); font-weight: 700; color: var(--white); }

/* Total line */
.summary-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 0.75rem; margin-top: 0.25rem; border-top: 1px solid #333;
}
.summary-total-label { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; color: var(--white); }
.summary-total-amount { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--gold); }

/* Validation error */
.order-error {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 700;
  color: #e74c3c; min-height: 1.2rem; margin-bottom: 0.5rem;
}

/* WhatsApp button */
.btn-whatsapp {
  width: 100%; background: #25D366; color: var(--white);
  padding: 1rem; border: none; border-radius: 5px; margin-top: 1rem;
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 800;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  transition: background 0.15s; min-height: 52px; -webkit-appearance: none; appearance: none;
}
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Caribbean placeholder */
.order-caribbean-section { margin-top: 0.5rem; }
.caribbean-placeholder {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.75rem 1.25rem; text-align: center; margin-top: 1rem;
}
.caribbean-placeholder-icon {
  width: 48px; height: 48px; background: var(--gold-light); border: 1px solid #e8d8a0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.9rem;
}
.caribbean-placeholder-icon svg { width: 20px; height: 20px; stroke: var(--gold-dark); fill: none; stroke-width: 2; stroke-linecap: round; }
.caribbean-placeholder h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--black); margin-bottom: 0.5rem; }
.caribbean-placeholder p { font-size: 0.83rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.1rem; }
.btn-ghost-dark {
  display: inline-block; background: transparent; color: var(--black);
  padding: 0.6rem 1.4rem; border-radius: 4px; border: 1.5px solid var(--gray-400);
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 800;
  text-decoration: none; transition: border-color 0.15s;
}
.btn-ghost-dark:hover { border-color: var(--black); }

/* ── Desktop: two-column layout ── */
@media (min-width: 900px) {
  .order-layout { flex-direction: row; align-items: flex-start; padding: 2.5rem 2rem 5rem; gap: 2.5rem; }
  .order-form-col { flex: 1.3; min-width: 0; }
  .order-summary-col { flex: 1; position: sticky; top: 80px; }
  .order-page-header { padding: 4rem 3rem 3rem; }
  .order-form-box { padding: 1.75rem; }
  .order-fieldset { padding: 1.1rem 1.25rem; }
  .order-summary-box { padding: 1.5rem; }

  /* On desktop, products page Order Now button stays inline */
  .wb-cta .btn-ordernow { width: auto; }
}

/* ── Mobile: products page Order Now stacks full width ── */
@media (max-width: 880px) {
  .wb-cta .btn-ordernow { width: 100%; justify-content: center; }
}

/* Show correct summary instance per viewport */
.order-summary-mobile { display: block; margin-top: 1.25rem; }
.order-summary-col { display: none; }

@media (min-width: 900px) {
  .order-summary-mobile { display: none; }
  .order-summary-col { display: block; }
}
