/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f9faff; /* Un fondo claro general */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
}

h1, h2, h3, h4 {
    margin-top: 0;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #6a11cb; /* Morado principal */
    color: #fff;
    border: 1px solid #6a11cb;
}
.btn-primary:hover {
    background-color: #560bad;
}

.btn-secondary {
    background-color: #6a11cb; /* Morado principal */
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
}
.btn-secondary:hover {
    background-color: #560bad;
}

.btn-outline {
    background-color: transparent;
    color: #333;
    border: 1px solid #ccc;
    padding: 12px 30px;
    border-radius: 8px;
    margin-left: 15px;
}
.btn-outline:hover {
    background-color: #f0f0f0;
    border-color: #aaa;
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.1em;
    padding: 15px 0;
    background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    border: none;
}
.btn-full:hover {
    opacity: 0.9;
}

/* Header */
header {
    background: linear-gradient(to right, #f0f4ff, #e6e9f0); /* Degradado suave para el header */
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #3a0ca3; /* Azul/Morado del logo */
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: #555;
    font-weight: 500;
}
header nav ul li a:hover {
    color: #6a11cb;
}

/* Hero Section */
#hero {
    background: linear-gradient(to right, #f0f4ff, #e6e9f0); /* Mismo degradado que el header */
    padding: 80px 0;
    text-align: left;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.8em;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1e1e4b; /* Azul oscuro para el texto principal */
}

.hero-text h1 .highlight {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

.hero-buttons {
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
    color: #777;
}
.hero-features span img {
    margin-right: 5px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Form Section */
.form-section {
    padding: 60px 0;
    background-color: #fff;
}

.form-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    color: #1e1e4b;
}
.form-section .container > p { /* Para el subtitulo si lo hubiera */
    text-align: center;
    color: #555;
    margin-bottom: 40px;
}
.form-section h2 { /* Titulo del formulario */
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    padding: 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin: 0 auto; /* Centrado si el form tiene max-width */
}


#automationForm {
    background-color: #fff;
    padding: 30px;
    border-radius: 0 0 8px 8px; /* Redondeo solo abajo ya que el titulo tiene el superior */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px; /* Para centrar el formulario */
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-info {
    background-color: #e7f0ff; /* Azul claro para el fondo del texto informativo */
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 0.9em;
}
.form-info p {
    margin: 5px 0;
    color: #334e68;
}
.form-info strong {
    color: #102a43;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #f9faff;
}

.faq-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    color: #1e1e4b;
}
.faq-section > .container > p { /* Subtitulo de FAQ */
    text-align: center;
    color: #555;
    margin-bottom: 40px;
}
.faq-item {
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}
.faq-question:hover {
    color: #6a11cb;
}
.faq-icon {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}
.faq-answer {
    padding: 0 20px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555;
    border-top: 1px solid #eee;
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Ajusta según el contenido */
    padding: 20px;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* Footer */
footer {
    background-color: #101d2c; /* Azul oscuro del footer */
    color: #adb5bd; /* Gris claro para el texto */
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 0.9em;
    line-height: 1.7;
    margin-bottom: 10px;
}
.footer-col p img {
    filter: brightness(0) invert(1); /* Para iconos placeholder blancos */
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #adb5bd;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    background-color: #0b141e; /* Un poco más oscuro para la barra inferior */
    padding: 20px 0;
    font-size: 0.9em;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom ul {
    display: flex;
}
.footer-bottom ul li {
    margin-left: 20px;
}
.footer-bottom ul li a {
    color: #adb5bd;
}
.footer-bottom ul li a:hover {
    color: #fff;
}

/* Responsive (Ejemplo básico) */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: flex-start;
    }
    header nav ul {
        margin-top: 10px;
        flex-direction: column;
        width: 100%;
    }
    header nav ul li {
        margin-left: 0;
        margin-bottom: 5px;
        text-align: center; /* Opcional, para mejor visualización */
    }
    header .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-image {
        margin-top: 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom ul {
        margin-top: 10px;
    }
}

/* General Page Title Section */
.page-title-section {
    background: linear-gradient(to right, #6a11cb, #2575fc); /* Degradado similar al form title */
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-title-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.page-title-section p {
    font-size: 1.1em;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Page Specific Styles */
.contact-page-section {
    padding: 60px 0;
    background-color: #f9faff;
}

.contact-flex-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap; /* Para responsividad */
}

.contact-form-container {
    flex: 1.5; /* Dar más espacio al formulario */
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-details-container {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-form-container h3,
.contact-details-container h3 {
    color: #1e1e4b;
    margin-bottom: 20px;
    font-size: 1.6em;
}
.contact-details-container p {
    margin-bottom: 15px;
    color: #555;
}
.contact-info-item {
    margin-bottom: 20px;
}
.contact-info-item h4 {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}
.contact-info-item p a {
    color: #6a11cb;
    text-decoration: none;
}
.contact-info-item p a:hover {
    text-decoration: underline;
}

.btn-full-width { /* Para el botón del form de contacto */
    display: block;
    width: 100%;
    text-align: center;
}


/* Services Page Specific Styles */
.services-page-section {
    padding: 60px 0;
}

.service-item {
    display: flex;
    gap: 30px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    align-items: flex-start; /* Alinea items al inicio */
}
.service-item:nth-child(even) { /* Alternar layout si se desea */
    /* flex-direction: row-reverse; */ /* Descomentar para alternar */
}

.service-icon img {
    width: 80px; /* Tamaño del icono */
    height: 80px;
    border-radius: 50%; /* Iconos redondos */
    object-fit: cover; /* Si las imágenes no son cuadradas */
}

.service-content {
    flex: 1;
}

.service-content h3 {
    color: #1e1e4b;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.service-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.service-content ul {
    list-style: disc; /* O usar iconos personalizados */
    margin-left: 20px;
    color: #555;
}
.service-content ul li {
    margin-bottom: 8px;
}

/* Benefits Page Specific Styles */
.benefits-page-section {
    padding: 60px 0;
    background-color: #f9faff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.benefit-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 10px; /* Un poco redondeado para los iconos */
}

.benefit-card h3 {
    color: #1e1e4b;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
}

/* CTA Section (reusable) */
.cta-section {
    background-color: #6a11cb; /* Color primario */
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}
.cta-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
}
.cta-section .btn-secondary { /* Estilo para el botón en el CTA */
    background-color: #fff;
    color: #6a11cb;
    border: 1px solid #fff;
    padding: 12px 35px;
    font-size: 1.1em;
}
.cta-section .btn-secondary:hover {
    background-color: #f0f0f0;
    color: #560bad;
}


/* Responsive Adjustments for new sections */
@media (max-width: 768px) {
    .contact-flex-container {
        flex-direction: column;
    }
    .service-item {
        flex-direction: column;
        align-items: center; /* Centrar contenido en móvil */
        text-align: center;
    }
    .service-icon {
        margin-bottom: 20px;
    }
    .service-content ul {
        text-align: left; /* Mantener listas alineadas a la izquierda */
        display: inline-block; /* Para centrar el bloque de la lista */
    }
}

/* --------------------------------------------- */
/*     BREAKPOINTS ADICIONALES PARA RESPONSIVE   */
/* --------------------------------------------- */

/* Escritorio grande / PC */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  .hero-text h1 {
    font-size: 3.2em;
  }
}

/* Escritorio pequeño / tablets horizontales */
@media (max-width: 1199px) and (min-width: 993px) {
  .container {
    max-width: 960px;
  }
  .hero-text h1 {
    font-size: 2.8em;
  }
}

/* Tablets verticales y móviles grandes */
@media (max-width: 992px) and (min-width: 769px) {
  .container {
    width: 95%;
  }
  .hero-content {
    flex-direction: row;
    gap: 20px;
  }
  .hero-text h1 {
    font-size: 2.4em;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Móviles (igual o menor de 768px) */
@media (max-width: 768px) {
  /* Ya tienes bastantes reglas, pero revisa estos ajustes: */
  .hero-text h1 {
    font-size: 2.2em;
  }
  .hero-text p {
    font-size: 1em;
  }
  .service-item,
  .contact-flex-container {
    flex-direction: column;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Móviles muy pequeños (<= 576px) */
@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.8em;
  }
  .btn, .btn-full {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  .page-title-section h1 {
    font-size: 2em;
  }
}
/* ===== Estilos en style.css ===== */
/* Contenedor header */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

/* Menú principal */
.main-nav .nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav .nav-list li a {
  text-decoration: none;
  font-weight: 500;
}

/* Icono hamburguesa (oculto en escritorio) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/* Media query para móvil */
@media (max-width: 768px) {
  /* Mostrar hamburguesa */
  .menu-toggle {
    display: flex;
  }

  /* Ocultar lista por defecto */
  .main-nav .nav-list {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    padding: 15px;
  }

  /* Cuando .open está activo, mostrar menú */
  .main-nav.open .nav-list {
    transform: translateX(0);
  }
}


.icon-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;         /* icono en negro */
  text-decoration: none;
}
.icon-whatsapp svg {
  width: 24px;
  height: 24px;
}

.footer-col .icon-whatsapp {
  display: inline-flex;
  align-items: center;
  color: #adb5bd;      /* mismo gris que tus enlaces del footer */
  text-decoration: none;
}
.footer-col .icon-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;  /* hereda el color anterior */
}
.hero-image {
  flex: 1;               /* ocupa la mitad del contenedor flex */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;           /* escala al ancho del contenedor */
  max-width: 500px;      /* evita que crezca demasiado en pantallas grandes */
  height: auto;          /* mantiene proporción */
  border-radius: 8px;    /* opcional: esquinas redondeadas */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* Ocultar CTA principal en tabletas (<=992px) y móviles (<=768px) */
@media (max-width: 992px) {
  /* Selector del botón en tu header, puede ser .btn-full o la clase que uses */
  .main-nav .btn-full,
  .main-nav .btn-primary {
    display: none;
  }
}
/* Ocultar botón “Obtener Automatización” en tabletas y móviles */
@media (max-width: 992px) {
  header .btn.btn-full.btn-primary {
    display: none !important;
  }
}

  /* Importar estilos base del proyecto */
        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            color: #333;
            line-height: 1.6;
            background-color: #f9faff;
        }

        .container {
            width: 90%;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
            padding: 0;
        }

        h1, h2, h3, h4 {
            margin-top: 0;
        }

        .btn {
            display: inline-block;
            padding: 10px 25px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .btn-primary {
            background-color: #6a11cb;
            color: #fff;
            border: 1px solid #6a11cb;
        }
        .btn-primary:hover {
            background-color: #560bad;
        }

        /* Header específico para la documentación */
        .api-header {
            background: linear-gradient(to right, #f0f4ff, #e6e9f0);
            padding: 15px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .api-header nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .api-header .logo {
            font-size: 1.8em;
            font-weight: 700;
            color: #3a0ca3;
        }

        .api-header nav ul {
            display: flex;
        }

        .api-header nav ul li {
            margin-left: 25px;
        }

        .api-header nav ul li a {
            color: #555;
            font-weight: 500;
        }
        .api-header nav ul li a:hover {
            color: #6a11cb;
        }

        /* Page Title Section usando el estilo del proyecto */
        .page-title-section {
            background: linear-gradient(to right, #6a11cb, #2575fc);
            color: #fff;
            padding: 60px 0;
            text-align: center;
        }

        .page-title-section h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
        }

        .page-title-section p {
            font-size: 1.1em;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Layout principal */
        .api-layout {
            display: flex;
            gap: 30px;
            align-items: flex-start;
            padding: 60px 0;
        }

        /* Sidebar usando estilos similares al footer */
        .api-sidebar {
            width: 250px;
            background-color: #101d2c;
            color: #adb5bd;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            position: sticky;
            top: 100px;
        }

        .api-sidebar h4 {
            color: #fff;
            font-size: 1.2em;
            margin-bottom: 20px;
            border-bottom: 2px solid #6a11cb;
            padding-bottom: 10px;
        }

        .nav-item {
            color: #adb5bd;
            text-decoration: none;
            display: block;
            padding: 12px 15px;
            margin: 5px 0;
            border-radius: 6px;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }

        .nav-item:hover {
            background-color: rgba(106, 17, 203, 0.1);
            border-left-color: #6a11cb;
            color: #fff;
            transform: translateX(5px);
        }

        .nav-category {
            color: #6a11cb;
            font-weight: 600;
            margin-top: 20px;
            margin-bottom: 10px;
            font-size: 0.9em;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Contenido principal */
        .api-content {
            flex: 1;
        }

        /* Cards usando el estilo del proyecto */
        .api-card {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            margin-bottom: 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .api-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        }

        .api-card h2 {
            color: #1e1e4b;
            font-size: 2em;
            margin-bottom: 15px;
            border-bottom: 2px solid #6a11cb;
            padding-bottom: 10px;
        }

        .api-card h3 {
            color: #1e1e4b;
            font-size: 1.4em;
            margin: 25px 0 15px 0;
        }

        /* Endpoint badge similar al form title */
        .endpoint {
            background: linear-gradient(to right, #6a11cb, #2575fc);
            color: white;
            padding: 15px 25px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .method {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        /* Bloques de código usando estilo similar al form-info */
        .code-block {
            background-color: #1a1a1a;
            color: #f8f8f2;
            padding: 20px;
            border-radius: 8px;
            margin: 15px 0;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            overflow-x: auto;
            border-left: 4px solid #6a11cb;
            position: relative;
            cursor: pointer;
        }

        .code-block::before {
            content: attr(data-lang);
            position: absolute;
            top: 10px;
            right: 15px;
            background: #6a11cb;
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            text-transform: uppercase;
        }

        .code-block:hover {
            border-left-color: #2575fc;
        }

        /* Parámetros usando estilo similar a benefit-card */
        .parameter {
            background-color: #f9faff;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 20px;
            margin: 15px 0;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .parameter:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .parameter-name {
            color: #6a11cb;
            font-weight: 600;
            font-size: 1.1em;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .required {
            background: #ff4757;
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            font-weight: 500;
        }

        .response-code {
            background: #2ecc71;
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 15px;
            font-size: 0.9em;
        }

        /* Información adicional usando form-info style */
        .info-box {
            background-color: #e7f0ff;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
            border-left: 4px solid #6a11cb;
        }

        .info-box h3 {
            color: #102a43;
            margin-bottom: 15px;
        }

        .info-box ul {
            list-style: disc;
            margin-left: 20px;
        }

        .info-box ul li {
            margin-bottom: 8px;
            color: #334e68;
        }

        .highlight {
            background: linear-gradient(to right, #6a11cb, #2575fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 600;
        }

        .status-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #2ecc71;
            display: inline-block;
            margin-right: 8px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        /* Footer usando el estilo del proyecto */
        .api-footer {
            background-color: #101d2c;
            color: #adb5bd;
            padding: 40px 0 20px;
            text-align: center;
        }

        .api-footer p {
            margin: 0;
            font-size: 0.9em;
        }

        .api-footer a {
            color: #6a11cb;
            text-decoration: none;
        }

        .api-footer a:hover {
            color: #2575fc;
        }

        /* Responsive usando breakpoints del proyecto */
        @media (max-width: 992px) {
            .api-layout {
                flex-direction: column;
            }
            
            .api-sidebar {
                width: 100%;
                position: static;
                margin-bottom: 30px;
            }
            
            .page-title-section h1 {
                font-size: 2.2em;
            }
        }

        @media (max-width: 768px) {
            .container {
                width: 95%;
                padding: 0 15px;
            }
            
            .page-title-section h1 {
                font-size: 2em;
            }
            
            .api-card {
                padding: 20px;
            }
            
            .endpoint {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
        }

        @media (max-width: 576px) {
            .page-title-section {
                padding: 40px 0;
            }
            
            .page-title-section h1 {
                font-size: 1.8em;
            }
            
            .api-layout {
                padding: 40px 0;
            }
        }
        /* ===== AGREGAR AL FINAL DE style.css ===== */

/* Modal de Video YouTube */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 450px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Loading Spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #6a11cb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Play Button Overlay en la imagen */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(106, 17, 203, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.play-overlay:hover {
    background: rgba(106, 17, 203, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* Modificación para la imagen del hero */
.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image .image-container {
    position: relative;
    display: inline-block;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 250px;
    }

    .modal-close {
        top: -40px;
        font-size: 1.5em;
    }

    .play-overlay {
        width: 60px;
        height: 60px;
    }

    .play-overlay::before {
        border-left: 15px solid white;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
    }
}

@media (max-width: 576px) {
    .modal-content {
        height: 200px;
    }
}