body {
  cursor: default;
}


/* ===== RESET Y CONFIGURACIÓN BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* ===== PALETA DE COLORES ===== */
:root {
    /* Colores principales */
    --primary-blue: #2563eb;
    --primary-green: #16a34a;
    --primary-purple: #9333ea;
    
    /* Colores secundarios */
    --secondary-orange: #ea580c;
    --secondary-pink: #db2777;
    --secondary-yellow: #d97706;
    
    /* Colores de fondo */
    --bg-light-blue: #eff6ff;
    --bg-light-green: #f0fdf4;
    --bg-light-purple: #faf5ff;
    --bg-light-orange: #fff7ed;
    --bg-light-pink: #fdf2f8;
    --bg-light-yellow: #fefce8;
    
    /* Colores de texto */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== UTILIDADES ===== */
.highlight-blue {
    color: var(--primary-blue);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem; /* Más pequeño en móvil */
    padding-bottom: 0.3rem;
  }

  .section-title::after {
    width: 40%; /* Línea decorativa más corta */
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem; /* Espacio a los lados en pantallas pequeñas */
  }

  .section-header {
    margin-bottom: 2.5rem;
  }
}


/* Estilos base */
/* Envolver el nav para controlar mejor el scroll horizontal */
.main-nav-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.main-nav-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.main-nav {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  min-width: max-content;
  white-space: nowrap;
}

/* Enlaces */
.main-nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

/* Activo */
.main-nav a.active {
  background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
  color: white;
}

/* Escritorio */
@media (min-width: 768px) {
  .main-nav-wrapper {
    overflow-x: visible;
  }

  .main-nav {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--bg-light-blue) 20%, #ffffff 50%, var(--bg-light-green) 100%);
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.icon-circle {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.1);
}

