/* ==========================================================================
   NANDINI SANGEET KALA KENDRA — STYLESHEET
   Classical Music, Kathak & Indian Dance Academy | Kathgodam–Haldwani
   Design Direction: Apple-grade Dark Polish meets Indian Classical Aesthetics
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Palette: Deep charcoal, rich temple crimson & antique gold */
  --bg-primary: #0c0e12;
  --bg-secondary: #131720;
  --bg-tertiary: #1a202d;
  --bg-card: rgba(22, 28, 40, 0.78);
  --bg-card-hover: rgba(28, 36, 52, 0.92);
  --bg-glass: rgba(12, 14, 18, 0.82);
  --bg-elevated: #1f2638;

  --text-primary: #f7f5f0;
  --text-secondary: #c8cedb;
  --text-muted: #8b95a8;
  --text-light: #ffffff;

  /* Accent Colors */
  --gold-primary: #d4af37;
  --gold-light: #f3d98a;
  --gold-dark: #a98822;
  --gold-glow: rgba(212, 175, 55, 0.28);
  
  --crimson-primary: #a62035;
  --crimson-light: #c8324a;
  --crimson-dark: #6e1020;
  --crimson-glow: rgba(166, 32, 53, 0.35);

  --whatsapp-color: #25d366;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  --border-subtle: rgba(212, 175, 55, 0.16);
  --border-hover: rgba(212, 175, 55, 0.45);
  --border-light: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-serif: "Cinzel", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing & Layout */
  --max-width: 1280px;
  --container-px: 1.5rem;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
}

/* --- Global Reset & Accessibility --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Background atmospheric gradient */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 20%, rgba(166, 32, 53, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(22, 28, 40, 0.5) 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold-primary);
  color: #0c0e12;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition-fast);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid #ffffff;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-light);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #dbe1ee;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.container-narrow {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* Section styling */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-hero {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5rem;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Section Header Badge & Titles */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-badge::before {
  content: "♦";
  color: var(--crimson-primary);
  font-size: 0.75rem;
}

.section-badge.crimson {
  color: #ff8598;
  background: rgba(166, 32, 53, 0.15);
  border-color: rgba(166, 32, 53, 0.35);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Header & Glassmorphic Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(10, 12, 16, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson-dark), #12151e);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.brand-logo svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-primary);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, #b89327 100%);
  color: #0c0e12;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e5c058 0%, var(--gold-primary) 100%);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-crimson {
  background: linear-gradient(135deg, var(--crimson-primary) 0%, #7d1222 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(166, 32, 53, 0.35);
}

.btn-crimson:hover {
  background: linear-gradient(135deg, #be2a42 0%, var(--crimson-primary) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(166, 32, 53, 0.55);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Hero Section Presentation */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title .highlight-gold {
  color: var(--gold-primary);
  background: linear-gradient(90deg, #f3d98a, #d4af37, #b89327);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: #d1d7e5;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hero-media-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform var(--transition-bounce);
}

.hero-media-card:hover img {
  transform: scale(1.03);
}

.hero-media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(12, 14, 18, 0.95) 0%, rgba(12, 14, 18, 0.4) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.overlay-caption {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-light);
}

.overlay-sub {
  font-size: 0.8rem;
  color: var(--gold-primary);
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-col-12 { grid-column: span 12; }
.bento-col-8 { grid-column: span 8; }
.bento-col-6 { grid-column: span 6; }
.bento-col-4 { grid-column: span 4; }
.bento-col-3 { grid-column: span 3; }

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.1);
}

.bento-card.highlight {
  background: linear-gradient(145deg, rgba(30, 38, 56, 0.9), rgba(18, 22, 32, 0.9));
  border-color: rgba(212, 175, 55, 0.35);
}

.bento-card.crimson-accent {
  border-top: 3px solid var(--crimson-primary);
}

.bento-card.gold-accent {
  border-top: 3px solid var(--gold-primary);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold-primary);
}

.card-icon.crimson {
  background: rgba(166, 32, 53, 0.15);
  border-color: rgba(166, 32, 53, 0.3);
  color: #ff8fa1;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.card-img-wrapper {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.bento-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-primary);
  margin-top: auto;
}

.card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Feature List Inside Cards */
.feature-list {
  list-style: none;
  margin: 1rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #d1d8e6;
}

.feature-list li::before {
  content: "✔";
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1.6;
}

