/* =========================================================
   ELP Language Translation Services
   Editorial / Professional - Navy & Gold
   Mimics MDtranslation visual depth on multi-page structure
   ========================================================= */

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0a1828;
  color: #1a2540;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Fixed background image, full bleed through */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('assets/body-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0a1828;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #0F2A47;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }

em.serif-accent {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #C9A961;
}

p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2d3a52;
}

a {
  color: #C9A961;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #b08d3f;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 2.5rem 1.5rem;
}

.section-frame {
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 4.5rem 3.5rem;
  background: rgba(250, 246, 238, 0.93);
  border-radius: 14px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.3);
}

.section-frame--cream    { background: rgba(250, 246, 238, 0.93); }
.section-frame--sandstone { background: rgba(238, 228, 210, 0.93); }
.section-frame--wheat    { background: rgba(244, 234, 215, 0.93); }
.section-frame--taupe    { background: rgba(225, 215, 198, 0.92); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C9A961;
  margin-bottom: 0.85rem;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-intro.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 24, 40, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #faf6ee;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.nav-brand span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: #C9A961;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #e8e4dc;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #C9A961;
  transition: width 0.25s ease;
}

.nav-links a:hover { color: #C9A961; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #C9A961; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #faf6ee;
  margin: 5px 0;
  transition: 0.3s;
}

.lang-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 42, 71, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(201, 169, 97, 0.5);
  border-radius: 999px;
  cursor: pointer;
  color: #C9A961;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 169, 97, 0.1);
  transition: all 0.25s ease;
}

.lang-toggle:hover {
  background: rgba(15, 42, 71, 1);
  border-color: rgba(201, 169, 97, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 169, 97, 0.15);
}

.lang-toggle .lang-active {
  color: #faf6ee;
  font-weight: 700;
}

/* ---------- Hero (full-bleed) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(135deg, #0a1828 0%, #15304d 50%, #0F2A47 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 25%, rgba(201, 169, 97, 0.22) 0%, transparent 40%),
    radial-gradient(circle at 88% 75%, rgba(201, 169, 97, 0.15) 0%, transparent 45%);
  pointer-events: none;
}

/* Gold flourish lines at top/bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1300px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201, 169, 97, 0.5) 30%,
    rgba(201, 169, 97, 0.8) 50%,
    rgba(201, 169, 97, 0.5) 70%,
    transparent 100%);
}

.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: #faf6ee;
  position: relative;
}

/* Spanish tagline lead-in with gold underline accent */
.hero-tagline-es {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #C9A961;
  display: inline-block;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border-bottom: 1px solid rgba(201, 169, 97, 0.4);
}

.hero-establish {
  display: none;
}

.hero h1 {
  color: #faf6ee;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #C9A961;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #d4dae6;
  margin-bottom: 2.25rem;
  max-width: 560px;
  line-height: 1.75;
  padding-left: 1rem;
  border-left: 2px solid rgba(201, 169, 97, 0.4);
}

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

/* Hero image with double gold frame treatment */
.hero-image {
  position: relative;
  border-radius: 14px;
  overflow: visible;
  height: 100%;
  max-height: 600px;
  padding: 6px;
  background: linear-gradient(135deg, #C9A961 0%, #b08d3f 50%, #C9A961 100%);
  box-shadow:
    0 0 0 1px rgba(201, 169, 97, 0.3),
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(201, 169, 97, 0.15);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: 20px;
  pointer-events: none;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: -22px;
  border: 1px solid rgba(201, 169, 97, 0.15);
  border-radius: 24px;
  pointer-events: none;
}

.hero-image > div,
.hero-image img {
  border-radius: 10px;
  overflow: hidden;
}

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

.hero-image-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 0.85rem 1.1rem;
  background: rgba(10, 24, 40, 0.9);
  backdrop-filter: blur(10px);
  border-left: 3px solid #C9A961;
  border-radius: 4px;
  color: #faf6ee;
  font-size: 0.85rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  z-index: 2;
}

.hero-image-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 0.85rem 1.1rem;
  background: rgba(10, 24, 40, 0.85);
  backdrop-filter: blur(10px);
  border-left: 3px solid #C9A961;
  color: #faf6ee;
  font-size: 0.85rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: #C9A961;
  color: #0F2A47;
}

.btn-primary:hover {
  background: #d4b876;
  color: #0F2A47;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 169, 97, 0.3);
}

.btn-outline {
  background: transparent;
  color: #faf6ee;
  border-color: #faf6ee;
}

.btn-outline:hover {
  background: #faf6ee;
  color: #0F2A47;
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: #0F2A47;
  border-color: #0F2A47;
}

.btn-outline-navy:hover {
  background: #0F2A47;
  color: #faf6ee;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0F2A47;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: gap 0.2s ease, color 0.2s ease;
}

