/* ==========================================================================
   CEBA "Señor de las Ánimas" - Design System & Stylesheet
   Color primario: #014781
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --color-primary: #014781;
  --color-primary-dark: #002e56;
  --color-primary-light: #0d5ea6;
  --color-primary-subtle: #e6f0fa;
  --color-accent: #ffb800;
  --color-accent-hover: #e0a200;
  --color-accent-subtle: #fff9e6;
  --color-secondary: #00a896;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba5a;
  
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-white: #ffffff;
  
  --bg-main: #ffffff;
  --bg-section-alt: #f8fafc;
  --bg-card: #ffffff;
  
  --shadow-sm: 0 2px 4px rgba(1, 71, 129, 0.05);
  --shadow-md: 0 8px 16px -4px rgba(1, 71, 129, 0.08), 0 4px 6px -2px rgba(1, 71, 129, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(1, 71, 129, 0.12), 0 10px 10px -5px rgba(1, 71, 129, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(1, 71, 129, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.2;
  font-weight: 700;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

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

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

.text-primary {
  color: var(--color-primary) !important;
}

.text-accent {
  color: var(--color-accent) !important;
}

/* --- Section Header Utility --- */
.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(1, 71, 129, 0.15);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(1, 71, 129, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 71, 129, 0.45);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.4);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5);
}

.btn-aula {
  background-color: #ffb800 !important;
  color: #014781 !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.45);
}

.btn-aula:hover {
  background-color: #e0a200 !important;
  color: #002e56 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.6);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

/* --- Top Header Bar --- */
.top-bar {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.6rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-info-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

.top-info-item a:hover {
  color: var(--color-accent);
}

.top-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition-fast);
}

.top-social a:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

/* --- Main Navigation (Header) --- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #002e56 0%, #014781 60%, #0d5ea6 100%);
  color: var(--color-white);
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, rgba(255, 184, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title span {
  color: var(--color-accent);
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.hero-feature-item svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid rgba(255, 255, 255, 0.2);
}

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

/* Floating Stats Badge on Hero */
.floating-stat {
  position: absolute;
  background: var(--color-white);
  color: var(--color-text-main);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.floating-stat.stat-left {
  bottom: 25px;
  left: -25px;
}

.floating-stat.stat-right {
  top: 30px;
  right: -20px;
  animation-delay: 2s;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.stat-text h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

.about-image-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  height: 420px;
  object-fit: cover;
}

.about-badge-overlay {
  position: absolute;
  bottom: -20px;
  right: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-width: 240px;
  text-align: center;
  border: 4px solid var(--color-white);
}

.about-badge-overlay .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.about-badge-overlay .text {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.about-content h3 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--color-primary-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.value-card h4 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Modalidades Section --- */
.modalidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.modalidad-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(1, 71, 129, 0.08);
  display: flex;
  flex-direction: column;
}

.modalidad-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.modalidad-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.modalidad-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.modalidad-card:hover .modalidad-img img {
  transform: scale(1.06);
}

.modalidad-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.modalidad-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.modalidad-content h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.modalidad-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.modalidad-details {
  border-top: 1px solid var(--bg-section-alt);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.modalidad-detail-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.modalidad-detail-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
}

/* --- Duration Banner --- */
.duration-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.duration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.duration-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.duration-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.duration-info h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.duration-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* --- Benefits Section --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.benefit-card {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(1, 71, 129, 0.08);
  transition: all var(--transition-normal);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.benefit-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  transition: var(--transition-bounce);
}

.benefit-card:hover .benefit-icon-box {
  background-color: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.1);
}

.benefit-icon-box svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.benefit-card h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- Requisitos / Enrollment Process --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(1, 71, 129, 0.08);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(255, 184, 0, 0.4);
}

.step-card h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.requisitos-box {
  margin-top: 3.5rem;
  background-color: var(--color-primary-subtle);
  border: 2px dashed rgba(1, 71, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.requisitos-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.requisitos-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.requisito-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.requisito-item svg {
  width: 22px;
  height: 22px;
  fill: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.requisito-item h4 {
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.2rem;
}

.requisito-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(1, 71, 129, 0.08);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-primary);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

/* --- Contact & Enrollment Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.contact-info-card h3 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-detail-text h4 {
  color: var(--color-accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.contact-detail-text p, .contact-detail-text a {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
}

/* Enrollment Form */
.enrollment-form-card {
  background: var(--bg-card);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(1, 71, 129, 0.1);
}

.enrollment-form-card h3 {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.enrollment-form-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(1, 71, 129, 0.12);
}

select.form-control {
  cursor: pointer;
}

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

/* --- Map / Locations Section --- */
.location-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.location-card {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--color-primary);
  display: flex;
  gap: 1.25rem;
}

.location-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.location-info h4 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.location-info p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(1, 71, 129, 0.1);
  height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2rem 0;
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 55px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.footer-links display: flex;
.footer-links flex-direction: column;

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact-info svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-link {
  width: 64px;
  height: 64px;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-bounce);
  position: relative;
}

.whatsapp-link:hover {
  transform: scale(1.1);
  background-color: var(--color-whatsapp-hover);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-link svg {
  width: 34px;
  height: 34px;
}

/* Pulse animation behind floating button */
.whatsapp-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }

  .modalidades-grid, .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .nav-container {
    height: 70px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: left var(--transition-normal);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .floating-stat.stat-left {
    bottom: -15px;
    left: 10px;
  }
  
  .floating-stat.stat-right {
    top: -15px;
    right: 10px;
  }

  .modalidades-grid, .benefits-grid, .steps-grid, .requisitos-list, .values-grid, .duration-grid, .location-cards {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
