/* ==================== Variables ==================== */
:root {
  --color-gold: #C9A961;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray-light: #F5F5F5;
  --color-gray: #666666;
  
  --font-main: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  --container-width: 1200px;
  --header-height: 80px;
}

/* ==================== Reset ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-black);
  background-color: var(--color-white);
  font-weight: 400;
  font-display: swap;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==================== Container ==================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ==================== Header ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  height: var(--header-height);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-desktop {
  display: block;
  height: 50px;
  width: auto;
}

.logo-mobile {
  display: none;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--color-black);
  margin: 3px 0;
  transition: 0.3s;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-black);
  transition: color 0.3s ease;
  padding: var(--spacing-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-link:hover::after {
  width: 100%;
}

/* BotÃ³n Reservar */
.btn-reservar {
  background-color: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-gold);
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-reservar:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

/* ==================== Hero Section ==================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  margin-top: var(--header-height);
  padding: var(--spacing-lg) 0 var(--spacing-md) 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  max-width: var(--container-width);
}

.hero-content {
  padding-right: var(--spacing-lg);
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: var(--spacing-md);
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--color-black);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray);
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 16px 40px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #B89851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-gold);
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== Emotional Phrases ==================== */
.emotional-phrases {
  background-color: var(--color-white);
  padding: var(--spacing-lg) 0;
}

.phrase-container {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 80px;
  height: 80px;
}

.phrase-part {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  will-change: opacity;
}

.phrase-part.visible {
  opacity: 1;
}

.phrase-1 {
  opacity: 1; /* First one always visible */
}

.phrase-arrow {
  font-size: 1.1rem;
  color: var(--color-gold);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  will-change: opacity;
}

.phrase-arrow.visible {
  opacity: 1;
}

/* ==================== Image Row ==================== */
.image-row {
  background-color: var(--color-white);
  padding: var(--spacing-lg) 0;
}

.image-row-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.image-row-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
}

.image-row-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.image-row-item:hover img {
  transform: scale(1.05);
}

.image-row-text {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  border: 1px solid var(--color-black);
  border-radius: 4px;
  text-align: center;
}

.image-row-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-black);
  font-weight: 400;
  margin: 0;
}

/* ==================== Sections ==================== */
section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 1px;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.1rem;
  color: var(--color-gray);
  line-height: 1.8;
}

/* ==================== Formaciones ==================== */
.formaciones {
  background-color: #FAFAFA;
  padding: var(--spacing-xl) 0;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-gray);
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  padding-bottom: var(--spacing-lg);
}

.formaciones-accreditation {
  text-align: center;
  font-size: 1rem;
  color: var(--color-black);
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  padding: var(--spacing-md);
  background-color: rgba(201, 169, 97, 0.1);
  border-left: 4px solid var(--color-gold);
  border-radius: 4px;
  line-height: 1.6;
}

.formaciones-accreditation strong {
  color: var(--color-gold);
  font-weight: 600;
}

.formaciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.formacion-card:last-child {
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.formacion-card {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.formacion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.formacion-card.featured {
  border: 2px solid var(--color-gold);
}

.formacion-card.premium {
  border: 2px solid var(--color-gold);
  background: linear-gradient(135deg, #FFFEF9 0%, #FFFFFF 100%);
}

.featured-badge,
.premium-badge {
  position: absolute;
  top: -12px;
  right: var(--spacing-md);
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.premium-badge {
  background: linear-gradient(135deg, #C9A961 0%, #E8C88F 100%);
}

.formacion-title {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  color: var(--color-black);
  line-height: 1.3;
  padding-top: 0.5rem;
}

.formacion-tagline {
  font-size: 0.95rem;
  color: var(--color-gold);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  font-style: italic;
}

.formacion-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-gray);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.formacion-details {
  margin: var(--spacing-sm) 0;
  padding: var(--spacing-sm) 0;
  border-top: 1px solid #EFEFEF;
  border-bottom: 1px solid #EFEFEF;
}

.formacion-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.formacion-detail:last-child {
  margin-bottom: 0;
}

.detail-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
}

.formacion-detail strong {
  color: var(--color-black);
}

.btn-formacion {
  display: block;
  text-align: center;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: var(--spacing-sm);
}

.btn-formacion:hover {
  background-color: #B8954E;
  transform: scale(1.02);
}

/* ==================== Services ==================== */
.services {
  background-color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.service-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-icon {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
  box-shadow: 0 8px 30px rgba(201, 169, 97, 0.3);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  color: var(--color-black);
}

.service-card p {
  color: var(--color-gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ==================== CTA Reserva ==================== */
.cta-reserva {
  background: linear-gradient(135deg, #C9A961 0%, #E8C88F 100%);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  letter-spacing: 1px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
  line-height: 1.6;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--color-white);
  color: var(--color-gold);
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: var(--spacing-md);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-cta-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.btn-cta:hover .btn-cta-icon {
  transform: translateX(5px);
}

.cta-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 300;
  margin-top: var(--spacing-sm);
}

/* ==================== Gallery ==================== */
.gallery {
  background-color: #FAFAFA;
  padding: var(--spacing-xl) 0;
}

.gallery-slider {
  position: relative;
  margin-top: var(--spacing-lg);
  overflow: hidden;
  padding: 0 80px;
}

.gallery-track {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--spacing-md);
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 400px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding: var(--spacing-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  color: var(--color-black);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.gallery-more {
  text-align: center;
  margin-top: var(--spacing-lg);
}

.btn-gallery-more {
  display: inline-block;
  background-color: transparent;
  color: var(--color-gold);
  padding: 14px 32px;
  border: 2px solid var(--color-gold);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-gallery-more:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ==================== Lightbox ==================== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 3rem;
  cursor: pointer;
  z-index: 10000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--color-gold);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* ==================== Testimonials ==================== */
.testimonials {
  background-color: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  padding: var(--spacing-lg);
  background-color: var(--color-gray-light);
  border-left: 3px solid var(--color-gold);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  color: var(--color-gray);
}

.testimonial-author {
  font-weight: 500;
  color: var(--color-black);
}

/* ==================== About ==================== */
.about {
  background-color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-top: var(--spacing-lg);
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  padding-left: var(--spacing-md);
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.about-content p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: var(--color-gold);
  font-weight: 500;
}

.about-content strong {
  color: var(--color-black);
  font-weight: 600;
}

.about-content em {
  font-style: italic;
}

/* ==================== Contact ==================== */
.contact {
  background-color: #FAFAFA;
  padding: var(--spacing-xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.contact-info-card {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.contact-info-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  color: var(--color-gold);
}

.contact-info-card p {
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.contact-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-black);
  text-decoration: none;
  margin-bottom: var(--spacing-md);
}

.contact-link {
  display: inline-block;
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 500;
  margin-top: var(--spacing-sm);
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #B89851;
  text-decoration: underline;
}

.btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: var(--spacing-sm);
}

.btn-whatsapp:hover {
  background-color: #1FAF50;
  transform: translateY(-2px);
}

.schedule p {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #EFEFEF;
}

.schedule p:last-child {
  border-bottom: none;
}

.schedule span {
  font-weight: 500;
  color: var(--color-black);
}

.contact-cta {
  background: linear-gradient(135deg, #C9A961 0%, #E8C88F 100%);
  padding: var(--spacing-xl);
  border-radius: 12px;
  text-align: center;
  margin-top: var(--spacing-xl);
}

.contact-cta h3 {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.btn-large {
  padding: 16px 48px;
  font-size: 1.1rem;
}

/* ==================== Footer ==================== */
.footer {
  background-color: white;
  color: #e0e0e0;
  padding: var(--spacing-xl) 0 var(--spacing-md);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-md);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-about {
  max-width: 300px;
}


.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--color-gold);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #b0b0b0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-gold);
}

.footer-contact a {
  color: #b0b0b0;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #888;
  margin: 0.3rem 0;
}

.footer-credits {
  font-size: 0.8rem !important;
  color: #666 !important;
}

.footer-credits strong {
  color: var(--color-gold);
  font-weight: 600;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-about {
    text-align: center;
  }
  
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-title {
    font-size: 1rem;
  }
}

/* Tablet (mantener 2 columnas) */
@media (min-width: 769px) and (max-width: 1024px) {
  .formaciones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-info-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
}

.formacion-card:last-child {
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .logo-desktop {
    display: none;
  }
  
  .logo-mobile {
    display: block;
    height: 40px;
    width: auto;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-lg);
    transition: left 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: var(--spacing-sm) 0;
    width: 100%;
    text-align: center;
  }
  
  .btn-reservar {
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-md);
  }
  
  /* Hero Mobile */
  .hero {
    padding: var(--spacing-md) 0 var(--spacing-sm) 0;
  }
  
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    width: 100%;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  /* Emotional Phrases Mobile */
  .phrase-container {
    flex-direction: column;
    position: relative;
    min-height: 80px;
  }
  
  .phrase-part {
    position: absolute;
    font-size: 1.3rem;
    width: 100%;
    opacity: 0; /* Reset opacity for mobile - all start hidden */
  }
  
  .phrase-part.visible {
    opacity: 1;
  }
  
  .phrase-arrow {
    display: none;
  }
  
  /* Image Row Mobile */
  .image-row-grid {
    grid-template-columns: 1fr;
  }
  
  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-icon {
    width: 160px;
    height: 160px;
  }
  
  /* CTA Mobile */
  .cta-title {
    font-size: 1.8rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
  }
  
  .btn-cta {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
  
  /* Gallery Mobile */
  .gallery-item {
    flex: 0 0 280px;
  }
  
  .gallery-slider {
    padding: 0 0 80px 0;
  }
  
  .slider-arrow {
    top: auto;
    bottom: 20px;
    transform: none;
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
  
  .slider-prev {
    left: calc(50% - 60px);
  }
  
  .slider-next {
    right: calc(50% - 60px);
  }
  
  /* Lightbox Mobile */
  .lightbox-image {
    max-width: 95%;
    max-height: 80vh;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 2.5rem;
    width: 45px;
    height: 45px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  /* Contact Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .contact-icon {
    font-size: 2.5rem;
  }
  
  .contact-phone {
    font-size: 1.3rem;
  }
  
  .contact-cta {
    padding: var(--spacing-md);
  }
  
  .contact-cta h3 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
    width: 100%;
  }
  
  /* About Mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .about-content {
    padding-left: 0;
    text-align: center;
  }
  
  .about-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid,
  .testimonials-grid,
  .formaciones-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}
/* GalerÃ­a de Formaciones */
.formaciones-gallery {
  margin-top: var(--spacing-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.formaciones-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .formaciones-gallery {
    margin-top: var(--spacing-lg);
    border-radius: 8px;
  }
}

/* Botón Instagram en Header */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(188, 24, 136, 0.3);
  position: relative;
}

.btn-instagram:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(188, 24, 136, 0.5);
}

.btn-instagram svg {
  width: 20px;
  height: 20px;
  fill: white;
}

@media (max-width: 768px) {
  .btn-instagram {
    width: 100%;
    height: auto;
    border-radius: 4px;
    padding: 10px;
    margin-top: var(--spacing-sm);
    justify-content: center;
  }
  
  .btn-instagram::after {
    content: 'Síguenos en Instagram';
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
  }
}
/* ==================== Footer ==================== */
.footer {
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: var(--spacing-xl) 0 var(--spacing-md);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-md);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-about {
  max-width: 300px;
}


.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--color-gold);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #b0b0b0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-gold);
}

.footer-contact a {
  color: #b0b0b0;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #888;
  margin: 0.3rem 0;
}

.footer-credits {
  font-size: 0.8rem !important;
  color: #666 !important;
}

.footer-credits strong {
  color: var(--color-gold);
  font-weight: 600;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-about {
    text-align: center;
  }
  
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-title {
    font-size: 1rem;
  }
}

/* Badge mÃ¡s pequeÃ±o y sutil */
.coming-soon-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 8px;
  padding: 2px 5px;
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
/* ==================== Floating Buttons ==================== */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 998;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-whatsapp {
  background-color: #25D366;
  color: white;
  text-decoration: none;
}

.floating-whatsapp:hover {
  background-color: #1FAF50;
}

.floating-chatbot {
  background-color: var(--color-gold);
  color: white;
}

.floating-chatbot:hover {
  background-color: #B89851;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .floating-buttons {
    right: 15px;
    bottom: 15px;
    gap: 12px;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  
  .floating-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* ==================== Language Selector ==================== */
.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
}

.lang-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
}

.lang-flag:hover {
  transform: scale(1.1);
  border-color: var(--color-gold);
  box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

.lang-flag.active {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

.lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Mobile language selector */
/* Mobile language selector - CENTRADO PERFECTO */
@media (max-width: 768px) {
  .nav {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 0 !important;
    position: relative !important;
  }
  
  .logo {
    grid-column: 1 !important;
    position: static !important;
    justify-self: start !important;
  }
  
  .language-selector {
    grid-column: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .lang-flag {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    flex-shrink: 0 !important;
    border-width: 2px !important;
  }
  
  .lang-flag svg {
    width: 100% !important;
    height: 100% !important;
  }
  
  .menu-toggle {
    grid-column: 3 !important;
    position: static !important;
    justify-self: end !important;
  }
}