@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --to-black: #1a1a2e;
  --to-white: #fafaf8;
  --to-primary: #1a1a2e;
  --to-secondary: #f5c842;
  --to-accent: #e8533a;
  --to-accent-2: #3a7bd5;
  --to-accent-3: #2ec4a9;
  --to-accent-4: #9b5de5;
  --to-accent-5: #f77f00;
  --to-bg: #fafaf8;
  --to-bg-alt: #f0eeea;
  --to-bg-dark: #1a1a2e;
  --to-text: #1a1a2e;
  --to-text-muted: #5a5a72;
  --to-text-light: #fafaf8;
  --to-border: #1a1a2e;
  --to-border-w: 2.5px;
  --to-shadow-hard: 5px 5px 0px #1a1a2e;
  --to-shadow-hard-sm: 3px 3px 0px #1a1a2e;
  --to-shadow-hard-yellow: 5px 5px 0px #f5c842;
  --to-shadow-hard-accent: 5px 5px 0px #e8533a;
  --to-radius-sm: 4px;
  --to-radius-md: 8px;
  --to-radius-lg: 16px;
  --to-space-xs: 0.5rem;
  --to-space-sm: 1rem;
  --to-space-md: 2rem;
  --to-space-lg: 4rem;
  --to-space-xl: 6rem;
  --to-font: 'Lexend', sans-serif;
  --to-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --to-transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--to-font);
  background: var(--to-bg);
  color: var(--to-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--to-transition), opacity var(--to-transition); }
a:hover { opacity: 0.82; }
ul { list-style: none; }
button { font-family: var(--to-font); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--to-font); }
address { font-style: normal; }

/* ============================================================
   LANGUAGE BADGE
   ============================================================ */
.to-lang-badge {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 9000;
  background: var(--to-white);
  border: var(--to-border-w) solid var(--to-border);
  box-shadow: var(--to-shadow-hard-sm);
  padding: 0.3rem 0.7rem;
  border-radius: var(--to-radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
  transition: opacity var(--to-transition);
}

/* ============================================================
   CONTAINER
   ============================================================ */
.to-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--to-space-md);
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.to-hero-heading {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--to-text);
}

.to-section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--to-text);
}

.to-section-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--to-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.to-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--to-radius-sm);
  border: var(--to-border-w) solid var(--to-border);
  transition: all var(--to-transition);
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  letter-spacing: 0.01em;
}

.to-btn-primary {
  background: var(--to-secondary);
  color: var(--to-black);
  box-shadow: var(--to-shadow-hard);
}
.to-btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px var(--to-black);
  opacity: 1;
}

.to-btn-outline {
  background: transparent;
  color: var(--to-text);
  box-shadow: var(--to-shadow-hard-sm);
}
.to-btn-outline:hover {
  background: var(--to-text);
  color: var(--to-white);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--to-secondary);
  opacity: 1;
}

.to-btn-outline-light {
  background: transparent;
  color: var(--to-white);
  border-color: var(--to-white);
  box-shadow: 3px 3px 0px rgba(255,255,255,0.3);
}
.to-btn-outline-light:hover {
  background: var(--to-white);
  color: var(--to-black);
  opacity: 1;
}

.to-btn-ghost {
  background: transparent;
  color: var(--to-text-muted);
  border-color: transparent;
  box-shadow: none;
}
.to-btn-ghost:hover {
  color: var(--to-text);
  opacity: 1;
}

.to-btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.to-section-header {
  text-align: center;
  margin-bottom: var(--to-space-lg);
}

.to-section-header-light .to-section-heading,
.to-section-header-light .to-section-sub {
  color: var(--to-white);
}

.to-section-tag {
  display: inline-block;
  background: var(--to-secondary);
  color: var(--to-black);
  border: var(--to-border-w) solid var(--to-border);
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--to-radius-sm);
  margin-bottom: var(--to-space-sm);
  box-shadow: var(--to-shadow-hard-sm);
}

.to-tag-light {
  background: var(--to-accent);
  color: var(--to-white);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 3px 3px 0px rgba(255,255,255,0.2);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.to-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.96);
  border-bottom: var(--to-border-w) solid var(--to-border);
  backdrop-filter: blur(8px);
  transition: background var(--to-transition), color var(--to-transition), border-color var(--to-transition);
}

