/* === VARIABLES CSS - TEMA OSCURO PORCELÁNICO === */
:root {
    /* Paleta revisada para mejor contraste */
    --primary-color: #121212;
    --secondary-color: #1b1b1b;
    --accent-color: #2a2a2a;
    --text-color: #e9e9e9;
    --text-light: #b6b6b6;
    --white: #f2f2f2;
    --light-bg: #202020;
    --success-color: #27ae60; /* badges verdes mejores */
    --warning-color: #f2c94c;
    --danger-color: #e74c3c;
    --border-color: #2e2e2e;
    --shadow: 0 10px 30px rgba(0,0,0,.5);
    --shadow-large: 0 20px 60px rgba(0,0,0,.6);

    /* Gradientes temáticos */
    --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    --gradient-accent: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);

    /* Sombras */
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-large: 0 24px 64px rgba(0, 0, 0, 0.8);

    /* Bordes y espaciado */
    --border-radius: 12px;
    --border-radius-large: 20px;
    --border-color: #3a3a3a;

    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--primary-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilidades */
.highlight {
    background: linear-gradient(45deg, #4a4a4a, #5a5a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
}

.section-badge.light {
    background: rgba(74, 74, 74, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-description.light {
    color: rgba(255, 255, 255, 0.8);
}

/* Valores destacados (sección Acerca) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.value-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(147, 51, 234, 0.45);
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.18), rgba(126, 34, 206, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-color);
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(147, 51, 234, 0.25);
}

.value-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--white);
}

.value-content p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.25rem;
    }

    .value-card {
        padding: 1.5rem;
    }
}

@media (max-width: 560px) {
    .value-card {
        flex-direction: column;
        text-align: left;
    }

    .value-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

/* Header y Navegación mejorados - TEMA OSCURO */
header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.8);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

header.scrolled {
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(30px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 1002;
    position: relative;
}

.logo i {
    font-size: 1.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(1.2);
    transition: var(--transition);
}

.logo:hover .logo-img {
    filter: brightness(1.4) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
}

/* Botón Admin cuadrado */
.admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(126, 34, 206, 0.1));
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 10px;
    color: #a855f7;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.admin-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(126, 34, 206, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-btn:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(126, 34, 206, 0.2));
    border-color: #9333ea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.admin-btn:hover::before {
    opacity: 1;
}

.admin-btn i {
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

/* Contenedor de marca con logo y botón admin */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botón de acceso administrativo */
.admin-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    background: transparent;
    color: var(--text-light);
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    gap: 0.5rem;
}

.admin-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 74, 74, 0.2), transparent);
    transition: var(--transition);
}

.admin-login-btn:hover::before {
    left: 100%;
}

.admin-login-btn:hover {
    background: rgba(58, 58, 58, 0.3);
    color: var(--white);
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.admin-login-btn i {
    font-size: 1rem;
    opacity: 0.8;
    transition: var(--transition);
}

.admin-login-btn:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.menu li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    white-space: nowrap;
}

.menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 74, 74, 0.2), transparent);
    transition: var(--transition);
}

.menu li a:hover::before {
    left: 100%;
}

.menu li a:hover {
    background: rgba(58, 58, 58, 0.3);
    color: var(--white);
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.menu li a i {
    font-size: 1rem;
    opacity: 0.8;
    transition: var(--transition);
}

.menu li a:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Botón hamburguesa mejorado */
.menu-toggle {
    display: none; /* Oculto por defecto en desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.65rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Overlay para cerrar menú en móvil */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
}

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

/* Prevenir scroll del body cuando menú está abierto */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Estilos para menú móvil profesional */
.menu.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    overflow-y: auto;
}

/* Fallback mobile menu panel (used when original .menu positioning fails) */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #101010 0%, #0b0b0b 100%);
    padding: 0;
    z-index: 1001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.6);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
}

.mobile-menu-panel.active {
    transform: translateX(0);
}

.mobile-menu-panel .mobile-menu-header {
    height: 72px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mobile-menu-panel .mobile-menu-nav {
    display:flex;
    flex-direction:column;
}

.mobile-menu-panel .mobile-menu-nav a {
    padding: 1.2rem 1.25rem;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    cursor: pointer;
}

.menu.mobile-menu.active {
    right: 0;
}

/* Header del menú móvil */
.menu.mobile-menu::before {
    content: '';
    display: block;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.menu.mobile-menu li {
    margin: 0;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInMenu 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    list-style: none;
}

.menu.mobile-menu li:nth-child(1) { animation-delay: 0.1s; }
.menu.mobile-menu li:nth-child(2) { animation-delay: 0.15s; }
.menu.mobile-menu li:nth-child(3) { animation-delay: 0.2s; }
.menu.mobile-menu li:nth-child(4) { animation-delay: 0.25s; }

.menu.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu.mobile-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 0 4px 4px 0;
    transition: height 0.3s ease;
}

.menu.mobile-menu a:hover,
.menu.mobile-menu a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding-left: 2.5rem;
}

