/* ==========================================================================
   Spanish & Portuguese Academy — Master Stylesheet
   Theme: Prestigious Spanish & Portuguese Academy (Iberian Academic Excellence)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --navy: #151238;
  --navy-deep: #0b0922;
  --navy-light: #1f1b4e;
  --purple: #533fa1;
  --purple-hover: #433188;
  --purple-subtle: #f3f0fb;
  
  /* Authentic Iberian Academic Colors */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-crest: 'Cinzel', Georgia, serif;
  
  /* Spain / Hispanic Heritage */
  --red-es: #cb3232;
  --red-es-deep: #9d1319;
  --red-es-subtle: #fdf2f2;
  --gold: #cfa234;
  --gold-royal: #c89d2d;
  --gold-dark: #a1781c;
  --gold-subtle: #fbf6e9;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
  
  /* Portugal & Brazil / Lusophone Heritage */
  --green-pt: #1c7e55;
  --green-pt-deep: #0f5437;
  --green-pt-subtle: #edf8f3;
  --azulejo-blue: #1b365d;
  --azulejo-blue-deep: #10223b;
  --azulejo-blue-subtle: #eef4fc;
  --brazil-green: #00793e;
  --brazil-gold: #f8c102;
  --terracotta: #c45b38;
  --parchment: #fcfbf7;
  
  /* Neutrals & Surfaces */
  --bg-page: #faf9f6;
  --bg-surface: #ffffff;
  --bg-muted: #f4f3f8;
  --text-main: #18162e;
  --text-body: #49475f;
  --text-muted: #727088;
  --border-light: #ebe8f2;
  --border-focus: #b9b3db;
  
  /* Elevation & Effects */
  --shadow-sm: 0 2px 8px rgba(21, 18, 56, 0.04);
  --shadow-md: 0 8px 24px rgba(21, 18, 56, 0.06);
  --shadow-lg: 0 16px 40px rgba(21, 18, 56, 0.09);
  --shadow-floating: 0 24px 60px rgba(21, 18, 56, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  
  /* Layout */
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

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

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: var(--navy-deep);
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  transition: var(--transition);
}

.announcement-bar.hidden {
  display: none;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  flex-wrap: wrap;
}

.announcement-tag {
  background: linear-gradient(135deg, var(--gold), #e7ba45);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.announcement-cta {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.announcement-cta:hover {
  color: var(--gold);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  height: 80px;
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-crest);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.8px;
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--font-crest);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.3px;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--purple);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

/* Navigation Dropdown */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--purple);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(21, 18, 56, 0.14), 0 4px 12px rgba(21, 18, 56, 0.05);
  border: 1px solid var(--border-light);
  padding: 8px;
  min-width: 330px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  z-index: 1000;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: var(--navy);
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--purple-subtle);
  transform: translateX(3px);
}

.dropdown-item.active {
  background: var(--purple-subtle);
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-muted);
  transition: var(--transition);
}

.dropdown-item:hover .dropdown-item-icon {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--purple);
}

.dropdown-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background-color: var(--purple);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(83, 63, 161, 0.25);
}

.btn-primary:hover {
  background-color: var(--purple-hover);
  box-shadow: 0 6px 20px rgba(83, 63, 161, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--navy);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-muted);
  border-color: var(--border-focus);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(207, 162, 52, 0.25);
}

.btn-gold:hover {
  background-color: #be922c;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--purple);
  color: var(--purple);
}

.btn-outline:hover {
  background: var(--purple-subtle);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 15px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

.mobile-nav-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 350px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: var(--shadow-floating);
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 14px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 37, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.mobile-nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  padding: 8px 4px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--purple);
}

.mobile-nav-group {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2px;
}

.mobile-nav-group .mobile-nav-link {
  border-bottom: none;
  padding-bottom: 4px;
}

.mobile-nav-group .mobile-nav-link span {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
}

.mobile-nav-group.open .mobile-nav-link span {
  transform: rotate(180deg);
  color: var(--purple);
}

/* Accordion Subnav: Collapsed by default, opens smoothly when group has .open */
.mobile-subnav {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 0 0 6px;
  transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-group.open .mobile-subnav {
  max-height: 380px;
  opacity: 1;
  visibility: visible;
  padding: 4px 0 8px 6px;
}

.mobile-subnav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
  min-height: 38px;
  touch-action: manipulation;
}

.mobile-subnav-link:hover,
.mobile-subnav-link.active {
  background: var(--purple-subtle);
  color: var(--purple);
}

