/* Paleta de Colores y Estilos Base */
:root {
    --primary-color: #7C4DFF; /* Morado vibrante del logo */
    --primary-hover: #651FFF; /* Un morado un poco más oscuro para interacciones */
    --dark-text: #333333; /* Gris oscuro para texto principal */
    --light-text: #ffffff;
    --background-light: #f4f7f6;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* === Reseteo y Mejoras Globales === */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--dark-text);
    overflow-x: hidden; /* Previene el scroll horizontal */
}

.container {
    width: 100%; /* Ocupa el 100% del espacio disponible */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Padding a los lados */
}

/* Header */
header {
    background: var(--background-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

header .container {
    display: flex;
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: center;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en pantallas pequeñas */
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el logo si el nav se envuelve */
    width: 100%; /* Ocupa todo el ancho para centrar */
    margin-bottom: 10px; /* Espacio si el nav se envuelve */
}

header .logo img {
    height: 60px; /* Ligeramente más pequeño para móviles */
}

nav {
    flex-basis: 100%; /* Ocupa todo el ancho en la siguiente línea en móvil */
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Permite que los enlaces del menú se envuelvan */
    justify-content: center;
}

nav ul li {
    margin: 5px 15px; /* Ajuste de margen para envolver */
}

nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

nav a:hover {
    color: var(--dark-text);
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    color: var(--dark-text);
    position: relative;
    overflow: hidden;
    background: linear-gradient(270deg, #f2e9ff, #e6f7ff, #f2e9ff);
    background-size: 600% 600%;
    animation: gradientAnimation 16s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero .container {
    display: flex;
    flex-direction: column; /* Apilado por defecto para móvil */
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 100%; /* Ancho completo en móvil */
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-image {
    max-width: 70%; /* Más pequeño en móvil */
    margin-top: 30px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.cta-button {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Secciones Generales */
section {
    padding: 60px 0;
    text-align: center;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--dark-text);
    font-weight: 600;
}

/* Servicios */
#services {
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* Una columna por defecto */
    gap: 25px;
    text-align: left;
}

.service-card {
    background: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-top: 0;
    color: var(--primary-color);
}

/* Integrations Section */
#integrations .integrations-container {
    display: flex;
    flex-direction: column; /* Apilado en móvil */
    align-items: center;
    gap: 40px;
    text-align: center;
}

#integrations .integrations-text {
    flex: 1;
    text-align: center;
}

#integrations .integrations-text h2 {
    text-align: center;
    margin-bottom: 20px;
}

#integrations .integrations-text p {
    font-size: 1.1rem;
}

#integrations .integrations-image {
    flex: 1;
    max-width: 100%;
}

.integrations-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 90%;
    margin: -20px auto 40px;
    color: #555;
}

/* Workflow Tools Section */
#workflows {
    background-color: var(--background-light);
}

.workflow-tools-grid {
    display: grid;
    grid-template-columns: 1fr; /* Una columna en móvil */
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.tool-logo {
    height: 70px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool-logo img {
    max-height: 100%;
    max-width: 180px;
    animation: floatAnimation 6s ease-in-out infinite;
}

.tool-card:nth-child(2) .tool-logo img {
    animation-delay: 3s;
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tool-card p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Omnichannel Section */
#omnichannel {
    background-color: var(--background-white);
}

.omnichannel-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.omni-logo-item {
    height: 50px;
}

.omni-logo-item img {
    max-height: 100%;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.omni-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Sobre Nosotros */
#about {
    background-color: var(--background-light);
}

#about p {
    max-width: 100%;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Contacto */
#contact p {
    font-size: 1.1rem;
}

#contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

#contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--dark-text);
    color: #a9a9a9;
    text-align: center;
    padding: 50px 20px 30px; /* Añadido padding lateral */
    margin-top: 30px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: flex; /* Cambiado a flexbox */
    flex-wrap: wrap; /* Permite envolver en móvil */
    justify-content: center; /* Centra las columnas */
    gap: 40px; /* Espacio entre columnas */
    width: 100%;
}

.footer-column {
    text-align: center; /* Centrado por defecto para móvil */
    flex: 1; /* Permite que las columnas crezcan */
    min-width: 220px; /* Ancho mínimo para cada columna */
}

