/* ============================================
   TutorsOfOxford.com — Complete Design System 2026
   Color: Navy + Slate + Gold
   Fonts: Poppins + Inter
   ============================================ */

/* --- CSS Variables --- */
:root {
  --to-navy: #1a2744;
  --to-navy-dark: #0f1a30;
  --to-navy-light: #e8ecf2;
  --to-slate: #1e293b;
  --to-slate-light: #334155;
  --to-gold: #c8941e;
  --to-gold-light: #fdf6e8;
  --to-white: #ffffff;
  --to-offwhite: #f8fafb;
  --to-gray-100: #f1f5f9;
  --to-gray-200: #e2e8f0;
  --to-gray-300: #cbd5e1;
  --to-gray-400: #94a3b8;
  --to-gray-500: #586677;
  --to-gray-600: #475569;
  --to-gray-700: #334155;
  --to-text: #1e293b;
  --to-text-light: #475569;
  --to-text-muted: #586677;
  --to-success: #10b981;
  --to-error: #ef4444;
  --to-shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --to-shadow: 0 4px 16px rgba(0,0,0,.1);
  --to-shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --to-shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --to-radius: 12px;
  --to-radius-sm: 8px;
  --to-radius-lg: 20px;
  --to-transition: .25s ease;
  --to-font-heading: 'Poppins', sans-serif;
  --to-font-body: 'Inter', sans-serif;
}

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: 'Inter', sans-serif !important;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0 !important;
  padding: 0;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  color: #1e293b !important;
  background: #ffffff !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1a2744; text-decoration: none; transition: color .25s ease; }
a:hover, a:focus { color: #c8941e !important; text-decoration: none; }
p a, li a, .to-accordion-body a, .to-breadcrumbs a, .to-info-card a { text-decoration: underline !important; }
p a:hover, li a:hover, .to-accordion-body a:hover, .to-breadcrumbs a:hover, .to-info-card a:hover { text-decoration: underline !important; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  color: #1e293b;
  line-height: 1.2 !important;
  margin: 0 0 .5em !important;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem) !important; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem) !important; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem) !important; }
h4 { font-size: 1.15rem !important; }

p { margin: 0 0 1rem; color: #475569; line-height: 1.75; }

.container { max-width: 1200px !important; margin: 0 auto !important; padding: 0 20px !important; width: 100% !important; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================
   HEADER / NAVIGATION — Two-Row Layout
   ============================================ */
.to-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--to-gray-200);
  transition: box-shadow var(--to-transition);
}
.to-header.scrolled { box-shadow: var(--to-shadow); }

/* Row 1: Logo + Phone + CTA */
.to-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.to-logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.to-logo img { height: 52px; width: auto; }

.to-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.to-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--to-slate);
  font-family: var(--to-font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--to-transition);
  white-space: nowrap;
}
.to-header-phone i {
  color: var(--to-navy);
  font-size: 1.1rem;
}
.to-header-phone:hover {
  color: var(--to-navy) !important;
}
.to-header-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--to-navy);
  color: var(--to-white);
  font-family: var(--to-font-heading);
  font-weight: 700;
  font-size: .88rem;
  padding: .65rem 1.6rem;
  border-radius: 40px;
  text-decoration: none;
  transition: transform var(--to-transition), background var(--to-transition), box-shadow var(--to-transition);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(26,39,68,.2);
}
.to-header-book:hover {
  background: var(--to-navy-dark);
  color: var(--to-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,39,68,.35);
}
.to-header-book i { font-size: .85rem; }

/* Row 2: Navigation bar */
.to-nav-bar {
  background: var(--to-white);
  border-top: 1px solid var(--to-gray-200);
  min-height: 48px;
}
.to-nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Main navigation */
.to-nav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.to-nav > li { position: relative; }
.to-nav > li > a {
  font-family: var(--to-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--to-slate);
  padding: 14px 18px;
  display: block;
  white-space: nowrap;
  transition: background var(--to-transition), color var(--to-transition);
}
.to-nav > li > a:hover,
.to-nav > li.active > a {
  background: var(--to-navy-light);
  color: var(--to-navy);
}

