/* ═══════════════════════════════════════════════════════════
   MICHAEL GALDE — Professional Website
   Steel Blue × Violet | Light & Dark Mode
═══════════════════════════════════════════════════════════ */

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
strong { color: inherit; }

/* ── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:          #EFF3FF;
  --bg-surface:  #FFFFFF;
  --bg-surface-2:#E4EAFF;
  --bg-strip:    #111830;

  /* Text */
  --text:        #141E3F;
  --text-muted:  #56658F;

  /* Borders & Shadows */
  --border:      #CDD5EF;
  --shadow-sm:   0 2px 8px rgba(55, 100, 200, 0.08);
  --shadow:      0 4px 24px rgba(55, 100, 200, 0.12);
  --shadow-lg:   0 12px 48px rgba(55, 100, 200, 0.18);

  /* Accent — Steel Blue → Violet */
  --accent-1:    #3B6FD4;
  --accent-2:    #6B48C8;
  --gradient:    linear-gradient(135deg, #3B6FD4 0%, #6B48C8 100%);
  --gradient-r:  linear-gradient(135deg, #6B48C8 0%, #3B6FD4 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(59,111,212,0.09) 0%, rgba(107,72,200,0.09) 100%);

  /* Nav */
  --nav-bg:      rgba(239, 243, 255, 0.92);
  --card-bg:     #FFFFFF;

  /* Misc */
  --radius:      14px;
  --radius-sm:   8px;
  --t:           0.28s ease;
}

[data-theme="dark"] {
  --bg:          #0B0F1E;
  --bg-surface:  #121828;
  --bg-surface-2:#18213A;
  --bg-strip:    #080C18;

  --text:        #E0E8FF;
  --text-muted:  #8090B8;

  --border:      #1C2640;
  --shadow-sm:   0 2px 8px rgba(100, 150, 255, 0.08);
  --shadow:      0 4px 24px rgba(100, 150, 255, 0.14);
  --shadow-lg:   0 12px 48px rgba(100, 150, 255, 0.22);

  --accent-1:    #6B9FFF;
  --accent-2:    #A87BFF;
  --gradient:    linear-gradient(135deg, #6B9FFF 0%, #A87BFF 100%);
  --gradient-r:  linear-gradient(135deg, #A87BFF 0%, #6B9FFF 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(107,159,255,0.1) 0%, rgba(168,123,255,0.1) 100%);

  --nav-bg:      rgba(11, 15, 30, 0.92);
  --card-bg:     #121828;
}

/* ── BASE ──────────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color var(--t), color var(--t);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.78; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 6%; }
.section { padding: 5.5rem 0; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--t), box-shadow var(--t), opacity var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.18) 50%, transparent 75%);
  transform: translateX(-150%);
  transition: transform 0.55s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(107, 72, 200, 0.38); }
.btn-primary:hover::after { transform: translateX(150%); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 2px solid var(--accent-1);
  color: var(--accent-1);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 111, 212, 0.25);
}

.btn-full { width: 100%; }

/* ── SECTION LABELS ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.65rem;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.section-header .section-title { margin-bottom: 1rem; }
.section-header .section-sub { font-size: 1rem; }

/* ── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 6%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--t);
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--accent-1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-right: 0.5rem;
}
.nav-link {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--text); background: var(--bg-surface-2); }

.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 0.4rem 1rem;
}
.nav-cta:hover { opacity: 0.88; background: var(--gradient) !important; }

/* Nav Social Links */
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--t), background var(--t);
}
.nav-social-link:hover { color: var(--accent-1); background: var(--bg-surface-2); }
.nav-social-link svg { width: 16px; height: 16px; }

/* Theme Toggle */
.theme-toggle {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--t), background var(--t);
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--text); background: var(--bg-surface-2); }
.theme-icon { width: 18px; height: 18px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-blob {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 55%;
  height: 85%;
  background: var(--gradient-subtle);
  border-radius: 50% 60% 50% 60%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.badge-sep { color: var(--accent-1); font-size: 0.9rem; }

.hero-title { margin-bottom: 1.25rem; }

.hero-sub {
  font-size: 1.03rem;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 470px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Photo */
.hero-photo-col { display: flex; justify-content: center; align-items: center; }

.hero-photo-frame {
  position: relative;
  width: min(380px, 90%);
}

.hero-photo-glow {
  position: absolute;
  inset: -16px;
  border-radius: 28px;
  background: var(--gradient);
  opacity: 0.2;
  filter: blur(20px);
  z-index: 0;
  transition: opacity var(--t);
}
.hero-photo-frame:hover .hero-photo-glow { opacity: 0.32; }

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t);
}
.hero-photo-frame:hover .hero-photo { transform: translateY(-4px); }

/* ── STATS STRIP ───────────────────────────────────────────── */
.stats-strip {
  background: var(--bg-strip);
  padding: 2.75rem 0;
  transition: background var(--t);
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 2.75rem;
  gap: 0.25rem;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  max-width: 130px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ── ABOUT ─────────────────────────────────────────────────── */
.about { background: var(--bg-surface); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.photo-wrapper {
  position: relative;
}
.photo-wrapper::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 22px;
  background: var(--gradient);
  opacity: 0.15;
  z-index: 0;
  filter: blur(16px);
}

.section-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.col-text { padding: 0.5rem 0; }
.col-text .section-title { margin: 0.5rem 0 1.35rem; }
.col-text p { margin-bottom: 1rem; }
.col-text p:last-of-type { margin-bottom: 0; }

.credential-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.credential-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

/* ── CONSULTING ────────────────────────────────────────────── */
.consulting { background: var(--bg-surface-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-1);
}

.service-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  margin-bottom: 1.35rem;
  transition: background var(--t);
}
.service-card:hover .service-icon { background: var(--gradient); }
.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent-1);
  transition: stroke var(--t);
}
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 0.88rem; }