.subnav-flag {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.mobile-drawer-contact {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.mobile-drawer-contact .btn {
  width: 100%;
  font-size: 13px;
  padding: 9px 12px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(100% 120% at 75% 20%, #f4f0ff 0%, #ffffff 50%, #eef8f3 100%);
  padding: 70px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--purple);
  text-transform: uppercase;
  background: rgba(83, 63, 161, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(83, 63, 161, 0.15);
}

.hero-title {
  font-size: 52px;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -1.2px;
}

.hero-title .highlight-es {
  color: var(--red-es);
  position: relative;
}

.hero-title .highlight-pt {
  color: var(--green-pt);
  position: relative;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 10px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--green-pt);
}

/* ==========================================================================
   Hero Visual Showcase (Clear, Realistic, Creative UI)
   ========================================================================== */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(207, 162, 52, 0.12);
  color: var(--gold);
  border: 1px solid rgba(207, 162, 52, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero-visual-card {
  position: relative;
  background: linear-gradient(145deg, rgba(23, 19, 63, 0.95) 0%, rgba(13, 10, 39, 0.98) 100%);
  border-radius: var(--radius-xl);
  padding: 14px;
  color: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(10, 8, 30, 0.45), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-visual-card:hover {
  box-shadow: 0 30px 70px -15px rgba(10, 8, 30, 0.55), 0 0 1px 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Photo Frame */
.hero-academy-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #09071c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-academy-img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-card:hover .hero-academy-img {
  transform: scale(1.02);
}

/* Sleek Live Interactive Status Pill */
.hero-live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 12, 44, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
  animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

/* Bottom Metadata Bar */
.hero-quick-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 16px;
  gap: 12px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-flag {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.meta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.meta-text strong {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 700;
}

.meta-text small {
  font-size: 11.5px;
  color: #dedcf1;
}

.hero-meta-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}

/* Accreditation Badges */
.hero-accreditation-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 10px;
}

.accredit-item {
  font-size: 11.5px;
  font-weight: 700;
  color: #fae8c3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.accredit-item-bullet {
  color: var(--gold);
  font-size: 12px;
}

.corp-pill-icon {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

/* Subpage Hero & Breadcrumbs */
.subpage-hero {
  background: radial-gradient(100% 120% at 75% 20%, #f4f0ff 0%, #ffffff 60%, #eef8f3 100%);
  padding: 56px 0 42px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.breadcrumbs a {
  color: var(--purple);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.subpage-title {
  font-size: 42px;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.subpage-lead {
  font-size: 17px;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* CEFR Level Breakdown Grid */
.levels-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.level-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.level-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.level-badge-cefr {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--purple-subtle);
  color: var(--purple);
  margin-bottom: 12px;
}

.level-badge-es { background: var(--red-es-subtle); color: var(--red-es); }
.level-badge-pt { background: var(--green-pt-subtle); color: var(--green-pt); }
.level-badge-gold { background: var(--gold-subtle); color: var(--gold); }

.value-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 22px 0;
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.value-strip-item:hover {
  background: var(--bg-muted);
  color: var(--purple);
}

.value-strip-item .flag-emoji {
  font-size: 22px;
}

/* ==========================================================================
   Azulejo Classical Decorative Ribbons & Academic Typography
   ========================================================================== */
.font-serif-academy {
  font-family: var(--font-serif);
}

.font-crest-academy {
  font-family: var(--font-crest);
}

/* Azulejo Ornamental Ribbon (Lisbon & Seville Ceramic Motif) */
.azulejo-ribbon {
  height: 8px;
  width: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--azulejo-blue) 0px,
    var(--azulejo-blue) 10px,
    #ffffff 10px,
    #ffffff 12px,
    var(--gold) 12px,
    var(--gold) 16px,
    #ffffff 16px,
    #ffffff 18px
  );
  opacity: 0.85;
}

.azulejo-ribbon-gold {
  height: 8px;
  width: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--gold-dark) 0px,
    var(--gold-dark) 8px,
    #fff8e7 8px,
    #fff8e7 10px,
    var(--red-es-deep) 10px,
    var(--red-es-deep) 14px,
    #fff8e7 14px,
    #fff8e7 16px
  );
  opacity: 0.9;
}

/* ==========================================================================
   Dual-Heritage Cultural Portals (El Mundo Hispanohablante & O Mundo Lusófono)
   ========================================================================== */
.iberian-portals-section {
  padding: 88px 0 80px;
  background: linear-gradient(180deg, #faf9f6 0%, #ffffff 40%, #f4f2ea 100%);
  position: relative;
  overflow: hidden;
}

.iberian-portals-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: radial-gradient(circle at 50% 0%, rgba(207, 162, 52, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.portals-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.portals-crest-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-crest);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-dark);
  text-transform: uppercase;
  background: #fdf6e7;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(207, 162, 52, 0.35);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.portals-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.portals-subtitle {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.65;
}

.iberian-portals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

/* Individual Portal Card */
.portal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(21, 18, 56, 0.07);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(21, 18, 56, 0.12);
}

.portal-card-es {
  border-top: 5px solid var(--red-es-deep);
}

.portal-card-es:hover {
  border-color: rgba(203, 50, 50, 0.4);
}

.portal-card-pt {
  border-top: 5px solid var(--azulejo-blue);
}

.portal-card-pt:hover {
  border-color: rgba(27, 54, 93, 0.4);
}

/* Image Visual Header */
.portal-media-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #110e2f;
}

.portal-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.04) saturate(1.06);
}