/* Dropdown */
.to-nav > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--to-white);
  border-radius: var(--to-radius);
  box-shadow: var(--to-shadow-lg);
  min-width: 240px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 100;
  border: 1px solid var(--to-gray-200);
}
.to-nav > li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-nav > li > ul > li > a {
  display: block;
  padding: 10px 20px;
  font-size: .88rem;
  color: var(--to-text-light);
  transition: background var(--to-transition), color var(--to-transition);
}
.to-nav > li > ul > li > a:hover {
  background: var(--to-navy-light);
  color: var(--to-navy);
}

/* Mobile toggle */
.to-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 1.5rem;
  color: var(--to-slate);
  margin-left: auto;
}

@media (max-width: 991px) {
  .to-header-top { padding: 10px 16px; }
  .to-mobile-toggle { display: block; }
  .to-header-phone span { display: none; }
  .to-header-phone { width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: var(--to-navy-light); }
  .to-header-phone i { font-size: 1.1rem; color: var(--to-navy); }
  .to-header-book span { display: none; }
  .to-header-book { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
  .to-nav-bar { display: block; border-top: none; position: relative; }
  .to-nav-bar-inner { display: block; }
  .to-nav-wrap {
    display: none;
    background: var(--to-white);
    border-bottom: 2px solid var(--to-navy);
    box-shadow: var(--to-shadow-lg);
    padding: 16px;
    z-index: 999;
  }
  .to-nav-wrap.open { display: block; }
  .to-nav { flex-direction: column; gap: 2px; }
  .to-nav > li > a { padding: 12px 16px; border-radius: var(--to-radius-sm); }
  .to-nav > li > ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
    background: var(--to-gray-100);
    border-radius: var(--to-radius-sm);
    margin-top: 2px;
  }
  .to-nav > li.dropdown-open > ul { display: block; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.to-hero {
  position: relative;
  background: linear-gradient(135deg, var(--to-slate) 0%, var(--to-navy-dark) 100%);
  color: var(--to-white);
  padding: 80px 0 90px;
  overflow: hidden;
}
.to-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,148,30,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.to-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.to-hero h1 { color: #ffffff !important; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .3em; }
.to-hero .to-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.to-hero-img {
  border-radius: var(--to-radius-lg);
  box-shadow: var(--to-shadow-xl);
  overflow: hidden;
}
.to-hero-img img { width: 100%; display: block; }

.to-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255,255,255,.15);
}

.to-hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.to-hero-stat-num {
  font-family: var(--to-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #f59e0b;
  display: block;
}
.to-hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .05em;
}

@media (max-width: 767px) {
  .to-hero { padding: 50px 0 60px; }
  .to-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .to-hero-img { order: -1; max-width: 400px; margin: 0 auto; }
  .to-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    text-align: center;
    flex-wrap: unset;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.to-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--to-font-heading);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--to-transition), background var(--to-transition), box-shadow var(--to-transition), color var(--to-transition);
  letter-spacing: .02em;
}
.to-btn-primary {
  background: var(--to-gold);
  color: var(--to-white);
  box-shadow: 0 4px 16px rgba(200,148,30,.3);
}
.to-btn-primary:hover {
  background: #a07818;
  color: var(--to-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,148,30,.4);
}
.to-btn-secondary {
  background: var(--to-white);
  color: var(--to-navy);
  border: 2px solid var(--to-navy);
}
.to-btn-secondary:hover {
  background: var(--to-navy);
  color: var(--to-white);
  transform: translateY(-2px);
}
.to-btn-white {
  background: var(--to-white);
  color: var(--to-slate);
}
.to-btn-white:hover {
  background: var(--to-gray-100);
  color: var(--to-slate);
  transform: translateY(-2px);
}
.to-btn-sm { padding: 10px 22px; font-size: .85rem; }
.to-btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ============================================
   SECTIONS
   ============================================ */