.to-header.to-header-dark {
  background: rgba(26, 26, 46, 0.97);
  border-bottom-color: rgba(255,255,255,0.15);
}
.to-header.to-header-dark .to-nav-link,
.to-header.to-header-dark .to-logo-text {
  color: var(--to-white);
}
.to-header.to-header-dark .to-menu-btn span {
  background: var(--to-white);
}

.to-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--to-space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.to-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.to-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--to-text);
  transition: color var(--to-transition);
}

.to-logo-text-light { color: var(--to-white); }

.to-logo-accent { color: var(--to-accent); }

.to-nav {
  display: none;
  gap: 0.2rem;
}

.to-nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--to-radius-sm);
  color: var(--to-text);
  transition: all var(--to-transition);
  border: 2px solid transparent;
}
.to-nav-link:hover {
  background: var(--to-secondary);
  border-color: var(--to-border);
  box-shadow: var(--to-shadow-hard-sm);
  transform: translate(-1px, -1px);
  opacity: 1;
}

.to-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-sm);
  background: var(--to-white);
  box-shadow: var(--to-shadow-hard-sm);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  transition: all var(--to-transition);
}
.to-menu-btn:hover {
  background: var(--to-secondary);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px var(--to-black);
}
.to-menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--to-black);
  border-radius: 2px;
  transition: all var(--to-transition);
}

/* ============================================================
   MOBILE MENU FLIP CARD
   ============================================================ */
.to-mobile-menu-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  perspective: 1200px;
  display: none;
}

.to-mobile-menu-wrap.to-menu-open {
  display: block;
}

.to-mobile-menu-card {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.to-mobile-menu-card.to-flipped {
  transform: rotateX(-180deg);
}

.to-mobile-menu-front,
.to-mobile-menu-back {
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.to-mobile-menu-front {
  background: rgba(250, 250, 248, 0.98);
  border-bottom: var(--to-border-w) solid var(--to-border);
}

.to-mobile-menu-back {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--to-bg-dark);
  transform: rotateX(180deg);
  min-height: 100vh;
  border-right: var(--to-border-w) solid rgba(255,255,255,0.1);
  padding: var(--to-space-md);
}

.to-mobile-menu-back-inner {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-md);
  padding-top: var(--to-space-sm);
}

.to-menu-close {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--to-white);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--to-transition);
}
.to-menu-close:hover { opacity: 0.7; }

.to-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.to-mobile-nav-link {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--to-white);
  border: var(--to-border-w) solid transparent;
  border-radius: var(--to-radius-sm);
  transition: all var(--to-transition);
}
.to-mobile-nav-link:hover {
  background: var(--to-secondary);
  color: var(--to-black);
  border-color: var(--to-secondary);
  opacity: 1;
}

.to-mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: var(--to-space-sm);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.to-mobile-menu-contact a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--to-transition);
}
.to-mobile-menu-contact a:hover { color: var(--to-secondary); opacity: 1; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.to-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--to-space-xl) + 60px) var(--to-space-md) var(--to-space-xl);
  background: var(--to-bg);
  position: relative;
  overflow: hidden;
}

.to-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: linear-gradient(135deg, #f5c842 0%, #f5c842 60%, #fad96a 100%);
  border-radius: 0 0 0 60px;
  border-left: var(--to-border-w) solid var(--to-border);
  border-bottom: var(--to-border-w) solid var(--to-border);
  z-index: 0;
}

.to-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--to-space-lg);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.to-hero-text {
  max-width: 600px;
}

.to-hero-badge {
  display: inline-block;
  background: var(--to-bg-dark);
  color: var(--to-white);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--to-radius-sm);
  margin-bottom: var(--to-space-sm);
  animation: to-badge-in 0.6s ease both;
}

.to-hero-heading {
  margin-bottom: var(--to-space-sm);
  animation: to-heading-in 0.7s ease 0.1s both;
}

.to-hero-highlight {
  position: relative;
  display: inline-block;
  color: var(--to-accent);
}
.to-hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--to-secondary);
  z-index: -1;
  transform: skewX(-3deg);
}

.to-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--to-text-muted);
  margin-bottom: var(--to-space-md);
  line-height: 1.7;
  animation: to-sub-in 0.7s ease 0.2s both;
}

.to-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--to-space-sm);
  animation: to-actions-in 0.7s ease 0.3s both;
}