.menu.mobile-menu a:hover::before,
.menu.mobile-menu a.active::before {
    height: 60%;
}

.menu.mobile-menu a i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.menu.mobile-menu a:hover i,
.menu.mobile-menu a.active i {
    color: #fff;
    transform: scale(1.15);
}

/* Animaciones para el menú hamburguesa mejoradas */
.menu-toggle.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(30px) rotate(180deg);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 50vh;
    display: grid;
    place-items: center;
    padding-top: 100px;
    padding-bottom: 2rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 20% 20%, rgba(255, 255, 255, .06), transparent),
        radial-gradient(600px 300px at 80% 60%, rgba(255, 255, 255, .04), transparent);
    mix-blend-mode: screen;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 1rem;
    padding-bottom: 1rem;
}

.hero .cta-button {
    padding: .8rem 1.2rem;
    border-radius: 10px;
    background: var(--gradient-accent);
    color: #fff;
    border: 1px solid var(--border-color);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-tile {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(58, 58, 58, 0.1);
    border: 1px solid rgba(74, 74, 74, 0.2);
    border-radius: var(--border-radius);
    animation: float 20s infinite linear;
    backdrop-filter: blur(5px);
}

.floating-tile.tile-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-tile.tile-2 {
    top: 20%;
    right: 15%;
    animation-delay: 5s;
}

.floating-tile.tile-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
}

.floating-tile.tile-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 15s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-60px) rotate(0deg);
        opacity: 0.8;
    }

    75% {
        transform: translateY(-30px) rotate(-5deg);
        opacity: 0.6;
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(58, 58, 58, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 74, 74, 0.3);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-large);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.hero-badge i {
    color: #4a4a4a;
    font-size: 1.2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(58, 58, 58, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 74, 74, 0.3);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(74, 74, 74, 0.3);
    border-color: rgba(90, 90, 90, 0.5);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Hide carousel indicators on desktop */
.hero-stats-indicators {
    display: none;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    /* Separación de la flecha */
}

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

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    min-width: 220px;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    border: 1px solid var(--border-color);
    text-transform: none;
    letter-spacing: 0.02em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid;
}

.cta-button.primary {
    background: var(--gradient-accent);
    color: #fff;
    border-color: #4a4a4a;
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--border-color);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-button:hover::before {
    left: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    color: var(--white);
    z-index: 10;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.9;
}

.scroll-text {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    opacity: 0.8;
    color: var(--text-light);
    display: none; /* Ocultar el texto, solo mostrar la flecha */
}

.scroll-arrow {
    font-size: 1.25rem;
    color: var(--text-light);
    opacity: 0.7;
}

.mobile-section-arrow {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.mobile-section-arrow i {
    font-size: 1.35rem;
    color: var(--text-light);
    animation: arrowPulse 1.4s ease-in-out infinite;
}

@keyframes arrowPulse {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(6px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }
}


@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive mejorado para scroll indicator */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 0.75rem;
        font-size: 0.85rem;
    }

    .scroll-arrow {
        font-size: 1rem;
    }

    .hero-content {
        padding-bottom: 4rem;
    }

    .hero-actions {
        margin-bottom: 3rem;
    }

    /* MINIMALISMO MÓVIL GENERAL */
    .floating-elements,
    .hero-overlay,
    .section-description,
    .footer-quality-badges,
    .scroll-indicator {
        display: none !important;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        align-items: flex-end;
        padding-bottom: 1rem;
    }
    
    .card-actions {
        display: none; /* Ocultar botones de acción rápida en móvil */
    }
}

/* Sección Productos - TEMA OSCURO */
.productos {
    padding: 8rem 2rem;
    background: var(--gradient-primary);
    position: relative;
}

.productos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.producto-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border-color);
}

.producto-card.featured {
    grid-column: span 1;
    transform: scale(1.02);
    border-color: #4a4a4a;
}

.producto-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-large);
    border-color: #5a5a5a;
}

.card {
    background: #151515;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: grayscale(20%) contrast(1.1);
}

.producto-card:hover .card-image img {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(1.2);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(44, 44, 44, 0.6) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.producto-card:hover .card-overlay {
    opacity: 1;
}

.card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(58, 58, 58, 0.9);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(74, 74, 74, 0.5);
}

