/* Estilos generales para FluxStates */

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #004499;
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004499 0%, #0077cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #0066cc;
    color: #0066cc;
}

.btn-secondary:hover {
    background-color: rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

/* Header y navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
}

.main-nav a:hover {
    color: #0066cc;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f5f9ff 0%, #e6f0ff 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Propuesta de valor */
.value-proposition {
    background-color: white;
    text-align: center;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-card .icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 20px;
}

/* Servicios */
.services {
    padding: 80px 0;
    background-color: #f9fbff;
}

.services .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-tab {
    padding: 12px 24px;
    margin: 0 10px 10px;
    background-color: #fff;
    border: 2px solid #e6edf9;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-tab.active {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.service-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-content.active {
    display: grid;
}

.service-info h3 {
    margin-bottom: 20px;
    color: #0066cc;
}

.service-features {
    margin: 30px 0;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.service-feature i {
    color: #0099ff;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.service-feature h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image svg {
    max-width: 100%;
    height: auto;
}

/* Beneficios */
.benefits {
    background-color: white;
}

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

.benefit-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: #f5f9ff;
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 20px;
}

/* Calculadora ROI */
.roi-calculator {
    background-color: #f5f9ff;
}

.calculator-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonios */
.testimonials {
    background-color: white;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 60px;
    color: #4361ee;
    opacity: 0.2;
    position: absolute;
    left: -20px;
    top: -20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.author-info p {
    color: #666;
    margin: 5px 0 0;
    font-size: 14px;
}

/* Equipo */
.team {
    background-color: #f5f9ff;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 150px;
    width: 150px;
    margin: 20px auto;
    border-radius: 50%;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin: 0 0 5px;
    font-size: 20px;
    color: #333;
}

.member-role {
    color: #4361ee;
    font-weight: 600;
    margin: 0 0 15px;
}

.member-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f8f9fa;
    color: #4361ee;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background-color: #4361ee;
    color: #fff;
    transform: translateY(-3px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    text-align: center;
}

.cta-section h2,
.cta-section p {
    color: white;
}

.cta-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.cta-form input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}

.cta-form button {
    grid-column: span 2;
    background-color: white;
    color: #0066cc;
    margin-top: 10px;
}

.cta-form button:hover {
    background-color: #f0f0f0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 20px;
    color: #4361ee;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.contact-social {
    margin-top: 30px;
}

.contact-social h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.contact-social .social-links {
    display: flex;
}

.contact-social .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #4361ee;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.contact-social .social-links a:hover {
    background-color: #3a56d4;
    transform: translateY(-3px);
}

.contact-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
    width: calc(50% - 10px);
    display: inline-block;
    vertical-align: top;
}

.form-group.full-width {
    width: 100%;
}

.form-group:nth-child(odd) {
    margin-right: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4361ee;
    outline: none;
}

.contact-form button {
    background-color: #4361ee;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.contact-form button:hover {
    background-color: #3a56d4;
}

.form-message {
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilos para mensajes en el formulario de suscripción */
#subscriptionForm .form-message {
    margin-top: 15px;
    border-radius: 5px;
    text-align: center;
    color: white;
}

#subscriptionForm .form-message.success {
    background-color: rgba(0, 200, 83, 0.8);
}

#subscriptionForm .form-message.error {
    background-color: rgba(255, 0, 0, 0.7);
    border-left: none;
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 25%;
}

.footer-logo img {
    max-width: 180px;
}

.footer-links {
    flex: 0 0 70%;
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 0 0 30%;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

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

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

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #4cc9f0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 18px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4cc9f0;
}

/* Estilos para la sección de Blog */
.blog-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0066cc;
}

.blog-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.blog-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-subscription {
    background-color: #0066cc;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.blog-subscription h3 {
    color: #fff;
    margin-bottom: 15px;
}

.blog-subscription p {
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscription-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscription-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.subscription-form button {
    border-radius: 0 5px 5px 0;
    padding: 0 25px;
}

.blog-cta {
    text-align: center;
    margin-top: 30px;
}