/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: rgb(201, 177, 77);
    --secondary-color: #f44336;
    --background-dark: #333;
    --text-light: #fff;
    --text-dark: #333;
    --spacing: 1rem;
    --border-radius: 4px;
    --transition-speed: 0.3s;
    --navbar-height: 70px;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    padding-top: var(--navbar-height);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVEGACIÓN ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    z-index: 1001;
    position: relative;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Menú principal */
.main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.menu li {
    margin: 0 15px;
}

.menu-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    padding: 10px 0;
    position: relative;
}

.menu-link:hover,
.menu-link.active {
    color: var(--primary-color);
}

.menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all var(--transition-speed) ease;
    transform: translateX(-50%);
}

.menu-link:hover::after,
.menu-link.active::after {
    width: 100%;
}

/* Selector de idioma */
.language-selector {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    color: var(--text-dark);
}

.lang-btn:hover,
.lang-btn[aria-current="true"] {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.flag-icon img {
    width: 20px;
    height: 15px;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    position: relative;
    transition: all var(--transition-speed) ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    left: 0;
    transition: all var(--transition-speed) ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* Animación del menú hamburguesa cuando está activo */
.menu-toggle[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        transition: right var(--transition-speed) ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .menu li {
        margin: 10px 0;
        width: 100%;
    }
    
    .menu-link {
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .language-selector {
        margin-top: 20px;
        margin-left: 0;
        justify-content: flex-start;
    }
    
    /* Overlay para cerrar el menú */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity var(--transition-speed) ease;
    }
    
    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    margin: 2rem 0;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.hero-cta {
    margin-top: 2rem;
}

.summer-promo {
    background: linear-gradient(45deg, var(--primary-color), #ffd700);
    color: #333;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all var(--transition-speed) ease;
    animation: pulse 2s infinite;
}

.summer-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #8b5e00;
    border-color: #8b5e00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 94, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== SECCIONES ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICIOS ===== */
.services {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ===== RESERVAS ===== */
.reservas {
    background-color: white;
}

.reservas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.reservas-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-methods {
    margin: 1.5rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all var(--transition-speed) ease;
}

.contact-method:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-method i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.method-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
}

.method-value {
    display: block;
    font-size: 1.1rem;
}

.hours-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.hours-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 5rem 0;
    background-color: #fff;
}

.services-section .section-header h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.services-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.services-section .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: rgb(193, 178, 92);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 4.5rem;
}

.service-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* ===== ABOUT ===== */
.about {
    background-color: #f8f9fa;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.about-text .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 400;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem;
    font-weight: 600;
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.image-placeholder {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    margin: 0 auto;
}

.image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.image-placeholder p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Responsive styles */
@media (min-width: 992px) {
    .about-content {
        grid-template-columns: 2fr 1fr;
        align-items: flex-start;
    }
    
    .about-text {
        padding-right: 2rem;
    }
    
    .about-image {
        margin-top: 0;
        position: sticky;
        top: 2rem;
    }
    
    .about-text h2 {
        text-align: left;
    }
    
    .about-text h2::after {
        left: 0;
        transform: none;
    }
    
    .about-text .subtitle {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 3rem 0;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-certifications {
    margin-top: 2rem;
}

.about-certifications h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-certifications ul {
    list-style: none;
    padding-left: 0;
}

.about-certifications li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-certifications li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: #e9ecef;
    padding: 3rem;
    border-radius: 10px;
    color: #6c757d;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background-color: white;
}

.reviews-widget {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== FAQ ===== */
.faq {
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== CONTACT ===== */
.contact {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-details i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.contact-details a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.opening-hours {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.opening-hours h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--background-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.footer-info a {
    color: white;
    text-decoration: none;
}

.footer-info a:hover {
    color: var(--primary-color);
}

.footer-links h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* ===== UTILIDADES ===== */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1002;
}

.skip-link:focus {
    top: 6px;
}

/* ===== RESPONSIVE DESIGN ADICIONAL ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .reservas-content,
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-map iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .service-card,
    .contact-card,
    .contact-info {
        padding: 1.5rem;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 0.9rem;
    }
    
    .flag-icon img {
        width: 16px;
        height: 12px;
    }
}



/* ===== ESTILOS ADICIONALES PARA FAQ ===== */
.faq-category-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition-speed) ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question[aria-expanded="true"] {
    background-color: var(--primary-color);
    color: white;
}

.faq-question-text {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
    min-width: 30px;
    text-align: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease;
    background-color: #f8f9fa;
}

.faq-answer-content {
    padding: 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== ESTILOS PARA BOTÓN VOLVER ARRIBA ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background-color: #8b5e00;
}

/* ===== ESTILOS PARA OVERLAY DEL MENÚ ===== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== MEJORAS PARA LA NAVEGACIÓN ===== */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ===== ESTILOS PARA ELEMENTOS LAZY LOADING ===== */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== FOCUS STYLES MEJORADOS ===== */
.menu-link:focus,
.lang-btn:focus,
.btn:focus,
.faq-question:focus,
.back-to-top:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== RESPONSIVE ADICIONAL PARA FAQ ===== */
@media (max-width: 768px) {
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 1rem;
    }
    
    .faq-category-title {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .faq-icon {
        font-size: 1.3rem;
        min-width: 25px;
    }
}

/* ===== ANIMACIONES ADICIONALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.3s; }
.faq-item:nth-child(5) { animation-delay: 0.4s; }

/* ===== MEJORAS PARA TOUCH DEVICES ===== */
@media (hover: none) and (pointer: coarse) {
    .menu-link:hover,
    .btn:hover,
    .service-card:hover {
        transform: none;
    }
    
    .menu-link:active,
    .btn:active {
        transform: scale(0.98);
    }
}

/* ===== ESTILOS PARA ESTADOS DE CARGA ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

