/* ============================================
   iPSYCHOLOGY.NET — Global Stylesheet
   Version: 1.0 | March 2026
   ============================================ */

:root {
  --ink: #0b1120;
  --ink-soft: #1a2440;
  --slate: #2d3a54;
  --steel: #4a5a78;
  --mist: #8494ad;
  --cloud: #c2cfe0;
  --pearl: #e8edf5;
  --snow: #f4f6fb;
  --white: #ffffff;
  --amber: #e8a838;
  --amber-glow: #f5c563;
  --amber-deep: #c48a1e;
  --teal: #2eb8a6;
  --teal-soft: #d0f0eb;
  --coral: #e06050;

  --fs-hero: clamp(2.6rem, 5.5vw, 4.5rem);
  --fs-h2: clamp(1.5rem, 2.8vw, 2.25rem);
  --fs-h3: clamp(1.15rem, 1.8vw, 1.5rem);
  --fs-body: clamp(0.95rem, 1.1vw, 1.1rem);
  --fs-sm: clamp(0.82rem, 0.95vw, 0.92rem);
  --fs-xs: 0.78rem;

  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 9rem;

  --max-w: 1280px;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 3px rgba(11,17,32,0.06);
  --shadow-md: 0 4px 16px rgba(11,17,32,0.08);
  --shadow-lg: 0 8px 40px rgba(11,17,32,0.1);
  --shadow-glow: 0 0 30px rgba(232,168,56,0.15);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.35s;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--slate);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease-out); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Instrument Serif', 'Georgia', serif;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 400;
}

::selection { background: var(--amber); color: var(--white); }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-md); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.skip-link {
  position: absolute; top: -100%; left: var(--sp-md);
  background: var(--amber); color: var(--ink);
  padding: var(--sp-xs) var(--sp-sm); border-radius: var(--radius);
  font-weight: 600; z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: var(--sp-sm); }

