/* ============================================================
   FOUNDRY NORTH — MAIN STYLESHEET
   Brand Palette: #3C096C · #5A189A · #7B2CBF · #E0AAFF
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --purple-900: #3C096C;
  --purple-700: #5A189A;
  --purple-500: #7B2CBF;
  --purple-100: #E0AAFF;
  --purple-50: #F3E8FF;
  --white: #FFFFFF;
  --off-white: #FAF7FF;
  --gray-100: #F3EFF8;
  --gray-200: #E5DDF5;
  --gray-600: #6B7280;
  --gray-800: #1F1035;
  --dark-bg: #0D0520;
  --text-on-dark: #FFFFFF;
  --text-body: #1F1035;
  --gradient-hero: linear-gradient(135deg, #0D0520 0%, #3C096C 40%, #5A189A 80%, #7B2CBF 100%);
  --gradient-card: linear-gradient(135deg, rgba(60,9,108,0.6) 0%, rgba(90,24,154,0.4) 100%);
  --gradient-accent: linear-gradient(135deg, #7B2CBF 0%, #E0AAFF 100%);
  --shadow-sm: 0 2px 8px rgba(60,9,108,0.12);
  --shadow-md: 0 6px 24px rgba(60,9,108,0.2);
  --shadow-lg: 0 12px 48px rgba(60,9,108,0.3);
  --shadow-glow: 0 0 32px rgba(123,44,191,0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-height: 72px;
  --section-padding: clamp(60px, 8vw, 120px);
  --container-max: 1200px;
  --container-padding: clamp(16px, 4vw, 48px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; }

/* --- Skip to Content --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--purple-500);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  text-align: center;
  justify-content: center;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #7B2CBF, #5A189A);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(123,44,191,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(123,44,191,0.5);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--purple-100);
  outline-offset: 3px;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--purple-100);
}
.btn-outline:hover {
  background: rgba(224,170,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline:focus-visible {
  outline: 3px solid var(--purple-100);
  outline-offset: 3px;
}

.btn-outline-dark {
  background: transparent;
  color: var(--purple-700);
  border: 2px solid var(--purple-500);
}
.btn-outline-dark:hover {
  background: var(--purple-500);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Section Label --- */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-500);
  background: rgba(123,44,191,0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(123,44,191,0.2);
}
.section-label-light {
  color: var(--purple-100);
  background: rgba(224,170,255,0.15);
  border-color: rgba(224,170,255,0.3);
}