.portal-card:hover .portal-media-img {
  transform: scale(1.05);
}

.portal-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(15, 12, 44, 0.65) 100%);
}

.portal-floating-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.tag-es {
  color: var(--red-es-deep);
  border: 1px solid rgba(203, 50, 50, 0.3);
}

.tag-pt {
  color: var(--azulejo-blue);
  border: 1px solid rgba(27, 54, 93, 0.3);
}

.portal-flag-strip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: clamp(10.5px, 2.8vw, 12px);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Card Body Content */
.portal-content-body {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portal-title-block {
  margin-bottom: 16px;
}

.portal-latin-name {
  font-family: var(--font-crest);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 800;
  margin-bottom: 6px;
  display: block;
}

.portal-headline {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.portal-narrative {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 22px;
}

/* Key Academic Stat Chips */
.portal-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--bg-page);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.metric-item {
  text-align: center;
}

.metric-val {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  display: block;
}

.metric-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
  display: block;
}

/* Authentic Literary / Cultural Quote Box */
.portal-quote-box {
  background: #fdfcf8;
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 24px;
  font-style: italic;
  color: #575249;
  font-size: 13px;
  line-height: 1.55;
}

.portal-quote-author {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 11.5px;
  color: var(--navy);
  margin-top: 4px;
  font-family: var(--font-crest);
  letter-spacing: 0.5px;
}

/* Academic Curricula Bullet Points */
.portal-curriculum-list {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.45;
}

.curriculum-bullet-es {
  color: var(--red-es-deep);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
}

.curriculum-bullet-pt {
  color: var(--azulejo-blue);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
}

/* Card Action Wrap */
.portal-action-wrap {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Section Standards
   ========================================================================== */
.section {
  padding: 88px 0;
  position: relative;
}

.section-muted {
  background-color: var(--bg-muted);
}

.section-white {
  background-color: #ffffff;
}

.section-dark {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #ffffff;
}

.section-dark h2, .section-dark h3 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

.section-tag-gold {
  color: var(--gold);
}

.section-title {
  font-size: 38px;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-dark .section-desc {
  color: #c9c7dc;
}

/* ==========================================================================
   Why Us Section ("More Than Language Classes")
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 50%, var(--navy) 100%);
  opacity: 0.8;
  transition: height 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(21, 18, 56, 0.09);
  border-color: rgba(207, 162, 52, 0.4);
}

.feature-card:hover::before {
  height: 4px;
}

.academic-pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fdf8eb 0%, #f7ecd2 100%);
  color: var(--navy);
  border: 1px solid rgba(207, 162, 52, 0.3);
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(207, 162, 52, 0.15);
  margin-bottom: 0;
}

.academic-pillar-roman {
  font-family: var(--font-crest);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  text-transform: uppercase;
  background: #fcf9f2;
  border: 1px solid rgba(207, 162, 52, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--navy);
  line-height: 1.25;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==========================================================================
   Courses Section ("Choose Your Learning Path")
   ========================================================================== */
.course-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.filter-btn.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

.course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.course-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.badge-active {
  background: var(--purple-subtle);
  color: var(--purple);
}

.badge-coming {
  background: #f1f0f5;
  color: var(--text-muted);
  border: 1px dashed #d1cfdd;
}

.course-lang-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.course-title {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}

.course-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 14px;
}

.course-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-muted);
}

.course-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-card-action {
  margin-top: auto;
}

/* ==========================================================================
   Dedicated Spanish Section / View
   ========================================================================== */
.program-hero {
  background: linear-gradient(135deg, #fbf7f7 0%, #ffffff 60%, #fff7f2 100%);
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--border-light);
}

.program-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.program-levels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.program-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.program-detail-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.program-detail-card .highlight-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--red-es);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.program-detail-card ul {
  margin: 16px 0 20px;
  padding-left: 20px;
  list-style: disc;
  font-size: 14px;
  color: var(--text-body);
}

.program-detail-card ul li {
  margin-bottom: 6px;
}

/* ==========================================================================
   Conversational Spanish (Conversation Club)
   ========================================================================== */
.conversation-section {
  background: linear-gradient(145deg, #151238 0%, #231b54 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
}

.conversation-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.conversation-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 36px;
}

