/* 
* Consultoría Viva - Main Stylesheet
* Colors:
* - Main background: Gradient from #002D62 to #4B0082
* - Accents: #C1FF72 (Lime Green) and #FF6B6B (Coral)
* - Text: #EEEEEE (Light Gray) and #1A1A1A (Anthracite)
* - Buttons: Gradient from #C1FF72 to #FF6B6B
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #EEEEEE;
    background: linear-gradient(135deg, #002D62 0%, #4B0082 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #C1FF72;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #FF6B6B;
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-title {
    font-size: 3.6rem;
    margin-bottom: 4rem;
    text-align: center;
    color: #EEEEEE;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background: linear-gradient(to right, #C1FF72, #FF6B6B);
    border-radius: 0.2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #EEEEEE;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.6rem;
}

ul, ol {
    margin-bottom: 1.6rem;
    margin-left: 2rem;
}

/* Buttons */
.cta-button, .service-button, .submit-button, .back-button, .cookie-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 5rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(to right, #C1FF72, #FF6B6B);
    color: #1A1A1A;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-button:hover, .service-button:hover, .submit-button:hover, .back-button:hover, .cookie-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    color: #1A1A1A;
}

.cta-button:active, .service-button:active, .submit-button:active, .back-button:active, .cookie-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.service-button {
    padding: 1rem 2rem;
    font-size: 1.4rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 45, 98, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 15rem;
}

.logo img {
    max-height: 5rem;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 3rem;
    height: 2.5rem;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 0.3rem;
    width: 100%;
    background-color: #EEEEEE;
    border-radius: 0.3rem;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-list li {
    margin-left: 3rem;
}

.nav-list a {
    color: #EEEEEE;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-list a:hover {
    color: #C1FF72;
}

.nav-cta {
    padding: 0.8rem 1.6rem;
    border-radius: 5rem;
    background: linear-gradient(to right, #C1FF72, #FF6B6B);
    color: #1A1A1A !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.nav-cta:hover {
    color: #1A1A1A !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Main Content */
main {
    padding-top: 8rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to right, rgba(0, 45, 98, 0.9), rgba(75, 0, 130, 0.9)), url('../img/YG8H59.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 5.6rem;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 2.4rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content .cta-button {
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About Section */
.about-section {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('../img/OnuRmz.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rounded-image {
    border-radius: 1rem;
    overflow: hidden;
}

.about-text h3 {
    color: #C1FF72;
    margin-bottom: 1.5rem;
}

/* Why Us Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 3.2rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    background: linear-gradient(to right, #C1FF72, #FF6B6B);
    color: #1A1A1A;
    font-weight: 700;
}

.benefit-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #EEEEEE;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, rgba(0, 45, 98, 0.85) 0%, rgba(75, 0, 130, 0.85) 100%), url('../img/IlwHig.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: #C1FF72;
    margin-bottom: 2rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.service-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #FF6B6B;
    margin-bottom: 2rem;
}

.service-image {
    margin-bottom: 2rem;
    border-radius: 0.8rem;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7)), url('../img/tgVpVA.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 7rem;
    color: rgba(193, 255, 114, 0.2);
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #C1FF72;
}

.author-info p {
    font-size: 1.4rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    border: 2px solid #C1FF72;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Section */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    color: #C1FF72;
}

.faq-answer {
    padding: 0 2rem 2rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(0, 45, 98, 0.8) 0%, rgba(75, 0, 130, 0.8) 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
}

.contact-info h3 {
    color: #C1FF72;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    background: #1a1a1a;
    color: #EEEEEE;
    font-size: 1.6rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C1FF72;
    box-shadow: 0 0 0 2px rgba(193, 255, 114, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    width: 100%;
}

/* Footer */
.site-footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    max-width: 15rem;
    margin-bottom: 2rem;
}

.footer-description {
    opacity: 0.8;
}

.footer-contact h3,
.footer-links h3 {
    color: #C1FF72;
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
    margin-left: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 2rem;
}

.cookie-form {
    flex-shrink: 0;
}

.cookie-button {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

/* Legal Pages */
.legal-section {
    padding-top: 12rem;
    padding-bottom: 8rem;
}

.legal-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 4rem;
}

.legal-content h1 {
    color: #C1FF72;
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 2.4rem;
    color: #FF6B6B;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.legal-content h3 {
    font-size: 2rem;
    color: #C1FF72;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
}

/* Thanks Page */
.thanks-section {
    min-height: calc(100vh - 20rem);
    padding-top: 12rem;
    padding-bottom: 8rem;
    display: flex;
    align-items: center;
}

.thanks-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thanks-content h1 {
    color: #C1FF72;
    margin-bottom: 3rem;
}

.back-button {
    margin-top: 3rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 7.5rem;
        left: 0;
        width: 100%;
        background-color: rgba(0, 45, 98, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    .menu-toggle:checked ~ .main-nav {
        max-height: 500px;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem 0;
    }
    
    .nav-list li {
        margin: 0;
        text-align: center;
    }
    
    .nav-list a {
        display: block;
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 4.2rem;
    }
    
    .hero-content p {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 3rem 2rem;
    }
} 