/* --- Section Titles --- */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.section-title-light { color: var(--white); }
.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}
.section-subtitle-light { color: rgba(224,170,255,0.85); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(13,5,32,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1001;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #5A189A 0%, #9D4EDD 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(90,24,154,0.55), 0 0 0 2px rgba(157,78,221,0.25);
  transition: var(--transition);
}
.nav-logo:hover .nav-logo-icon {
  box-shadow: 0 6px 28px rgba(90,24,154,0.7), 0 0 0 3px rgba(224,170,255,0.3);
  transform: scale(1.05);
}
.nav-logo-icon svg { display: block; }

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo-text span {
  color: var(--purple-100);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 100px;
  transition: var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-link:focus-visible {
  outline: 2px solid var(--purple-100);
  outline-offset: 2px;
}
.nav-cta {
  background: linear-gradient(135deg, #7B2CBF, #5A189A);
  color: var(--white) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(123,44,191,0.4);
}
.nav-cta:hover {
  background: linear-gradient(135deg, #9D4EDD, #7B2CBF) !important;
  box-shadow: 0 6px 24px rgba(123,44,191,0.5) !important;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  padding: 8px;
  z-index: 1001;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}
.nav-toggle:focus-visible { outline: 2px solid var(--purple-100); }
.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.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); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--gradient-hero);
  padding: calc(var(--nav-height) + 24px) 32px 32px;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav .nav-link {
  font-size: 1.4rem;
  font-weight: 700;
  padding: 16px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  min-height: 56px;
  justify-content: flex-start;
}
.mobile-nav .nav-link:hover {
  background: none;
  color: var(--purple-100);
  padding-left: 16px;
}
.mobile-nav .nav-cta {
  margin-top: 24px;
  border-radius: var(--radius-xl);
  justify-content: center;
  font-size: 1.1rem !important;
  padding: 16px 32px !important;
  background: linear-gradient(135deg, #7B2CBF, #5A189A) !important;
  border: none;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 12s ease-in-out infinite;
}
.hero-shape-1 {
  width: clamp(300px, 50vw, 700px);
  height: clamp(300px, 50vw, 700px);
  background: radial-gradient(circle, #7B2CBF, transparent);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}
.hero-shape-2 {
  width: clamp(200px, 35vw, 500px);
  height: clamp(200px, 35vw, 500px);
  background: radial-gradient(circle, #E0AAFF, transparent);
  bottom: 10%;
  left: -5%;
  animation-delay: -4s;
  opacity: 0.15;
}
.hero-shape-3 {
  width: clamp(150px, 25vw, 350px);
  height: clamp(150px, 25vw, 350px);
  background: radial-gradient(circle, #5A189A, transparent);
  top: 40%;
  left: 40%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-30px) scale(1.05); }
  66% { transform: translateY(20px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(60px, 10vw, 120px) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,170,255,0.15);
  border: 1px solid rgba(224,170,255,0.3);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 24px;
  color: var(--purple-100);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #E0AAFF;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-text {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(224,170,255,0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-num span { color: var(--purple-100); }
.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-image-wrapper {
  position: relative;
}
.hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(123,44,191,0.3);
}
.hero-image-card img {
  width: 100%;
  height: clamp(300px, 45vw, 520px);
  object-fit: cover;
  object-position: center top;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(60,9,108,0.6));
}
.hero-float-badge {
  position: absolute;
  background: rgba(13,5,32,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(224,170,255,0.2);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-float-badge-1 {
  bottom: 24px;
  left: -24px;
  animation: float-card 6s ease-in-out infinite;
}
.hero-float-badge-2 {
  top: 24px;
  right: -24px;
  animation: float-card 6s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #7B2CBF, #E0AAFF);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.float-badge-text strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
  display: block;
}
.float-badge-text span {
  color: rgba(224,170,255,0.7);
  font-size: 0.75rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}
.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: var(--section-padding) 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.services-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Service card — light (default) */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-accent);
  transition: height 0.35s ease;
  border-radius: 0 0 4px 0;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(123,44,191,0.15);
}
.service-card:hover::before { height: 100%; }

/* Decorative large number */
.service-num {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--purple-500);
  opacity: 0.07;
  letter-spacing: -4px;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s ease;
}
.service-card:hover .service-num { opacity: 0.12; }

/* Dark variant — cards 1 & 4 */
.service-card-dark {
  background: linear-gradient(145deg, #280850 0%, var(--purple-900) 50%, #3a0a6e 100%);
  border-color: rgba(224,170,255,0.12);
}
.service-card-dark .service-title { color: var(--white); }
.service-card-dark .service-desc  { color: rgba(224,170,255,0.72); }
.service-card-dark .service-num   { color: #E0AAFF; opacity: 0.12; }
.service-card-dark:hover .service-num { opacity: 0.22; }
.service-card-dark .service-icon  {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
}
.service-card-dark .service-icon svg { color: var(--purple-100); }
.service-card-dark:hover {
  border-color: rgba(224,170,255,0.25);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}
.service-card-dark::before { background: linear-gradient(to bottom, #E0AAFF, #7B2CBF); }

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(123,44,191,0.12), rgba(224,170,255,0.2));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  border: 1px solid rgba(123,44,191,0.15);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, #7B2CBF, #5A189A);
}
.service-card:hover .service-icon svg { color: var(--white); }

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--purple-500);
  transition: var(--transition);
}
.service-card:hover .service-icon svg { color: var(--white); }

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--section-padding) 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(123,44,191,0.4) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(224,170,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-image-stack {
  position: relative;
}
.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-main img {
  width: 100%;
  height: clamp(300px, 40vw, 480px);
  object-fit: cover;
  object-position: center;
}
.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--purple-900);
}
.about-image-accent img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.about-exp-badge {
  position: absolute;
  top: 24px;
  left: -24px;
  background: linear-gradient(135deg, #7B2CBF, #5A189A);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-exp-badge strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
}
.about-exp-badge span {
  font-size: 0.75rem;
  color: var(--purple-100);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.about-content { color: var(--white); }
.about-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}
.about-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-point-icon {
  width: 44px;
  height: 44px;
  background: rgba(224,170,255,0.15);
  border: 1px solid rgba(224,170,255,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.about-point-text strong {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.about-point-text p {
  font-size: 0.85rem;
  color: rgba(224,170,255,0.7);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(224,170,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.testimonials-header { margin-bottom: clamp(40px, 6vw, 72px); }

/* 3-column grid layout on desktop */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(123,44,191,0.15);
}

/* Featured middle card — darker, stands out */
.testimonial-card-featured {
  background: linear-gradient(145deg, #280850 0%, var(--purple-900) 100%);
  border-color: rgba(224,170,255,0.15);
}
.testimonial-card-featured .testimonial-text  { color: rgba(255,255,255,0.9); }
.testimonial-card-featured .testimonial-quote-icon { color: var(--purple-100); opacity: 0.4; }
.testimonial-card-featured .testimonial-author-name { color: var(--white); }
.testimonial-card-featured .testimonial-author-role { color: var(--purple-100); }
.testimonial-card-featured:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
  border-color: rgba(224,170,255,0.25);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7B2CBF, #E0AAFF, #5A189A);
}
.testimonial-quote-icon {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--purple-100);
  font-family: Georgia, serif;
  line-height: 0.8;
  margin-bottom: 24px;
  display: block;
  opacity: 0.6;
}
.testimonial-text {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--gray-800);
  line-height: 1.8;
  margin-bottom: 32px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7B2CBF, #E0AAFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-800);
  font-size: 1rem;
}
.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--purple-500);
  font-weight: 500;
}
.testimonial-stars {
  margin-left: auto;
  color: #FFB700;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--purple-700);
  flex-shrink: 0;
}
.slider-btn:hover {
  background: var(--purple-500);
  border-color: var(--purple-500);
  color: var(--white);
  transform: scale(1.05);
}
.slider-btn:focus-visible { outline: 2px solid var(--purple-500); outline-offset: 3px; }
.slider-btn svg { width: 20px; height: 20px; }
.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  transition: var(--transition);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.slider-dot::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: var(--transition);
}
.slider-dot.active::after,
.slider-dot:hover::after {
  background: var(--purple-500);
  transform: scale(1.3);
}
.slider-dot:focus-visible { outline: 2px solid var(--purple-500); outline-offset: 2px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.contact-info h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(123,44,191,0.12), rgba(224,170,255,0.2));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(123,44,191,0.15);
}
.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--purple-500);
}
.contact-detail-text strong {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}
.contact-detail-text span, .contact-detail-text a {
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: var(--transition-fast);
}
.contact-detail-text a:hover { color: var(--purple-500); }

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.contact-map iframe {
  width: 100%;
  height: 220px;
  display: block;
  border: none;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.form-subtitle {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 28px;
}

/* ============================================================
   FORMS (shared)
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 0.02em;
}
.form-label .required {
  color: #DC2626;
  margin-left: 3px;
}
.form-control {
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition-fast);
  width: 100%;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px rgba(123,44,191,0.1);
}
.form-control::placeholder { color: #9CA3AF; }
.form-control:invalid:not(:placeholder-shown) {
  border-color: #DC2626;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--purple-500);
}
.form-checkbox label {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  cursor: pointer;
}
.form-checkbox label a { color: var(--purple-500); text-decoration: underline; }
.form-checkbox label a:hover { color: var(--purple-700); }

/* Honeypot */
.form-honeypot { display: none !important; visibility: hidden !important; }

/* File upload */
.form-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 20px;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  background: var(--gray-100);
}
.form-file-label:hover {
  border-color: var(--purple-500);
  background: rgba(123,44,191,0.04);
}
.form-file-label svg {
  width: 36px;
  height: 36px;
  color: var(--purple-500);
}
.form-file-label strong {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.9rem;
}
.form-file-label span {
  font-size: 0.8rem;
  color: var(--gray-600);
}
input[type="file"] { display: none; }
#file-name {
  font-size: 0.8rem;
  color: var(--purple-500);
  font-weight: 500;
  margin-top: 4px;
}