.icon-blue { background-color: #dbeafe; color: var(--primary-blue); }
.icon-green { background-color: #dcfce7; color: var(--primary-green); }
.icon-purple { background-color: #f3e8ff; color: var(--primary-purple); }
.icon-orange { background-color: #fed7aa; color: var(--secondary-orange); }
.icon-pink { background-color: #fce7f3; color: var(--secondary-pink); }
.icon-yellow { background-color: #fef3c7; color: var(--secondary-yellow); }

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
}

.brand-name {
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-blue), #1d4ed8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-green {
    background: linear-gradient(to right, var(--primary-green), #15803d);
    color: white;
}

.btn-green:hover {
    background: linear-gradient(to right, #15803d, #166534);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-purple {
    background: linear-gradient(to right, var(--primary-purple), #7c3aed);
    color: white;
}

.btn-purple:hover {
    background: linear-gradient(to right, #7c3aed, #6d28d9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-blue { color: var(--primary-blue); }
.stat-green { color: var(--primary-green); }
.stat-purple { color: var(--primary-purple); }

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-image {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    width: 100%;
    height: 28rem;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.hero-image-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
}

.hero-image-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-image-text p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
    background: var(--bg-light-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 4rem 0;
    background: var(--bg-light-blue);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    padding: 6rem 0;
    background: var(--bg-light-green);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.benefit-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefit-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* ===== APP DESIGN SECTION ===== */
.app-design-section {
  background-color: var(--bg-light-purple);
  padding: 6rem 0;
}

.app-design-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 6rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(.4,2,.6,1) forwards;
}

.app-row-left .app-images {
  order: 1;
}

.app-row-left .app-desc {
  order: 2;
  text-align: left;
}

.app-row-right .app-images {
  order: 2;
}

.app-row-right .app-desc {
  order: 1;
  text-align: right;
}

.app-images {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.phone-frame {
  background: #000;
  border-radius: 20px;
  padding: 6px; /* espacio interno del marco */
  box-shadow: var(--shadow-xl);
  position: relative;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1);
  overflow: hidden; /* ⬅️ evita que la imagen sobresalga */
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  z-index: 1;
}

.app-img {
  width: 100%;           /* ⬅️ se adapta al ancho del marco */
  height: auto;          /* mantiene proporción */
  border-radius: 14px;   /* ⬅️ igual o menor al .phone-frame */
  display: block;
  border: none;
  background: white;
  box-shadow: none;
  object-fit: cover;     /* evita espacios blancos */
}

.app-desc {
  flex: 1 1 320px;
  background: linear-gradient(120deg, #D1FAE5 60%, #fff 100%);
  border-radius: 1.5rem;
  padding: 2.5rem 3rem;
  box-shadow: 0 4px 16px rgba(16,185,129,0.06);
  color: var(--text-primary);
  min-width: 280px;
  max-width: 420px;
  animation: fadeInUp 1.2s cubic-bezier(.4,2,.6,1);
}

.app-desc h3 {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.app-desc p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseFrame {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

/* 📱 Versión móvil (<=768px) */
@media (max-width: 768px) {
  .phone-frame {
    width: 220px;
    animation: pulseFrame 2s infinite ease-in-out;
  }

  .app-img {
    width: 207px;
    max-width: 40vw;
  }
}

/* 🖥️ Versión escritorio (>768px) */
@media (min-width: 769px) {
  .phone-frame {
    width: 370px;
    animation: pulseFrame 2s infinite ease-in-out;
  }

  .app-img {
    width: 350px;
    max-width: 48vw;
  }
}




/* ===== CTA SECTION ===== */
.cta {
    position: relative;
    padding: 7rem 0 7rem 0;
    background: linear-gradient(90deg, #6d28d9 0%, #2563eb 50%, #16a34a 100%);
    color: #fff;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    opacity: 0.18;
}
.cta-bg img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.95) blur(0.2px);
    opacity: 0.98;
}
.cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, #6d28d9cc 0%, #2563ebcc 50%, #16a34acc 100%);
    opacity: 0.85;
    z-index: 2;
    pointer-events: none;
}
.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
}
.cta-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}
.cta p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2.5rem;
}

.image-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: palpitar 2s infinite;
}

.image-button img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.image-button:hover img {
    transform: scale(1.1);
}

@keyframes palpitar {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 6rem 0;
    background: #eeeeee3a;
}
.faq .section-title, .faq .section-subtitle, .faq-question, .faq-answer p {
    color: #1f2937;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.4s ease;
    background-color: #f9fafb;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    display: inline-block;
    transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}

.faq-item.active .icon {
    transform: rotate(180deg);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-light-pink);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-location {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== VISION & MISSION SECTION ===== */
.vision-mission {
    padding: 6rem 0;
    background: #fff;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.vision-card, .mission-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.vision-card {
    border-left: 4px solid var(--primary-blue);
}

.mission-card {
    border-left: 4px solid var(--primary-green);
}

.vision-card h2, .mission-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.vision-card p, .mission-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-icons {
    display: center;
    gap: 1rem;
}

.social-icons a {
    color: #9ca3af;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #9ca3af;
}

.contact-item span:first-child {
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
    .hero {
        padding: 8rem 0 10rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
    
    .btn {
        width: auto;
        min-width: 200px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .cta h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .app-img {
        width: 100%;
        max-width: 420px;
    }
    .phone-frame {
        padding: 6px;
    }
    .phone-frame-rotated {
        transform: rotate(-10deg) translateY(-5px);
    }
    .phone-frame-rotated:hover {
        transform: rotate(-10deg) translateY(-5px) scale(1.05);
    }
    .app-images {
        flex-wrap: wrap;
        justify-content: center;
    }
    .app-design-container {
        max-width: 98vw;
    }
}

@media (max-width: 900px) {
    .app-row {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }
    .app-images {
        order: 1 !important;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .app-img {
        width: 100%;
        max-width: 350px;
    }
    .phone-frame {
        padding: 5px;
    }
    .phone-frame-rotated {
        transform: rotate(-8deg) translateY(-3px);
    }
    .phone-frame-rotated:hover {
        transform: rotate(-8deg) translateY(-3px) scale(1.05);
    }
    .app-desc {
        order: 2 !important;
        max-width: 100%;
        padding: 1.5rem 1rem;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .app-img {
        width: 100%;
        max-width: 98vw;
    }
    .phone-frame {
        padding: 4px;
    }
    .phone-frame-rotated {
        transform: rotate(-5deg) translateY(-2px);
    }
    .phone-frame-rotated:hover {
        transform: rotate(-5deg) translateY(-2px) scale(1.05);
    }
    .app-row {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .app-images {
        gap: 0.5rem;
    }
    .app-desc {
        padding: 1.2rem 0.5rem;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .main-header {
        min-height: 56px;
        padding: 0.1rem 0;
    }
    .header-container {
        flex-direction: row;
        align-items: center;
        gap: 0.3rem;
        min-height: 56px;
        padding: 0 0.2rem;
    }
    .logo-art {
        margin-right: 0.3rem;
    }
    .logo-art img {
        height: 28px;
        border-radius: 0.5rem 0.2rem 0.7rem 0.2rem;
    }
    .main-nav {
        gap: 0.2rem;
        padding: 0.1rem 0.05rem;
    }
    .main-nav a {
        font-size: 0.85rem;
        padding: 0.2rem 0.4rem;
        border-radius: 0.8rem;
    }
}

@media (max-width: 400px) {
    .main-header {
        min-height: 40px;
    }
    .header-container {
        min-height: 40px;
        gap: 0.1rem;
    }
    .logo-art img {
        height: 18px;
    }
    .main-nav a {
        font-size: 0.7rem;
        padding: 0.1rem 0.2rem;
    }
}

/* ===== CABECERA FIJA Y NAVEGACIÓN (MEJORADA) ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
}
.header-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    min-height: 90px;
}
.main-nav {
    display: flex;
    gap: 2.2rem;
    justify-content: center;
    width: 100%;
}
.main-nav a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    transition: background 0.2s, color 0.2s;
}
.main-nav a:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* ===== DETALLES ARTÍSTICOS EN TARJETAS ===== */
.feature-card, .benefit-card, .testimonial-card {
    box-shadow: var(--shadow-sm);
    border-radius: 1rem;
    transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover, .benefit-card:hover, .testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px) scale(1.03);
}

/* Video más grande y centrado */
.video-container.large-video {
    min-height: 650px;
    padding: 4rem 0;
}
.video-container.large-video video {
    width: 98vw;
    max-width: 1400px;
    min-width: 360px;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

/* FAQ: animación de rotación para el ícono + que se convierte en - */
.icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    display: inline-block;
    transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}
.faq-item.active .icon {
    transform: rotate(180deg);
}

.video-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem;
    max-width: 900px;
    margin: 3rem auto 3rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-card video {
    width: 100%;
    max-width: 800px;
    min-width: 280px;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.logo-art {
  display: flex;
  align-items: center;
  margin-right: 2rem;
  transition: transform 0.25s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.25s;
}
.logo-art img {
  height: 74px;
  width: auto;
  border-radius: 1.2rem 0.6rem 1.8rem 0.6rem;
  box-shadow: 0 6px 24px 0 rgba(37,99,235,0.13), 0 1.5px 8px 0 rgba(16,163,69,0.10);
  border: 3px solid #fff;
  background: linear-gradient(135deg, #dbeafe 0%, #f0fdf4 100%);
  transition: transform 0.25s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.25s;
}
.logo-art:hover img {
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 12px 32px 0 rgba(37,99,235,0.18), 0 3px 16px 0 rgba(16,163,69,0.15);
}
@media (max-width: 900px) {
  .logo-art img {
    height: 54px;
  }
}
@media (max-width: 768px) {
  .header-container {
    justify-content: space-between;
    position: relative;
  }

  .logo-art {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-right: 0; /* evita espacio adicional */
  }

  .logo-art img {
    height: 80px; /* tamaño más grande que 40px, pero ajustado a móvil */
    border-radius: 1rem;
  }
}
.header-container {
  display: flex;
  justify-content: center; /* centra horizontalmente */
  align-items: center;
  min-height: 90px;
}


/* ===== PAYMENT PLANS SECTION ===== */
.payment-plans {
    background: linear-gradient(135deg, var(--bg-light-purple) 0%, #fff 100%);
    padding: 6rem 0 6rem 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.5rem;
    justify-items: center;
}

.plan-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    min-width: 270px;
    max-width: 350px;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
    z-index: 2;
}

.plan-icon {
    font-size: 2.5rem;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem auto;
    box-shadow: var(--shadow-sm);
}

.plan-basic .plan-icon {
    background: var(--bg-light-blue);
    color: var(--primary-blue);
}
.plan-pro .plan-icon {
    background: var(--bg-light-green);
    color: var(--primary-green);
}
.plan-premium .plan-icon {
    background: var(--bg-light-purple);
    color: var(--primary-purple);
}

.plan-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
}
.plan-pro .plan-price {
    color: var(--primary-green);
}
.plan-premium .plan-price {
    color: var(--primary-purple);
}
.plan-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}
.plan-features li {
    font-size: 1.08rem;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}
.plan-features li::before {
    content: "✔";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-size: 1rem;
}
.plan-pro .plan-features li::before {
    color: var(--primary-green);
}
.plan-premium .plan-features li::before {
    color: var(--primary-purple);
}

.plan-card .btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.9rem 0;
    border-radius: 0.7rem;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .plan-card {
        max-width: 100%;
    }
}

/* ===== MENÚ HAMBURGUESA ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3.5px;
  background: var(--primary-blue);
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .main-nav-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 1.2rem 0 1.5rem 0;
    display: none;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
    z-index: 1099;
  }
  .main-nav-wrapper.open {
    display: flex;
  }
  .main-nav {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    align-items: center;
  }
  .main-nav a {
    font-size: 1.2rem;
    padding: 0.7rem 0;
    width: 100%;
    text-align: center;
    border-radius: 0.7rem;
  }
  .header-container {
    position: relative;
  }
}
@media (min-width: 901px) {
  .main-nav-wrapper {
    display: block !important;
    position: static;
    box-shadow: none;
    padding: 0;
    background: none;
  }
  .main-nav {
    flex-direction: row;
    gap: 2.2rem;
    align-items: center;
  }
  .hamburger {
    display: none !important;
  }
}