.to-section {
  padding: 80px 0;
}
.to-section-alt {
  padding: 80px 0;
  background: var(--to-offwhite);
}
.to-section-dark {
  padding: 80px 0;
  background: var(--to-slate);
  color: var(--to-white);
}
.to-section-navy {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--to-navy) 0%, var(--to-navy-dark) 100%);
  color: var(--to-white);
}

.to-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.to-section-header p { color: var(--to-text-muted); font-size: 1.05rem; }
.to-section-header .to-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--to-navy);
  background: var(--to-navy-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* ============================================
   CARDS
   ============================================ */
.to-card {
  background: var(--to-white);
  border-radius: var(--to-radius);
  box-shadow: var(--to-shadow-sm);
  border: 1px solid var(--to-gray-200);
  padding: 32px;
  transition: transform var(--to-transition), box-shadow var(--to-transition);
}
.to-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--to-shadow);
}

.to-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--to-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.to-card-icon-navy { background: var(--to-navy-light); color: var(--to-navy); }
.to-card-icon-gold { background: var(--to-gold-light); color: var(--to-gold); }

/* Grid layouts */
.to-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.to-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.to-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 991px) {
  .to-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .to-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .to-grid-2, .to-grid-3, .to-grid-4 { grid-template-columns: 1fr; }
  .to-section, .to-section-alt, .to-section-dark, .to-section-navy { padding: 50px 0; }
}

/* ============================================
   FEATURE BLOCKS (with image)
   ============================================ */
.to-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.to-feature-reverse { direction: rtl; }
.to-feature-reverse > * { direction: ltr; }
.to-feature-img {
  border-radius: var(--to-radius-lg);
  overflow: hidden;
  box-shadow: var(--to-shadow-lg);
}
.to-feature-img img { width: 100%; display: block; }
.to-feature-content h2 { margin-bottom: .5em; }
.to-feature-content p { margin-bottom: 1.5rem; }

@media (max-width: 767px) {
  .to-feature, .to-feature-reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }
}

/* ============================================
   TESTIMONIALS / REVIEWS
   ============================================ */
.to-review {
  background: var(--to-white);
  border-radius: var(--to-radius);
  padding: 32px;
  box-shadow: var(--to-shadow-sm);
  border: 1px solid var(--to-gray-200);
  position: relative;
}
.to-review::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--to-navy-light);
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}
.to-review-text {
  font-style: italic;
  color: var(--to-text-light);
  line-height: 1.75;
  margin-bottom: 20px;
  padding-top: 20px;
}
.to-review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.to-review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.to-review-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--to-slate);
}
.to-review-loc {
  font-size: .82rem;
  color: var(--to-text-muted);
}
.to-review-stars {
  color: #f59e0b;
  font-size: .9rem;
  margin-bottom: 12px;
}
.to-review-score {
  display: inline-block;
  background: var(--to-navy);
  color: var(--to-white);
  font-weight: 700;
  font-size: .8rem;
  padding: 4px 12px;
  border-radius: 50px;
  margin-left: auto;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.to-form-card {
  background: var(--to-white);
  border-radius: var(--to-radius);
  box-shadow: var(--to-shadow-lg);
  overflow: hidden;
}
.to-form-header {
  background: linear-gradient(135deg, var(--to-navy), var(--to-navy-dark));
  padding: 28px 32px 22px;
}
.to-form-header h2 {
  color: #ffffff !important;
  font-size: 1.25rem;
  margin: 0 0 6px;
}
.to-form-header p {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  margin: 0;
}
.to-form-body {
  padding: 28px 32px 32px;
  background: var(--to-navy-light);
}
.to-form-body label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--to-slate);
  margin-bottom: 6px;
}
.to-form-body .to-input,
.to-form-body .to-textarea {
  width: 100%;
  border: 1px solid var(--to-gray-300);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--to-font-body);
  font-size: .95rem;
  color: var(--to-text);
  background: var(--to-white);
  transition: border-color var(--to-transition), outline var(--to-transition);
  margin-bottom: 18px;
}
.to-form-body .to-input:focus,
.to-form-body .to-textarea:focus {
  border-color: var(--to-navy);
  outline: 2px solid rgba(26,39,68,.25);
  outline-offset: -1px;
}
.to-form-body .to-textarea { resize: vertical; min-height: 120px; }
.to-req { color: var(--to-gold); font-weight: 700; }
.to-opt { color: var(--to-text-muted); font-weight: 400; font-size: .8rem; }
.hp-wrap { position: absolute; left: -9999px; }

