/* Base Styles and Variables */
:root {
    --primary: #CEB2FF;     /* Electric Lavender */
    --secondary: #FF7E00;   /* Spanish Orange */
    --accent: #9FFFE5;      /* Cobalt Mint */
    --background: #FAF6EF;  /* Antique White */
    --text: #2B2B2B;        /* Charcoal Black */
    --light-text: #666666;
    --white: #FFFFFF;
    --light-gray: #F2F2F2;
    --med-gray: #DDDDDD;
    --dark-gray: #888888;
    --border-radius: 1rem;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Reset & Global Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    color: var(--text);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.3rem;
    background-color: var(--primary);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.4rem 3rem;
    border-radius: 5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.btn-primary {
    color: var(--white);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 3rem;
    height: 2.5rem;
    position: relative;
    z-index: 1001;
}

.menu-icon .bar {
    display: block;
    width: 100%;
    height: 0.3rem;
    background-color: var(--text);
    margin: 0.6rem 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 18rem 0 12rem;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    color: var(--text);
    margin-bottom: 2rem;
}

.hero-text p {
    color: var(--light-text);
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 60rem;
}

.hero-image {
    flex: 1;
    max-width: 50rem;
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    display: inline-block;
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.service-title {
    margin-bottom: 1.5rem;
}

.service-description {
    color: var(--light-text);
}

/* Audits Section */
.audits {
    background-color: var(--light-gray);
}

.audit-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.audit-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.audit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.audit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background-color: var(--primary);
}

.audit-image {
    margin-bottom: 2rem;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.audit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.audit-card:hover .audit-image img {
    transform: scale(1.05);
}

.audit-title {
    margin-bottom: 1.5rem;
}

.audit-description {
    color: var(--light-text);
}

/* Benefits Section */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.benefit-card {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.3rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover::after {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.benefit-title {
    margin-bottom: 1.5rem;
}

.benefit-description {
    color: var(--light-text);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.testimonial-text::before {
    content: '"';
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 2rem;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-name {
    font-weight: 600;
    font-size: 1.8rem;
}

.author-company {
    color: var(--light-text);
    font-size: 1.4rem;
}

/* Call to Action Section */
.cta {
    background-color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 80rem;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 2rem;
}

.cta p {
    margin-bottom: 4rem;
    font-size: 1.8rem;
    color: var(--light-text);
}

/* Contact Form Section */
.contact {
    background-color: var(--light-gray);
}

.form-container {
    max-width: 70rem;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1.5rem 2rem;
    border: 1px solid var(--med-gray);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(206, 178, 255, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    margin-top: 0.5rem;
    margin-right: 1rem;
}

.checkbox-group label {
    font-size: 1.4rem;
    color: var(--light-text);
}

.checkbox-group a {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 1.6rem;
    font-size: 1.8rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--text);
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    margin-bottom: 2rem;
    color: var(--med-gray);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--med-gray);
}

.contact-item .icon {
    font-size: 2rem;
}

.footer-links h4, .footer-nav h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.footer-links ul, .footer-nav ul {
    list-style: none;
}

.footer-links li, .footer-nav li {
    margin-bottom: 1rem;
}

.footer-links a, .footer-nav a {
    color: var(--med-gray);
    transition: var(--transition);
}

.footer-links a:hover, .footer-nav a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--med-gray);
    font-size: 1.4rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 2rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    margin-bottom: 0;
    min-width: 30rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 15rem 0;
    background-color: var(--light-gray);
}

.thank-you-box {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 5rem;
    box-shadow: var(--shadow);
    max-width: 70rem;
    margin: 0 auto;
    border: 2px solid var(--primary);
}

.thank-you h1 {
    margin-bottom: 2rem;
    color: var(--primary);
}

.thank-you p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--light-text);
}

/* Policy Pages */
.policy-container {
    max-width: 80rem;
    margin: 12rem auto 6rem;
    padding: 4rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.policy-container h1 {
    margin-bottom: 3rem;
    color: var(--primary);
}

.policy-container h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 2.4rem;
}

.policy-container p {
    margin-bottom: 2rem;
    color: var(--light-text);
}

.policy-container ul, .policy-container ol {
    margin-bottom: 2rem;
    margin-left: 2rem;
}

.policy-container li {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.back-to-home {
    display: inline-block;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    .menu-icon {
        display: block;
    }
    
    .main-nav .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 0;
    }
    
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon .bar:nth-child(1) {
        transform: rotate(45deg) translate(0.8rem, 0.6rem);
    }
    
    .menu-toggle:checked ~ .menu-icon .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon .bar:nth-child(3) {
        transform: rotate(-45deg) translate(0.8rem, -0.6rem);
    }
    
    .hero {
        padding: 15rem 0 8rem;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    .section-title h2 {
        font-size: 3.2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}