/* Guardar como: /css/styles.css */

:root {
    --primary-color: #2e7df5;         /* Azul más vibrante */
    --primary-hover: #1a65d9;         /* Azul hover más oscuro */
    --secondary-color: #f5f9ff;       /* Azul muy claro para fondos */
    --text-color: #1e293b;            /* Azul oscuro para texto principal */
    --light-gray: #e2e8f0;            /* Gris claro para bordes */
    --border-color: #cbd5e1;          /* Gris para bordes */
    --accent-color: #ff6b35;          /* Naranja vibrante para acentos */
    --success-color: #00c16e;         /* Verde brillante para éxito */
    --warning-color: #ffc107;         /* Amarillo para advertencias */
    --info-color: #0dcaf0;            /* Azul claro para información */
    --gradient-start: #2e7df5;        /* Inicio de gradientes */
    --gradient-end: #5a9bff;          /* Fin de gradientes */
    --card-shadow: 0 10px 25px rgba(46, 125, 245, 0.07); /* Sombra con tono azul */
    --dark-bg: #1a365d;               /* Fondo oscuro para footer */
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #ffffff;
  }
  
  .container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /* Header styles */
  header {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
  }
  
  /* Navigation */
  .main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
  }
  
  .main-nav a:hover {
    color: var(--primary-color);
    background-color: var(--secondary-color);
  }
  
  /* Mobile menu toggle */
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
  }
  
  /* Hero section */
  .hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 80px 0;
    margin-bottom: 60px;
    color: white;
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/pattern.svg');
    background-size: cover;
    opacity: 0.1;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
    position: relative;
  }
  
  .hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
    position: relative;
    opacity: 0.9;
  }
  
  /* Breadcrumbs */
  .breadcrumbs {
    margin: 20px 0 30px;
    font-size: 0.9rem;
    color: #64748b;
    background-color: var(--secondary-color);
    padding: 10px 15px;
    border-radius: 6px;
  }
  
  .breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .breadcrumbs a:hover {
    text-decoration: underline;
  }
  
  /* Main content */
  main {
    padding: 20px 0 60px;
  }
  
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text-color);
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.75rem;
    margin-top: 40px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
  }
  
  h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    color: #2d3748;
  }
  
  p {
    margin-bottom: 20px;
  }
  
  /* Button styles */
  .btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(46, 125, 245, 0.2);
  }
  
  .btn:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 125, 245, 0.25);
  }
  
  .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
  }
  
  .btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 125, 245, 0.15);
  }
  
  .btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c61 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
  }
  
  .btn-accent:hover {
    background: linear-gradient(135deg, #ff5a1f 0%, var(--accent-color) 100%);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.25);
  }
  
  /* Cards and grids */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
  }
  
  .card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(203, 213, 225, 0.3);
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 125, 245, 0.1);
  }
  
  .card-image {
    height: 200px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
  }
  
  .card-content {
    padding: 25px;
  }
  
  .card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  /* Process step */
  .process-step {
    border-left: 4px solid var(--primary-color);
    padding: 20px 0 20px 25px;
    margin-bottom: 40px;
    position: relative;
    background-color: #f8fafc;
    border-radius: 0 12px 12px 0;
  }
  
  .process-step::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid white;
  }
  
  .process-step h2 {
    color: var(--primary-color);
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 0;
  }
  
  .process-step h3 {
    color: var(--accent-color);
  }
  
  /* Media placeholder */
  .media-placeholder {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px dashed var(--info-color);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
    color: var(--info-color);
  }
  
  /* Feature list */
  .feature-list {
    list-style: none;
    margin: 25px 0;
  }
  
  .feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
  }
  
  .feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    background-color: rgba(0, 193, 110, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
  }
  
  /* Testimonials */
  .testimonial {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-left: 4px solid var(--accent-color);
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
    font-style: italic;
    box-shadow: var(--card-shadow);
    position: relative;
  }
  
  .testimonial::before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 4rem;
    color: rgba(255, 107, 53, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
  }
  
  .testimonial-author {
    font-style: normal;
    font-weight: 600;
    text-align: right;
    margin-top: 15px;
    color: #475569;
  }
  
  /* CTA Section */
  .cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 50px 40px;
    margin: 60px 0;
    text-align: center;
    border: none;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
  }
  
  .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(46, 125, 245, 0.1) 0%, rgba(46, 125, 245, 0) 100%);
    border-radius: 0 0 0 100%;
  }
  
  .cta-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: none;
  }
  
  .cta-section .btn {
    margin-top: 20px;
  }
  
  /* FAQ Section */
  .faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 25px;
    transition: all 0.3s;
  }
  
  .faq-item:hover {
    border-bottom-color: var(--primary-color);
  }
  
  .faq-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    cursor: pointer;
  }
  
  .faq-item h3:hover {
    color: var(--accent-color);
  }
  
  /* Footer */
  footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3748 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
  }
  
  footer::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
  }
  
  footer a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  footer a:hover {
    color: white;
    text-decoration: none;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
  }
  
  .footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links li a {
    display: inline-block;
    padding: 3px 0;
  }
  
  .footer-links li a:hover {
    transform: translateX(3px);
  }
  
  .copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
  }
  
  .copyright a {
    color: #cbd5e1;
    margin: 0 10px;
  }
  
  .copyright a:hover {
    color: white;
  }
  
  /* Tables */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
  }
  
  table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
  }
  
  table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }
  
  table tr:nth-child(even) {
    background-color: var(--secondary-color);
  }
  
  table tr:hover {
    background-color: rgba(46, 125, 245, 0.05);
  }
  
  /* Animation elements */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .animate-fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .main-nav {
      display: none;
      position: absolute;
      top: 70px;
      left: 0;
      right: 0;
      background: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 20px;
      z-index: 100;
    }
    
    .main-nav ul {
      flex-direction: column;
      gap: 10px;
    }
    
    .main-nav a {
      display: block;
      padding: 10px;
    }
    
    .menu-toggle {
      display: block;
    }
    
    .hero {
      padding: 60px 0;
    }
    
    .hero h1 {
      font-size: 2rem;
    }
    
    .card-grid {
      grid-template-columns: 1fr;
    }
    
    h1 {
      font-size: 1.8rem;
    }
    
    h2 {
      font-size: 1.5rem;
    }
    
    h3 {
      font-size: 1.2rem;
    }
  }