/* ==========================================================================
   Writers Hub - Master Design System
   Universal Stylesheet for All Pages
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --navy: #081d3c;
  --navy-dark: #051329;
  --navy-light: #0e2b58;
  --blue: #12499a;
  --blue-hover: #0c3674;
  --blue-light: #2563eb;
  --blue-soft: #edf4ff;
  --gold: #d49c28;
  --gold-hover: #b8831b;
  --gold-soft: #fef7e6;
  --gold-border: #f3d48d;
  --ink: #0f172a;
  --ink-light: #334155;
  --muted: #64748b;
  --paper: #f8fafc;
  --white: #ffffff;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --success: #10b981;
  --success-soft: #ecfdf5;
  
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(9, 39, 83, 0.08), 0 2px 6px -1px rgba(9, 39, 83, 0.04);
  --shadow-lg: 0 20px 38px -6px rgba(9, 39, 83, 0.13), 0 8px 16px -2px rgba(9, 39, 83, 0.06);
  --shadow-float: 0 12px 30px rgba(18, 73, 154, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-alt {
  background-color: var(--white);
}

.section-navy {
  background-color: var(--navy);
  color: var(--white);
}

/* Announcement Bar */
.announcement-bar {
  background: var(--navy-dark);
  color: #bfdbfe;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: center;
  min-height: 48px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 12px;
  flex-wrap: wrap;
}

.announcement-bar strong {
  color: var(--gold);
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Header & Sticky Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 96px;
  gap: clamp(18px, 2vw, 36px);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  flex: 0 0 190px;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.brand-logo span {
  font-size: 1.7rem;
  color: var(--navy);
  margin-left: 1.55rem;
}

.brand-tagline {
  display: block;
  max-width: 190px;
  font-family: var(--font-body);
  font-size: 0.59rem !important;
  line-height: 1.3;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 7px 0 0 !important;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.35vw, 24px);
  white-space: nowrap;
}

.nav-link {
  font-size: clamp(0.82rem, 0.9vw, 0.93rem);
  font-weight: 600;
  color: var(--ink-light);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--navy);
  font-size: 1.25rem;
}

.mobile-menu-drawer {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  padding: 18px 24px 24px;
  box-shadow: var(--shadow-lg);
}

.mobile-menu-drawer.open {
  display: flex;
}

.mobile-menu-drawer .nav-link {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.mobile-menu-drawer .btn-group {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(18, 73, 154, 0.28);
}

.btn-primary:hover {
  background-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 73, 154, 0.35);
  color: var(--white);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-blue {
  background-color: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline-blue:hover {
  background-color: var(--blue-soft);
  color: var(--blue-hover);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #1eb857;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

/* Eyebrows & Typography Details */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 12px;
}

.eyebrow-blue {
  color: var(--blue);
}

.eyebrow-light {
  color: #9ec5ff;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: inherit;
  font-weight: 700;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 640px;
}

.section-navy .section-subtitle {
  color: #c9daf0;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 85% 20%, #15396b 0%, var(--navy) 65%);
  color: var(--white);
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.02), 0 0 0 120px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: #dbeaff;
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 0.88rem;
  color: #bfdbfe;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.trust-chip svg {
  color: var(--gold);
}

/* Hero Media / Floating Card */
.hero-media-wrap {
  position: relative;
}

.hero-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  height: 480px;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Image crops are matched to the supplied photography, rather than forcing every photo
   into one frame. This keeps the athlete, editor, and papers in view at all screen sizes. */
.hero-img-box--athlete {
  height: auto;
  aspect-ratio: 16 / 11;
}

.hero-img-box--athlete img {
  object-position: 67% center;
}

.hero-img-box--editing {
  height: auto;
  aspect-ratio: 4 / 3;
}

.hero-img-box--editing img {
  object-position: left center;
}

/* Privacy policy */
.legal-hero {
  padding: 86px 0 70px;
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 65%);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 12px 0 10px;
  color: var(--navy);
}

.legal-hero p {
  color: var(--muted);
  margin: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: center;
  gap: 60px;
}

.legal-aside {
  align-self: start;
  position: sticky;
  top: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fbff;
  color: var(--navy);
}

