/* 
* Estilos para el sitio web de Servicios Contables
* Colores:
* - Primario: #17c3b2 (aquamarina)
* - Fondo: #d9fff7 (menta neón claro)
* - Acento: #f72585 (fucsia)
* - Texto: #1c1c1c (grafito)
*/

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1c1c1c;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: #1c1c1c;
}

h2 {
    font-size: 2rem;
    color: #17c3b2;
}

h3 {
    font-size: 1.5rem;
    color: #17c3b2;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #17c3b2;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #f72585;
    text-shadow: 0 0 8px rgba(247, 37, 133, 0.3);
}

ul, ol {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #f72585 0%, #17c3b2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(23, 195, 178, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(247, 37, 133, 0.4);
    transform: translateY(-2px);
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: #17c3b2;
    border: 2px solid #17c3b2;
}

.btn-outline:hover {
    background: rgba(23, 195, 178, 0.1);
    color: #f72585;
    border-color: #f72585;
    box-shadow: 0 0 15px rgba(23, 195, 178, 0.3);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #f72585 0%, #17c3b2 100%);
    color: white;
    padding: 1rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(23, 195, 178, 0.2);
}

.btn-submit:hover {
    box-shadow: 0 6px 20px rgba(247, 37, 133, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-cookie {
    background: #17c3b2;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-cookie:hover {
    background: #f72585;
}

/* Header y Navegación */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #17c3b2;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #f72585 0%, #17c3b2 100%);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav li.active a::after {
    width: 100%;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    padding: 20px;
    max-width: 400px;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-content form {
    align-self: flex-end;
}

/* Hero Section */
.hero {
    background-color: #d9fff7;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(247, 37, 133, 0.1);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(23, 195, 178, 0.1);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Formularios */
.form-group {
    margin-bottom: 1.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: #17c3b2;
    outline: none;
    box-shadow: 0 0 10px rgba(23, 195, 178, 0.2);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2317c3b2' d='M6 9.5L0 3.5 1.4 2.1 6 6.7 10.6 2.1 12 3.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

select option {
    background-color: #d9fff7;
    color: #1c1c1c;
}

.checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Secciones comunes */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #f72585 0%, #17c3b2 100%);
    border-radius: 3px;
}

/* About Section */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background-color: #d9fff7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    height: 200px;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: #555;
}

.service-link {
    display: block;
    padding: 1rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #f72585 0%, #17c3b2 100%);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: linear-gradient(135deg, #f72585 30%, #17c3b2 100%);
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Benefits Section */
.benefits {
    background-color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    padding: 2rem;
    border-radius: 10px;
    background-color: #d9fff7;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
    margin-bottom: 1rem;
    color: #f72585;
}

/* Pricing Section */
.pricing {
    background-color: #d9fff7;
}

.pricing-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #17c3b2;
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: rgba(217, 255, 247, 0.3);
}

tr:hover {
    background-color: rgba(23, 195, 178, 0.1);
}

tr:last-child td {
    border-bottom: none;
}

/* FAQ Section */
.faq {
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    background-color: #d9fff7;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #17c3b2;
    transition: all 0.3s ease;
}

.faq-toggle:checked + .faq-question {
    background-color: #17c3b2;
    color: white;
}

.faq-toggle:checked + .faq-question::after {
    content: '-';
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: #d9fff7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    line-height: 1;
    color: #17c3b2;
    opacity: 0.5;
}

.testimonial-author {
    text-align: right;
    color: #f72585;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-item {
    padding: 1.5rem;
    background-color: #d9fff7;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #f72585;
}

.contact-form {
    background: linear-gradient(135deg, rgba(23, 195, 178, 0.1) 0%, rgba(247, 37, 133, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(23, 195, 178, 0.3);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(247, 37, 133, 0.1);
    z-index: 0;
}

.contact-form::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(23, 195, 178, 0.1);
    z-index: 0;
}

.contact-form form {
    position: relative;
    z-index: 1;
}

.contact-form .form-group {
    margin-bottom: 1.8rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(23, 195, 178, 0.3);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus {
    background-color: white;
    border-color: #17c3b2;
    box-shadow: 0 0 15px rgba(23, 195, 178, 0.3);
    transform: translateY(-2px);
}

.contact-form select {
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(23, 195, 178, 0.3);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    font-size: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23f72585' d='M8 12L0 4h16z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: all 0.3s ease;
}

.contact-form select:focus {
    background-color: white;
    border-color: #17c3b2;
    box-shadow: 0 0 15px rgba(23, 195, 178, 0.3);
    transform: translateY(-2px);
}

.contact-form select option {
    background-color: #d9fff7;
    color: #1c1c1c;
    padding: 10px;
}

.contact-form .checkbox {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .checkbox:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.contact-form .checkbox input[type="checkbox"] {
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    margin-top: 3px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #17c3b2;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form .checkbox input[type="checkbox"]:checked {
    background-color: #17c3b2;
}

.contact-form .checkbox input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.contact-form .checkbox label {
    cursor: pointer;
}

.contact-form .btn-submit {
    background: linear-gradient(135deg, #f72585 0%, #17c3b2 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(23, 195, 178, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form .btn-submit:hover {
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.4);
    transform: translateY(-3px);
}

.contact-form .btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.contact-form .btn-submit:hover::after {
    left: 100%;
}

/* Estilo para la selección de texto */
::selection {
    background-color: rgba(23, 195, 178, 0.3);
    color: #1c1c1c;
}

/* Footer */
.site-footer {
    background-color: #1c1c1c;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: #17c3b2;
    margin-bottom: 1.5rem;
}

.footer-contact ul {
    list-style: none;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d9fff7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f72585;
    text-shadow: 0 0 8px rgba(247, 37, 133, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-section {
    background-color: #fff;
    padding: 5rem 0;
}

.policy-section h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #17c3b2;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-content h2 {
    color: #17c3b2;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.policy-content h3 {
    color: #f72585;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.policy-content table {
    margin: 1.5rem 0;
    width: 100%;
}

/* Thanks Section */
.thanks-section {
    background-color: #d9fff7;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thanks-content h1 {
    color: #17c3b2;
    margin-bottom: 2rem;
}

.thanks-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Error Section */
.error-section {
    background-color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
}

.error-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffeeee;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(247, 37, 133, 0.2);
}

.error-message p {
    color: #f72585;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Menu móvil */
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 4rem 2rem;
        transition: left 0.3s ease;
        z-index: 99;
        overflow-y: auto;
    }
    
    .menu-toggle:checked ~ .main-nav {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 1.5rem 0;
    }
    
    /* Ajustes generales */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .services-grid, 
    .benefits-grid, 
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Policy pages */
    .policy-content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .thanks-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
} 