/* Font Face Declarations */
@font-face {
  font-family: 'Simplon';
  src: url('./fonts/SimplonNorm/SimplonNorm-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Simplon';
  src: url('./fonts/SimplonNorm/SimplonNorm-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Simplon';
  src: url('./fonts/SimplonNorm/SimplonNorm-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Simplon Norm alias (for SVG compatibility) */
@font-face {
  font-family: 'Simplon Norm';
  src: url('./fonts/SimplonNorm/SimplonNorm-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Simplon Norm';
  src: url('./fonts/SimplonNorm/SimplonNorm-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Simplon Norm';
  src: url('./fonts/SimplonNorm/SimplonNorm-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Simplon Norm';
  src: url('./fonts/SimplonNorm/SimplonNorm-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Criolla Sans */
@font-face {
  font-family: 'Criolla Sans v0.8';
  src: url('./fonts/CriollaSans/CriollaSansv0.8-RegularStd.woff2') format('woff2'),
       url('./fonts/CriollaSans/CriollaSansv0.8-RegularStd.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Criolla Sans v0.8';
  src: url('./fonts/CriollaSans/CriollaSansv0.8-MediumStd.woff2') format('woff2'),
       url('./fonts/CriollaSans/CriollaSansv0.8-MediumStd.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Criolla Sans v0.8';
  src: url('./fonts/CriollaSans/CriollaSansv0.8-BoldStd.woff2') format('woff2'),
       url('./fonts/CriollaSans/CriollaSansv0.8-BoldStd.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset & base styles */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  font-family: 'Simplon', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

html { 
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Accounts for sticky header height */
}

/* Header styles */
.main-header {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 20px 40px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky; 
  top: 0; 
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo-img {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(102, 102, 255, 0.3));
}

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links { 
  display: flex; 
  gap: 32px; 
}

.nav-links a {
  text-decoration: none; 
  color: #4a4a4a; 
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #6666ff;
}

.info-button {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn-contacto {
  background-color: #6666ff;
  color: white;
  padding: 10px 24px;
  text-decoration: none;
  border: 2px solid #6666ff;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-contacto:hover {
  background-color: #5252cc;
  border-color: #5252cc;
}

.btn-accede {
  background-color: transparent;
  color: #6666ff;
  padding: 10px 24px;
  text-decoration: none;
  border: 2px solid #6666ff;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-accede:hover {
  background-color: #6666ff;
  color: white;
}

/* Hero section */
.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 60px 40px;
  background: linear-gradient(90deg, #ffffff 50%, #EEF2FF 50%, #DBEAFE 100%);
  position: relative;
}

.hero-content {
  max-width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  height: 100%;
  place-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0px;
  text-align: left;
  width: 100%;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.hero-text .highlight {
  color: #6666ff;
  display: inline-block;
  min-width: 180px;
  text-align: left;
}

.typing-animation {
  display: inline;
}

.typing-animation::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: #6666ff;
  animation: blink 1s infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes erasing {
  from { width: 100%; }
  to { width: 0; }
}

.hero-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 32px;
  max-width: 100%;
}

.hero-cta {
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-cta:hover {
  background-color: #5252cc;
  border-color: #5252cc;
}

.arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.hero-cta:hover .arrow {
  transform: translateX(4px);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  height: 100%;
  width: 100%;
}

.hero-image {
  width: 100%;
  max-width: 675px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.2));
  transition: all 0.4s ease;
}

.hero-image:hover {
  transform: scale(1.02) rotate(0.5deg);
  filter: drop-shadow(0 25px 50px rgba(99, 102, 241, 0.25));
}

/* Features section */
.features-section {
  background: #ffffff;
  min-height: calc(100vh - 80px);
  padding: 80px 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.features-header p {
  font-size: 1.25rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 102, 255, 0.15);
  border-color: #6666ff;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* Audience Toggle Buttons */
.audience-toggle {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.toggle-btn {
  padding: 12px 24px;
  border: 1.5px solid #6666ff;
  background: transparent;
  color: #6666ff;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 58px;
  transition: all 0.3s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.9px;
}

.toggle-btn:hover {
  background: rgba(102, 102, 255, 0.1);
}

.toggle-btn.active {
  background: #6666ff;
  color: white;
  border-color: #6666ff;
}

.toggle-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.features-grid.hidden {
  display: none;
}

/* Plataforma section */
.plataforma-section {
  background: #fcfbfc;
  min-height: calc(100vh - 80px);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plataforma-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
}

.plataforma-header {
  text-align: center;
  margin-bottom: 40px;
}

.plataforma-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.plataforma-header p {
  font-size: 1.25rem;
  color: #666;
}

.plataforma-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}

.carousel-arrow.carousel-prev {
  left: 0;
}

.carousel-arrow.carousel-next {
  right: 0;
}

.carousel-arrow img {
  width: 100%;
  height: 100%;
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.15);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-wrapper {
  width: calc(100% - 100px);
  max-width: 1200px;
  overflow: hidden;
  border-radius: 20px;
  background: white;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.carousel-wrapper:hover {
  box-shadow: 0 4px 30px rgba(99, 102, 241, 0.18);
  border-color: #6666ff;
}

.carousel-slides {
  display: flex;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  display: flex;
}

.slide-content {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 417px;
  flex: 1;
}

.slide-text {
  padding: 60px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
}

.slide-icon img {
  width: 100%;
  height: 100%;
}

.slide-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.slide-text p {
  font-size: 1rem;
  line-height: 1.55;
  color: #666;
}

.slide-image {
  background-color: #6666ff;
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  border-radius: 0 20px 20px 0;
  overflow: hidden;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.carousel-dot {
  width: 23px;
  height: 10px;
  border-radius: 20px;
  background: #cbccff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: #6666ff;
}

.carousel-dot:hover {
  background: #9999ff;
}

.carousel-dot.active:hover {
  background: #6666ff;
}

/* Opiniones section */
.opiniones-section {
  background: #ffffff;
  min-height: calc(100vh - 80px);
  padding: 80px 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opiniones-container {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}

.opiniones-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 580px);
  gap: 50px 40px;
  justify-content: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Second row offset - diagonal effect */
.testimonials-grid .testimonial-card-new:nth-child(3),
.testimonials-grid .testimonial-card-new:nth-child(4) {
  position: relative;
  left: 80px;
}

.testimonial-card-new {
  background: white;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 203px;
}

.testimonial-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(102, 102, 255, 0.12);
  border-color: rgba(102, 102, 255, 0.3);
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 73px;
  height: 73px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.placeholder-avatar {
  background: #dbeafe;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stars {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 4px;
}

.star-rating {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
}

.testimonial-author {
  font-size: 16px;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.6;
}

.testimonial-author strong {
  font-weight: 700;
}

.testimonial-school {
  font-size: 12px;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.6;
}

.testimonial-text {
  color: #666;
  line-height: 1.55;
  font-size: 16px;
  margin: 0;
}
.section {
  padding: 80px 40px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.section p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Nosotros section */
.nosotros-section {
  background: linear-gradient(135deg, #7828c8 0%, #5b21b6 50%, #6366f1 100%);
  min-height: calc(100vh - 80px);
  padding: 80px 40px;
  color: white;
  display: flex;
  align-items: center;
}

.nosotros-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nosotros-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nosotros-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: white;
}

.nosotros-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.nosotros-text p:last-child {
  margin-bottom: 0;
}

.nosotros-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nosotros-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  transition: all 0.4s ease;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.nosotros-image:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
}

/* Equipo section */
.equipo-section {
  background: #fcfbfc;
  min-height: calc(100vh - 80px);
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipo-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.equipo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.equipo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.equipo-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 32px;
}

.equipo-text h2 .highlight {
  color: #6666ff;
}

.equipo-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 24px;
}

.equipo-text p:last-child {
  margin-bottom: 0;
}

.equipo-text strong {
  font-weight: 500;
  color: #1a1a1a;
}

.equipo-cta {
  font-weight: 400;
}

.team-member-card {
  max-width: 584px;
  width: 100%;
}

.team-member-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 584 / 509;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.team-member-image:hover {
  box-shadow: 0 4px 30px rgba(99, 102, 241, 0.18);
  border-color: #6666ff;
  transform: translateY(-6px);
}

.team-member-image img:not(.team-member-tag) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.team-member-tag {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 62%;
  max-width: 362px;
  height: auto;
}

/* Contact form */
.contact-form {
  background-color: #f8fafc;
  border-radius: 20px;
  margin: 40px;
}

.contact-form input, 
.contact-form textarea {
  width: 100%; 
  max-width: 500px;
  padding: 16px 20px; 
  margin: 12px 0; 
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6666ff;
}

.contact-form button {
  padding: 16px 32px;
  background: linear-gradient(135deg, #6666ff 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 16px;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Contacto section */
.contacto-section {
  background: linear-gradient(to top, #000032 7.35%, #6366f1 70.24%);
  min-height: calc(100vh - 80px);
  padding: 80px 40px;
  display: flex;
  align-items: center;
}

.contacto-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  align-items: start;
}

.contacto-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: 24px;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.contacto-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.contacto-form-container {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.contacto-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.contacto-text p:last-child {
  margin-bottom: 0;
}

.contacto-text strong {
  color: white;
}

/* Form card */
.form-card {
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6666ff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-group input[readonly] {
  background-color: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}

.form-submit-btn {
  width: 100%;
  background: #6666ff;
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit-btn:hover {
  background: #5555ee;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 102, 255, 0.4);
}

/* Form status messages */
#formStatus {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 20px;
}

#formStatus.loading {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

#formStatus.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

#formStatus.error {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* Contactanos header */
.contactanos {
  background: white;
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contactanos:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(102, 102, 255, 0.12);
  border-color: rgba(102, 102, 255, 0.2);
}

.contactanos h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.contactanos p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Info card */
.info-card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  max-width: 280px;
  margin: 0 auto;
  align-self: flex-start;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(102, 102, 255, 0.15);
  border-color: rgba(102, 102, 255, 0.2);
}

.info-card .contact-items-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 8px;
}

.info-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  text-align: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(102, 102, 255, 0.05);
  transform: translateX(8px);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(102, 102, 255, 0.3);
}

.email-icon {
  background: linear-gradient(135deg, #6666ff 0%, #8b5cf6 100%);
  color: white;
}

.phone-icon {
  background: linear-gradient(135deg, #6666ff 0%, #8b5cf6 100%);
  color: white;
}

.location-icon {
  background: linear-gradient(135deg, #6666ff 0%, #8b5cf6 100%);
  color: white;
}

.contact-details strong {
  display: block;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.contact-details p {
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

.contact-details small {
  color: #9ca3af;
  font-size: 14px;
}

.contact-icon img {
  height: 20px;
  width: auto;
}

/* Demo card */
.demo-card {
  background: linear-gradient(135deg, #7828c8 0%, #5b21b6 100%);
  padding: 24px;
  border-radius: 20px;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(102, 110, 234, 0.3);
}

.demo-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.demo-card p {
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.4;
  font-size: 14px;
}

.demo-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.demo-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Footer Section */
.footer-section {
  background: #000032;
  color: #f1f0fd;
  padding: 42px 120px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  max-width: 515px;
  flex-shrink: 0;
}

.footer-logo {
  height: 40px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: #f1f0fd;
  line-height: 1.6;
  font-size: 16px;
}

.footer-nav-column h4 {
  color: #f1f0fd;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.footer-escribenos {
  margin-left: auto;
}

.footer-siguenos {
  min-width: 90px;
}

.social-icons {
  display: flex;
  gap: 9px;
}

.social-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1f0fd;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #cbccff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 28px;
  height: 28px;
}

.footer-bottom {
  max-width: 100%;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cbccff;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #cbccff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #f1f0fd;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f1f0fd;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  color: #cbccff;
}

.footer-contact-item svg {
  flex-shrink: 0;
}

/* Responsive design for large screens */
@media (min-width: 1920px) {
  .star-rating {
    height: 22px;
    width: 22px;
  }

  .testimonials-grid {
    gap: 50px;
  }
}

@media (min-width: 2560px) {
  .star-rating {
    height: 24px;
    width: 24px;
  }
}

/* Responsive design */
@media (max-width: 1280px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    padding: 0 40px;
  }

  .testimonials-grid .testimonial-card-new:nth-child(3),
  .testimonials-grid .testimonial-card-new:nth-child(4) {
    left: 40px;
  }
}

@media (max-width: 1100px) {
  .hero-section {
    background: linear-gradient(180deg, #ffffff 50%, #e6e8f0 50%);
    padding: 40px 40px 60px 40px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    place-items: start center;
  }

  .hero-visual {
    order: 2;
  }

  .hero-text {
    order: 1;
    align-items: center;
    text-align: center;
    padding: 20px 40px 0 40px;
  }

  .hero-image {
    max-width: 750px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }

  .testimonials-grid .testimonial-card-new:nth-child(3),
  .testimonials-grid .testimonial-card-new:nth-child(4) {
    left: 0;
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .plataforma-container {
    padding: 0 60px;
  }

  .carousel-wrapper {
    width: calc(100% - 80px);
  }

  .slide-content {
    grid-template-columns: 1fr;
  }

  .slide-image {
    border-radius: 0 0 20px 20px;
    min-height: 300px;
  }

  .slide-text {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  /* Features section responsive */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .features-header h2 {
    font-size: 2rem;
  }
  
  .features-header p {
    font-size: 1.1rem;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
  }

  .features-section {
    padding: 60px 20px;
  }

  .audience-toggle {
    flex-direction: row;
    padding: 4px;
  }

  .toggle-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .main-header {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
  }

  .header-right {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 20px 0 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .header-right.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .info-button {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .info-button .btn-contacto,
  .info-button .btn-accede {
    text-align: center;
    width: 100%;
    max-width: 260px;
  }
  
  .hero-section {
    background: #ffffff;
    padding: 40px 20px;
    min-height: auto;
    align-items: flex-start;
  }

   .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    place-items: start center;
  }

  .hero-text {
    padding: 20px 20px 0 20px;
    align-items: center;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }
  
  .hero-br {
    display: none;
  }

  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-text .highlight {
    display: block;
    min-width: 0;
    min-height: 1.3em;
    text-align: center;
    white-space: nowrap;
  }

  .hero-text p {
    font-size: 1.125rem;
    margin-bottom: 24px;
  }
  
  .hero-image {
    max-width: 600px;
  }
  
  .opiniones-section {
    padding: 60px 20px;
  }

  .opiniones-title {
    font-size: 1.75rem;
    margin-bottom: 40px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
  }

  .testimonial-card-new {
    max-width: 100%;
  }

  .testimonials-grid .testimonial-card-new:nth-child(3),
  .testimonials-grid .testimonial-card-new:nth-child(4) {
    left: 0;
  }

  .testimonial-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }
  
  .nosotros-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .nosotros-text h2 {
    font-size: 2rem;
  }
  
  .nosotros-text p {
    font-size: 1rem;
  }
  
  .nosotros-image {
    max-width: 350px;
  }

  /* Equipo section responsive */
  .equipo-section {
    padding: 60px 20px;
  }

  .equipo-text h2 {
    font-size: 2rem;
  }

  .equipo-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .equipo-text p {
    font-size: 1rem;
  }

  .team-member-card {
    max-width: 100%;
  }

  .team-member-tag {
    bottom: 16px;
    right: 16px;
    width: 55%;
  }

  .contacto-section {
    padding: 60px 20px;
  }

  .contacto-title {
    font-size: 2rem;
    text-align: center;
    grid-column: 1;
    grid-row: auto;
    order: 1;
    margin-bottom: 0;
    align-self: auto;
  }

  .contacto-text p {
    font-size: 1rem;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contacto-text {
    text-align: center;
    grid-column: 1;
    grid-row: auto;
    order: 3;
  }

  .contacto-form-container {
    grid-column: 1;
    grid-row: auto;
    order: 2;
  }

  .form-card {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .demo-card {
    padding: 20px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .contact-form {
    margin: 20px;
  }
  
  .footer-section {
    padding: 40px 20px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-escribenos {
    margin-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  /* Plataforma section responsive */
  .plataforma-section {
    padding: 60px 0;
  }

  .plataforma-container {
    padding: 0 20px;
    width: 100%;
    min-width: 0;
  }

  .plataforma-header h2 {
    font-size: 1.5rem;
  }

  .plataforma-header p {
    font-size: 1rem;
  }

  .carousel-wrapper {
    width: 100%;
  }

  .carousel-arrow {
    display: none;
  }

  .slide-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .slide-text {
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 12px;
    align-items: center;
  }

  .slide-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }

  .slide-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
  }

  .slide-text p {
    grid-column: 1 / -1;
    margin-top: 16px;
    font-size: 0.9rem;
  }

  .slide-image {
    min-height: 220px;
    border-radius: 0 0 20px 20px;
  }

  .carousel-dots {
    margin-top: 20px;
  }
}