.legal-aside a {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.legal-content article {
  color: var(--ink-light);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-content article > p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.legal-content h2 {
  margin: 38px 0 10px;
  color: var(--navy);
  font-size: 1.35rem;
}

.legal-content a { color: var(--blue); font-weight: 700; }

@media (max-width: 768px) {
  .legal-hero { padding: 58px 0 48px; }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-aside { position: static; }
}


.floating-badge {
  position: absolute;
  background: rgba(8, 29, 60, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.floating-badge.bottom-left {
  bottom: -20px;
  left: -20px;
}

.floating-badge.top-right {
  top: 20px;
  right: -15px;
}

.badge-stat {
  font-size: 1.65rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--gold);
  line-height: 1;
}

.badge-label {
  font-size: 0.78rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: 4px;
}

/* Page Banner (for subpages) */
.page-banner {
  background: radial-gradient(circle at 90% 10%, #15396b 0%, var(--navy) 70%);
  color: var(--white);
  padding: 68px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-banner h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: -0.04em;
  margin: 10px 0 14px;
  line-height: 1.08;
}

.page-banner p {
  font-size: 1.15rem;
  color: #dbeaff;
  max-width: 660px;
}

/* Supported Platform Ribbon */
.platform-ribbon {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.platform-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.platform-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.platform-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--transition);
}

.platform-pill:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
}

/* Cards & Grid Systems */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--navy);
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Highlight Featured Card */
.card-featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.card-featured h3 {
  color: var(--white);
}

.card-featured p {
  color: #c9daf0;
}

.card-featured .card-tag {
  background: rgba(212, 156, 40, 0.2);
  color: var(--gold);
}

/* Interactive Deadline Triage Tool */
.triage-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.triage-header {
  text-align: center;
  margin-bottom: 28px;
}

.triage-header h3 {
  font-size: 1.65rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.triage-header p {
  color: var(--muted);
  font-size: 0.96rem;
}

.triage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-select,
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: var(--transition);
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(18, 73, 154, 0.12);
}

/* Comparison Section (Before & After) */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.comparison-col {
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
}

.comparison-bad {
  background: #fff8f8;
  border: 1px solid #fed7d7;
}

.comparison-bad h4 {
  color: #c53030;
  font-size: 1.4rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-good {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy-light);
  box-shadow: var(--shadow-lg);
}

.comparison-good h4 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.comparison-bad li span.icon {
  color: #e53e3e;
  font-weight: 700;
  flex-shrink: 0;
}

.comparison-good li span.icon {
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}

/* Subjects & Coverage Grid */
.subject-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.subject-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.subject-card h4 {
  font-size: 1.18rem;
  color: var(--blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subject-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-light);
  font-size: 0.9rem;
}

.subject-card ul li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  margin-right: 8px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.24s ease;
  color: var(--blue);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding-bottom: 22px;
  transition: max-height 0.35s ease-in;
}

