/* =============================================
   ESTILOS PROFESIONALES PARA DETAILING TEAM
   =============================================
   Versión: 3.3 (Con correcciones de modo oscuro en header)
   Fecha: 20/06/2026
   ============================================= */

/* ============================================= */
/* VARIABLES GLOBALES (Modo claro por defecto)   */
/* ============================================= */
:root {
    /* Colores principales */
    --primary-blue: #0a2b5c;
    --secondary-blue: #1e4a7a;
    --accent-gold: #c9a959;
    
    /* Colores neutros */
    --light-gray: #f4f7fb;
    --dark-gray: #333333;
    --white: #ffffff;
    
    /* Estados y feedback */
    --success-green: #2e7d32;
    --error-red: #c62828;
    --error-bg: #ffebee;
    --success-bg: #e8f5e9;
    
    /* Redes sociales */
    --whatsapp-green: #25D366;
    --facebook-blue: #1877F2;
    --instagram-pink: #E4405F;
    --instagram-purple: #833AB4;
    --instagram-orange: #FCAF45;
    --map-red: #EA4335;
    
    /* Métodos de pago */
    --paypal-blue: #003087;
    --venmo-blue: #0085CA;
    --cashapp-green: #00D632;
    --applepay-black: #000000;
    --googlepay-blue: #4285F4;
    --zelle-purple: #6A1B9A;
    --sms-blue: #34b7f1;
    
    /* Variables dinámicas (cambian con el tema) */
    --bg-primary: var(--light-gray);
    --text-primary: var(--dark-gray);
    --card-bg: var(--white);
    --footer-text: rgba(255,255,255,0.8);
}

/* ============================================= */
/* MODO OSCURO - SOBREESCRIBE VARIABLES         */
/* ============================================= */
body.dark-mode {
    --primary-blue: #1e3a5f;
    --secondary-blue: #2b4c7c;
    --accent-gold: #d4af37;
    --light-gray: #1a1a1a;
    --dark-gray: #e0e0e0;
    --white: #2d2d2d;
    --success-green: #4caf50;
    --error-red: #f44336;
    --error-bg: #4a2c2c;
    --success-bg: #1e3a2e;
    --bg-primary: #121212;
    --text-primary: #f0f0f0;
    --card-bg: #2a2a2a;
    --footer-text: #dddddd;
}

