:root {
  --gold: #D4A944;
  --gold-light: #E8C15B;
  --gold-dark: #B8922E;
  --black: #0A0A0A;
  --black-soft: #1A1A1A;
  --white: #FAFAFA;
  --gray-light: #F5F5F5;
  --gray: #888888;
  --gray-dark: #4A4A4A;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  --gradient-gold: linear-gradient(135deg, #D4A944 0%, #E8C15B 50%, #D4A944 100%);
  --gradient-dark: linear-gradient(180deg, #1A1A1A 0%, #2D2D2D 100%);

  --section-padding: clamp(60px, 10vw, 120px);
  --container-width: 1200px;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 50px;
  text-align: center !important;
}
.gold-text { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(212, 169, 68, 0.3);
}
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--black); }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 120px; width: auto; margin-bottom: 0px; }
.nav-links { display: flex; gap: 40px; list-style: none; }

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: none; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 50%, var(--black) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 100%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 169, 68, 0.08) 0%, transparent 60%);
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text { animation: fadeInUp 1s ease-out; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 169, 68, 0.15);
  border: 1px solid rgba(212, 169, 68, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--gold);
  margin-top: 150px;
  margin-bottom: 30px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
}
.hero-title .highlight { display: block; color: var(--gold); position: relative; }

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.hero-image { position: relative; animation: fadeInRight 1s ease-out 0.3s both; }
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: 20px;
  z-index: -1;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat { text-align: left; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 0.9rem; color: var(--gray); margin-top: 5px; }

/* Stats Section */
.stats-section {
  background: var(--black-soft);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s, box-shadow 0.4s;
}
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(212, 169, 68, 0.1);
  border-color: rgba(212, 169, 68, 0.2);
}
.stat-card .number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card .label { font-size: 1rem; color: var(--gray); }

/* Opportunity Section */
.opportunity { background: var(--black); position: relative; }
.opportunity-header { text-align: center; margin-bottom: 60px; }
.opportunity-header .section-subtitle { margin: 0 auto; }

.checkmarks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.check-card {
  background: linear-gradient(135deg, rgba(212, 169, 68, 0.05) 0%, transparent 100%);
  border: 1px solid rgba(212, 169, 68, 0.15);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.4s;
}
.check-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(212, 169, 68, 0.1);
}
.check-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.check-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.check-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.check-card p { color: var(--gray); font-size: 0.95rem; }

/* MODELO */
.modelo { padding: var(--section-padding) 0; background: var(--black); position: relative; overflow: hidden; }
.modelo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 0% 50%, rgba(212, 169, 68, 0.1) 0%, transparent 50%); }
.modelo .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.modelo-content h2 { color: var(--white); margin-bottom: 24px; }
.modelo-content .intro { font-size: 1.125rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 32px; }
.modelo-features { list-style: none; }
.modelo-features li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.modelo-features li:last-child { border-bottom: none; }
.modelo-features .check { width: 28px; height: 28px; background: rgba(212, 169, 68, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modelo-features .check i { width: 16px; height: 16px; color: var(--black) !important; }
.modelo-features span { color: rgba(255, 255, 255, 0.9); font-size: 1rem; line-height: 1.6; }
.modelo-disclaimer { margin-top: 32px; padding: 16px 20px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; border-left: 3px solid var(--gold); }
.modelo-disclaimer p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); font-style: italic; }
.embudo { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 40px; }
.embudo-title { text-align: center; color: var(--white); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; }
.embudo-steps { display: flex; flex-direction: column; gap: 12px; }
.embudo-step { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; transition: all var(--transition-fast); }
.embudo-step:hover { background: rgba(212, 169, 68, 0.1); }
.embudo-step .label { color: rgba(255, 255, 255, 0.8); font-weight: 500; }
.embudo-step .value { color: var(--gold); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.embudo-result { margin-top: 24px; padding: 24px; background: var(--gradient-gold)!important; border-radius: 16px; text-align: center; }
.embudo-result .amount { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--black); }
.embudo-result .period { font-size: 0.9rem; color: var(--black-soft); font-weight: 500; }

/* What You Learn Section */
.learn { background: linear-gradient(180deg, var(--black-soft) 0%, var(--black) 100%); }

.learn-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.learn-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.4s;
}
.learn-card:hover::before { transform: scaleY(1); }
.learn-card:hover { background: rgba(255, 255, 255, 0.04); transform: translateY(-6px); }