.card-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    background: rgba(74, 74, 74, 0.9);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(90, 90, 90, 0.5);
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.action-btn:hover {
    background: rgba(90, 90, 90, 0.9);
    transform: scale(1.1);
    border-color: #6a6a6a;
}

.card-content {
    padding: 2rem;
    color: var(--text-color);
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.card-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: rgba(58, 58, 58, 0.5);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(74, 74, 74, 0.3);
}

.feature i {
    color: #4a4a4a;
    font-size: 0.9rem;
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.price-from {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.price-amount {
    font-size: 2rem;
    color: var(--white);
    font-weight: 800;
}

.price-unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.productos-cta {
    text-align: center;
    background: #1a1a1a;
    color: var(--white);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-large);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #2a2a2a;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.productos-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.productos-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.productos-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.productos-cta .cta-button {
    background: #000000;
    color: #ffffff;
    border: 2px solid #1a1a1a;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.productos-cta .cta-button:hover {
    background: #1a1a1a;
    border-color: #2a2a2a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

/* Sección Servicios */
.servicios {
    padding: 8rem 2rem;
    background: var(--secondary-color);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--primary-color);
    border-radius: var(--border-radius-large);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.servicio-card:hover::before {
    opacity: 0.1;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: #4a4a4a;
}

.servicio-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    border: 2px solid var(--border-color);
}

.servicio-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.servicio-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Sección Contacto - TEMA OSCURO */
.contacto {
    padding: 8rem 2rem;
    position: relative;
    color: var(--white);
    background: var(--gradient-dark);
}

.contacto-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%),
        url('/static/img/porcelanico.jpg') center/cover;
    z-index: -2;
}

.contacto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(74,74,74,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    z-index: -1;
}

.contacto-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contacto-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    /* Aumentado de 4rem a 5rem para más separación entre formulario e info */
    margin-bottom: 4rem;
}

.contacto-form-container {
    background: rgba(44, 44, 44, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 74, 74, 0.3);
    border-radius: var(--border-radius-large);
    padding: 3rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.form-header p {
    opacity: 0.8;
    font-size: 1rem;
    color: var(--text-light);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(58, 58, 58, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a4a4a;
    background: rgba(74, 74, 74, 0.4);
    box-shadow: 0 0 20px rgba(74, 74, 74, 0.3);
}

/* Estilos mejorados para las opciones del select con mejor contraste */
.form-group select {
    background: rgba(30, 30, 30, 0.9) !important;
    color: #ffffff !important;
    border: 2px solid rgba(90, 90, 90, 0.5);
    font-weight: 500;
    cursor: pointer;
}

.form-group select:focus {
    background: rgba(40, 40, 40, 0.95) !important;
    border-color: #4a4a4a;
    box-shadow: 0 0 20px rgba(74, 74, 74, 0.4);
}

.form-group select option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border: none !important;
    min-height: 40px !important;
}

.form-group select option:hover {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}

.form-group select option:checked,
.form-group select option:selected {
    background-color: #4a4a4a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Mejor contraste para el select abierto */
.form-group select:focus option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Estilos específicos para el select proyecto con máximo contraste */
#proyecto {
    background: rgba(20, 20, 20, 0.95) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    border: 2px solid rgba(100, 100, 100, 0.6) !important;
}

#proyecto:focus {
    background: rgba(30, 30, 30, 0.98) !important;
    border-color: #5a5a5a !important;
    box-shadow: 0 0 25px rgba(90, 90, 90, 0.5) !important;
}

#proyecto option {
    background-color: #0f0f0f !important;
    color: #ffffff !important;
    padding: 1.2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    min-height: 45px !important;
}

#proyecto option:hover {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}

#proyecto option:checked,
#proyecto option:selected {
    background-color: #4a4a4a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Estilos específicos para diferentes navegadores */
@-moz-document url-prefix() {
    /* Estilos específicos para Firefox */
    .form-group select option {
        background-color: #1a1a1a !important;
        color: #ffffff !important;
    }
}

/* Webkit browsers (Chrome, Safari, Edge) */
.form-group select::-webkit-scrollbar {
    width: 8px;
}

.form-group select::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.form-group select::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
}

.form-group select::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

#proyecto option[value=""] {
    color: #999999;
    font-style: italic;
}

.submit-button {
    width: 100%;
    padding: 1.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #4a4a4a 0%, #5a5a5a 100%);
}

/* Botones base */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #2a2a2a;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
    background: #333;
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #fff;
}

.btn-danger {
    background: var(--danger-color);
    border-color: var(--danger-color);
    color: #fff;
}