.conv-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: #e5e3f4;
}

.conv-point-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(207, 162, 52, 0.2);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.conversation-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* ==========================================================================
   Spanish for Kids (Young Learners)
   ========================================================================== */
.kids-wrapper {
  background: linear-gradient(135deg, #fffcf5 0%, #fff8eb 100%);
  border: 1px solid #fae8c3;
  border-radius: var(--radius-xl);
  padding: 50px;
}

.kids-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.kids-badge {
  display: inline-block;
  background: #fbecc2;
  color: #8f650b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.kids-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}

.kids-pill {
  background: #ffffff;
  border: 1px solid #ebd49f;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: #614407;
}

/* ==========================================================================
   Corporate Training Section & Enquiry Form
   ========================================================================== */
.corporate-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}

.corporate-services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0 32px;
}

.corp-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 15px;
}

.corporate-form-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-floating);
}

.corporate-form-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}

.corporate-form-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Form Controls */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-main);
  background: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(83, 63, 161, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* ==========================================================================
   How It Works & Who We Teach
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.step-number {
  font-family: var(--font-crest);
  font-size: 12px;
  font-weight: 900;
  color: var(--gold-dark);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  display: inline-block;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}

.audiences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.audience-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple);
}

.audience-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.audience-title {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

/* ==========================================================================
   Experience Real Spanish Section
   ========================================================================== */
.experience-box {
  background: linear-gradient(135deg, #f8f6fd 0%, #ffffff 50%, #f4fbf8 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 50px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.about-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.about-stat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-stat-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Resources / Blog Section
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.article-category {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

.article-title {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.article-read-link {
  font-weight: 700;
  color: var(--purple);
}

/* ==========================================================================
   Free Consultation Section
   ========================================================================== */
.consultation-card {
  background: linear-gradient(135deg, #f8f6fd 0%, #ffffff 50%, #f1faf6 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  box-shadow: var(--shadow-lg);
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.25s ease;
  color: var(--purple);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* ==========================================================================
   Testimonials Placeholder
   ========================================================================== */
.testimonials-placeholder {
  background: #ffffff;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.placeholder-badge {
  display: inline-block;
  background: var(--purple-subtle);
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: #cac7db;
  padding: 70px 0 30px;
  font-size: 14px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 320px;
  font-size: 13px;
  margin-bottom: 18px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link svg {
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.08);
}

.social-link:hover svg {
  transform: scale(1.12);
}

/* Creative Brand Hover Aesthetics */
.social-link-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #fd5949;
  box-shadow: 0 8px 22px rgba(214, 36, 159, 0.5);
  color: #ffffff;
}

.social-link-in:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  box-shadow: 0 8px 22px rgba(10, 102, 194, 0.5);
  color: #ffffff;
}

.social-link-wa:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.social-link-yt:hover {
  background: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 8px 22px rgba(255, 0, 0, 0.5);
  color: #ffffff;
}

/* Floating WhatsApp Business Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6), 0 4px 10px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.floating-whatsapp-btn svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.floating-whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.65);
  animation: waPulse 2.4s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.85; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.floating-whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  background: #110e30;
  color: #ffffff;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .floating-whatsapp-btn {
    bottom: 18px;
    left: 18px;
    width: 48px;
    height: 48px;
  }
  .floating-whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
}

.footer-col-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #cac7db;
  font-size: 13px;
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8c8aa1;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-portal-link {
  color: #8c8aa1;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.admin-portal-link:hover {
  color: var(--gold);
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 12, 37, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

#welcomeModal {
  z-index: 5000 !important;
}

.modal-backdrop.active,
#welcomeModal.active {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-floating);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-window-lg {
  max-width: 960px;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-muted);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e2dfec;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--navy);
  color: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastIn 0.35s ease;
  border-left: 4px solid var(--green-pt);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Admin Portal Layout & Styles
   ========================================================================== */
.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.admin-tab-btn.active {
  background: var(--purple-subtle);
  color: var(--purple);
}

.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.admin-table th {
  background: var(--bg-muted);
  padding: 12px 14px;
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.status-active { background: #dcfce7; color: #166534; border: 1px solid rgba(22, 101, 52, 0.2); }
.status-coming { background: #fef3c7; color: #92400e; border: 1px solid rgba(217, 119, 6, 0.28); }
.status-hidden { background: #f1f0f5; color: #6b7280; }

/* ==========================================================================
   Form Grids & Layout Utility Classes
   ========================================================================== */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.teaser-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ==========================================================================
   Comprehensive Mobile & Responsive Breakpoints
   ========================================================================== */

/* Universal Responsive Guards to Guarantee Zero Horizontal Scroll */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

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

img, video, iframe, canvas, svg {
  max-width: 100%;
}

/* Touch & Mobile-first Form Usability: Prevent iOS Zoom & ensure smooth taps */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents iOS auto-zoom on input focus */
    max-width: 100%;
  }

  body {
    -webkit-tap-highlight-color: transparent;
  }
}

/* --------------------------------------------------------------------------
   Breakpoint: <= 1024px (Tablets & Small Laptops)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, 
  .program-hero-grid, 
  .corporate-banner-grid, 
  .about-grid, 
  .consultation-grid, 
  .conversation-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual-card {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .iberian-portals-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .courses-grid, 
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid, 
  .steps-grid, 
  .audiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-title {
    font-size: 40px;
  }

  .pricing-grid-cards {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --------------------------------------------------------------------------
   Breakpoint: <= 768px (Tablets & Large Mobiles)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Navigation & Header */
  .site-header {
    height: 70px;
  }

  .nav-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .main-nav, 
  .header-cta-group .btn-secondary {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--navy);
    cursor: pointer;
  }

  .mobile-nav-toggle:active {
    background: var(--bg-muted);
  }

  .brand-logo-img {
    height: 40px;
  }

  .brand-name {
    font-size: 13.5px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .header-cta-group {
    gap: 10px;
  }

  .header-cta-group .btn-sm {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
  }

  /* Containers & Padding */
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Typography & Titles */
  .hero-title {
    font-size: 34px;
    letter-spacing: -0.5px;
    line-height: 1.22;
  }
  
  .hero-lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.25;
  }

  .hero-academy-img {
    height: 290px;
  }

  .portals-title {
    font-size: 30px;
  }

  .portal-media-wrap {
    height: 220px;
  }

  .portal-content-body {
    padding: 24px 20px;
  }
  
  .badge-es {
    top: 14px;
    left: 10px;
    padding: 8px 12px;
  }
  
  .badge-pt {
    bottom: 45px;
    right: 10px;
    padding: 8px 12px;
  }
  
  /* Grids & Cards */
  .value-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .courses-grid, 
  .articles-grid, 
  .program-levels-grid,
  .features-grid, 
  .steps-grid, 
  .audiences-grid,
  .kids-grid,
  .teaser-dual-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  
  .consultation-card {
    padding: 32px 20px;
  }
  
  .conversation-section {
    padding: 32px 20px;
  }

  .service-card-block {
    padding: 32px 20px;
  }

  .service-headline {
    font-size: 26px;
  }

  .service-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .services-nav-strip {
    top: 70px;
  }

  .services-nav-inner {
    padding: 10px 16px;
    justify-content: flex-start;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  /* Responsive Tables */
  .article-table-wrapper,
  .admin-table-wrapper {
    margin: 20px -10px;
    border-radius: 0;
    width: calc(100% + 20px);
  }

  .article-table th, 
  .article-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   Breakpoint: <= 600px (Mobile Screens)
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  /* Global spacing */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-section {
    padding: 36px 0 32px;
  }

  /* Eyebrows & Crest badges */
  .hero-eyebrow-pill,
  .portals-crest-eyebrow {
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
  }

  /* Hero Actions & Trust */
  .hero-actions,
  .hero-cta-row,
  .consultation-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn,
  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-visual-card {
    padding: 12px;
    border-radius: var(--radius-lg);
  }

  .hero-academy-img {
    height: 240px;
  }

  .hero-quick-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    padding: 10px 12px;
  }

  .hero-meta-sep {
    display: none;
  }

  .hero-accreditation-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Home Query Form Card */
  #homeQueryFormContainer {
    padding: 24px 16px !important;
    border-radius: var(--radius-lg) !important;
  }

  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .btn-submit-query {
    width: 100%;
    justify-content: center;
  }

  /* Value strip */
  .value-strip {
    margin-top: -15px;
    margin-bottom: 30px;
  }

  .value-strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .value-item {
    padding: 12px 10px;
  }

  .value-icon {
    font-size: 22px;
  }

  .value-text strong {
    font-size: 13px;
  }

  .value-text span {
    font-size: 11px;
  }

  /* Floating UI on Mobile */
  .floating-whatsapp-btn {
    bottom: 16px;
    left: 14px;
    width: 48px;
    height: 48px;
    z-index: 1500;
  }

  .floating-whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }

  .floating-whatsapp-tooltip {
    display: none; /* Hide on mobile touch */
  }

  .floating-welcome-trigger {
    bottom: 16px;
    right: 14px;
    padding: 8px 12px;
    font-size: 11.5px;
    border-radius: 24px;
    z-index: 1500;
  }

  /* Modals */
  .modal-backdrop {
    padding: 12px;
    align-items: flex-start;
  }

  .modal-window {
    padding: 24px 18px;
    max-height: 92vh;
    border-radius: var(--radius-lg);
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .welcome-modal-window {
    max-height: 94vh;
    border-radius: 16px;
  }

  .popup-consultation-grid {
    padding: 20px 16px 20px;
    gap: 18px;
  }

  .welcome-header {
    padding: 20px 16px 16px;
  }

  .welcome-title {
    font-size: 21px;
  }

  .welcome-subtitle {
    font-size: 12.5px;
  }

  .welcome-perks-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .welcome-body {
    padding: 18px 16px 20px;
  }

  .track-pills {
    grid-template-columns: 1fr;
  }

  /* Location Card & Map */
  .location-section-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .location-card {
    padding: 24px 18px;
  }

  .location-title {
    font-size: 24px;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 280px;
    height: 280px;
  }

  /* Dedicated 1-on-1 Coaching Banner */
  .private-coaching-banner {
    padding: 24px 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .private-coaching-info {
    min-width: 100%;
  }

  .private-coaching-info h4 {
    font-size: 18px;
  }

  .pricing-plan-card {
    padding: 28px 18px;
  }

  .pricing-amount {
    font-size: 32px;
  }
}

/* --------------------------------------------------------------------------
   Breakpoint: <= 480px (Small Mobile Screens)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .site-header {
    height: 64px;
  }

  .brand-logo-img {
    height: 36px;
  }

  .brand-name {
    font-size: 12px;
    letter-spacing: 0.3px;
  }

  .brand-sub {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .brand-link {
    gap: 8px;
  }

  .header-cta-group {
    gap: 6px;
  }

  .header-cta-group .btn-sm {
    padding: 6px 10px;
    font-size: 11px;
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-title {
    font-size: 28px;
    letter-spacing: -0.4px;
  }

  .hero-lead {
    font-size: 14.5px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  /* Hero Badges on Extra Small Screens */
  .badge-es {
    top: 8px;
    left: 6px;
    padding: 5px 8px;
    gap: 5px;
  }
  
  .badge-pt {
    bottom: 30px;
    right: 6px;
    padding: 5px 8px;
    gap: 5px;
  }
  
  .badge-phrase {
    font-size: 11px;
  }
  
  .badge-lang {
    font-size: 8.5px;
  }

  .hero-academy-img {
    height: 220px;
  }

  .portal-metrics-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .hero-visual-corp-pill {
    font-size: 10.5px;
    padding: 5px 10px;
  }

  .portal-content-body {
    padding: 20px 16px;
  }

  .portals-title {
    font-size: 26px;
  }

  /* Articles */
  .article-hero-title {
    font-size: 26px;
    letter-spacing: -0.4px;
  }

  .article-hero-subtitle {
    font-size: 15px;
  }

  .article-container {
    padding: 28px 16px 50px;
  }

  .article-body {
    font-size: 15px;
    line-height: 1.7;
  }

  .article-body h2 {
    font-size: 22px;
    margin: 32px 0 12px;
  }

  .article-body h3 {
    font-size: 18px;
    margin: 22px 0 10px;
  }

  .article-cta-box {
    padding: 28px 18px;
  }

  .article-cta-box h3 {
    font-size: 21px;
  }

  /* Footer */
  .footer-bottom {
    font-size: 11px;
    padding-top: 18px;
  }
}

/* --------------------------------------------------------------------------
   Breakpoint: <= 375px (Compact Phones like iPhone SE)
   -------------------------------------------------------------------------- */
@media (max-width: 375px) {
  .site-header {
    height: 60px;
  }

  .brand-name {
    font-size: 11px;
    letter-spacing: 0;
  }

  .brand-sub {
    display: none; /* Hide sub-emblem on ultra-small screens to protect layout */
  }

  .brand-logo-img {
    height: 32px;
  }

  .header-cta-group .btn-sm {
    padding: 5px 8px;
    font-size: 10.5px;
    max-width: 100px;
  }

  .hero-title {
    font-size: 25px;
  }

  .value-strip-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Creative First-Time Visitor Welcome Modal & Lead Engine
   ========================================================================== */
.welcome-modal-window {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  padding: 0;
  position: relative;
  box-shadow: 0 25px 60px rgba(15, 12, 44, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  max-height: 92vh;
  overflow-y: auto;
  animation: welcomePop 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 32px;
  padding: 38px 36px;
  background: #ffffff;
  position: relative;
}

@media (max-width: 820px) {
  .popup-consultation-grid {
    grid-template-columns: 1fr;
    padding: 30px 22px 24px;
    gap: 22px;
  }
}

@keyframes welcomePop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.welcome-header {
  background: linear-gradient(135deg, #151238 0%, #291f63 60%, #1e174b 100%);
  color: #ffffff;
  padding: 28px 32px 24px;
  position: relative;
  overflow: hidden;
}

.welcome-header::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(207, 162, 52, 0.28) 0%, rgba(207, 162, 52, 0) 70%);
  pointer-events: none;
}

.welcome-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #fae8c3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.welcome-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 6px;
}

.welcome-subtitle {
  font-size: 13.5px;
  color: #d6d3ee;
  line-height: 1.5;
  margin-bottom: 16px;
}

.welcome-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.welcome-perk-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #f1effd;
}

.welcome-perk-item span:first-child {
  font-size: 15px;
}

.welcome-body {
  padding: 26px 32px 30px;
}

/* Track Pills */
.track-selection-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.track-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.track-pill-btn {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.track-pill-btn:hover {
  background: #edeaf5;
  border-color: #c9c5de;
}

.track-pill-btn.active {
  background: #f4f0fd;
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: 0 0 0 2px rgba(89, 44, 230, 0.12);
}

.track-pill-btn .track-flag {
  font-size: 18px;
}

.track-pill-btn .track-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.track-pill-btn.active .track-sub {
  color: var(--purple);
}

/* Dynamic Track Alert */
.track-perk-callout {
  background: #fefce8;
  border: 1px dashed #ca8a04;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #854d0e;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.25s ease;
}

/* Form Groups & Inputs */
.welcome-form-group {
  margin-bottom: 14px;
}

.welcome-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.welcome-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.welcome-input-icon {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.welcome-input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--navy);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.welcome-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(89, 44, 230, 0.12);
}

.phone-prefix-badge {
  position: absolute;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  padding-right: 8px;
  border-right: 1px solid var(--border-light);
}

.welcome-input-phone {
  padding-left: 78px;
}

.welcome-input-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Goal Chips */
.goal-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.goal-chip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.18s ease;
}

.goal-chip:hover {
  background: var(--bg-muted);
  border-color: #c9c5de;
}

.goal-chip.active {
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
}

/* Submit Button */
.welcome-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #df2a26 0%, #aa151b 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(170, 21, 27, 0.35);
  transition: all 0.25s ease;
  margin-top: 8px;
}

.welcome-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(170, 21, 27, 0.45);
  filter: brightness(1.05);
}