.learn-icon{
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.learn-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.learn-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.learn-card p { color: var(--gray); margin-bottom: 15px; }
.learn-card .feature { color: var(--gold); font-size: 0.9rem; font-style: italic; }

/* Team Section */
.team { background: var(--black); }
.team-header { text-align: center; margin-bottom: 60px; }

.ceo-section {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  background: linear-gradient(135deg, rgba(212, 169, 68, 0.05) 0%, transparent 100%);
  border-radius: 30px;
  padding: 50px;
  border: 1px solid rgba(212, 169, 68, 0.1);
}
.ceo-image { position: relative; }
.ceo-image img { width: 100%; border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
.ceo-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--gold);
  color: var(--black);
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}
.ceo-info h2 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 10px; }
.ceo-title { color: var(--gold); font-size: 1.2rem; margin-bottom: 25px; }
.ceo-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 30px;
  padding-left: 30px;
  border-left: 3px solid var(--gold);
}
.ceo-achievements { display: flex; gap: 40px; }
.achievement { display: flex; align-items: center; gap: 10px; }
.achievement-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 169, 68, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.achievement span { color: var(--gray); font-size: 0.9rem; }

.team-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-photo { border-radius: 20px; overflow: hidden; position: relative; aspect-ratio: 4/3; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.team-photo:hover img { transform: scale(1.1); }
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 50%);
}

/* Testimonials Section */
.testimonials { background: var(--black-soft); position: relative; }
.testimonials::before {
  content: '"';
  position: absolute;
  top: 50px;
  left: 10%;
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(212, 169, 68, 0.05);
  line-height: 1;
}
.testimonials-header { text-align: center; margin-bottom: 60px; }

.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.4s;
}
.testimonial-card:hover {
  border-color: rgba(212, 169, 68, 0.3);
  transform: translateY(-5px);
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 30px;
  line-height: 1;
}
.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: var(--gray-light);
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--black);
}
.testimonial-info h4 { font-size: 1rem; margin-bottom: 3px; }
.testimonial-info span { color: var(--gold); font-size: 0.85rem; }

/* FAQ Section */
.faq { background: var(--black); }
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-grid { max-width: 800px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}
.faq-question h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}
.faq-icon {
  width: 30px;
  height: 30px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 25px; }
.faq-answer p { color: var(--gray); line-height: 1.7; }

/* Application Form Section */
.apply {
  background: linear-gradient(135deg, var(--black-soft) 0%, var(--black) 100%);
  position: relative;
  overflow: hidden;
}
.apply-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.apply-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.apply-text p { color: var(--gray); font-size: 1.1rem; margin-bottom: 30px; }
.apply-benefits { list-style: none; }
.apply-benefits li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--gray-light);
}
.apply-benefits li::before {
  content: '✓';
  width: 25px;
  height: 25px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.apply-form {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 30px;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.form-title { font-family: var(--font-display); font-size: 1.8rem; text-align: center; margin-bottom: 10px; }
.form-subtitle { text-align: center; color: var(--gray); margin-bottom: 30px; font-size: 0.95rem; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--gray-light); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(212, 169, 68, 0.05);
}
.form-group select option { background: var(--black-soft); color: var(--white); }
.form-group textarea { min-height: 100px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s;
  margin-top: 10px;
}
.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(212, 169, 68, 0.3);
}

/* Footer */
.footer {
  background: #000;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand img { height: 160px; margin-bottom: 20px; }
.footer-brand p { color: var(--gray); max-width: 300px; line-height: 1.7; }

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--gold);
}
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; }
.footer-column a { color: var(--gray); text-decoration: none; transition: color 0.3s; }
.footer-column a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 15px; margin-top: 25px; justify-content: flex-start; }
.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--gold); color: var(--black); }

.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-disclaimer { color: var(--gray-dark); font-size: 0.8rem; line-height: 1.7; margin-bottom: 20px; }

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-dark);
  font-size: 0.9rem;
}
.footer-legal a {
  color: var(--gray-dark);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--gold); }

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* ==============================
   CARRUSEL (Learn) -> 3 desktop / 1 móvil
   ============================== */
.learn-carousel {
  --gap: 26px;
  position: relative;
  margin-top: 10px;
}

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 6px 2px 14px;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
}

.carousel-item {
  flex: 0 0 calc((100% - (var(--gap) * 2)) / 3);
  scroll-snap-align: start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
  z-index: 5;
}
.carousel-btn:hover {
  background: rgba(212,169,68,0.18);
  border-color: rgba(212,169,68,0.45);
  transform: translateY(-50%) scale(1.06);
}
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.carousel-btn.prev { left: -12px; }
.carousel-btn.next { right: -12px; }