.footer-column h4 {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

footer .footer-column a,
footer .footer-column p {
    color: #a9a9a9;
    text-decoration: none;
    font-size: 0.9rem;
}

footer .footer-column a:hover {
    color: var(--light-text);
    text-decoration: underline;
}

.footer-chat-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--light-text) !important;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.footer-chat-button:hover {
    background-color: var(--primary-hover);
    text-decoration: none !important;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #444;
    width: 100%;
    padding-top: 25px;
    margin-top: 15px;
}

/* === Media Queries para Tablets y Desktops === */

/* Tablet (768px y más) */
@media (min-width: 768px) {
    header .container {
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    header .logo {
        width: auto;
        margin-bottom: 0;
    }

    header .logo img {
        height: 70px;
    }

    nav {
        flex-basis: auto; /* Restaura el comportamiento por defecto */
        margin-top: 0;
    }

    nav ul li {
        margin-left: 30px;
    }

    .hero .container {
        flex-direction: row; /* Vuelve a la fila */
        justify-content: space-between;
        text-align: left;
    }

    .hero-content {
        max-width: 50%;
    }

    .hero-image {
        max-width: 45%;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    #integrations .integrations-container {
        flex-direction: row;
        text-align: left;
    }

    #integrations .integrations-text {
        text-align: left;
    }
    
    #integrations .integrations-text h2 {
        text-align: left;
    }

    .workflow-tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .footer-grid {
        justify-content: space-between; /* Distribuye el espacio en desktop */
    }

    .footer-column {
        text-align: left; /* Alinea a la izquierda en desktop */
    }
}

/* Desktop (992px y más) */
@media (min-width: 992px) {
    header .logo img {
        height: 80px;
    }

    nav ul li {
        margin-left: 40px;
    }
    
    nav a {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    section h2 {
        font-size: 2.5rem;
    }
}


/* === CHAT: Estilos Definitivos (v2) === */

/* 1. Nuestro Botón Flotante Personalizado */
#chat-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
#chat-launcher:hover {
    transform: scale(1.1);
}

/* 2. Fondo Oscuro (Overlay) */
#chat-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
}

/* 3. Forzamos la ocultación de la burbuja de Chatwoot */
.woot-widget-bubble {
    display: none !important;
}

/* 4. Anulamos la posición de Chatwoot para convertirlo en un Modal */
.woot-widget-holder {
  /* Posición y centrado */
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  
  /* Reseteamos las posiciones de esquina que Chatwoot añade */
  right: auto !important;
  bottom: auto !important;

  /* Definimos el tamaño de nuestro modal */
  width: 90vw !important;
  max-width: 550px !important; /* Aumentado */
  height: 90vh !important; /* Aumentado */
  max-height: 750px !important; /* Aumentado */
  
  /* Estilos visuales */
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

/* 5. Añadir avatar como marca de agua en el chat */
.woot-widget-holder .woot-widget-inner {
    position: relative; /* Necesario para el posicionamiento del pseudo-elemento */
    z-index: 1;
}

.woot-widget-holder .woot-widget-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/avatar_web.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%; /* Tamaño del avatar como marca de agua */
    opacity: 0.05; /* Opacidad para que sea sutil */
    z-index: -1; /* Lo colocamos detrás del contenido */
}

/* === Página de Productos === */
.product-card {
    background: var(--background-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    text-align: left;
    border-top: 4px solid var(--primary-color);
}

.product-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.product-card .section-subtitle {
    text-align: left;
    margin: 0 0 30px 0;
    max-width: 100%;
}

.product-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-hover);
    padding-left: 10px;
}

.product-card ul {
    list-style: none;
    padding-left: 0;
}

.product-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.product-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-card table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.product-card th, .product-card td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}

.product-card th {
    background-color: var(--background-light);
    font-weight: 600;
}

/* Chat Showcase Section */
#chat-showcase {
    padding: 80px 0;
    background-color: var(--background-white);
}

#chat-showcase h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#chat-showcase .section-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px;
    color: #555;
}

