/* 
   TAXA DECFACIL - Estilos principales
   Colores:
   - Azul principal: #0066cc
   - Verde principal: #00cc99
   - Blanco: #ffffff
   - Gris claro: #f5f7fa
   - Gris oscuro: #333333
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

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

a:hover {
    color: #00cc99;
}

ul {
    list-style: none;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: #0066cc;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #00cc99;
    margin: 15px auto 0;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* 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-color: #0066cc;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0055aa;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

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

.btn-outline:hover {
    background-color: #0066cc;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: #0066cc;
}

.logo span {
    color: #00cc99;
}

.main-nav ul {
    display: flex;
}

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

.main-nav ul li a {
    color: #333333;
    font-weight: 500;
    position: relative;
}

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

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00cc99;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0066cc;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 204, 153, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #0066cc;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
}

/* Beneficios Section */
.beneficios {
    padding: 100px 0;
    background-color: #ffffff;
}

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

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

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.beneficio-card .icon {
    font-size: 2.5rem;
    color: #00cc99;
    margin-bottom: 20px;
}

.beneficio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0066cc;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066cc 0%, #00cc99 100%);
    color: #ffffff;
}

.why-us .section-title {
    color: #ffffff;
}

.why-us .section-title:after {
    background: #ffffff;
}

.features {
    margin-top: 50px;
}

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

.feature-icon {
    font-size: 2rem;
    margin-right: 20px;
    color: #ffffff;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Servicios Section */
.servicios {
    padding: 100px 0;
    background-color: #f5f7fa;
}

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

.servicio-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.servicio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #0066cc;
}

.servicio-card ul {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

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

.servicio-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #00cc99;
    position: absolute;
    left: 0;
}

/* Testimonios Section */
.testimonios {
    padding: 100px 0;
    background-color: #ffffff;
}

.testimonios-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonio {
    background-color: #f5f7fa;
    border-radius: 10px;
    padding: 40px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonio-content {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
}

.testimonio-content:before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: #00cc99;
    opacity: 0.3;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #0066cc;
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #666;
}

.testimonios-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonios-controls button {
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.testimonios-controls button:hover {
    background-color: #00cc99;
    transform: scale(1.1);
}

/* Proceso Section */
.proceso {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.proceso-steps {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.proceso-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.proceso-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 70px;
    right: -50px;
    width: 100px;
    height: 2px;
    background-color: #00cc99;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #0066cc;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 2.5rem;
    color: #00cc99;
    margin-bottom: 20px;
}

.proceso-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0066cc;
}

/* Contacto Section */
.contacto {
    padding: 100px 0;
    background-color: #ffffff;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacto-form {
    background-color: #f5f7fa;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.contacto-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-card {
    background-color: #0066cc;
    color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #ffffff;
    margin-bottom: 30px;
}

.info-card ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-card ul li i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: #00cc99;
}

.social-media h3 {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f7fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #0066cc;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #0066cc;
    color: #ffffff;
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: #0066cc;
    color: #ffffff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-logo span {
    color: #00cc99;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: #00cc99;
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form button {
    border-radius: 0 5px 5px 0;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 20px;
}

.footer-legal a:hover {
    color: #00cc99;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .proceso-step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .proceso-steps {
        flex-direction: column;
    }
    
    .proceso-step {
        margin-bottom: 50px;
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 20px;
    }
    
    .footer-legal a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .beneficios-grid,
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 5px;
        width: 100%;
    }
}