.btn-warning {
    background: #a88734;
    border-color: #a88734;
    color: #fff;
}

.btn-small {
    padding: .45rem .7rem;
    border-radius: 8px;
    font-size: .9rem;
}

/* Grid de servicios/productos */
.products-grid,
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

@media (max-width: 1100px) {
    .products-grid,
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid,
    .servicios-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: #0e0e0e;
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

/* Admin Panel */
.admin-header {
    background: #111;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 5;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .9rem 0;
}

.admin-main.container {
    padding-top: 1.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: #191919;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #9b87f5;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: .2px;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
}

.filters {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
}

.input-group {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #191919;
    border: 1px solid var(--border-color);
    padding: .5rem .75rem;
    border-radius: 10px;
}

.input-group input {
    background: transparent;
    border: 0;
    color: #e9e9e9;
    outline: none;
}

select {
    background: #191919;
    color: #e9e9e9;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: .5rem .75rem;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
}

.products-table th,
.products-table td {
    padding: .75rem;
    border-bottom: 1px solid #2a2a2a;
    vertical-align: middle;
}

.products-table th {
    color: var(--text-light);
    text-align: left;
    font-weight: 700;
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.stock-good {
    color: #2ecc71;
    font-weight: 700;
}

.stock-low {
    color: #f1c40f;
    font-weight: 700;
}

.stock-out {
    color: #e74c3c;
    font-weight: 700;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #151515;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 920px;
    width: 100%;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #2a2a2a;
}

.modal-body {
    padding: 1rem 1.25rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid #2a2a2a;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: #191919;
    color: #e9e9e9;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: .6rem .8rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.span-2 {
    grid-column: span 2;
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: .9rem 1.1rem;
    border-radius: 10px;
    color: #fff;
    background: #2a2a2a;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 10000;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background: var(--success-color);
}

.notification.error {
    background: var(--danger-color);
}

.notification.warning {
    background: var(--warning-color);
}

/* Responsivo admin */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   MEJORAS RESPONSIVE COMPLETAS
   ============================== */

/* Breakpoints adicionales */
@media (max-width: 1400px) {
    .hero {
        padding: 6rem 2rem 4rem;
    }

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

    .productos-grid,
    .servicios-grid {
        gap: 2rem;
    }
}

@media (max-width: 1200px) {
    .hero h1 {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .servicios-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-main {
        grid-template-columns: 1.5fr 1.2fr 1.3fr;
        gap: 3rem;
    }

    .footer-container {
        padding: 4rem 1.5rem 0;
    }

    .footer-quality-badges {
        flex-wrap: wrap;
    }

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

@media (max-width: 992px) {
    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .contacto-container {
        flex-direction: column;
    }

    .contacto-info-wrapper {
        flex-direction: column;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-services {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        max-width: none;
        margin: 0 auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-quality-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .contact-grid {
        max-width: 600px;
        margin: 0 auto;
    }

    .social-grid {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem 3rem;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .section-description {
        font-size: 1rem;
    }

    .productos-grid,
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contacto {
        padding: 4rem 1rem;
    }

    .contacto-container {
        max-width: 100%;
        padding: 2rem 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .info-contacto {
        margin-top: 2rem;
    }

    .info-items {
        grid-template-columns: 1fr;
    }

    .footer-content {
        padding: 3rem 1rem 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-services {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Botón admin en móviles */
    .nav-brand {
        gap: 0.5rem;
    }

    .admin-login-btn {
        padding: 0.6rem 1rem;
    }

    .admin-login-btn i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        bottom: 1rem;
        font-size: 0.8rem;
    }

    .scroll-arrow {
        font-size: 1rem;
    }

    .hero-content {
        padding-bottom: 3rem;
    }

    .hero-actions {
        margin-bottom: 2rem;
    }

    .footer-container {
        padding: 2rem 0.75rem 0;
    }

    .footer-main {
        gap: 2rem;
    }

    .footer-wave {
        height: 50px;
    }

    .footer-logo .logo-text h3 {
        font-size: 1.6rem;
    }

    .footer-quality-badges {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .quality-badge {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .footer-certifications {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .legal-navigation {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .footer-bottom {
        padding: 2rem 0;
    }
}

@media (max-width: 360px) {
    .footer-container {
        padding: 1.5rem 0.5rem 0;
    }

    .footer-logo-img {
        width: 50px;
        height: 50px;
    }

    .footer-logo .logo-text h3 {
        font-size: 1.4rem;
    }

    .footer-quality-badges {
        gap: 0.4rem;
    }

    .quality-badge {
        padding: 0.6rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }
}

/* ==============================
   FOOTER MINIMALISTA Y PROFESIONAL
   ============================== */

.footer {
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0.98) 0%,
        rgba(15, 15, 15, 1) 100%);
    color: var(--white);
    margin-top: 3rem;
    border-top: 1px solid rgba(74, 74, 74, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1.5rem;
}

/* Contenido principal del footer */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

/* Marca de la empresa */
.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Enlaces de navegación */
.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.footer-link:hover {
    color: var(--white);
    transform: translateX(3px);
}

/* Información de contacto */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
}

.contact-item i {
    color: #4a4a4a;
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--white);
}

.contact-item span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Redes sociales */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(74, 74, 74, 0.15);
    border: 1px solid rgba(90, 90, 90, 0.2);
    transition: all 0.3s ease;
    color: var(--text-light);
}

.social-link:hover {
    background: rgba(74, 74, 74, 0.3);
    color: var(--white);
    transform: translateY(-2px);
    border-color: rgba(90, 90, 90, 0.4);
}

.social-link i {
    font-size: 0.9rem;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(74, 74, 74, 0.2);
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.footer-copyright strong {
    color: var(--white);
    font-weight: 600;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    background: rgba(74, 74, 74, 0.15);
    border: 1px solid rgba(90, 90, 90, 0.2);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(74, 74, 74, 0.25);
    color: var(--white);
    transform: translateY(-1px);
}

/* Responsive Footer Minimalista */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-contact {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }

    .footer-social {
        grid-column: span 1;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 2.5rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
        margin: 0 auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contact {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

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

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* MINIMALISMO MÓVIL GENERAL */
    .floating-elements,
    .hero-overlay,
    .section-description,
    .footer-quality-badges,
    .scroll-indicator {
        display: none !important;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        align-items: flex-end;
        padding-bottom: 1rem;
    }
    
    .card-actions {
        display: none; /* Ocultar botones de acción rápida en móvil */
    }
}

/* Ocultar mobileQuickNav en desktop por defecto */
#mobileQuickNav {
    display: none;
}

@media (max-width: 768px) {
    /* Navegación inferior prioritaria */
    .nav-menu,
    nav .menu {
        display: none !important;
    }

    .nav-toggle,
    .menu-toggle,
    #menuToggle {
        display: none !important;
    }

    .nav-menu a[href*="admin"],
    nav .menu a[href*="admin"],
    .admin-btn,
    .admin-login-btn {
        display: none !important;
    }

    .menu-overlay {
        display: none !important;
    }

    .mobile-section-arrow {
        display: flex;
        margin-bottom: 0.5rem;
    }

    .mobile-section-arrow i {
        color: #a855f7;
    }

    /* MINIMALISMO MÓVIL - INICIO (HOME) */
    .hero-subtitle {
        display: none !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-buttons .btn-secondary,
    .hero-buttons .btn-primary {
        display: flex !important;
        width: 100%;
        justify-content: center;
        padding: 1rem 1.1rem;
        font-size: 1.05rem;
    }

    /* Servicios simplificados */
    .services .section-header p {
        display: none !important;
    }
    
    .service-card p {
        display: none !important;
    }
    
    .service-card {
        padding: 1.5rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    
    .service-icon {
        margin: 0;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .service-card h3 {
        margin: 0;
        font-size: 1.1rem;
    }

    /* Acerca de simplificado */
    .acerca .section-badge,
    .acerca .section-description {
        display: none !important;
    }
    
    .value-card p {
        display: none !important;
    }
    
    .value-card {
        padding: 1rem;
        align-items: center;
    }
    
    .value-content h3 {
        margin: 0;
        font-size: 1rem;
    }
    
    .value-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Contacto simplificado */
    .contact .section-header p {
        display: none !important;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        background: rgba(255,255,255,0.03);
        border-radius: 8px;
    }

    /* Footer simplificado */
    .footer-logo p,
    .footer-column h4,
    .footer-links {
        display: none !important;
    }
    
    .footer-content {
        text-align: center;
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
    }

    /* Mobile Quick Nav */
    #mobileQuickNav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-around;
        padding: 0.8rem 0.5rem;
        z-index: 1100;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    }
    
    #mobileQuickNav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        color: var(--text-light);
        text-decoration: none;
        font-size: 0.7rem;
        transition: all 0.3s ease;
    }
    
    #mobileQuickNav a i {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }
    
    #mobileQuickNav a.active {
        color: var(--white);
    }
    
    #mobileQuickNav a.active i {
        color: #a855f7;
        transform: translateY(-2px);
    }
    
    /* Ajuste de padding inferior para navegación flotante */
    body {
        padding-bottom: 70px;
    }
}