/* === HEADER === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(244,246,251,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--duration), border-color var(--duration), box-shadow var(--duration);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--pearl);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-md);
}

.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Instrument Serif', serif; font-size: 1.5rem;
  color: var(--ink); letter-spacing: -0.02em; z-index: 1001;
}
.logo-icon {
  width: 36px; height: 36px; background: var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-weight: 700; font-size: 1.1rem;
  font-family: 'Source Sans 3', sans-serif;
}
.logo-text span { color: var(--amber); }

.nav-list { display: flex; align-items: center; gap: var(--sp-lg); }
.nav-link {
  font-size: var(--fs-sm); font-weight: 600; color: var(--steel);
  letter-spacing: 0.03em; text-transform: uppercase; position: relative; padding: 0.3rem 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--amber);
  transition: width var(--duration) var(--ease-out);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--ink); }
.nav-link:hover::after, .nav-link:focus-visible::after { width: 100%; }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { width: 100%; }

.nav-item-dropdown { position: relative; }
.dropdown-toggle {
  background: none; border: none; cursor: pointer; font: inherit;
  display: flex; align-items: center; gap: 0.35rem;
}
.dropdown-arrow { width: 10px; height: 10px; transition: transform 0.25s var(--ease-out); }
.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown:focus-within .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(6px); min-width: 240px;
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: var(--sp-xs) 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.65rem 1.25rem; font-size: var(--fs-sm);
  color: var(--slate); font-weight: 500; transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: var(--snow); color: var(--ink); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--ink); color: var(--white) !important;
  padding: 0.55rem 1.25rem; border-radius: 100px;
  font-size: var(--fs-sm); font-weight: 600; text-transform: none;
  transition: background var(--duration), transform 0.2s var(--ease-spring);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--ink-soft); transform: translateY(-1px); }

.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 1001;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding-top: 72px; overflow: hidden; background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(46,184,166,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,168,56,0.1) 0%, transparent 50%),
    linear-gradient(175deg, var(--ink) 0%, var(--ink-soft) 100%);
}
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-md) var(--sp-2xl);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); align-items: center;
}
.hero-text { max-width: 600px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(232,168,56,0.12); border: 1px solid rgba(232,168,56,0.25);
  padding: 0.35rem 1rem; border-radius: 100px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--amber-glow);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-md);
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--amber);
  border-radius: 50%; animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 { font-size: var(--fs-hero); color: var(--white); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: var(--sp-md); }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero-sub { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--cloud); line-height: 1.65; margin-bottom: var(--sp-lg); max-width: 520px; }
.hero-actions { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem; border-radius: 100px;
  font-size: var(--fs-body); font-weight: 600;
  font-family: 'Source Sans 3', sans-serif; border: none; cursor: pointer;
  transition: all var(--duration) var(--ease-out);
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-glow); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-arrow { transition: transform 0.2s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Hero Visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-brain-graphic { position: relative; width: 420px; height: 420px; }
.brain-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(232,168,56,0.15);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: spin-slow 40s linear infinite;
}
.brain-ring:nth-child(1) { width: 100%; height: 100%; }
.brain-ring:nth-child(2) { width: 75%; height: 75%; animation-direction: reverse; animation-duration: 30s; border-color: rgba(46,184,166,0.12); }
.brain-ring:nth-child(3) { width: 50%; height: 50%; animation-duration: 20s; }
@keyframes spin-slow { to { transform: translate(-50%,-50%) rotate(360deg); } }

.brain-node {
  position: absolute; width: 10px; height: 10px;
  background: var(--amber); border-radius: 50%;
  box-shadow: 0 0 16px rgba(232,168,56,0.5);
  animation: float-node 4s ease-in-out infinite;
}
.brain-node:nth-child(4) { top: 0; left: 50%; }
.brain-node:nth-child(5) { top: 50%; right: 0; animation-delay: 1s; }
.brain-node:nth-child(6) { bottom: 0; left: 50%; animation-delay: 2s; }
.brain-node:nth-child(7) { top: 50%; left: 0; animation-delay: 3s; }
.brain-node:nth-child(8) { top: 15%; right: 12%; animation-delay: 0.5s; background: var(--teal); box-shadow: 0 0 16px rgba(46,184,166,0.5); }
.brain-node:nth-child(9) { bottom: 18%; left: 15%; animation-delay: 1.5s; background: var(--teal); box-shadow: 0 0 16px rgba(46,184,166,0.5); }
.brain-center-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
}
.brain-center-icon svg { width: 64px; height: 64px; opacity: 0.6; color: var(--amber); }
@keyframes float-node { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-stats {
  position: relative; z-index: 1; display: flex; gap: var(--sp-xl);
  padding-top: var(--sp-lg); margin-top: var(--sp-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num { font-family: 'Instrument Serif', serif; font-size: 2rem; color: var(--amber); line-height: 1; }
.hero-stat-label { font-size: var(--fs-xs); color: var(--mist); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.3rem; }

/* === SECTIONS === */
.section { padding: var(--sp-3xl) 0; }
.section-header { text-align: center; margin-bottom: var(--sp-2xl); }
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs); font-weight: 700; color: var(--amber-deep);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--sp-sm);
}
.section-label-line { width: 24px; height: 2px; background: var(--amber); }
.section-title { font-size: var(--fs-h2); margin-bottom: var(--sp-sm); }
.section-desc { max-width: 600px; margin: 0 auto; color: var(--steel); }

/* Branches Grid */
.branches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.branch-card {
  position: relative; background: var(--white); border: 1px solid var(--pearl);
  border-radius: var(--radius-lg); padding: var(--sp-lg); overflow: hidden;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration), border-color var(--duration);
}
.branch-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent, var(--amber)); opacity: 0; transition: opacity var(--duration);
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--cloud); }
.branch-card:hover::before { opacity: 1; }
.branch-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-sm); font-size: 1.5rem; background: var(--snow);
}
.branch-card h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.branch-card h3 a { color: var(--ink); }
.branch-card h3 a:hover { color: var(--amber-deep); }
.branch-card p { font-size: var(--fs-sm); color: var(--steel); line-height: 1.6; margin-bottom: var(--sp-sm); }
.branch-card-link { font-size: var(--fs-sm); font-weight: 600; color: var(--amber-deep); display: inline-flex; align-items: center; gap: 0.3rem; }
.branch-card-link:hover { color: var(--amber); }
.branch-card-link svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease-out); }
.branch-card:hover .branch-card-link svg { transform: translateX(4px); }

