/* 
   Main Stylesheet for AuditoríaPro
   Color Palette:
   - Main Background: #4B0082 (Indigo)
   - Accent: #BFFF00 (Lime)
   - Secondary Background: #F5F5F5 (Light Gray)
   - Text: #0B132B (Dark Blue)
   - UI Elements: Gradients with turquoise and lime
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #0B132B;
    background-color: #F5F5F5;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
}

a {
    color: #4B0082;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #BFFF00;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: #4B0082;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, #4B0082, #20B2AA);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #20B2AA, #BFFF00);
    color: #0B132B;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: #BFFF00;
    color: #4B0082;
}

.btn-secondary:hover {
    background: #D1FF4D;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles - Updated Design */
.main-header {
    background: #4B0082;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-circle {
    width: 45px;
    height: 45px;
    background-color: #4B0082;
    border: 2px solid #BFFF00;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.logo-dot {
    width: 20px;
    height: 20px;
    background-color: #BFFF00;
    border-radius: 50%;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #BFFF00;
}

.btn-contact {
    background-color: #BFFF00;
    color: #4B0082 !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600 !important;
}

.btn-contact:hover {
    background-color: white;
    color: #4B0082 !important;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #4B0082, #BFFF00);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4B0082 0%, #3D0069 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(191, 255, 0, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(191, 255, 0, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    max-width: 400px;
    margin: 0 auto 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid #BFFF00;
}

.hero-img {
    width: 100%;
    display: block;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1 1 500px;
}

.about-image {
    flex: 1 1 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.2) 0%, rgba(191, 255, 0, 0.2) 100%);
    z-index: 1;
}

/* Services Section */
.services {
    background-color: #F5F5F5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    height: 200px;
    background: linear-gradient(45deg, #4B0082, #20B2AA);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-icon svg {
    width: 80px;
    height: 80px;
    fill: white;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: #4B0082;
    margin-bottom: 1rem;
}

.service-price {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4B0082;
}

/* Benefits Section */
.benefits {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: #F5F5F5;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, #4B0082, #BFFF00);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.benefit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

/* Testimonials Section */
.testimonials {
    background-color: #F5F5F5;
}

.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.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: serif;
    color: rgba(191, 255, 0, 0.2);
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    background: linear-gradient(45deg, #4B0082, #BFFF00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    overflow: hidden;
}

.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Section - New Design */
.contact {
    background: linear-gradient(135deg, #4B0082 0%, #3D0069 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.contact::before,
.contact::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: rgba(191, 255, 0, 0.05);
    z-index: 1;
}

.contact::before {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.contact::after {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
}

.section-subtitle {
    text-align: center;
    color: #BFFF00;
    font-size: 1.2rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: #BFFF00;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #BFFF00;
}

.contact-info > p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.contact-detail-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 2px solid #BFFF00;
    flex-shrink: 0;
}

.contact-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-detail-content h4 {
    color: #BFFF00;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-detail-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-form-container {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

.contact-form-container h3 {
    color: #4B0082;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.contact-form-container h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #4B0082;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #0B132B;
}

.required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4B0082;
    box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234B0082' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-6-6L3.5 4 8 8.5 12.5 4 14 5.5l-6 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    accent-color: #4B0082;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: normal;
    line-height: 1.4;
    color: #555;
}

.checkbox-group a {
    color: #4B0082;
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: #BFFF00;
}

.form-submit {
    background: linear-gradient(45deg, #4B0082, #BFFF00);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
}

.form-submit:hover {
    background: linear-gradient(45deg, #BFFF00, #4B0082);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border-left: 4px solid #e74c3c;
}

/* Responsive styles for contact section */
@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-detail-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .contact-info h3,
    .contact-form-container h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-details {
        gap: 1rem;
    }
    
    .contact-detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    .form-submit {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

/* Footer Styles */
.main-footer {
    background-color: #0B132B;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3,
.footer-contact h3,
.footer-links h3,
.footer-nav h3 {
    color: #BFFF00;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-info p {
    opacity: 0.8;
}

.footer-contact p {
    margin-bottom: 0.75rem;
}

.footer-contact a,
.footer-links a,
.footer-nav a {
    color: white;
    opacity: 0.8;
}

.footer-contact a:hover,
.footer-links a:hover,
.footer-nav a:hover {
    color: #BFFF00;
    opacity: 1;
}

.footer-links ul,
.footer-nav ul {
    list-style: none;
}

.footer-links li,
.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0B132B;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: #BFFF00;
    text-decoration: underline;
}

.btn-accept {
    background-color: #BFFF00;
    color: #0B132B;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background-color: white;
}

/* Legal Pages Styling */
.legal-page {
    padding: 5rem 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1.5rem;
}

.legal-content ul {
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 8rem 0;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #4B0082, #BFFF00);
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-icon svg {
    width: 60px;
    height: 60px;
    fill: white;
}

.thank-you h1 {
    margin-bottom: 1.5rem;
}

.thank-you p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.return-link {
    display: inline-block;
    margin-top: 1rem;
}

/* Media Queries */
@media (min-width: 768px) {
    .contact-info {
        display: block;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    .contact-info {
        justify-content: center;
    }
    
    .main-nav ul {
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #4B0082;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 100;
    }
    
    .menu-toggle:checked ~ .main-nav {
        max-height: 300px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .main-nav li {
        margin: 0;
        text-align: center;
    }
    
    .btn-contact {
        display: inline-block;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .logo-circle {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .menu-toggle:checked ~ .main-nav {
        padding-bottom: 1.5rem;
    }
}

.contact-info-box {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 1.8rem;
    margin-right: 1rem;
    display: inline-block;
    background-color: rgba(191, 255, 0, 0.2);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
}

.contact-info-item h4 {
    color: #BFFF00;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info-item p {
    color: white;
    margin-bottom: 0;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .contact-info-box {
        grid-template-columns: 1fr;
    }
    
    .contact-info-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.5rem;
    }
}

.text-left {
    text-align: left !important;
    display: inline-block;
    position: relative;
    float: none;
    left: 0;
    right: auto;
}

/* Asegurar que los enlaces de los checkboxes estén alineados a la izquierda */
.checkbox-group label a {
    float: none;
    position: relative;
    left: 0;
    right: auto;
    text-align: left;
    margin-left: 0;
}

/* Modificación para el título de la sección de contacto */
.contact .section-title h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.contact .section-title h2::after {
    background: #BFFF00;
    height: 4px;
    width: 100px;
} 