.to-form-result {
  display: none;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: .92rem;
  margin-top: 12px;
}
.to-form-ok {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.to-form-err {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ============================================
   INFO CARDS
   ============================================ */
.to-info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: var(--to-radius-sm);
  background: var(--to-white);
  border: 1px solid var(--to-gray-200);
  margin-bottom: 14px;
  transition: box-shadow var(--to-transition);
}
.to-info-card:hover { box-shadow: var(--to-shadow); }
.to-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--to-navy-light);
  color: var(--to-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.to-info-card h3 { font-size: 1rem; margin: 0 0 4px; }
.to-info-card p { margin: 0; font-size: .88rem; color: var(--to-text-muted); }

/* ============================================
   TRUST / CREDENTIAL STRIP
   ============================================ */
.to-cred-strip {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 24px 0;
}
.to-cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.to-cred-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--to-navy-light);
  color: var(--to-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.to-cred-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--to-slate);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============================================
   TRUST GRID (numbers)
   ============================================ */
.to-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.to-trust-num {
  font-family: var(--to-font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--to-navy);
  display: block;
}
.to-trust-label {
  font-size: .72rem;
  color: var(--to-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============================================
   COUNTER / STATS BAR
   ============================================ */
.to-stats-bar {
  background: var(--to-slate);
  padding: 40px 0;
}
.to-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.to-stat-num {
  font-family: var(--to-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #f59e0b;
  display: block;
}
.to-stat-label {
  font-size: .85rem;
  color: var(--to-gray-300);
  margin-top: 4px;
}

@media (max-width: 767px) {
  .to-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============================================
   ACCORDION / FAQ
   ============================================ */
.to-accordion { max-width: 800px; margin: 0 auto; }
.to-accordion-item {
  background: var(--to-white);
  border-radius: var(--to-radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--to-gray-200);
  overflow: hidden;
}
.to-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--to-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--to-slate);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--to-transition);
}
.to-accordion-btn:hover { background: var(--to-gray-100); }
.to-accordion-btn::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--to-navy);
  transition: transform var(--to-transition);
}
.to-accordion-item.open .to-accordion-btn::after {
  content: '\2212';
}
.to-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.to-accordion-body-inner {
  padding: 0 24px 24px;
  color: var(--to-text-light);
  line-height: 1.75;
}

/* ============================================
   CTA BANNER
   ============================================ */