.branch-card[data-branch="cognitive"] { --card-accent: #5b8def; }
.branch-card[data-branch="forensic"] { --card-accent: #e06050; }
.branch-card[data-branch="social"] { --card-accent: #2eb8a6; }
.branch-card[data-branch="developmental"] { --card-accent: #9b6fd4; }
.branch-card[data-branch="clinical"] { --card-accent: #e86090; }
.branch-card[data-branch="humanistic"] { --card-accent: #4caf50; }
.branch-card[data-branch="positive"] { --card-accent: var(--amber); }
.branch-card[data-branch="gestalt"] { --card-accent: #ff8c42; }
.branch-card[data-branch="evolutionary"] { --card-accent: #6c8776; }

/* === FEATURED === */
.featured-section { background: var(--white); }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.featured-card {
  position: relative; border-radius: var(--radius-xl); padding: var(--sp-xl); overflow: hidden;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform var(--duration) var(--ease-out);
}
.featured-card:hover { transform: translateY(-4px); }
.featured-card-dark { background: var(--ink); color: var(--white); }
.featured-card-dark .featured-card-desc { color: var(--cloud); }
.featured-card-amber { background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%); color: var(--ink); }
.featured-card-amber .featured-card-desc { color: rgba(11,17,32,0.7); }
.featured-card-label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-sm); opacity: 0.7; }
.featured-card h3 { font-size: var(--fs-h2); margin-bottom: var(--sp-xs); }
.featured-card-dark h3 { color: var(--white); }
.featured-card-amber h3 { color: var(--ink); }
.featured-card-desc { font-size: var(--fs-body); line-height: 1.6; margin-bottom: var(--sp-md); }
.featured-card .btn { align-self: flex-start; }
.featured-card-pattern {
  position: absolute; top: -30px; right: -30px; width: 200px; height: 200px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,0.04); pointer-events: none;
}

/* === CONCEPTS === */
.concepts-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-sm); }
.concept-item {
  display: flex; align-items: center; gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md); background: var(--white);
  border: 1px solid var(--pearl); border-radius: var(--radius);
  transition: border-color var(--duration), box-shadow var(--duration);
}
.concept-item:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.concept-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.concept-item a { font-weight: 600; color: var(--ink); flex: 1; }
.concept-item a:hover { color: var(--amber-deep); }
.concept-item .concept-arrow { color: var(--mist); transition: color 0.2s, transform 0.2s; }
.concept-item:hover .concept-arrow { color: var(--amber); transform: translateX(3px); }

/* === RESOURCES === */
.resources-section { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.resources-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 10% 90%, rgba(46,184,166,0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 10%, rgba(232,168,56,0.06) 0%, transparent 40%);
}
.resources-section .section-title { color: var(--white); }
.resources-section .section-desc { color: var(--cloud); }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); position: relative; z-index: 1; }
.resource-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: var(--sp-lg);
  transition: background var(--duration), border-color var(--duration), transform var(--duration);
}
.resource-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); transform: translateY(-3px); }
.resource-card-icon { font-size: 2rem; margin-bottom: var(--sp-sm); }
.resource-card h3 { color: var(--white); font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.resource-card p { color: var(--cloud); font-size: var(--fs-sm); line-height: 1.6; margin-bottom: var(--sp-sm); }
.resource-card-link { font-size: var(--fs-sm); font-weight: 600; color: var(--amber); display: inline-flex; align-items: center; gap: 0.3rem; }
.resource-card-link:hover { color: var(--amber-glow); }

/* === LATEST === */
.latest-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-lg); }
.latest-main {
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: var(--radius-xl); padding: var(--sp-xl);
  transition: box-shadow var(--duration);
}
.latest-main:hover { box-shadow: var(--shadow-md); }
.latest-main-label {
  display: inline-block; background: var(--teal-soft); color: var(--teal);
  font-size: var(--fs-xs); font-weight: 700; padding: 0.25rem 0.75rem;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-sm);
}
.latest-main h3 { font-size: var(--fs-h2); margin-bottom: var(--sp-xs); }
.latest-main h3 a:hover { color: var(--amber-deep); }
.latest-main p { color: var(--steel); margin-bottom: var(--sp-md); }
.latest-sidebar { display: flex; flex-direction: column; gap: var(--sp-sm); }
.latest-side-card {
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: var(--radius-lg); padding: var(--sp-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.latest-side-card:hover { border-color: var(--cloud); box-shadow: var(--shadow-sm); }
.latest-side-card h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.latest-side-card h4 a:hover { color: var(--amber-deep); }
.latest-side-card p { font-size: var(--fs-sm); color: var(--steel); }

/* === NEWSLETTER === */
.newsletter {
  background: linear-gradient(135deg, var(--snow) 0%, var(--pearl) 100%);
  border-radius: var(--radius-xl); padding: var(--sp-2xl) var(--sp-xl);
  text-align: center; max-width: var(--max-w); margin: 0 auto;
}
.newsletter h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-xs); }
.newsletter p { color: var(--steel); margin-bottom: var(--sp-lg); max-width: 480px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 0.5rem; max-width: 440px; margin: 0 auto; }
.newsletter-input {
  flex: 1; padding: 0.8rem 1.25rem; border: 1px solid var(--cloud);
  border-radius: 100px; font-size: var(--fs-body);
  font-family: 'Source Sans 3', sans-serif; background: var(--white);
  color: var(--ink); transition: border-color 0.2s;
}
.newsletter-input:focus { outline: none; border-color: var(--amber); }
.newsletter-input::placeholder { color: var(--mist); }

