/* header */
:root {
    --purple-dark: #5c2d91;
    --purple-medium: #7b3db3;
    --white: #fff;
    --black: #000;
    --text-opacity: 0.9;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
}

/* Hero principal */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: var(--white);
    overflow: hidden;
}

.hero-container {
    display: flex;
    height: 100%;
}

/* Fondo compartido */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagenes/header.purple.svg') center/cover no-repeat;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Columnas */
.hero-content, .hero-visual {
    flex: 1;
    display: flex;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}



/* Tipografía */
.hero-heading {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 50ch;
}

.hero-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, var(--text-opacity));
    margin-bottom: 2.5rem;
    max-width: 40ch;
}

/* Botón */
.hero-button {
    display: inline-flex;
    background-color: var(--white);
    color: var(--purple-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Estilos para el logo del header */
.header-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.header-logo img {
    height: 200px; /* Ajusta según necesidad */
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.05);
}

/* Ajuste para el hero cuando hay logo */
.hero {
    position: relative;
    padding-top: 80px; /* Espacio para el logo */
}

/* Responsive */
@media (max-width: 768px) {
    .header-logo {
        top: 20px;
        left: 20px;
    }
    
    .header-logo img {
        height: 30px;
    }
    
    .hero {
        padding-top: 70px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content, .hero-visual {
        min-height: 50vh;
    }
}
/* body */
/* Estructura de dos columnas */
.main-content {
    display: flex;
    min-height: calc(100vh - 80px);
}

.content-column {
    flex: 1;
    padding: 60px 40px;
    background-color: #fff;
}

.templates-column {
    flex: 2;
    padding: 40px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

/* Filas de templates */
.templates-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.templates-row:last-child {
    margin-bottom: 0;
}

/* Estilos del contenido */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    max-width: 500px;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}

.cta-button {
    display: inline-flex;
    background-color:#5c2d91;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}



/* Tarjetas de templates */
.template-card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-icon {
    width: 80px; /* Tamaño ajustable según necesites */
    height: 100px;
    margin-bottom: 15px;
     object-fit: contain; /*Para mantener las proporciones */
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.template-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 5px;
    color: #000;
}

.template-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .templates-row {
        flex-direction: column;
    }
    
    .template-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .content-column, .templates-column {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
/* Sección de empresas */
.companies-section {
    position: relative;
    padding: 80px 0;
    color: white;
    overflow: hidden;
}

.companies-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagenes/empresas.svg') center/cover no-repeat;
    z-index: -2;
}

/* .companies-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    z-index: -1; 
}*/

.companies-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    color: var(--black);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.company-logo {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 25px;
    background: #6165ff;
    backdrop-filter: blur(5px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

 .company-logo:hover {
    background: #5c2d91(255, 255, 255, 0.2);
    transform: translateY(-5px);
} 


/* Responsive */
@media (max-width: 768px) {
    .companies-section {
        padding: 60px 0;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-logo {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .companies-title {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .company-logo {
        font-size: 1.2rem;
    }
}

/* Sección de servicio al cliente */
.customer-service {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Primera fila */
.service-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.service-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Segunda fila - Tres columnas */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #5c2d91; /* Color morado para los títulos */
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}
/* Contenedor del ícono */
.icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Estilos para la imagen/ícono */
.feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    padding: 15px;
    background: rgba(92, 45, 145, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}


/* Responsive */
@media (max-width: 768px) {
    .service-header h2 {
        font-size: 2rem;
    }
    
    .service-header p {
        font-size: 1rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}
/* Sección de precios */
.pricing-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
    text-align: center; /* Esto centra el texto */
    position: relative;
    display: inline-block; /* Para el subrayado opcional */

}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #5c2d91;
    transform: scale(1.05);
}

.plan-header {
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 1.5rem;
    color: #5c2d91;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.plan-features {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.plan-features li:last-child {
    border-bottom: none;
}

.pricing-button {
    display: inline-block;
    background-color: #5c2d91;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.pricing-button:hover {
    background-color: #7b3db3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 45, 145, 0.3);
}

.trial-text {
    font-size: 0.9rem;
    color: #999;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
/* Estilos del footer */
.site-footer {
    background-color: #5c2d91;
    color: #fff;
    padding: 60px 0 20px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #5c2d91;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #5c2d91;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #999;
}
.footer-image {
    margin-top: 25px;
    text-align: center;
}

.footer-image img {
    max-width: 280px; /* Ajusta según el tamaño deseado */
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-image img:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}