/* Instructor Section */
.instructor-profile-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.instructor-photo {
  position: relative;
  overflow: hidden;
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.instructor-details {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.instructor-quote {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-light);
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  line-height: 1.7;
}

/* Direct Answer Box (AEO/GEO optimization) */
.direct-answer-box {
  background: linear-gradient(135deg, rgba(26, 32, 45, 0.95), rgba(16, 20, 28, 0.95));
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(212, 175, 55, 0.3);
}

.direct-answer-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #0c0e12;
  background: var(--gold-primary);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.direct-answer-title {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  color: var(--text-light);
}

.direct-answer-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e5ebf5;
  margin-bottom: 0;
}

/* FAQ Accordion Component */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--text-light);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 0;
}

/* Contact & Enquiry Form Styles */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.info-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
}

.info-value a {
  color: var(--text-light);
}

.info-value a:hover {
  color: var(--gold-primary);
}

.enquiry-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #d8deeb;
  margin-bottom: 0.5rem;
}

.form-label .req {
  color: #ff5e78;
}

.form-control,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d4af37' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  appearance: none;
}

.form-select option {
  background: #141822;
  color: #ffffff;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Honeypot field hidden from real users */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  visibility: hidden;
  height: 0;
  width: 0;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  display: none;
  font-size: 0.92rem;
}

.form-alert.success {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #85f3ad;
}

.form-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Persistent Floating WhatsApp & Call CTA */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 999;
}

/* WhatsApp Float Button with Moving/Floating Animation */
.whatsapp-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: whatsappFloatMove 3s ease-in-out infinite;
}

@keyframes whatsappFloatMove {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.whatsapp-float-btn:hover {
  background: #20ba59;
  color: #ffffff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-float-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Online Status Indicator */
.online-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.online-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.9);
  animation: onlinePulse 2s infinite;
}

@keyframes onlinePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.85);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

/* Call Float Button */
.phone-float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.phone-btn-text {
  display: none;
}

.phone-float-btn:hover {
  background: var(--gold-primary);
  color: #0c0e12;
  transform: translateY(-2px);
}

.phone-float-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Breadcrumbs Component */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--gold-primary);
}

.breadcrumbs .sep {
  color: var(--text-muted);
}

.breadcrumbs .current {
  color: var(--gold-light);
  font-weight: 600;
}

/* Table Styles for Curriculums & Class Schedules */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.custom-table th {
  background: var(--bg-tertiary);
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-weight: 600;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.03em;
}

.custom-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  background: rgba(18, 22, 32, 0.4);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background: rgba(28, 36, 52, 0.6);
}

/* Footer */
.site-footer {
  background: #080a0e;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--text-light);
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sub-page Banner */
.page-banner {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(180deg, rgba(22, 28, 42, 0.8) 0%, rgba(12, 14, 18, 0.98) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.page-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* Animations & Transitions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-media-card img {
    height: 400px;
  }

  .instructor-profile-card {
    grid-template-columns: 1fr;
  }

  .instructor-photo img {
    height: 350px;
  }

  .instructor-details {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .bento-col-8,
  .bento-col-6,
  .bento-col-4,
  .bento-col-3 {
    grid-column: span 12;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
    transition: all var(--transition-fast);
  }

  .menu-toggle:hover,
  .menu-toggle.open,
  .menu-toggle.active,
  .menu-toggle[aria-expanded="true"] {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-light);
  }

  .menu-toggle .icon-close {
    display: none;
  }

  .menu-toggle.open .icon-hamburger,
  .menu-toggle.active .icon-hamburger,
  .menu-toggle[aria-expanded="true"] .icon-hamburger {
    display: none;
  }

  .menu-toggle.open .icon-close,
  .menu-toggle.active .icon-close,
  .menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
  }

  /* Navigation Drawer Backdrop */
  .nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1030;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-backdrop.open,
  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--container-px) 3rem var(--container-px);
    gap: 0.5rem;
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1040;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-menu.open,
  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
  }

  .nav-item-dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
  }

  .nav-dropdown-toggle svg {
    width: 18px;
    height: 18px;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(22, 28, 40, 0.75);
    border: none;
    border-left: 2px solid var(--gold-primary);
    border-radius: 0;
    padding: 0.4rem 0 0.4rem 0.75rem;
    box-shadow: none;
    margin: 0.25rem 0 0.75rem 0.5rem;
    display: none !important;
    width: calc(100% - 1rem);
    list-style: none;
  }

  .nav-item-dropdown.mobile-open > .nav-dropdown-menu,
  .nav-item-dropdown.open > .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dropdown-menu .dropdown-link {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }

  .nav-dropdown-menu .dropdown-link .dropdown-title {
    font-size: 0.95rem;
    color: var(--gold-light);
  }

  .nav-dropdown-menu .dropdown-link .dropdown-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  .header-cta-group .btn {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Persistent Bottom Mobile App Bar for Call & WhatsApp */
  body {
    padding-bottom: 74px; /* Ensure content is never obscured by mobile bottom bar */
  }

  .floating-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    flex-direction: row;
    justify-content: stretch;
    align-items: center;
    gap: 10px;
    background: rgba(14, 17, 23, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.55);
    z-index: 1000;
  }

  .phone-float-btn {
    flex: 1;
    width: auto;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(22, 28, 40, 0.92);
    border: 1.5px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0 12px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .phone-btn-text {
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.86rem;
  }

  .whatsapp-float-btn {
    flex: 1.25;
    height: 44px;
    padding: 0 12px;
    font-size: 0.88rem;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
    animation: whatsappFloatMove 2.5s ease-in-out infinite;
  }

  .whatsapp-float-btn span {
    white-space: nowrap;
  }

  .online-status-badge {
    padding: 2px 6px;
    font-size: 0.68rem;
  }

  .hero-trust-badges {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .whatsapp-float-btn {
    animation: none !important;
  }
  .online-pulse-dot {
    animation: none !important;
  }

  .whatsapp-float-btn {
    animation: none !important;
  }
  .online-pulse-dot {
    animation: none !important;
  }
}

/* ==========================================================================
   CULTURAL EDITORIAL SHOWCASE COMPONENT
   Cinematic, Gallery-Grade Layout for Regional & Heritage Narratives
   ========================================================================== */

.cultural-showcase-section {
  position: relative;
  padding: 6.5rem 0;
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.98) 0%, rgba(10, 12, 16, 1) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.cultural-showcase-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(166, 32, 53, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.cultural-showcase-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cultural-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4.5rem;
}

.cultural-showcase-grid.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.cultural-showcase-content {
  position: relative;
  z-index: 2;
}

.cultural-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.cultural-eyebrow::before {
  content: "♦";
  color: var(--crimson-primary);
  font-size: 0.75rem;
}

.cultural-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  color: var(--text-light);
  line-height: 1.22;
  margin-bottom: 1.35rem;
}