.carousel-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.carousel-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.carousel-dot:hover{ transform: scale(1.1); }
.carousel-dot.active{
  background: rgba(212,169,68,0.85);
  border-color: rgba(212,169,68,1);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; max-width: 400px; margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .checkmarks-grid { grid-template-columns: repeat(2, 1fr); }
  .ceo-section { grid-template-columns: 1fr; text-align: center; }
  .ceo-image { max-width: 350px; margin: 0 auto; }
  .ceo-quote { border-left: none; padding-left: 0; border-top: 3px solid var(--gold); padding-top: 20px; }
  .ceo-achievements { justify-content: center; flex-wrap: wrap; }
  .apply-content { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-social { justify-content: center; }
  .footer-copyright { flex-direction: column; gap: 15px; }

  .carousel-btn.prev { left: 6px; }
  .carousel-btn.next { right: 6px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-card .number { font-size: 2.5rem; }
  .checkmarks-grid, .testimonials-grid, .team-photos { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 30px; }
  .apply-form { padding: 30px 20px; }

  .carousel-item{ flex-basis: 100%; }
  .carousel-btn{ width: 40px; height: 40px; font-size: 26px; }
}

/* ==============================
   n8n Chat Overrides
   ============================== */
:root { --chat--window--bottom: 105px; }

@keyframes goldGlow {
  0% { box-shadow: 0 0 0 rgba(212,169,68,0); transform: scale(1); }
  50% {
    box-shadow:
      0 0 12px rgba(212,169,68,0.9),
      0 0 28px rgba(212,169,68,0.6),
      0 0 48px rgba(212,169,68,0.3);
    transform: scale(1.08);
  }
  100% { box-shadow: 0 0 0 rgba(212,169,68,0); transform: scale(1); }
}

.chat-window-toggle,
div[class*="chat-window-toggle"],
button[class*="chat-window-toggle"]{
  background-color: rgb(212,169,68) !important;
  color: #0A0A0A !important;
  animation: goldGlow 2.2s infinite ease-in-out !important;
  border: none !important;
}

.chat-window-wrapper { right: 25px !important; }

.chat-window-toggle svg,
.chat-window-toggle path {
  fill: #ffffff !important;
  color: #ffffff !important;
}

/* ===== Opportunity / Checkmarks ===== */
.checkmarks-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 32px;
}

@media (max-width: 980px){
  .checkmarks-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .checkmarks-grid{ grid-template-columns: 1fr; }
}

.check-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,169,68,.18);
  border-radius: 18px;
  padding: 26px 26px 24px;
  backdrop-filter: blur(10px);
}

.check-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

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

/* Si falta el archivo, evitamos el ícono roto y mostramos un placeholder elegante */
.check-icon.is-missing{
  background: linear-gradient(135deg, rgba(212,169,68,.25), rgba(255,255,255,.06));
  border-color: rgba(212,169,68,.25);
}
.check-icon.is-missing::after{
  content: "★";
  font-size: 22px;
  opacity: .8;
}

/* ===== Opportunity icons (IMAGEN) ===== */
.check-icon{
  width: 158px;
  height: 158px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);

  flex: 0 0 auto;
}

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

/* ================================
   FIX: fotos grandes y centradas
   (Opportunity + Learn)
   Pegar al FINAL de styles.css
=================================== */

/* Opportunity cards: foto más grande y centrada */
.check-card .check-icon{
  width: 180px;
  height: 320px;
  margin: 0 auto 18px;
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,169,68,0.25);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

.check-card .check-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Si falta imagen, el placeholder se verá grande también */
.check-card .check-icon.is-missing::after{
  font-size: 14px;
}

/* Learn cards: un poco más pequeño pero centrado */
.learn-card .learn-icon{
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,169,68,0.20);
}

.learn-card .learn-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 640px){
  .check-card .check-icon{ width: 104px; height: 104px; }
  .learn-card .learn-icon{ width: 84px; height: 84px; }
}

/* Centrar contenido SOLO en las tarjetas de Opportunity */
.check-card{
  text-align: center;
}

.check-card p{
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   LEARN CAROUSEL (FOTOS)
   ========================= */
.learn-carousel {
  margin-top: 34px;
}

/* Centrado total del contenido */
.learn-carousel .learn-card {
  text-align: center;
}

/* Foto vertical grande y centrada */
.learn-carousel .learn-photo {
  width: 165px;
  height: 230px;
  margin: 0 auto 16px auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(212, 169, 68, 0.35);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.learn-carousel .learn-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Títulos y textos centrados */
.learn-carousel .learn-card h3,
.learn-carousel .learn-card p,
.learn-carousel .learn-card .feature {
  text-align: center;
}

.learn-carousel .learn-card p {
  margin-left: auto;
  margin-right: auto;
}

/* Feature centrado */
.learn-carousel .learn-card .feature {
  display: block;
  margin-top: 14px;
}

/* Ajustes móvil */
@media (max-width: 768px) {
  .learn-carousel .learn-photo {
    width: 140px;
    height: 205px;
  }
}

.achievement-icon img{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