/* === FOOTER === */
.site-footer { background: var(--ink); color: var(--cloud); padding: var(--sp-2xl) 0 var(--sp-lg); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-xl);
  padding-bottom: var(--sp-xl); border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: var(--sp-lg);
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { color: var(--white); margin-bottom: var(--sp-sm); }
.footer-brand p { font-size: var(--fs-sm); color: var(--mist); line-height: 1.6; }
.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif; font-size: var(--fs-sm);
  font-weight: 700; color: var(--white); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: var(--sp-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: var(--fs-sm); color: var(--mist); transition: color 0.2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: var(--steel);
}
.footer-bottom a { color: var(--mist); }
.footer-bottom a:hover { color: var(--amber); }

/* === ANIMATIONS === */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; padding-top: var(--sp-2xl); text-align: center; }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; width: 100%; height: 100dvh;
    background: var(--white); padding: 90px var(--sp-md) var(--sp-lg);
    transform: translateX(100%); transition: transform 0.4s var(--ease-out);
    z-index: 1000; overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 0; align-items: stretch; }
  .nav-link { display: block; padding: var(--sp-sm) 0; font-size: 1.1rem; border-bottom: 1px solid var(--pearl); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: var(--sp-sm); justify-content: center; }
  .dropdown-menu {
    position: static; transform: none; box-shadow: none; border: none;
    background: var(--snow); border-radius: var(--radius); margin-top: 0.5rem;
    opacity: 1; visibility: visible; pointer-events: auto; padding: 0.5rem;
  }
  .hero { min-height: auto; padding-bottom: var(--sp-xl); }
  .hero-content { padding-top: var(--sp-xl); }
  .branches-grid, .concepts-list, .resources-grid { grid-template-columns: 1fr; }
  .featured-grid, .latest-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .footer-bottom { flex-direction: column; gap: var(--sp-xs); text-align: center; }
  .newsletter { padding: var(--sp-xl) var(--sp-md); }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: var(--sp-md); }
  .hero-stat-num { font-size: 1.5rem; }
}

@media print {
  .site-header, .mobile-toggle, .newsletter, .hero-visual { display: none; }
  body { background: white; color: black; }
  .hero { min-height: auto; background: none; color: black; }
  .hero h1 { color: black; }
  a { text-decoration: underline; }
}
