/* Pitam Singh Shiksha Prasar Samiti - Main Stylesheet */
:root {
  --primary: #123B67;
  --secondary: #2474B5;
  --accent: #F4A62A;
  --bg-light: #F5F8FC;
  --text-dark: #1D2939;
  --text-muted: #667085;
  --white: #FFFFFF;
  --success: #198754;
  --shadow: 0 4px 20px rgba(18, 59, 103, 0.1);
  --shadow-sm: 0 2px 8px rgba(18, 59, 103, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 72px;
  --topbar-h: 40px;
  --mobile-bar-h: 64px;
  --transition: 0.25s ease;
  --font-heading: 'Poppins', Arial, Helvetica, sans-serif;
  --font-body: 'Inter', 'Open Sans', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--primary);
  margin-top: 0;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }

p { margin-top: 0; margin-bottom: 1rem; }

ul { padding-left: 1.25rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 3rem 0;
}

.section-alt { background: var(--white); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.text-muted { color: var(--text-muted); }

.text-center { text-align: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Top Info Strip */
.top-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.top-bar-notice {
  font-weight: 500;
  line-height: 1.4;
}

.top-bar-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.top-bar-contacts a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
}

.top-bar-contacts a:hover { color: var(--accent); }

.top-bar-contacts svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .top-bar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
  flex: 1;
  min-width: 0;
}

.logo-link:hover { color: var(--primary); }

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text { min-width: 0; }

.logo-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25;
  color: var(--primary);
  display: block;
}

.logo-hindi {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.3;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--primary);
}

.nav-toggle svg { width: 24px; height: 24px; }

.header-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-sm);
}

.header-call-btn svg { width: 20px; height: 20px; }

.main-nav {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition), visibility var(--transition);
  z-index: 1002;
}

.main-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav li { border-bottom: 1px solid #E4E7EC; }

.main-nav a {
  display: block;
  padding: 0.875rem 0;
  color: var(--text-dark);
  font-weight: 500;
  min-height: 44px;
}

.main-nav a:hover,
.main-nav a.active { color: var(--secondary); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.is-visible {
  display: block;
  opacity: 1;
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
}

.desktop-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
  line-height: 2;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: var(--bg-light);
  color: var(--secondary);
}

.desktop-actions {
  display: none;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .header-call-btn { display: none; }
  .main-nav,
  .nav-overlay { display: none !important; }
  .desktop-nav { display: block; }
  .desktop-actions { display: flex; }
  .logo-title { font-size: 1rem; }
  .logo-img { width: 56px; height: 56px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
  text-align: center;
  line-height: 1.3;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #e09520;
  border-color: #e09520;
  color: var(--primary);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 44px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,59,103,0.92) 0%, rgba(36,116,181,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.hero-highlight {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .hero { min-height: 560px; }
  .hero-highlights { grid-template-columns: repeat(4, 1fr); }
}

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }

.page-hero p {
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

.breadcrumb li::after { content: '/'; margin-left: 0.5rem; opacity: 0.6; }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li:last-child { opacity: 0.75; }

/* Cards Grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.card-grid-2 { grid-template-columns: 1fr; }
.card-grid-3 { grid-template-columns: 1fr; }
.card-grid-4 { grid-template-columns: 1fr; }
.card-grid-6 { grid-template-columns: 1fr; }

@media (min-width: 576px) {
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Card */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-light);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-img-contain {
  aspect-ratio: 4/3;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.card-img-contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }

.card-body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  flex: 1;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--bg-light);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}

.tag-pharmacy { background: #E8F5E9; color: var(--success); }
.tag-polytechnic { background: #E3F2FD; color: var(--secondary); }
.tag-iti { background: #FFF3E0; color: #E65100; }

/* Category Card with Icon */
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 4px solid var(--accent);
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.category-icon svg { width: 32px; height: 32px; }

.category-card h3 { margin-bottom: 0.75rem; }

.category-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  flex: 1;
  margin-bottom: 1rem;
}

/* Two Column Layout */
.two-col {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.two-col-reverse .col-image { order: -1; }

.col-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
}

.col-image-portrait img {
  aspect-ratio: 3/4;
  max-height: 520px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col-reverse .col-image { order: 0; }
}

/* Vision Mission Cards */
.vm-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border-left: 4px solid var(--accent);
}

.vm-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.vm-card ul {
  color: var(--text-muted);
  margin: 0;
}

.vm-card li { margin-bottom: 0.5rem; }

/* Why Choose Us */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #f5f5f5;
  border: none;
  padding: 0;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition);
}

.gallery-item.contain img {
  object-fit: contain;
  background: #f5f5f5;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(transparent, rgba(18,59,103,0.85));
  color: var(--white);
  font-size: 0.75rem;
  text-align: left;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.is-open { display: flex; }

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.cta-section h2 { color: var(--white); margin-bottom: 0.75rem; }

.cta-section p {
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Contact Preview */
.contact-preview-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-info-icon svg { width: 24px; height: 24px; }

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

@media (min-width: 768px) {
  .contact-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

.map-placeholder {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.map-placeholder p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Institution Section */
.institution-block {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.institution-inner {
  display: grid;
  gap: 0;
}

.institution-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.institution-image.contain {
  background: #f5f5f5;
  padding: 1rem;
}

.institution-image.contain img {
  object-fit: contain;
  min-height: auto;
  max-height: 400px;
  margin: 0 auto;
}

.institution-content {
  padding: 2rem;
}

.institution-content ul {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .institution-inner { grid-template-columns: 1fr 1fr; }
}

/* Filter Buttons */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  border: 2px solid #E4E7EC;
  background: var(--white);
  color: var(--text-dark);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  min-height: 44px;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.filter-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.programme-card.hidden { display: none; }

/* Notice Box */
.notice-box {
  background: #FFF8E7;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.notice-box strong { color: var(--primary); }

/* Contact Form */
.contact-form-section {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-form-section { grid-template-columns: 1fr 1.2fr; }
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #E4E7EC;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 44px;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #D92D20;
}

.form-error {
  color: #D92D20;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible { display: block; }

.checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}

.form-notice {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: none;
}

.form-notice.visible { display: block; }

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-item {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 0;
  margin-bottom: var(--mobile-bar-h);
}

@media (min-width: 768px) {
  .site-footer { margin-bottom: 0; }
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.75);
}

.footer-bottom-links a:hover { color: var(--accent); }

.footer-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Action Bar */
.mobile-action-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
  z-index: 999;
  padding: 0.5rem;
  gap: 0.25rem;
}

.mobile-action-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.375rem 0.25rem;
  color: var(--text-dark);
  font-size: 0.6875rem;
  font-weight: 600;
  min-height: 44px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.mobile-action-bar a:hover,
.mobile-action-bar a:focus {
  background: var(--bg-light);
  color: var(--secondary);
}

.mobile-action-bar svg {
  width: 22px;
  height: 22px;
}

.mobile-action-bar .action-whatsapp { color: #25D366; }
.mobile-action-bar .action-call { color: var(--secondary); }

@media (min-width: 768px) {
  .mobile-action-bar { display: none; }
}

/* Body padding for mobile bar */
@media (max-width: 767px) {
  body { padding-bottom: var(--mobile-bar-h); }
}

/* Legal Pages */
.legal-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: 4rem 1rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page h1 {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Objectives List */
.objectives-list li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

/* Management Message Placeholder */
.message-box {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--secondary);
  font-style: italic;
  color: var(--text-muted);
}

/* Registration Info */
.registration-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.registration-card dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.registration-card dt {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
}

.registration-card dd {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}