.to-hero-visual {
  position: relative;
  z-index: 1;
  animation: to-visual-in 0.8s ease 0.15s both;
}

.to-hero-img-wrap {
  position: relative;
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-md);
  box-shadow: 8px 8px 0px var(--to-black);
  overflow: hidden;
  max-width: 520px;
}

.to-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.to-hero-float-card {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  background: var(--to-white);
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-sm);
  box-shadow: var(--to-shadow-hard-sm);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.to-hero-float-card i {
  color: var(--to-accent-3);
  font-size: 1.1rem;
}

.to-hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--to-text-muted);
  font-weight: 500;
  animation: to-scroll-bounce 2s ease-in-out infinite;
  z-index: 1;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes to-badge-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes to-heading-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes to-sub-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes to-actions-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes to-visual-in {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes to-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.to-intro-strip {
  background: var(--to-bg-dark);
  border-top: var(--to-border-w) solid var(--to-border);
  border-bottom: var(--to-border-w) solid var(--to-border);
  padding: 1.8rem var(--to-space-md);
}

.to-intro-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--to-space-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.to-intro-strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--to-white);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem;
}
.to-intro-strip-item i {
  color: var(--to-secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================================
   COURSES SECTION
   ============================================================ */
.to-courses {
  padding: var(--to-space-xl) 0;
  background: var(--to-bg-alt);
  border-bottom: var(--to-border-w) solid var(--to-border);
}

.to-courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--to-space-md);
}

.to-course-card {
  background: var(--to-white);
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-md);
  padding: var(--to-space-md);
  box-shadow: var(--to-shadow-hard);
  transition: all var(--to-transition);
  opacity: 0;
  transform: translateY(24px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.to-course-card.to-visible {
  opacity: 1;
  transform: translateY(0);
}

.to-course-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0px var(--to-black);
}

.to-course-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--to-radius-sm);
  border: var(--to-border-w) solid var(--to-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.to-icon-blue { background: #dbeafe; color: var(--to-accent-2); }
.to-icon-yellow { background: #fef9c3; color: #b45309; }
.to-icon-green { background: #dcfce7; color: #15803d; }
.to-icon-coral { background: #fee2e2; color: var(--to-accent); }
.to-icon-purple { background: #f3e8ff; color: var(--to-accent-4); }
.to-icon-teal { background: #ccfbf1; color: #0f766e; }

.to-course-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--to-text);
}

.to-course-card p {
  font-size: 0.93rem;
  color: var(--to-text-muted);
  line-height: 1.65;
  flex: 1;
}

.to-course-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--to-accent);
  border-bottom: 2px solid var(--to-accent);
  padding-bottom: 1px;
  width: fit-content;
  transition: all var(--to-transition);
}
.to-course-link:hover {
  gap: 0.7rem;
  opacity: 1;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.to-how {
  padding: var(--to-space-xl) 0;
  background: var(--to-bg-dark);
  border-bottom: var(--to-border-w) solid rgba(255,255,255,0.1);
}

.to-how .to-section-heading { color: var(--to-white); }
.to-how .to-section-sub { color: rgba(255,255,255,0.7); }

.to-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--to-space-md);
  margin-bottom: var(--to-space-lg);
}

.to-step {
  display: flex;
  gap: var(--to-space-md);
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}
.to-step.to-visible {
  opacity: 1;
  transform: translateX(0);
}

.to-step-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--to-secondary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3rem;
}

.to-step-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--to-white);
  margin-bottom: 0.5rem;
}

.to-step-body p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.to-how-img-row {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-md);
  align-items: flex-start;
}

.to-how-img {
  width: 100%;
  max-width: 580px;
  height: 280px;
  object-fit: cover;
  border: var(--to-border-w) solid rgba(255,255,255,0.2);
  border-radius: var(--to-radius-md);
  box-shadow: 6px 6px 0px var(--to-secondary);
}

.to-how-callout {
  background: rgba(255,255,255,0.07);
  border: var(--to-border-w) solid rgba(255,255,255,0.15);
  border-radius: var(--to-radius-md);
  padding: var(--to-space-md);
  max-width: 420px;
}
.to-how-callout i {
  font-size: 1.5rem;
  color: var(--to-secondary);
  margin-bottom: 0.75rem;
  display: block;
}
.to-how-callout p {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  font-style: italic;
}