.cultural-title .gold-accent-text {
  color: var(--gold-primary);
  background: linear-gradient(90deg, #f3d98a, #d4af37, #b89327);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cultural-lead {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #dbe1ee;
  margin-bottom: 1.75rem;
}

.cultural-lead strong {
  color: #ffffff;
}

.cultural-highlights-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.cultural-mini-card {
  background: rgba(22, 28, 42, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.cultural-mini-card:hover {
  background: rgba(28, 36, 54, 0.9);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.12);
}

.cultural-mini-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.cultural-mini-icon.crimson {
  background: rgba(166, 32, 53, 0.15);
  border-color: rgba(166, 32, 53, 0.35);
  color: #ff8598;
}

.cultural-mini-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cultural-mini-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.cultural-mini-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Gallery Frame Media Presentation */
.cultural-media-stage {
  position: relative;
  z-index: 2;
}

.cultural-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(212, 175, 55, 0.15);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  background: var(--bg-tertiary);
}

.cultural-media-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
  z-index: 2;
}

.cultural-media-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-bounce);
}

.cultural-media-frame:hover img {
  transform: scale(1.04);
}

.cultural-media-stage.duo-stage {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cultural-media-stage.duo-stage .cultural-media-frame img {
  height: 250px;
}

.cultural-floating-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  background: rgba(12, 14, 18, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-hover);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.cultural-floating-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-primary);
}

.cultural-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem 1.75rem 2rem;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.98) 0%, rgba(10, 12, 16, 0.75) 60%, transparent 100%);
  z-index: 3;
}

.cultural-caption-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.cultural-caption-sub {
  font-size: 0.88rem;
  color: var(--gold-light);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .cultural-showcase-grid,
  .cultural-showcase-grid.reverse {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .cultural-media-frame img {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .cultural-highlights-cards {
    grid-template-columns: 1fr;
  }
  .cultural-media-frame img {
    height: 320px;
  }
  .cultural-showcase-section {
    padding: 4.5rem 0;
  }
}

/* Tabla Anatomy & Stroke Technique Layout */
.tabla-anatomy-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.tabla-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 3px solid var(--gold-primary);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.tabla-visual-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.1);
}

.tabla-photo-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
  height: 240px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.tabla-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.tabla-visual-card:hover .tabla-photo-frame img {
  transform: scale(1.04);
}

.tabla-photo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 14, 18, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.anatomy-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}