body.dark-mode {
    background: linear-gradient(180deg, #121212 0%, #1a1a2e 100%);
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s, color 0.3s;
}

/* Tipografía para títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

/* ============================================= */
/* HEADER                                        */
/* ============================================= */
header {
    background: linear-gradient(135deg, #0a2b5c 0%, #0a0f1f 70%, #000000 100%);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

body.dark-mode header {
    background: linear-gradient(135deg, #0a1a3a 0%, #0d1117 50%, #000000 100%);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.logo {
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.header-controls {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ============================================= */
/* SELECTOR DE IDIOMA                           */
/* ============================================= */
.language-selector {
    display: flex;
    gap: 0.3rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

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

.lang-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-blue);
}

/* ============================================= */
/* SWITCH DE TEMA                               */
/* ============================================= */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
}

.slider i {
    font-size: 16px;
    color: #fff;
    z-index: 1;
}

.slider .fa-sun {
    margin-left: 2px;
}

.slider .fa-moon {
    margin-right: 2px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    z-index: 2;
}

input:checked + .slider {
    background-color: var(--primary-blue);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* ============================================= */
/* NAVEGACIÓN                                    */
/* ============================================= */
nav {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.8rem 1.5rem;
    margin: 0 auto;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.4rem;
    border-radius: 40px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.3px;
    font-family: 'Montserrat', sans-serif;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-menu a:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-color: transparent;
}

.nav-menu a.active {
    background: var(--accent-gold);
    color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-color: transparent;
}

body.dark-mode nav {
    background: linear-gradient(135deg, #0a1a3a 0%, #0d1117 100%);
}

body.dark-mode .nav-menu a {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

/* ============================================= */
/* SECCIONES                                     */
/* ============================================= */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--card-bg);
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

h2 i, h3 i, h4 i {
    margin-right: 0.5rem;
    color: var(--accent-gold);
}

.section-description {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* ============================================= */
/* TARJETAS DE SERVICIOS                        */
/* ============================================= */
.services-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card, .product-card {
    background: var(--card_bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eaeef2;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent-gold);
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.card-content {
    padding: 1.8rem;
}

.service-name, .product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.service-price, .product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-green);
    margin: 1rem 0;
    font-family: 'Montserrat', sans-serif;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
}

/* ============================================= */
/* BOTONES                                       */
/* ============================================= */
.btn {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.btn-gold:hover {
    background: #b8943f;
}

.btn-block {
    width: 100%;
}

/* ============================================= */
/* FORMULARIOS                                   */
/* ============================================= */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: 'Lato', sans-serif;
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}

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: 1em;
}

/* ============================================= */
/* CONTACTO                                      */
/* ============================================= */
.contact-info-box {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-buttons-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 220px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: 'Montserrat', sans-serif;
}

.contact-btn i {
    font-size: 2rem;
}

.contact-btn .btn-content {
    display: flex;
    flex-direction: column;
}

.contact-btn .btn-title {
    font-weight: 700;
    font-size: 1rem;
}

.contact-btn .btn-detail {
    font-size: 0.85rem;
    opacity: 0.9;
    font-family: 'Lato', sans-serif;
}

.contact-btn.phone-btn {
    background: linear-gradient(135deg, #0a2b5c, #1e4a7a);
    color: white;
}
.contact-btn.sms-btn {
    background: linear-gradient(135deg, #34b7f1, #1e8fc9);
    color: white;
}
.contact-btn.email-btn {
    background: linear-gradient(135deg, #ea4335, #c5221f);
    color: white;
}
.contact-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

body.dark-mode .contact-btn {
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

body.dark-mode .contact-btn.phone-btn {
    background: linear-gradient(135deg, #0a1a3a, #0d1117);
}
body.dark-mode .contact-btn.sms-btn {
    background: linear-gradient(135deg, #1a5c7a, #0d3b4f);
}
body.dark-mode .contact-btn.email-btn {
    background: linear-gradient(135deg, #8b2c26, #5c1a16);
}
body.dark-mode .contact-btn.whatsapp-btn {
    background: linear-gradient(135deg, #1a6e4a, #0d4a33);
}

.social-section {
    text-align: center;
}

.social-title {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
    color: white;
}

.social-link.whatsapp {
    background: var(--whatsapp-green);
}
.social-link.facebook {
    background: var(--facebook-blue);
}
.social-link.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-link.sms {
    background: var(--sms-blue);
}
.social-link:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ============================================= */
/* MÉTODOS DE PAGO                              */
/* ============================================= */
.payment-methods {
    margin-top: 3rem;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
}

.payment-icon span {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: var(--text-primary);
    font-family: 'Lato', sans-serif;
}

/* ============================================= */
/* GALERÍA                                       */
/* ============================================= */
#galeria {
    background-color: var(--card-bg);
    transition: background-color 0.3s;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 40px;
}

.gallery-grid {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 0.67rem);
    min-width: 280px;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #eaeef2;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: var(--accent-gold);
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dark-gray);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    opacity: 1;
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* ============================================= */
/* PASARELA DE PAGOS                            */
/* ============================================= */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.payment-option-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.payment-option-icon {
    font-size: 3rem;
    min-width: 80px;
    text-align: center;
}

.payment-option-icon .fa-paypal {
    color: #003087;
}

.payment-option-icon .fa-money-bill-wave {
    color: var(--success-green);
}

.payment-option-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
}

.payment-option-info p {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

.payment-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

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

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-section p, .footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    line-height: 2;
    font-family: 'Lato', sans-serif;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.copyright p {
    margin-top: 0.5rem;
    font-family: 'Lato', sans-serif;
}

/* ============================================= */
/* QR Y DESARROLLADOR - VERSIÓN MEJORADA        */
/* ============================================= */
.developer-section {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
}

.developer-section h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

/* --- TEXTO DEL QR CON ACABADO BISELADO DORADO --- */
.qr-message {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    /* Color dorado con efecto biselado (3D) */
    color: var(--accent-gold);
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.4),
        0 2px 0 rgba(0, 0, 0, 0.3),
        0 3px 0 rgba(0, 0, 0, 0.2),
        0 4px 4px rgba(0, 0, 0, 0.25);
    transition: text-shadow 0.3s ease;
}

/* Efecto hover para que se ilumine aún más */
.qr-message:hover {
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.6),
        0 2px 0 rgba(0, 0, 0, 0.4),
        0 3px 0 rgba(0, 0, 0, 0.3),
        0 6px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(201, 169, 89, 0.3);
}

/* Modo oscuro: más brillo y contraste */
body.dark-mode .qr-message {
    color: var(--accent-gold);
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 0 rgba(0, 0, 0, 0.5),
        0 3px 0 rgba(0, 0, 0, 0.4),
        0 4px 6px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(201, 169, 89, 0.15);
}

body.dark-mode .qr-message:hover {
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.5),
        0 2px 0 rgba(0, 0, 0, 0.6),
        0 3px 0 rgba(0, 0, 0, 0.5),
        0 6px 10px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(201, 169, 89, 0.25);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .qr-message {
        font-size: 1.2rem;
    }
}

/* ============================================= */
/* QR CONTAINER                                  */
/* ============================================= */
.qr-container {
    display: inline-block;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin: 1rem 0;
}

.qr-container img {
    display: block;
    width: 180px;
    height: 180px;
}

/* ============================================= */
/* ESTADÍSTICAS (VISITAS Y RESERVAS)             */
/* ============================================= */
.stats-footer {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1.5rem 0;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 0.5rem 1.5rem;
}

.stat-box i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.3rem;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    font-family: 'Lato', sans-serif;
    color: var(--footer-text);
    opacity: 0.8;
    margin-top: 0.2rem;
}

/* Modo oscuro - se mantiene igual porque usa variables */
body.dark-mode .stats-footer {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .stat-number {
    color: var(--accent-gold);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .stats-row {
        gap: 2rem;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .stat-box {
        padding: 0.5rem 1rem;
    }
    .stat-box i {
        font-size: 1.8rem;
    }
}

/* ============================================= */
/* AJUSTES MODO OSCURO - BOTONES HEADER         */
/* ============================================= */
body.dark-mode .lang-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

body.dark-mode .lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
}

body.dark-mode .lang-btn.active {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border-color: var(--accent-gold);
}

body.dark-mode .slider {
    background-color: #444;
}

body.dark-mode .slider:before {
    background-color: #ddd;
}

body.dark-mode input:checked + .slider {
    background-color: var(--accent-gold);
}

body.dark-mode input:checked + .slider:before {
    background-color: var(--primary-blue);
}

/* ============================================= */
/* CLASES UTILITARIAS                            */
/* ============================================= */
.hidden {
    display: none !important;
}

.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;
}

/* ============================================= */
/* RESPONSIVE                                    */
/* ============================================= */
@media (max-width: 768px) {
    .header-controls {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .header-top {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        max-height: 90px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .nav-menu a {
        justify-content: center;
        padding: 0.6rem 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .gallery-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .contact-buttons-section {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn {
        justify-content: center;
    }

    .payment-option-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .payment-option-icon {
        font-size: 2.5rem;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .service-price, .product-price {
        font-size: 1.5rem;
    }

    .gallery-item {
        flex: 0 0 100%;
    }

    .slider-container {
        padding: 0 30px;
    }

    .logo {
        max-height: 80px;
    }

    .header-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================= */
/* ENLACES DE TARJETAS DE SERVICIOS              */
/* ============================================= */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card-link:hover {
    text-decoration: none;
}

.service-card-link .service-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

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

body.dark-mode .service-card-link:hover .service-card {
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.2);
}

/* ============================================= */
/* PÁGINAS DE DETALLE DE SERVICIOS               */
/* ============================================= */
.service-detail-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.back-button-container {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.btn-back:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(-5px);
}

.service-detail-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-detail-header {
    position: relative;
    text-align: center;
}

.service-detail-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.service-detail-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0a2b5c 0%, #1e4a7a 100%);
    color: var(--white);
    margin: 0;
    padding: 1rem;
    font-size: 2rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.service-detail-content {
    padding: 2.5rem;
}

.service-detail-description h2,
.service-detail-prices h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
}

.service-detail-description ul {
    list-style: none;
    padding: 0;
}

.service-detail-description ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Lato', sans-serif;
}

.service-detail-description ul li i {
    color: var(--success-green);
    font-size: 1.2rem;
}

.service-note {
    background: var(--bg-secondary, #f5f5f5);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--accent-gold);
    font-family: 'Lato', sans-serif;
}

.service-detail-prices {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color, #e0e0e0);
}

.price-option {
    background: var(--bg-secondary, #f5f5f5);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.price-option:hover {
    transform: translateY(-3px);
}

.price-option.featured {
    background: linear-gradient(135deg, #0a2b5c 0%, #1e4a7a 100%);
    color: white;
}

.price-option.featured .price-amount-container .price-amount {
    color: var(--accent-gold);
}

.price-option-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-option-header i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.price-option-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
}

.price-amount-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-green);
    font-family: 'Montserrat', sans-serif;
}

.price-option.featured .price-amount {
    color: var(--accent-gold);
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.8;
    font-family: 'Lato', sans-serif;
}

.price-description {
    margin: 0;
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
}

.price-additional-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary, #f5f5f5);
    border-radius: 12px;
}

.price-additional-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.price-additional-info i {
    color: var(--accent-gold);
}

.service-detail-action {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color, #e0e0e0);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.action-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.7;
    font-family: 'Lato', sans-serif;
}

/* Modo oscuro */
body.dark-mode .service-note,
body.dark-mode .price-option,
body.dark-mode .price-additional-info {
    background-color: #2a2a3a;
}

body.dark-mode .price-option.featured {
    background: linear-gradient(135deg, #0a1a3a 0%, #0d1117 100%);
}

@media (max-width: 768px) {
    .service-detail-content {
        padding: 1.5rem;
    }
    
    .service-detail-title {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .price-option-header h3 {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}