.text-link::after {
  content: '→';
  transition: transform 0.25s ease;
}

.text-link:hover {
  color: #C9A961;
  gap: 0.65rem;
}

/* ---------- Stat Counters (MD-style) ---------- */
.stats-strip {
  position: relative;
  background: linear-gradient(180deg, #0a1828 0%, #0F2A47 100%);
  color: #faf6ee;
  text-align: center;
  padding: 2.5rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  overflow: hidden;
}

/* Soft golden glow emanating from the top */
.stats-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80px;
  background: radial-gradient(
    ellipse at top,
    rgba(201, 169, 97, 0.35) 0%,
    rgba(201, 169, 97, 0.15) 35%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(8px);
}

.stats-intro {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #C9A961;
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat {
  position: relative;
  padding: 0 1rem;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(201, 169, 97, 0.25);
}

.stat-number {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: #C9A961;
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-size: 0.7em;
  color: #C9A961;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #d4dae6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---------- About Grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
  aspect-ratio: 4 / 5;
}

.about-image {
  aspect-ratio: 4 / 5;
  background: #e1d7c6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-tag {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: #C9A961;
  color: #0F2A47;
  padding: 1rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(15, 42, 71, 0.25);
}

.about-image-tag .tag-num {
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-image-tag .tag-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: block;
  margin-top: 0.2rem;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.15rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-pullquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid #C9A961;
  background: rgba(201, 169, 97, 0.07);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #0F2A47;
}

/* ---------- Languages Section (4-language version, floating frame) ---------- */
.languages-section {
  position: relative;
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 4.5rem 3.5rem;
  border-radius: 14px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(10, 24, 40, 0.70), rgba(10, 24, 40, 0.70)),
    url('assets/languages-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0a1828;
  color: #faf6ee;
  text-align: center;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.3);
}

.languages-section h2 {
  color: #faf6ee;
  margin-bottom: 0.75rem;
}

.languages-section .section-eyebrow {
  color: #C9A961;
}

.languages-section .section-intro p {
  color: #d4dae6;
}

.languages-row {
  max-width: 1000px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.language-card {
  padding: 2rem 1.25rem;
  background: rgba(250, 246, 238, 0.95);
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.language-card:hover {
  background: rgba(250, 246, 238, 1);
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.language-card.subcontracted {
  background: rgba(238, 228, 210, 0.93);
  border-style: dashed;
}

.language-card.subcontracted:hover {
  background: rgba(238, 228, 210, 1);
}

.language-greeting {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 2rem;
  color: #C9A961;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.language-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #0F2A47;
  letter-spacing: 0.02em;
}

.language-mode {
  display: block;
  font-size: 0.75rem;
  color: #6b7691;
  margin-top: 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.languages-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(212, 218, 230, 0.7);
  font-style: italic;
}

/* ---------- Numbered Services (MD-style) ---------- */
.numbered-services {
  display: grid;
  gap: 4rem;
  margin-top: 3rem;
}

.numbered-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.numbered-service:nth-child(even) .numbered-service-image {
  order: 2;
}

.numbered-service-image {
  aspect-ratio: 4 / 3;
  background: #e1d7c6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  position: relative;
}

.numbered-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.numbered-service-image-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 24, 40, 0.85);
  backdrop-filter: blur(10px);
  color: #C9A961;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.numbered-service-content .service-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: #C9A961;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.6rem;
}

.numbered-service-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.numbered-service-content p {
  margin-bottom: 1rem;
}

/* ---------- Service Preview Cards (homepage) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Homepage preview: locked to 2 columns for balance */
.services-grid--preview {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {
  .services-grid--preview {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #faf6ee;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(15, 42, 71, 0.08);
  transition: all 0.25s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 42, 71, 0.13);
  border-color: rgba(201, 169, 97, 0.4);
}

.service-card-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #C9A961;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.12);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: #C9A961;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  color: #0F2A47;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #4a5670;
  line-height: 1.65;
}

/* ---------- Approach Section (3-step numbered) ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.approach-item {
  position: relative;
  padding: 0 1rem;
}

.approach-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 3.5rem;
  color: #C9A961;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  letter-spacing: -0.02em;
}

.approach-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.approach-item p {
  font-size: 0.98rem;
}

/* ---------- Page Header ---------- */
.page-header {
  background-image:
    linear-gradient(135deg, rgba(10, 24, 40, 0.85) 0%, rgba(21, 48, 77, 0.80) 50%, rgba(15, 42, 71, 0.88) 100%),
    url('assets/page-header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #faf6ee;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

/* Gold flourish line at bottom of page header */
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1300px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201, 169, 97, 0.5) 30%,
    rgba(201, 169, 97, 0.8) 50%,
    rgba(201, 169, 97, 0.5) 70%,
    transparent 100%);
}

.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

/* Decorative dots flanking the tagline */
.page-header-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  color: #C9A961;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  width: 100%;
}

