/* 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;
}

/* 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));
}

.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; 
}

.btn-contacto {
  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-contacto: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 {
  position: relative;
  display: inline-block;
}

.typing-animation::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: #6666ff;
  animation: blink 1s infinite;
}

@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%;
}

.cta-button {
  background: linear-gradient(135deg, #6666ff 0%, #8b5cf6 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

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

.cta-button: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.05) rotate(1deg);
  filter: drop-shadow(0 30px 60px rgba(99, 102, 241, 0.3));
}

/* Features section */
.features-section {
  background: #ffffff;
  min-height: calc(100vh - 80px);
  padding: 80px 40px;
  position: relative;
}

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

.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);
}

.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;
}

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

.opiniones-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.opiniones-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.opiniones-text {
  max-width: none;
  margin-bottom: 0;
}

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

.opiniones-text p {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.6;
}

.descubre-visual {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  max-width: none;
}

.testimonials .testimonial-card:nth-child(3) {
  grid-column: 1 / -1;
  max-width: 400px;
  justify-self: center;
}

.testimonial-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

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

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

.testimonial-author {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-size: 16px;
}

.testimonial-text {
  color: #6b7280;
  line-height: 1.5;
  font-size: 14px;
  margin: 0;
}

.illustration {
  position: absolute;
  bottom: 0;
  left: 50px;
  width: 350px;
  z-index: 1;
}

.opiniones-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  transition: all 0.4s ease;
}

.descubre-image:hover {
  transform: scale(1.03) rotate(-1deg);
}
.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));
}

/* 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: #fcfbfc;
  min-height: calc(100vh - 80px);
  padding: 60px 40px;
  display: flex;
  align-items: center;
}

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

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

.contacto-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

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

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contacto-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  justify-content: center;
}

/* 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(-6px);
  box-shadow: 0 20px 50px rgba(102, 102, 255, 0.15);
  border-color: rgba(102, 102, 255, 0.2);
}

.form-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.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-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #6666ff 0%, #8b5cf6 100%);
  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 {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* 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: white;
  padding: 60px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  margin-bottom: 20px;
}

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

.footer-tagline {
  color: #bdc3c7;
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 16px;
}

.footer-cta-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
}

.footer-nav-column h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.footer-nav-column a {
  display: block;
  color: #bdc3c7;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-nav-column a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #bdc3c7;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

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

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

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

.footer-legal a:hover {
  color: white;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #bdc3c7;
  font-size: 14px;
  margin-bottom: 12px;
  min-height: 24px;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.footer-contact-item .contact-icon {
  font-size: 14px;
  line-height: 1;
  height: 24px;
  width: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 2px;
}

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

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

/* Responsive design */
@media (max-width: 1200px) {
  .illustration {
    bottom: 0;
    left: 30px;
    width: 300px;
  }
  
  .opiniones-image {
    max-width: 300px;
  }
}

@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;
  }
  
  .illustration {
    bottom: 0;
    left: 20px;
    width: 250px;
  }
  
  .opiniones-image {
    max-width: 250px;
  }
}

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

@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;
  }
  
  .main-header {
    padding: 16px 20px;
    flex-direction: column;
    gap: 20px;
  }
  
  .header-right {
    flex-direction: column;
    gap: 16px;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .hero-section {
    background: linear-gradient(180deg, #ffffff 50%, #e6e8f0 50%);
    padding: 20px 20px 40px 20px;
    min-height: auto;
    align-items: flex-start;
  }
  
   .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    place-items: start center;
  }
  
  .hero-text {
    padding: 20px 20px 0 20px;
    align-items: center;
    text-align: center;
  }
  
  .hero-visual {
    padding: 0 20px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.125rem;
  }
  
  .hero-image {
    max-width: 600px;
  }
  
  .opiniones-section {
    padding: 60px 20px;
  }
  
  .opiniones-text h2 {
    font-size: 2rem;
  }
  
  .opiniones-main {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .testimonials .testimonial-card:nth-child(3) {
    grid-column: 1;
    max-width: none;
    justify-self: stretch;
  }
  
  .illustration {
    position: static;
    width: auto;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .opiniones-image {
    max-width: 300px;
  }
  
  .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;
  }
  
  .contacto-section {
    padding: 40px 20px;
  }
  
  .contacto-header h2 {
    font-size: 1.75rem;
  }

  .contactanos {
    padding: 20px 24px;
    text-align: center;
  }

  .contactanos h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .contactanos p {
    font-size: 0.95rem;
  }
  
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacto-info-container {
    gap: 16px;
  }
  
  .form-card,
  .info-card {
    padding: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .demo-card {
    padding: 20px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .contact-form {
    margin: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .social-icons {
    margin-top: 10px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}
