/* ====== VARIABLES ====== */
:root {
    --primary-orange: #FF6B00;
    --primary-blue: #1E3A8A;
    --secondary-black: #1E1E1E;
    --white: #FFFFFF;
    --gray-light: #F5F5F7;
    --gray: #666666;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 107, 0, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ====== RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary-black);
    line-height: 1.6;
    background-color: var(--white);
    background-image: radial-gradient(var(--primary-orange) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    opacity: 0.97;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ====== GLASS EFFECT ====== */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: var(--glass-shadow);
}

/* ====== TIPOGRAFÍA ====== */
h1, h2, h3, h4 {
    color: var(--secondary-black);
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: #20ba5a;
}

/* ====== HEADER ====== */
.header {
    position: sticky;
    top: 10px;
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 10px;
}

.header-content {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--glass-shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 150px;
}

.logo-text h1 {
    font-size: 1.3rem;
    margin: 0;
    background: none;
    -webkit-text-fill-color: var(--secondary-black);
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--primary-orange);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* ====== SLIDER ====== */
.single-slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px;
}

.single-slider {
    position: relative;
    width: 100%;
    height: 400px;
}

.single-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.single-slider img.active {
    opacity: 1;
    z-index: 1;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary-orange);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    font-size: 1rem;
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-prev:hover, .slider-next:hover {
    background: var(--primary-orange);
    color: white;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,107,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-orange);
    transform: scale(1.2);
}

/* ====== NOSOTROS ====== */
.nosotros {
    padding: 60px 0;
}

.nosotros-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    text-align: center;
}

.nosotros-content p {
    margin: 1rem 0;
    color: var(--gray);
    font-size: 1.1rem;
}

.social-icons-header {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons-header a {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons-header a:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-3px);
}

/* ====== SERVICIOS ====== */
.servicios {
    padding: 60px 0;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.servicio-card {
    padding: 2rem;
    text-align: left;
    transition: all 0.3s;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255,107,0,0.15);
}

.servicio-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(30,58,138,0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.servicio-icon i {
    font-size: 2rem;
    color: var(--primary-orange);
}

.servicio-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.servicio-detalle {
    margin-top: 1rem;
}

.servicio-descripcion {
    color: var(--secondary-black);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.servicio-lista {
    list-style: none;
    margin-bottom: 1.5rem;
}

.servicio-lista li {
    margin-bottom: 0.7rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.servicio-lista li i {
    color: var(--primary-orange);
    font-size: 0.9rem;
    min-width: 20px;
}

.precio {
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(255,107,0,0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 0.5rem;
}

/* ====== GALERÍAS ====== */
.galeria-principal, .galeria-servicios, .opiniones {
    padding: 60px 0;
}

/* ====== CONTACTO ====== */
.contacto {
    padding: 60px 0;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 2rem;
}

#contactForm {
    padding: 2rem;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,107,0,0.2);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
}

.form-grid input:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.file-upload {
    margin: 10px 0;
}

.file-upload label {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(255,107,0,0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.file-upload label:hover {
    background: var(--primary-orange);
    color: white;
}

.file-upload input[type="file"] {
    display: none;
}

.gdpr-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin: 10px 0;
}

.gdpr-consent a {
    color: var(--primary-orange);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.gdpr-consent a:hover {
    text-decoration: underline;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.info-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.info-item a,
.info-item p {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
}

.info-item a:hover {
    color: var(--primary-orange);
}

.contacto-social {
    padding: 1.5rem;
    text-align: center;
}

.contacto-social h4 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-3px);
}

/* ====== FOOTER ====== */
.footer {
    background: var(--secondary-black);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
    border-radius: 40px 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo a {
    display: inline-block;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    max-width: 150px;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-slogan {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons-footer a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons-footer a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-legal h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-legal a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* ====== MODAL ====== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    margin: 50px auto;
    padding: 2.5rem;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--glass-bg);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-orange);
}

#modalContent {
    margin-top: 1rem;
}

#modalContent h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

#modalContent h3 {
    color: var(--primary-orange);
    margin: 1.5rem 0 0.8rem;
}

#modalContent p {
    margin-bottom: 1rem;
    color: var(--secondary-black);
    line-height: 1.7;
}

#modalContent ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--secondary-black);
}

#modalContent li {
    margin-bottom: 0.5rem;
}

#modalContent strong {
    color: var(--primary-blue);
}

/* ====== COOKIE CONSENT ====== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 450px;
    margin: 0 auto;
    padding: 1.5rem;
    display: none;
    z-index: 9999;
    background: var(--primary-blue);
    border: 2px solid var(--primary-orange);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.cookie-content p {
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-content i {
    color: var(--primary-orange);
    margin-right: 5px;
}

.cookie-content a {
    color: var(--primary-orange);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    flex: 1;
    min-width: 100px;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,0,0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .contacto-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        background: var(--glass-bg);
        backdrop-filter: blur(12px);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        padding: 1.5rem;
        display: none;
        box-shadow: var(--glass-shadow);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .single-slider {
        height: 250px;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .nosotros-content p {
        font-size: 1rem;
    }
    
    .cookie-consent {
        max-width: none;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text p {
        font-size: 0.7rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .single-slider {
        height: 200px;
    }
    
    .servicio-card {
        padding: 1.5rem;
    }
    
    .servicio-icon {
        width: 50px;
        height: 50px;
    }
    
    .servicio-icon i {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 30px auto;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}