.chat-input-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 8px;
    border-radius: 20px;
    background: linear-gradient(120deg, #a88bff, #c0eaff); /* Gradient border */
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.chat-input-container {
    background: var(--background-white);
    padding: 30px;
    border-radius: 14px;
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.chat-input-container span {
    font-size: 1.1rem;
    color: #888;
}

.chat-input-container .send-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.chat-input-container .send-button:hover {
    background-color: var(--primary-hover);
}

.suggestion-pills {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.suggestion-pill {
    background-color: #f0f4f8;
    border: 1px solid #dce5ed;
    color: #555;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.suggestion-pill:hover {
    background-color: #e1e8f0;
    border-color: #cdd7e1;
    transform: translateY(-2px);
}


/* === NUEVOS ESTILOS PARA PÁGINA DE PRODUCTOS (JULIO 2025) === */

#product-list {
    padding-top: 40px;
    padding-bottom: 60px;
}

.product-main-card {
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 40px;
    margin-bottom: 50px;
    border-top: 4px solid var(--primary-color);
}

.product-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.product-title .section-subtitle {
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
}

/* Estilos del Acordeón */
.accordion {
    border-top: 1px solid var(--border-color);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item.active .accordion-header {
    color: var(--primary-color);
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    color: var(--dark-text);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.8rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 20px;
    text-align: left;
}

.accordion-content p {
    margin-top: 0;
    font-weight: 500;
}

.accordion-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.accordion-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.accordion-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.accordion-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Grid para otros servicios */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.product-card-small {
    background: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: left;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card-small:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.product-card-small h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.product-card-small p {
    flex-grow: 1;
}

.product-card-small.pricing-card {
    background-color: #e9e1ff;
    border-color: #532bb8;
}

.pricing-card h4 {
    color: #532bb8;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 8px;
}

.pricing-card small {
    font-size: 0.8rem;
    color: #555;
    margin-top: auto;
}

/* === Iconos para tarjetas de servicio === */
.card-icon {
    height: 40px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* === Estilos para la nueva sección Web3 en Productos === */

.product-category-title {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}
.product-category-title:first-child {
    margin-top: 0;
}

.product-category-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.product-category-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

.product-grid-web3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card-web3 {
    background: var(--background-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    text-align: left;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-web3:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.product-card-web3 h4 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.product-card-web3 p {
    margin-bottom: 20px;
}

.product-card-web3 ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.product-card-web3 ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.product-card-web3 ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* === ESTILOS PARA LA PÁGINA APTK.HTML === */

#aptk-pillars .aptk-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.aptk-pillar-card {
    background: var(--background-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    text-align: left;
    border-top: 4px solid var(--primary-color);
}

.aptk-pillar-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.aptk-pillar-card .pillar-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.aptk-pillar-card .pillar-icon {
    height: 60px;
    margin-bottom: 20px;
}

#aptk-flywheel .flywheel-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.flywheel-step {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    position: relative;
}

.flywheel-step .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 3px solid var(--background-white);
}

.flywheel-step h4 {
    font-size: 1.4rem;
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.flywheel-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    transform: rotate(90deg);
}

@media (min-width: 992px) {
    #aptk-pillars .aptk-pillars-grid {
        grid-template-columns: 1fr 1fr;
    }

    #aptk-flywheel .flywheel-steps {
        flex-direction: row;
        align-items: stretch;
    }

    .flywheel-step {
        flex: 1;
    }

    .flywheel-arrow {
        transform: rotate(0);
        align-self: center;
    }
}

/* === Estilos para el nuevo encabezado de APTK === */
.aptk-header-container {
    display: flex;
    flex-direction: column; /* Apilado en móvil por defecto */
    align-items: center;
    text-align: center;
    gap: 30px;
}

.aptk-header-container .hero-content {
    text-align: center;
}

.aptk-header-image {
    max-width: 150px; /* Tamaño del avatar */
}

.aptk-header-image img {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .aptk-header-container {
        flex-direction: row; /* Lado a lado en pantallas grandes */
        justify-content: space-between;
    }

    .aptk-header-container .hero-content {
        text-align: left; /* Texto a la izquierda en pantallas grandes */
    }

    .aptk-header-image {
        margin-left: 40px;
    }
}