.welcome-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Success Card */
.welcome-success-card {
  text-align: center;
  padding: 36px 32px;
  animation: fadeIn 0.35s ease;
}

.welcome-success-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  font-size: 30px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(22, 101, 52, 0.2);
}

.voucher-box {
  background: #fffcf0;
  border: 2px dashed var(--gold);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.voucher-code {
  font-family: monospace;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--navy);
}

/* Floating Reopen Trigger */
.floating-welcome-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #151238 0%, #291f63 100%);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 28px rgba(21, 18, 56, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2500;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-welcome-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 34px rgba(21, 18, 56, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@media (max-width: 600px) {
  .welcome-header { padding: 22px 20px 18px; }
  .welcome-body { padding: 20px 18px 24px; }
  .welcome-title { font-size: 22px; }
  .welcome-perks-grid { grid-template-columns: 1fr; }
  .track-pills { grid-template-columns: 1fr; }
  .floating-welcome-trigger { bottom: 16px; right: 16px; padding: 8px 13px; font-size: 12px; }
}

/* ==========================================================================
   ARTICLE / EDITORIAL PAGES
   ========================================================================== */
.article-page-header {
  background: radial-gradient(100% 120% at 75% 20%, #f4f0ff 0%, #ffffff 60%, #eef8f3 100%);
  padding: 60px 0 46px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.article-hero-title {
  font-size: 38px;
  color: var(--navy);
  line-height: 1.25;
  margin: 16px 0 14px;
  letter-spacing: -0.6px;
}

.article-hero-subtitle {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 24px;
}

.article-meta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.article-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: #2d3748;
}

.article-body h2 {
  font-size: 26px;
  color: var(--navy);
  margin: 42px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  letter-spacing: -0.4px;
}

.article-body h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 28px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px;
  padding-left: 28px;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-body strong {
  color: var(--navy);
}

.article-table-wrapper {
  overflow-x: auto;
  margin: 28px 0 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
  background: #ffffff;
}

.article-table th {
  background: var(--navy);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.article-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table tr:nth-child(even) td {
  background: #faf9ff;
}

.article-table td strong {
  color: var(--purple);
}

.article-callout {
  background: linear-gradient(135deg, #f8f6ff 0%, #ffffff 100%);
  border-left: 4px solid var(--purple);
  padding: 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.article-callout-gold {
  background: linear-gradient(135deg, #fffcf4 0%, #ffffff 100%);
  border-left-color: var(--gold);
}

.article-callout-green {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-left-color: var(--green-pt);
}

.article-callout-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article-cta-box {
  background: linear-gradient(145deg, #151238 0%, #2b1f66 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  margin: 50px 0 30px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.article-cta-box h3 {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 12px;
}

.article-cta-box p {
  font-size: 15px;
  color: #dedcf1;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.article-card {
  transition: all 0.25s ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-light);
}

/* ==========================================================================
   Pricing & Installment Plans Section
   ========================================================================== */
.pricing-section-container {
  max-width: 1160px;
  margin: 0 auto;
}

.pricing-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid-cards {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-plan-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(83, 63, 161, 0.35);
}

.pricing-plan-card.featured-plan {
  border: 2px solid var(--purple);
  box-shadow: 0 12px 32px rgba(83, 63, 161, 0.12);
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple) 0%, #433188 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(83, 63, 161, 0.3);
  white-space: nowrap;
}

.pricing-badge-confidential {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.4);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 22px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 22px;
}

.pricing-level-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pricing-card-title {
  font-size: 24px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

.pricing-card-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.pricing-price-box {
  margin: 16px 0 10px;
}

.pricing-amount {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-installment-pill {
  display: inline-block;
  background: #ede9fe;
  color: #433188;
  border: 1px solid #ddd6fe;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-top: 10px;
}

.pricing-installment-pill.private-pill {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-body);
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.pricing-check-icon {
  color: #10b981;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 14px;
}

.private-session-pill {
  background: #fffcf0;
  border: 1px solid #fae8c3;
  color: #78350f;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 22px;
  line-height: 1.45;
}

/* 1-on-1 Dedicated Highlight Banner */
.private-coaching-banner {
  background: linear-gradient(135deg, #151238 0%, #221c54 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 34px 38px;
  border: 1px solid rgba(241, 196, 15, 0.35);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.private-coaching-info {
  flex: 1;
  min-width: 300px;
}

.private-coaching-info h4 {
  font-size: 21px;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.private-coaching-info p {
  font-size: 14px;
  color: #dedcf1;
  line-height: 1.6;
  margin: 0;
}

.pricing-guarantee-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.pricing-guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Professional Services Suite (Translation, Interpretation, Dubbing, Corporate)
   ========================================================================== */
.services-nav-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 80px;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(21, 18, 56, 0.04);
}

.services-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.services-nav-inner::-webkit-scrollbar {
  display: none;
}

.services-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-body);
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  transition: var(--transition);
}

.services-nav-btn:hover,
.services-nav-btn.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-1px);
}

.service-card-block {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card-block:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(207, 162, 52, 0.4);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.service-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-crest);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: #fdf8eb;
  border: 1px solid rgba(207, 162, 52, 0.35);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.service-headline {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 12px;
}

.service-lead-quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-body);
  border-left: 3.5px solid var(--gold);
  background: #fcfbf8;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 32px;
}

.service-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.service-cap-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.service-cap-item:hover {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-color: var(--purple);
}

.service-cap-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-cap-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
}