/* Contact Hub Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.contact-card-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sidebar-widget.navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Floating WhatsApp Sticky Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-float);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-3px) scale(1.02);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #c7d9ee;
  padding: 68px 0 32px;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .brand-logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand .brand-logo span {
  color: var(--gold);
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-media-wrap {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .subject-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .triage-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .comparison-container {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .triage-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .floating-badge {
    position: static;
    margin-top: 14px;
  }
  
  .floating-whatsapp span.btn-label {
    display: none;
  }
  
  .floating-whatsapp {
    padding: 14px;
    border-radius: 50%;
  }
}
/* Student Success refresh */
.success-hero { min-height: auto; }
.success-badge { max-width: 250px; }
.success-badge .badge-stat { font-size: clamp(1.1rem, 2.2vw, 1.65rem); }
.pathway-strip { background: var(--navy); border-top: 1px solid rgba(255,255,255,.14); }
.pathway-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pathway-grid a { color: #fff; padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.14); display: grid; gap: 8px; transition: background .2s ease, transform .2s ease; }
.pathway-grid a:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.pathway-grid a:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.pathway-grid span { color: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .12em; }
.pathway-grid strong { font-family: var(--font-display); font-size: 1.18rem; }
.pathway-grid small { color: rgba(255,255,255,.7); }
.split-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 7vw, 90px); align-items: center; }
.split-intro .section-title { margin-bottom: 0; }
.text-link { color: var(--blue); font-weight: 800; display: inline-flex; margin-top: 14px; }
.text-link-light { color: #fff; }
.success-card-grid .card, .audience-card, .story-card { height: 100%; }
.success-card-grid .card { display: flex; flex-direction: column; align-items: flex-start; }
.success-card-grid .text-link { margin-top: auto; padding-top: 20px; }
.audience-card { text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.audience-card:hover, .story-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(8,31,64,.12); }
.audience-card > span { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; }
.standards-grid, .free-tools-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: clamp(36px, 7vw, 90px); align-items: center; }
.standards-list { border: 1px solid rgba(255,255,255,.18); }
.standards-list div { padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 90px 1fr; gap: 18px; }
.standards-list div:last-child { border-bottom: 0; }
.standards-list strong { color: var(--gold); }
.standards-list span { color: rgba(255,255,255,.8); }
.story-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.story-card strong { color: var(--blue); margin-top: auto; padding-top: 18px; }
.center-action { text-align: center; margin-top: 36px; }
.mini-tool-list { border-top: 1px solid var(--line); }
.mini-tool-list a { display: grid; gap: 5px; padding: 22px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.mini-tool-list strong { color: var(--navy); font-size: 1.05rem; }
.mini-tool-list span { color: var(--muted); }
.final-cta { background: var(--navy); color: #fff; }
.final-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; }
.final-cta h2 { color: #fff; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.02; margin: 10px 0 14px; }
.final-cta p { color: rgba(255,255,255,.75); max-width: 680px; }
.narrow { max-width: 900px; }
.standards-hero { padding-block: clamp(70px, 10vw, 130px); }
.about-hero { padding-block: clamp(80px, 11vw, 150px); }
.prose-page { font-size: 1.05rem; line-height: 1.8; }
.prose-page > h2 { color: var(--navy); font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 46px 0 12px; }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 38px 0; }
.principles-grid article { background: var(--cream, #f7f2e8); border: 1px solid var(--line); padding: clamp(24px, 4vw, 38px); }
.principles-grid h3 { color: var(--navy); margin-bottom: 18px; }
.principles-grid ul { padding-left: 20px; }
.principles-grid li { margin-bottom: 10px; }
.principles-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.principles-grid--compact article { min-height: 210px; }
.principles-grid--compact p { margin: 0; color: var(--muted); }
.principles-grid--compact .card-num { display: block; margin-bottom: 18px; }
.integrity-cta { background: var(--navy); color: #fff; padding: clamp(28px, 5vw, 48px); margin-top: 52px; }
.integrity-cta h3 { color: #fff; font-size: 1.6rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.65); font-size: .86rem; }
@media (max-width: 980px) {
  .pathway-grid { grid-template-columns: 1fr 1fr; }
  .pathway-grid a:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.14); }
  .split-intro, .standards-grid, .free-tools-grid, .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta-inner .hero-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .pathway-grid, .principles-grid { grid-template-columns: 1fr; }
  .pathway-grid a { border-left: 1px solid rgba(255,255,255,.14); }
  .standards-list div { grid-template-columns: 1fr; gap: 6px; }
  .success-hero .hero-actions, .final-cta .hero-actions { display: grid; grid-template-columns: 1fr; }
  .success-hero .btn, .final-cta .btn { width: 100%; }
  .principles-grid--compact { grid-template-columns: 1fr; }
  .principles-grid--compact article { min-height: 0; }
}

/* Contextual student-success check-in */
.success-check-in {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  width: min(390px, calc(100vw - 32px));
  padding: 28px;
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid rgba(18,73,154,.18);
  border-top: 5px solid var(--gold);
  box-shadow: 0 24px 70px rgba(6,27,57,.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.success-check-in.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.success-check-in__close { position: absolute; top: 11px; right: 13px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted); font-size: 1.65rem; line-height: 1; cursor: pointer; }
.success-check-in__eyebrow { display: block; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding-right: 36px; }
.success-check-in h2 { margin: 8px 30px 18px 0; color: var(--navy); font-family: var(--font-display); font-size: 1.65rem; line-height: 1.08; }
.success-check-in label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .8rem; font-weight: 800; }
.success-check-in select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
.success-check-in__action { width: 100%; margin-top: 12px; text-align: center; justify-content: center; }
.success-check-in small { display: block; margin-top: 11px; color: var(--muted); text-align: center; }
@media (max-width: 640px) {
  .success-check-in { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 22px; }
  .success-check-in h2 { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .success-check-in { transition: none; }
}
.inquiry-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 0 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.inquiry-steps > div {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: #fff;
}

.inquiry-steps strong {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}

.inquiry-steps span,
.inquiry-steps small { display: block; }
.inquiry-steps b { color: var(--navy); }
.inquiry-steps small { margin-top: 4px; color: var(--muted); line-height: 1.45; }
.optional-label { color: var(--muted); font-weight: 500; }
.form-help { display: block; margin-top: 7px; color: var(--muted); line-height: 1.45; }
.form-privacy-note { margin: 12px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; text-align: center; }

@media (max-width: 760px) {
  .inquiry-steps { grid-template-columns: 1fr; }
  .inquiry-steps > div { padding: 16px; }
  #hubContactForm > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  #hubContactForm div[style*="display: flex"][style*="gap: 24px"] { flex-direction: column; gap: 10px !important; }
}