/* ============================================================
   ALTERNATING FEATURES
   ============================================================ */
.to-features {
  padding: var(--to-space-xl) 0;
  background: var(--to-bg);
  border-bottom: var(--to-border-w) solid var(--to-border);
}

.to-feature-row {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-md);
  margin-bottom: var(--to-space-xl);
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.55s ease;
}
.to-feature-row.to-visible {
  opacity: 1;
  transform: translateY(0);
}
.to-feature-row:last-child { margin-bottom: 0; }

.to-feature-img-col {
  flex: 1;
}

.to-feature-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-md);
  box-shadow: var(--to-shadow-hard);
  transition: box-shadow var(--to-transition), transform var(--to-transition);
}
.to-feature-img:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--to-black);
}

.to-feature-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--to-space-sm);
}

.to-feature-icon {
  width: 56px;
  height: 56px;
  background: var(--to-secondary);
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--to-black);
  box-shadow: var(--to-shadow-hard-sm);
}

.to-feature-text-col h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--to-text);
}

.to-feature-text-col p {
  font-size: 0.97rem;
  color: var(--to-text-muted);
  line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.to-about {
  padding: var(--to-space-xl) 0;
  background: var(--to-bg-alt);
  border-bottom: var(--to-border-w) solid var(--to-border);
}

.to-about-grid {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-lg);
}

.to-about-img-col {
  position: relative;
  flex: 1;
}

.to-about-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-md);
  box-shadow: var(--to-shadow-hard);
  display: block;
}

.to-about-address-card {
  position: absolute;
  bottom: -1.5rem;
  right: 1.5rem;
  background: var(--to-white);
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-sm);
  box-shadow: var(--to-shadow-hard-yellow);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.to-about-address-card i {
  color: var(--to-accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.to-about-address-card div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.to-about-address-card strong {
  font-weight: 700;
  font-size: 0.88rem;
}
.to-about-address-card span {
  color: var(--to-text-muted);
  font-size: 0.82rem;
}

.to-about-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--to-space-sm);
  padding-top: var(--to-space-sm);
}

.to-about-text-col p {
  font-size: 0.97rem;
  color: var(--to-text-muted);
  line-height: 1.75;
}

.to-about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--to-space-sm);
}

.to-value-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--to-white);
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-sm);
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--to-shadow-hard-sm);
  transition: all var(--to-transition);
}
.to-value-chip:hover {
  background: var(--to-secondary);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px var(--to-black);
}
.to-value-chip i { color: var(--to-accent-3); font-size: 0.85rem; }

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */
.to-newsletter {
  padding: var(--to-space-lg) 0;
  background: var(--to-secondary);
  border-top: var(--to-border-w) solid var(--to-border);
  border-bottom: var(--to-border-w) solid var(--to-border);
}

.to-newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-md);
  align-items: flex-start;
}

.to-newsletter-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--to-black);
  margin-bottom: 0.5rem;
}
.to-newsletter-text p {
  font-size: 0.97rem;
  color: rgba(26,26,46,0.75);
}

.to-newsletter-form { width: 100%; }

.to-newsletter-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.to-newsletter-field input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-sm);
  background: var(--to-white);
  color: var(--to-text);
  box-shadow: var(--to-shadow-hard-sm);
  transition: all var(--to-transition);
  min-height: 44px;
}
.to-newsletter-field input:focus {
  outline: none;
  box-shadow: 5px 5px 0px var(--to-black);
}

.to-newsletter-note {
  font-size: 0.8rem;
  color: rgba(26,26,46,0.65);
}
.to-newsletter-note a {
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.to-contact {
  padding: var(--to-space-xl) 0;
  background: var(--to-bg);
  border-bottom: var(--to-border-w) solid var(--to-border);
}

.to-contact-grid {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-lg);
}

.to-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-sm);
}

.to-form-row {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-sm);
}

.to-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.to-form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--to-text);
}

.to-required { color: var(--to-accent); }

.to-form-group input,
.to-form-group select,
.to-form-group textarea {
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-sm);
  background: var(--to-white);
  color: var(--to-text);
  box-shadow: var(--to-shadow-hard-sm);
  transition: all var(--to-transition);
  min-height: 44px;
  width: 100%;
}
.to-form-group input:focus,
.to-form-group select:focus,
.to-form-group textarea:focus {
  outline: none;
  border-color: var(--to-accent-2);
  box-shadow: 5px 5px 0px var(--to-accent-2);
}