.service-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.service-trust-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.service-trust-tag {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 768px) {
  .service-card-block {
    padding: 30px 20px;
  }
  .service-headline {
    font-size: 26px;
  }
  .service-capabilities-grid {
    grid-template-columns: 1fr;
  }
  .services-nav-strip {
    top: 70px;
  }
}

/* ==========================================================================
   Academy Location & Map Component
   ========================================================================== */
.location-section-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
}

.location-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(184, 28, 34, 0.08);
  color: var(--red-es);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  width: fit-content;
}

.location-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.location-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.location-address-box {
  background: #fbf9ff;
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--navy);
}

.location-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.location-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-body);
}

.location-meta-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f0fb;
  color: var(--purple);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: #f1f3f9;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.map-floating-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(26, 22, 49, 0.94);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .location-section-grid {
    grid-template-columns: 1fr;
  }
  .map-wrapper {
    min-height: 340px;
  }
  .map-wrapper iframe {
    min-height: 340px;
  }
}

/* Button Loading Spinner */
.btn-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: btnSpinnerAnim 0.7s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes btnSpinnerAnim {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Language Switcher & English for Spanish Speakers Styles
   ========================================================================== */
.lang-switch-container {
  display: inline-flex;
  align-items: center;
  background: rgba(21, 18, 56, 0.06);
  border: 1px solid rgba(21, 18, 56, 0.12);
  border-radius: 40px;
  padding: 4px;
  gap: 4px;
}

.lang-switch-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch-btn.active {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
}

.es-en-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.compare-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compare-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.compare-wrong {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: #991b1b;
}

.compare-right {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  color: #166534;
}

.english-hero-gradient {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #fef3c7 100%);
}