.to-cta-banner {
  background: linear-gradient(135deg, var(--to-navy) 0%, var(--to-slate) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--to-white);
}
.to-cta-banner h2 { color: #ffffff !important; margin-bottom: .5em; }
.to-cta-banner p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.to-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   BREADCRUMBS
   ============================================ */
.to-breadcrumbs {
  background: var(--to-gray-100);
  padding: 14px 0;
  font-size: .85rem;
}
.to-breadcrumbs a { color: var(--to-navy); }
.to-breadcrumbs span { color: var(--to-text-muted); margin: 0 8px; }

/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */
.to-page-hero {
  background: linear-gradient(135deg, var(--to-slate) 0%, var(--to-navy-dark) 100%);
  padding: 50px 0 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.to-page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,148,30,.1) 0%, transparent 70%);
  border-radius: 50%;
}
.to-page-hero h1 {
  color: #ffffff !important;
  position: relative;
  z-index: 1;
  margin-bottom: .3em;
}
.to-page-hero p {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.to-footer {
  background: linear-gradient(135deg, var(--to-navy) 0%, var(--to-slate) 100%);
  color: rgba(255,255,255,.92);
  padding: 50px 0 0;
  text-align: center;
}
.to-footer-logo {
  max-width: 220px;
  margin: 0 auto 14px;
}
.to-footer-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.to-footer-divider {
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,.25);
  margin: 0 auto 28px;
  border: none;
}
.to-footer h4,
.to-footer-heading {
  color: #ffffff !important;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
  font-weight: 700;
  font-family: var(--to-font-heading);
}
.to-footer-partners { display: inline-block; }
.to-footer-partners ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.to-footer-partners ul li { margin: 0; }
.to-footer-partners ul li a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  transition: background var(--to-transition), border-color var(--to-transition), color var(--to-transition);
}
.to-footer-partners ul li a:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.5);
  color: #fff !important;
}
.to-footer p { color: rgba(255,255,255,.8); font-size: 1rem; }
.to-footer a { color: rgba(255,255,255,.85); transition: color var(--to-transition); }
.to-footer a:hover { color: #fff !important; }

.to-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  margin-top: 36px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.to-footer-bottom a { color: rgba(255,255,255,.75); font-size: .9rem; }
.to-footer-bottom a:hover { color: #fff !important; }

@media (max-width: 767px) {
  .to-footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.to-back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--to-navy);
  color: var(--to-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--to-shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--to-transition), visibility var(--to-transition), transform var(--to-transition), background var(--to-transition);
  cursor: pointer;
  border: none;
  z-index: 900;
}
.to-back-top.visible { opacity: 1; visibility: visible; }
.to-back-top:hover { background: var(--to-navy-dark); transform: translateY(-3px); }

/* ============================================
   MOBILE CONTACT BAR
   ============================================ */
.to-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--to-white);
  border-top: 1px solid var(--to-gray-200);
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  padding: 10px 16px;
  gap: 10px;
}
.to-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  border-radius: 50px;
  font-family: var(--to-font-heading);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--to-transition), color var(--to-transition);
}
.to-mob-phone {
  background: var(--to-navy);
  color: var(--to-white);
}
.to-mob-phone:hover { background: var(--to-navy-dark); color: var(--to-white) !important; }
.to-mob-cta {
  background: var(--to-gold);
  color: var(--to-white);
}
.to-mob-cta:hover { background: #a07818; color: var(--to-white) !important; }

@media (max-width: 767px) {
  .to-mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* ============================================
   CONTENT ELEMENTS
   ============================================ */
.to-list { list-style: none; padding: 0; }
.to-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--to-text-light);
  border-bottom: 1px solid var(--to-gray-100);
}
.to-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--to-navy);
}

.to-highlight-box {
  background: linear-gradient(135deg, var(--to-navy-light) 0%, #eef1f7 100%);
  border-left: 4px solid var(--to-navy);
  border-radius: 0 var(--to-radius-sm) var(--to-radius-sm) 0;
  padding: 24px 28px;
  margin: 24px 0;
}
.to-highlight-box p { color: var(--to-slate); margin: 0; }

/* Bootstrap-compat table classes */
.table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--to-gray-200); text-align: left; }
.table th { font-weight: 700; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.to-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .92rem;
}
.to-table th {
  background: var(--to-navy);
  color: var(--to-white);
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
}
.to-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--to-gray-200);
  color: var(--to-text-light);
}
.to-table tr:nth-child(even) { background: var(--to-gray-100); }
.to-table tr:hover { background: var(--to-navy-light); }

/* ============================================
   MAP
   ============================================ */
.to-map-placeholder {
  background: var(--to-gray-100);
  border-radius: var(--to-radius);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--to-shadow-sm);
  transition: box-shadow var(--to-transition);
  margin-top: 20px;
}
.to-map-placeholder:hover { box-shadow: var(--to-shadow); }
.to-map-inner {
  text-align: center;
  padding: 20px;
}
.to-map-btn {
  background: var(--to-navy);
  color: var(--to-white);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: .85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.to-animate {
  opacity: 0;
  transform: translateY(20px);
}
.to-animate.visible {
  animation: fadeInUp .6s ease forwards;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .to-header, .to-topbar, .to-mobile-bar, .to-back-top, .to-footer { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