.to-form-group:has(:focus) label {
  color: var(--to-accent-2);
}

.to-form-group textarea { resize: vertical; min-height: 120px; }

.to-form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}
.to-form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: auto;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--to-accent-2);
  cursor: pointer;
}
.to-form-check label {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.to-form-check label a {
  color: var(--to-accent-2);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.to-contact-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-md);
}

.to-contact-card {
  background: var(--to-bg-dark);
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-md);
  padding: var(--to-space-md);
  box-shadow: var(--to-shadow-hard-yellow);
}

.to-contact-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--to-white);
  margin-bottom: var(--to-space-sm);
  padding-bottom: var(--to-space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.to-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.to-contact-item:last-child { border-bottom: none; }

.to-contact-item i {
  color: var(--to-secondary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.to-contact-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.to-contact-item strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.to-contact-item span,
.to-contact-item a {
  font-size: 0.92rem;
  color: var(--to-white);
  transition: color var(--to-transition);
}
.to-contact-item a:hover { color: var(--to-secondary); opacity: 1; }

.to-map-wrap {
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-md);
  overflow: hidden;
  box-shadow: var(--to-shadow-hard-sm);
}
.to-map-wrap iframe { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.to-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 50%, #1a2a3e 100%);
  border-top: var(--to-border-w) solid rgba(255,255,255,0.1);
  padding: var(--to-space-xl) 0 var(--to-space-md);
}

.to-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--to-space-lg);
  margin-bottom: var(--to-space-lg);
}

.to-footer-brand p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  margin: var(--to-space-sm) 0;
  line-height: 1.65;
}
.to-footer-brand address {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}
.to-footer-brand address a {
  color: rgba(255,255,255,0.65);
  transition: color var(--to-transition);
}
.to-footer-brand address a:hover { color: var(--to-secondary); opacity: 1; }

.to-footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--to-white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--to-space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--to-secondary);
  display: inline-block;
}

.to-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.to-footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--to-transition);
}
.to-footer-col ul li a:hover { color: var(--to-secondary); opacity: 1; }

.to-footer-col p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: var(--to-space-sm);
}

.to-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--to-space-sm);
  align-items: flex-start;
  padding-top: var(--to-space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.to-footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.to-footer-legal {
  display: flex;
  gap: var(--to-space-sm);
}
.to-footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--to-transition);
}
.to-footer-legal a:hover { color: var(--to-secondary); opacity: 1; }

/* ============================================================
   COOKIE CONSENT PANEL
   ============================================================ */
.to-cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.55);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--to-transition-slow);
}
.to-cookie-overlay.to-active {
  opacity: 1;
  pointer-events: all;
}

.to-cookie-panel {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 100vw;
  height: 100%;
  background: var(--to-white);
  border-left: var(--to-border-w) solid var(--to-border);
  box-shadow: -6px 0px 0px var(--to-black);
  z-index: 8100;
  overflow-y: auto;
  padding: var(--to-space-md);
  display: flex;
  flex-direction: column;
  gap: var(--to-space-sm);
  transition: right var(--to-transition-slow);
}

.to-cookie-panel.to-active { right: 0; }

.to-cookie-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: var(--to-space-sm);
  border-bottom: var(--to-border-w) solid var(--to-border);
}
.to-cookie-header i {
  font-size: 1.5rem;
  color: var(--to-accent-3);
}
.to-cookie-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--to-text);
}

.to-cookie-intro {
  font-size: 0.88rem;
  color: var(--to-text-muted);
  line-height: 1.6;
}

.to-cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.to-cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem;
  background: var(--to-bg-alt);
  border: var(--to-border-w) solid var(--to-border);
  border-radius: var(--to-radius-sm);
}

.to-cookie-cat-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.to-cookie-cat-info strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--to-text);
}
.to-cookie-cat-info span {
  font-size: 0.77rem;
  color: var(--to-text-muted);
}

.to-cookie-toggle-locked {
  color: var(--to-text-muted);
  font-size: 0.9rem;
}