.anatomy-spec-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color var(--transition-fast);
}

.anatomy-spec-item:hover {
  border-color: var(--border-hover);
}

.anatomy-spec-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0.25rem;
}

.anatomy-spec-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.tabla-technique-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 3px solid var(--crimson-primary);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.tabla-technique-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(166, 32, 53, 0.12);
}

.stroke-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.stroke-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.stroke-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.stroke-badge {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  min-width: 80px;
  text-align: center;
}

.stroke-badge.crimson {
  background: rgba(166, 32, 53, 0.18);
  border-color: rgba(166, 32, 53, 0.35);
  color: #ff94a4;
}

.stroke-text strong {
  color: var(--text-light);
  font-size: 0.94rem;
  display: block;
  margin-bottom: 0.2rem;
}

.stroke-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .tabla-anatomy-showcase {
    grid-template-columns: 1fr;
  }
  .anatomy-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DROPDOWN & ADVANCED NAVIGATION
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"],
.nav-item-dropdown:hover .nav-dropdown-toggle {
  color: var(--gold-light);
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown-toggle[aria-expanded="true"] svg,
.nav-item-dropdown.open .nav-dropdown-toggle svg,
.nav-item-dropdown.mobile-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

@media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
  }

  .nav-backdrop {
    display: none !important;
  }

  .nav-menu {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 !important;
    border: none !important;
    overflow-y: visible !important;
    gap: 1.75rem !important;
  }

  .nav-menu li {
    width: auto !important;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 270px;
    background: rgba(14, 18, 26, 0.98);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 0;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-smooth);
    z-index: 1050;
    pointer-events: none;
  }

  .nav-item-dropdown:hover .nav-dropdown-menu,
  .nav-item-dropdown:focus-within .nav-dropdown-menu,
  .nav-item-dropdown.open .nav-dropdown-menu,
  .nav-item-dropdown.mobile-open .nav-dropdown-menu,
  .nav-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu .dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 0.55rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.nav-dropdown-menu .dropdown-link:hover,
.nav-dropdown-menu .dropdown-link:focus {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  border-left-color: var(--gold-primary);
  padding-left: 1.5rem;
}

.nav-dropdown-menu .dropdown-link .dropdown-title {
  font-weight: 600;
  color: var(--text-light);
}

.nav-dropdown-menu .dropdown-link .dropdown-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.nav-dropdown-menu .dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.5rem 0;
}

/* ==========================================================================
   ANSWER-FIRST DIRECT DEFINITION BOX (For AI Overviews & Featured Snippets)
   ========================================================================== */
.answer-first-box {
  background: linear-gradient(135deg, rgba(22, 28, 42, 0.85) 0%, rgba(14, 18, 26, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 2rem 0 3rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  position: relative;
}

.answer-first-box.crimson-accent {
  border-left-color: var(--crimson-primary);
}

.answer-first-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.answer-first-text {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.answer-first-subtext {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   QUICK FACTS INFOGRAPHIC & ENTITY ATTRIBUTE TABLE
   ========================================================================== */
.quick-facts-card {
  background: rgba(20, 25, 38, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.quick-facts-card h3 {
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-facts-table {
  width: 100%;
  border-collapse: collapse;
}

.quick-facts-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.quick-facts-table tr:last-child {
  border-bottom: none;
}

.quick-facts-table th,
.quick-facts-table td {
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.quick-facts-table th {
  color: var(--gold-primary);
  font-weight: 600;
  width: 32%;
}

.quick-facts-table td {
  color: var(--text-secondary);
}

/* ==========================================================================
   SCHOLARLY SOURCE & CITATION BLOCK
   ========================================================================== */
.source-citation-block {
  background: rgba(16, 20, 30, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  margin: 3.5rem 0 2rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.source-citation-block h4 {
  font-size: 0.98rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.source-citation-block p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.source-citation-block ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.source-citation-block li {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.source-citation-block a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   SEMANTIC BREADCRUMB
   ========================================================================== */
.entity-breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.entity-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.entity-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.entity-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.entity-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.entity-breadcrumb a:hover {
  color: var(--gold-primary);
}

.entity-breadcrumb li[aria-current="page"] {
  color: var(--gold-light);
  font-weight: 600;
}

/* ==========================================================================
   RELATED ENTITIES & CULTURE CARDS
   ========================================================================== */
.related-entities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.entity-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.entity-mini-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.entity-mini-card h4 {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.entity-mini-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.entity-mini-card .entity-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.entity-mini-card .entity-link:hover {
  color: var(--gold-light);
  gap: 0.6rem;
}

