/* 
* MAIN STYLESHEET
* Website for Spanish Accountant 
* Colors:
* - Primary: #00E8C5 (turquoise)
* - Accent: #FF6B6B (coral)
* - Contrast: #222222 (coal)
* - Background: #FFF9F5 (light peach)
*/

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #00E8C5;
    --primary-light: #7FFFF2;
    --primary-dark: #00B49A;
    --accent: #FF6B6B;
    --accent-light: #FFB8B8;
    --accent-dark: #E64545;
    --dark: #222222;
    --light: #FFF9F5;
    --gray: #777777;
    --light-gray: #EEEEEE;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: var(--gray);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 232, 197, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 6px 20px rgba(0, 232, 197, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 249, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

/* Add scrolled class to header when page is scrolled */
@media (min-width: 768px) {
    body:not(:hover) header {
        box-shadow: var(--shadow-md);
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary-dark);
}

/* --- HERO SECTION --- */
.hero {
    padding: 180px 0 100px;
    background: url('img/gvUPz.jpg') center center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 232, 197, 0.8), rgba(255, 107, 107, 0.8));
    opacity: 0.85;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    max-width: 700px;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SERVICES OVERVIEW --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 232, 197, 0.2), rgba(255, 107, 107, 0.2));
    border-radius: 50%;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

/* --- KEY SERVICES --- */
.key-services {
    background-color: white;
}

.key-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.key-service:last-child {
    margin-bottom: 0;
}

.key-service.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.key-service.reverse .key-service-content {
    direction: ltr;
}

.key-service-content {
    animation: fadeInLeft 0.8s ease-out;
}

.key-service-image {
    animation: fadeInRight 0.8s ease-out;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.key-service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.key-service-image:hover img {
    transform: scale(1.05);
}

.key-service-content h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.key-service-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.key-service-content li {
    margin-bottom: 10px;
}

/* --- BENEFITS SECTION --- */
.benefits {
    background: linear-gradient(135deg, rgba(0, 232, 197, 0.1), rgba(255, 107, 107, 0.1));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 232, 197, 0.2), rgba(255, 107, 107, 0.2));
    border-radius: 50%;
}

.benefit-icon img {
    width: 35px;
    height: 35px;
}

.benefit-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* --- WORK STEPS --- */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% + 40px);
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 30px;
    z-index: 1;
}

.step-content {
    background-color: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* --- ORDER FORM --- */
.form-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.custom-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    animation: fadeInLeft 0.8s ease-out;
}

.form-image {
    animation: fadeInRight 0.8s ease-out;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.form-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.form-image:hover img {
    transform: scale(1.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 232, 197, 0.2);
}

/* Custom select styling */
.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23222222" d="M0 0l6 6 6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-color: white;
}

/* Option background color */
.form-group select option {
    background-color: white;
    color: var(--dark);
}

.checkbox-group {
    margin-top: 30px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    user-select: none;
    margin-bottom: 0;
    font-weight: 400;
}

.checkbox-container label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    background-color: white;
    transition: var(--transition);
}