.to-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.to-toggle-switch input { opacity: 0; width: 0; height: 0; }
.to-toggle-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border: var(--to-border-w) solid var(--to-border);
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--to-transition);
}
.to-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--to-white);
  border-radius: 50%;
  transition: transform var(--to-transition);
  border: 1px solid rgba(0,0,0,0.15);
}
.to-toggle-switch input:checked + .to-toggle-slider { background: var(--to-accent-3); }
.to-toggle-switch input:checked + .to-toggle-slider::before { transform: translateY(-50%) translateX(20px); }

.to-cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: var(--to-space-sm);
  border-top: var(--to-border-w) solid var(--to-border);
}
.to-cookie-actions .to-btn { width: 100%; justify-content: center; font-size: 0.88rem; padding: 0.7rem 1rem; }

.to-cookie-policy-link {
  text-align: center;
  font-size: 0.78rem;
  color: var(--to-text-muted);
}
.to-cookie-policy-link a {
  color: var(--to-accent-2);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.to-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.to-animate.to-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.to-legal-wrap {
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
}

.to-legal-hero {
  background: var(--to-bg-dark);
  padding: var(--to-space-lg) var(--to-space-md);
  border-bottom: var(--to-border-w) solid rgba(255,255,255,0.1);
}
.to-legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--to-white);
  margin-bottom: 0.5rem;
}
.to-legal-hero p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

.to-legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--to-space-xl) var(--to-space-md);
  flex: 1;
}

.to-legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--to-text);
  margin: var(--to-space-md) 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--to-secondary);
  display: inline-block;
}

.to-legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--to-text);
  margin: var(--to-space-sm) 0 0.4rem;
}

.to-legal-content p {
  font-size: 0.95rem;
  color: var(--to-text-muted);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.to-legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
}
.to-legal-content ul li {
  font-size: 0.95rem;
  color: var(--to-text-muted);
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.to-legal-content a {
  color: var(--to-accent-2);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: opacity var(--to-transition);
}
.to-legal-content a:hover { opacity: 0.75; }

.to-legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--to-space-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--to-accent-2);
  border-bottom: 1px solid currentColor;
  transition: gap var(--to-transition);
}
.to-legal-back:hover { gap: 0.8rem; opacity: 1; }

/* ============================================================
   THANKS PAGE
   ============================================================ */
.to-thanks-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #3a1a5e 50%, #1a3a5e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--to-space-xl) var(--to-space-md);
  padding-top: calc(var(--to-space-xl) + 70px);
}

.to-thanks-hero-inner {
  max-width: 600px;
}

.to-thanks-icon {
  width: 80px;
  height: 80px;
  background: var(--to-secondary);
  border: var(--to-border-w) solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--to-black);
  margin: 0 auto var(--to-space-md);
  box-shadow: 0 0 0 8px rgba(245,200,66,0.2);
}

.to-thanks-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--to-white);
  margin-bottom: var(--to-space-sm);
}
.to-thanks-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.to-thanks-body {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--to-space-xl) var(--to-space-md);
  text-align: center;
}
.to-thanks-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--to-space-sm);
}
.to-thanks-body p {
  color: var(--to-text-muted);
  margin-bottom: var(--to-space-md);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE - TABLET (640px+)
   ============================================================ */
@media (min-width: 640px) {
  .to-intro-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .to-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .to-newsletter-field {
    flex-direction: row;
  }

  .to-form-row {
    flex-direction: row;
  }

  .to-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .to-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .to-how-img-row {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* ============================================================
   RESPONSIVE - DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .to-header .to-menu-btn { display: none; }
  .to-nav { display: flex; }
  .to-mobile-menu-wrap { display: none !important; }

  .to-hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .to-hero-text { max-width: 520px; }
  .to-hero-visual { flex: 1; display: flex; justify-content: flex-end; }
  .to-hero-img-wrap { max-width: 560px; }
  .to-hero-img { height: 420px; }

  .to-courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .to-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .to-feature-row {
    flex-direction: row;
    align-items: center;
    gap: var(--to-space-lg);
  }
  .to-feature-row-reverse {
    flex-direction: row-reverse;
  }
  .to-feature-img { height: 340px; }

  .to-about-grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .to-newsletter-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .to-newsletter-text { max-width: 400px; }
  .to-newsletter-form { max-width: 480px; }

  .to-contact-grid {
    flex-direction: row;
    gap: var(--to-space-xl);
  }
  .to-contact-form-col { flex: 1.2; }
  .to-contact-info-col { flex: 0.8; }

  .to-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}