/* Form Messages */
.form-message {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
}
.form-message.show { display: flex; }
.form-message.success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
}
.form-message.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
}
.form-message svg { width: 20px; height: 20px; flex-shrink: 0; }

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7B2CBF, #5A189A);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(123,44,191,0.35);
  min-height: 52px;
  position: relative;
  overflow: hidden;
}
.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(123,44,191,0.45);
}
.form-submit-btn:focus-visible { outline: 3px solid var(--purple-100); outline-offset: 3px; }
.form-submit-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}
.form-submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: clamp(48px, 7vw, 80px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: clamp(40px, 6vw, 60px);
}
.footer-brand { max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #5A189A 0%, #9D4EDD 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(90,24,154,0.45), 0 0 0 2px rgba(157,78,221,0.2);
}
.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition-fast);
  font-size: 1rem;
}
.footer-social-link:hover {
  background: var(--purple-500);
  border-color: var(--purple-500);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-social-link:focus-visible { outline: 2px solid var(--purple-100); outline-offset: 3px; }
.footer-social-link svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-100);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition-fast);
  padding: 2px 0;
}
.footer-link:hover { color: var(--white); padding-left: 4px; }
.footer-link:focus-visible { outline: 1px solid var(--purple-100); outline-offset: 2px; border-radius: 2px; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  align-items: flex-start;
  line-height: 1.5;
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--purple-100); }
.footer-contact-item a { color: inherit; transition: var(--transition-fast); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: var(--transition-fast);
}
.footer-bottom-links a:hover { color: var(--white); }
.footer-bottom-links a:focus-visible { outline: 1px solid var(--purple-100); outline-offset: 2px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7B2CBF, #5A189A);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
  border: none;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.back-to-top:focus-visible { outline: 3px solid var(--purple-100); outline-offset: 3px; }
.back-to-top svg { width: 20px; height: 20px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section {
  background: var(--purple-900);
  padding: calc(var(--nav-height) + 24px) 0 24px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-item {
  font-size: 0.85rem;
  color: rgba(224,170,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-item a { color: var(--purple-100); transition: var(--transition-fast); }
.breadcrumb-item a:hover { color: var(--white); }
.breadcrumb-item a:focus-visible { outline: 1px solid var(--purple-100); outline-offset: 2px; }
.breadcrumb-item.active { color: var(--white); font-weight: 600; }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: calc(var(--nav-height) + 48px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(123,44,191,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(224,170,255,0.8);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   APPLY PAGE
   ============================================================ */
.apply-section {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}
.apply-container {
  max-width: 900px;
  margin: 0 auto;
}
.apply-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.apply-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 32px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(123,44,191,0.1);
}
.apply-section-title:first-of-type { margin-top: 0; }

.address-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}
.legal-container {
  max-width: 800px;
  margin: 0 auto;
}
.legal-card {
  background: var(--white);
}
.legal-updated {
  display: inline-block;
  background: rgba(123,44,191,0.08);
  border: 1px solid rgba(123,44,191,0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-700);
  margin-bottom: 32px;
}
.legal-card h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--purple-700);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(123,44,191,0.1);
}
.legal-card h2:first-of-type { margin-top: 0; }
.legal-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 24px 0 10px;
}
.legal-card p {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-card ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-card ul li {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  min-height: calc(100vh - var(--nav-height));
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-padding) var(--container-padding);
  position: relative;
  overflow: hidden;
}
.error-404::before {
  content: '404';
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(150px, 30vw, 300px);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}
.error-404-content { position: relative; z-index: 1; max-width: 600px; }
.error-404-num {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.error-404-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.error-404-text {
  color: rgba(224,170,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}
.error-404-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.quick-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.quick-link {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(224,170,255,0.2);
  color: rgba(224,170,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}
.quick-link:hover {
  border-color: var(--purple-100);
  color: var(--white);
  background: rgba(224,170,255,0.1);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-image-wrapper { display: none; }
  .hero-text { max-width: 100%; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-stack { display: none; }

  .contact-grid { grid-template-columns: 1fr; }

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

  /* Testimonials: 2 columns on tablet */
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  /* Stack featured card full width on tablet */
  .testimonials-grid .testimonial-card:nth-child(2) { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:nth-child(2) { grid-column: auto; }

  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: 1; }
  .address-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-links { justify-content: center; gap: 16px; }

  .hero-float-badge-1, .hero-float-badge-2 { display: none; }

  .apply-card { padding: 24px 20px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .footer-social { flex-wrap: wrap; }
  .address-grid { grid-template-columns: 1fr; }
  .error-404-links { flex-direction: column; align-items: center; }
}

/* ============================================================
   FOCUS STYLES — Keyboard Navigation
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: 2px;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .mobile-nav,
  .nav-toggle,
  .back-to-top,
  .hero-bg-shapes,
  .hero-scroll-indicator,
  .slider-controls,
  .contact-map,
  .site-footer,
  .form-submit-btn,
  .hero-float-badge,
  .hero-image-wrapper,
  .about-image-stack { display: none !important; }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  .hero {
    min-height: auto;
    background: #fff;
    color: #000;
    padding: 20pt 0;
  }
  .hero-title, .hero-title-accent { color: #3C096C !important; -webkit-text-fill-color: #3C096C !important; }
  .hero-text { color: #333; }
  .section-title { color: #3C096C; }
  a { color: #5A189A; text-decoration: underline; }
  .service-card, .testimonial-card, .contact-form-wrapper {
    border: 1pt solid #ccc;
    box-shadow: none;
  }
  .container { max-width: 100%; }
  @page { margin: 2cm; }
}