.checkbox-container input:checked + label::before {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-container label::after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked + label::after {
    display: block;
}

.checkbox-container label a {
    text-decoration: underline;
}

.custom-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* --- TESTIMONIALS --- */
.testimonials {
    background-color: white;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.testimonial {
    flex: 1 1 300px;
    background: linear-gradient(135deg, rgba(0, 232, 197, 0.1), rgba(255, 107, 107, 0.1));
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-content p {
    position: relative;
    padding: 0 15px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    position: absolute;
}

.testimonial-content p::before {
    left: -10px;
    top: -10px;
}

.testimonial-content p::after {
    right: -10px;
    bottom: -20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author .client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.author-info h4 {
    margin-bottom: 3px;
    font-size: 1rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* --- FAQ SECTION --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: block;
    padding: 20px;
    background-color: white;
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-toggle:checked + .faq-question {
    background-color: var(--primary);
    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;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
}

/* --- CONTACT INFO --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    margin-right: 20px;
}

.contact-icon img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-text p {
    margin: 0;
    color: var(--gray);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
}

/* --- COOKIE CONSENT --- */
.cookie-consent {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 400px;
    background-color: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: slideInUp 0.5s ease-out;
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.cookie-actions .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.cookie-actions .btn-text {
    background: none;
    color: var(--gray);
    box-shadow: none;
    padding: 10px 0;
}

.cookie-actions .btn-text:hover {
    color: var(--dark);
    transform: none;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- POLICY PAGES --- */
.policy-page {
    padding: 150px 0 80px;
}

.policy-page h1 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.policy-content h2 {
    color: var(--primary-dark);
    margin: 30px 0 15px;
    font-size: 1.5rem;
    text-align: left;
}

.policy-content h2::after {
    display: none;
}

.policy-content h3 {
    color: var(--dark);
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.policy-content p, .policy-content ul {
    margin-bottom: 15px;
}

.policy-content ul {
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-content a {
    word-break: break-all;
}

/* --- THANK YOU PAGE --- */
.thank-you {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.thank-you-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary);
    box-shadow: var(--shadow-md);
    margin: 0 auto 30px;
}

.thank-you-content h1 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.thank-you-content .btn {
    margin-top: 20px;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1200px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .testimonials-slider {
        gap: 20px;
    }
    
    .footer-container {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .key-service,
    .form-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .key-service.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .key-service-image {
        order: -1;
    }
    
    .key-service.reverse .key-service-image {
        order: -1;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        margin-right: 20px;
    }
    
    .testimonial {
        flex: 1 1 100%;
    }
    
    .contact-details {
        gap: 20px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .policy-content {
        padding: 30px;
    }
    
    .thank-you-img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
        margin-bottom: 2.5rem;
    }
    
    h2::after {
        bottom: -10px;
        width: 60px;
        height: 3px;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
    
    /* Header mobile styles */
    .header-container {
        padding: 10px 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--dark);
        height: 2px;
        width: 2em;
        position: relative;
        transition: var(--transition);
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 7px;
    }
    
    .nav-toggle-label span::after {
        top: 7px;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        bottom: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 20px 0;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    /* Close mobile menu when clicking outside */
    
    
    /* Close mobile menu when clicking on a link */
    .nav-toggle:checked ~ .main-nav .nav-link:active ~ .nav-toggle {
        display: none;
    }
    
    /* Hero section */
    .hero {
        padding: 120px 0 50px;
    }
    
    .hero-content {
        max-width: 550px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    /* Services */
    .service-card, 
    .benefit-card {
        padding: 20px;
    }
    
    .service-icon,
    .benefit-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    /* Key services */
    .key-service {
        margin-bottom: 60px;
        gap: 30px;
    }
    
    .key-service-content ul {
        margin-bottom: 20px;
    }
    
    /* Work steps */
    .step {
        margin-bottom: 30px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        margin-right: 15px;
        font-size: 0.9rem;
    }
    
    .step-content {
        padding: 15px;
    }
    
    /* Form */
    .custom-form {
        padding: 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .checkbox-container label {
        font-size: 0.85rem;
    }
    
    /* Testimonials */
    .testimonial {
        padding: 20px;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
    }
    
    .author-info h4 {
        font-size: 0.9rem;
    }
    
    .author-info p {
        font-size: 0.8rem;
    }
    
    /* FAQ */
    .faq-question {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-container {
        gap: 30px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 15px;
    }
    
    .contact-icon img,
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-text h3 {
        font-size: 1rem;
    }
    
    .contact-text p {
        font-size: 0.9rem;
    }
    
    /* Footer */
    footer {
        padding: 50px 0 20px;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-column p,
    .footer-links a {
        font-size: 0.85rem;
    }
    
    /* Cookie consent */
    .cookie-consent {
        left: 15px;
        right: 15px;
        max-width: none;
        bottom: 15px;
        padding: 20px;
    }
    
    .cookie-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .cookie-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-actions .btn {
        width: 100%;
        padding: 8px 15px;
    }
    
    /* Policy pages */
    .policy-page {
        padding: 120px 0 50px;
    }
    
    .policy-content {
        padding: 20px;
    }
    
    .policy-content h2 {
        font-size: 1.4rem;
        margin: 25px 0 10px;
    }
    
    .policy-content p, 
    .policy-content li {
        font-size: 0.9rem;
    }
    
    /* Thank you page */
    .thank-you-img {
        width: 150px;
        height: 150px;
        border-width: 4px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-content {
        max-width: 450px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .services-grid,
    .benefits-grid {
        gap: 15px;
    }
    
    .service-card,
    .benefit-card {
        padding: 15px;
    }
    
    .key-service {
        margin-bottom: 40px;
        gap: 20px;
    }
    
    .step:not(:last-child)::after {
        left: 20px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        margin-right: 12px;
        font-size: 0.8rem;
    }
    
    .step-content {
        padding: 12px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .custom-form {
        padding: 20px 15px;
    }
    
    .checkbox-container label {
        padding-left: 30px;
    }
    
    .checkbox-container label::before {
        width: 18px;
        height: 18px;
    }
    
    .testimonial {
        padding: 15px;
    }
    
    .testimonial-content p::before,
    .testimonial-content p::after {
        font-size: 1.5rem;
    }
    
    .testimonial-author img,
    .testimonial-author .client-img {
        width: 40px;
        height: 40px;
    }
    
    .faq-question::after {
        right: 15px;
        font-size: 1.3rem;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-map iframe {
        height: 250px;
    }
    
    .policy-content {
        padding: 15px;
    }
    
    .thank-you-content {
        padding: 0 15px;
    }
    
    .thank-you-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 380px) {
    .logo img {
        height: 30px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .service-icon,
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg,
    .benefit-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .contact-text h3 {
        font-size: 0.9rem;
    }
    
    .contact-text p {
        font-size: 0.8rem;
    }
    
    .thank-you-img {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }
} 