.consulting-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESEARCH ──────────────────────────────────────────────── */
.research { background: var(--bg); }

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.research-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-1);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  transition: transform var(--t), box-shadow var(--t);
}
.research-card:nth-child(even) { border-left-color: var(--accent-2); }
.research-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.research-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.research-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  background: var(--bg-surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.research-tag-active {
  background: var(--gradient-subtle);
  color: var(--accent-1);
  border-color: var(--accent-1);
}
.research-card h3 { margin-bottom: 0.65rem; }
.research-card p { font-size: 0.88rem; }

/* Tools */
.tools-section { border-top: 1px solid var(--border); padding-top: 2.5rem; }
.tools-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tool-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform var(--t), box-shadow var(--t);
}
.tool-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tool-name {
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tool-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ── STUDENTS ──────────────────────────────────────────────── */
.students { background: var(--bg-surface); }

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.course-group {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.course-group-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.5rem;
  background: var(--gradient);
}
.course-prefix {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.course-group-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.course-list { padding: 0.25rem 0; }
.course-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.course-item:last-child { border-bottom: none; }
.course-item:hover { background: var(--bg-surface-2); }

.course-num {
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-1);
  white-space: nowrap;
  min-width: 78px;
  flex-shrink: 0;
}
.course-name {
  font-size: 0.86rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

.student-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 2rem;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.student-note p {
  font-size: 0.92rem;
  flex: 1;
  min-width: 220px;
}

/* ── CONTACT ───────────────────────────────────────────────── */
.contact { background: var(--bg-surface-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text);
}
.contact-row a { transition: color var(--t); }
.contact-row a:hover { color: var(--accent-1); }
.contact-icon {
  width: 20px; height: 20px;
  stroke: var(--accent-1);
  flex-shrink: 0;
}

.booking-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.booking-card h4 { margin-bottom: 0.65rem; }
.booking-card p { font-size: 0.87rem; margin-bottom: 1.35rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(107, 159, 255, 0.14);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  background: var(--gradient-subtle);
  border: 1px solid var(--accent-1);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  text-align: center;
}
.form-success p {
  color: var(--accent-1);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-strip);
  padding: 3.5rem 0 1.75rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-nav a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t);
}
.footer-nav a:hover { color: #fff; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: right;
}
.footer-contact a,
.footer-contact span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t);
}
.footer-contact a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.55);
  transition: background var(--t), color var(--t);
}
.footer-social a:hover { background: var(--gradient); color: #fff; }
.footer-social svg { width: 15px; height: 15px; }

.footer-bottom { text-align: center; }
.footer-bottom span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.3); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid,
  .research-grid { grid-template-columns: 1fr; }

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

@media (max-width: 768px) {
  /* Mobile Nav */
  .nav-social { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 6%;
    gap: 0.15rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 0.7rem 0.75rem; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }
  .nav-right { gap: 0.25rem; }

  /* Hero */
  .hero { padding: 5.5rem 0 3.5rem; min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-photo-col { order: -1; }
  .hero-photo-frame { width: min(280px, 70%); }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  /* Stats */
  .stat-divider { display: none; }
  .stat-item { padding: 0.75rem 1.5rem; }

  /* About */
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Courses */
  .courses-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Student note */
  .student-note { flex-direction: column; text-align: center; }
  .student-note p { text-align: center; }

  /* Consulting CTA */
  .consulting-cta { flex-direction: column; align-items: stretch; text-align: center; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 1.75rem; }
  .footer-contact { text-align: left; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .section { padding: 4rem 0; }
}