.page-header-tagline::before,
.page-header-tagline::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.6), transparent);
  flex-shrink: 0;
}

.page-header h1 {
  color: #faf6ee;
  margin-bottom: 1.5rem;
  position: relative;
  display: block;
}

.page-header h1 em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #C9A961;
}

/* Gold underline accent under page-header h1 */
.page-header h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: #C9A961;
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

.page-header p {
  color: #d4dae6;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Approved Vendor Programs ---------- */
.vendor-programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.vendor-program-card {
  background: rgba(250, 246, 238, 0.95);
  border: 1.5px solid rgba(201, 169, 97, 0.4);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  position: relative;
  transition: all 0.25s ease;
}

.vendor-program-card:hover {
  border-color: rgba(201, 169, 97, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.vendor-program-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A961;
  background: rgba(201, 169, 97, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.vendor-program-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #0F2A47;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.vendor-program-subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #6b7691;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .vendor-programs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.homeschool-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.homeschool-content h2 {
  margin-bottom: 1rem;
}

.homeschool-content ul {
  list-style: none;
  margin: 1.5rem 0;
}

.homeschool-content ul li {
  padding: 0.65rem 0 0.65rem 2rem;
  position: relative;
  color: #2d3a52;
}

.homeschool-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 16px;
  height: 2px;
  background: #C9A961;
}

.homeschool-visual {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

.homeschool-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Contact / Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
}

.contact-info h2 {
  margin-bottom: 0.5rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(15, 42, 71, 0.08);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.15);
  border-radius: 8px;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: #C9A961;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7691;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  color: #0F2A47;
  font-weight: 500;
  font-size: 1.05rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0F2A47;
  margin-bottom: 0.45rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid rgba(15, 42, 71, 0.15);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: #1a2540;
  background: #faf6ee;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #C9A961;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  width: 100%;
  background: #0F2A47;
  color: #faf6ee;
  padding: 1.15rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-submit:hover {
  background: #15304d;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 42, 71, 0.2);
}

/* ---------- Schedule Section ---------- */
.schedule-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.schedule-section > .section-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Second row of 3 buttons, centered under the row of 4 */
.schedule-grid--bottom {
  grid-template-columns: repeat(3, 1fr);
  max-width: 825px;
  margin: 1rem auto 0;
}

@media (max-width: 1100px) {
  .schedule-grid,
  .schedule-grid--bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
}

@media (max-width: 500px) {
  .schedule-grid,
  .schedule-grid--bottom {
    grid-template-columns: 1fr;
  }
}

.schedule-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: #faf6ee;
  border: 1.5px solid rgba(15, 42, 71, 0.12);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  color: #0F2A47;
  font-weight: 500;
  transition: all 0.25s ease;
  text-decoration: none;
}

.schedule-btn:hover {
  background: #0F2A47;
  color: #faf6ee;
  transform: translateY(-2px);
  border-color: #0F2A47;
  box-shadow: 0 8px 22px rgba(15, 42, 71, 0.18);
}

.schedule-btn:hover .schedule-btn-icon {
  background: rgba(201, 169, 97, 0.25);
}

.schedule-btn-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.15);
  border-radius: 8px;
  transition: background 0.25s ease;
}

.schedule-btn-icon svg {
  width: 22px;
  height: 22px;
  stroke: #C9A961;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-btn-label {
  flex: 1;
}

.schedule-btn-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.schedule-btn-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section > p {
  max-width: 620px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a1828;
  color: #d4dae6;
  padding: 3.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: #faf6ee;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: #C9A961;
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 1rem;
}

.footer-text {
  color: #8a96ad;
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer h4 {
  color: #faf6ee;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.65rem;
}

.footer ul a {
  color: #d4dae6;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer ul a:hover {
  color: #C9A961;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 169, 97, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6b7691;
}

.footer-bottom a {
  color: #6b7691;
}

.footer-bottom a:hover {
  color: #C9A961;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .stat:nth-child(2)::after { display: none; }

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

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    min-height: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-stack {
    max-width: 380px;
    margin: 0 auto;
  }

  .numbered-service {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .numbered-service:nth-child(even) .numbered-service-image {
    order: -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .homeschool-callout {
    grid-template-columns: 1fr;
  }

  .homeschool-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: block;
  }

  .lang-toggle {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 24, 40, 0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-top: 1px solid rgba(201, 169, 97, 0.15);
  }

  .nav-links.active {
    display: flex;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .section-frame {
    padding: 2.5rem 1.5rem;
    margin: 1.5rem auto;
  }

  .hero {
    min-height: 70vh;
    padding: 3rem 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stat::after { display: none !important; }

  .languages-row {
    grid-template-columns: 1fr;
  }
}