* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #211670;
    --primary-light: #27a6b7;
    --secondary: #ff9800;
    --secondary-dark: #e68900;
    --dark: #333;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --whatsapp: #25D366;
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.5;
    background-color: var(--light);
    padding-top: 80px;
    font-size: 14px;
}
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: var(--shadow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 78, 176, 0.3);
}
.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: white;
}
.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: var(--shadow);
    border: none;
}
.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.section {
    padding: 50px 0;
}
.text-center {
    text-align: center;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    background: linear-gradient(rgb(255, 253, 253), white) padding-box,
                linear-gradient(90deg, var(--primary), var(--secondary)) border-box;
    border-bottom: 2px solid transparent;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}
.logo-imagen {
    height: 55px;
    width: auto;
    transition: var(--transition);
}
.logo-imagen:hover {
    transform: scale(1.05) rotate(-2deg);
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}
.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    transform: translateY(-1px);
}
.nav-link:hover i {
    transform: translateX(2px);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}
.icon-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.icon-btn:hover {
    transform: translateY(-2px) rotate(3deg);
    box-shadow: var(--shadow-hover);
}
.menu-toggle {
    display: none;
    font-size: 1.2rem;
}
.search-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    padding: 80px 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.search-container.active {
    display: block;
    opacity: 1;
}
.search-box {
    max-width: 600px;
    margin: 0 auto;
}
.search-input {
    width: 100%;
    padding: 15px 25px;
    font-size: 1.2rem;
    border: none;
    border-radius: 40px;
    background: white;
    color: var(--dark);
    outline: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.search-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
}
.search-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}
.search-results {
    max-width: 600px;
    margin: 20px auto 0;
    background: white;
    border-radius: 15px;
    padding: 15px;
    max-height: 60vh;
    overflow-y: auto;
}
.search-result-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
}
.search-result-item:hover {
    background: #f8f9fa;
    padding-left: 18px;
}
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: -80px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    z-index: 1;
}
.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 2;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-title {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ffffff, #7aebf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 300;
}
.hero-text {
    font-size: 1rem;
    margin-bottom: 25px;
    max-width: 500px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.productos-destacados {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px 0;
}
.destacados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    justify-items: center;
}
.features {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('https://concepto.de/wp-content/uploads/2019/10/industria-textil-e1571776130417.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.feature-card {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
    border-color: var(--secondary);
}
.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--secondary);
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}
.feature-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}
.feature-text {
    opacity: 0.9;
    font-size: 0.9rem;
}
.sobre-nosotros {
    background: white;
}
.nosotros-hero {
    background: linear-gradient(rgba(24, 15, 95, 0.9), rgba(38, 176, 194, 0.8)),
                url('https://i.ytimg.com/vi/aoBi5_FynVQ/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0 70px;
    text-align: center;
    margin: 0;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.nosotros-hero .hero-title {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.nosotros-hero .hero-subtitle {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 25px;
    opacity: 0.95;
}
.mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.mision-card, .vision-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}
.mision-card {
    border-top-color: var(--primary);
}
.vision-card {
    border-top-color: var(--secondary);
}
.mision-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}
.mision-icon, .vision-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
}
.mision-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.vision-icon {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mision-card h3, .vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark);
}
.mision-card p, .vision-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}
.valores {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('https://www.telasmoda.com/wp-content/uploads/2020/11/C.SARGA_.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}
.valores .section-title {
    color: white;
}
.valores .text-center {
    color: rgba(255,255,255,0.9);
}
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.valor-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}
.valor-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}
.valor-icon {
    width: 55px;
    height: 55px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.4rem;
}
.valor-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
}
.valor-card p {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    line-height: 1.5;
}
.footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}
.footer-logo .logo-imagen {
    height: 45px;
    margin-bottom: 10px;
}
.footer-text {
    margin: 12px 0;
    opacity: 0.8;
    line-height: 1.6;
    font-style: italic;
    font-size: 0.9rem;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}
.social-icon:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}
.footer-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
    position: relative;
    padding-bottom: 6px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: white;
    padding-left: 5px;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}
.footer-contact i {
    color: var(--secondary);
    font-size: 1rem;
    width: 20px;
}
.footer-anuncio {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: 5px;
}
.anuncio-titulo {
    color: white;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.anuncio-texto {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.4;
}
.btn-anuncio {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    font-size: 0.85rem;
}
.btn-anuncio:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 100;
    transition: var(--transition);
}
.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.6);
}
.hero-contacto {
    position: relative;
    color: white;
    padding: 100px 0 70px;
    text-align: center;
    margin-top: -80px;
    position: relative;
    clip-path: ellipse(100% 100% at 50% 0%);
    overflow: hidden;
    min-height: 400px;
}
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 30, 157, 0.85), rgba(38, 176, 194, 0.75));
    z-index: 0;
}
.hero-contacto::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 70px;
    background: white;
    clip-path: ellipse(100% 100% at 50% 0%);
    transform: rotate(180deg);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 0.5px;
    animation: fadeInDown 1s ease;
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 25px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.3s both;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contacto-contenido {
    background: white;
    padding: 0 0 50px;
    position: relative;
    z-index: 1;
}
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.info-contacto {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}
.info-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}
.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: var(--transition);
}
.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.info-content h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}
.info-content p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.9rem;
}
.info-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.85rem;
}
.info-link:hover {
    color: var(--primary);
    text-decoration: underline;
}
.horarios {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 12px;
}
.horarios h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.horario-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}
.horario-item:last-child {
    border-bottom: none;
}
.horario-dia {
    font-weight: 500;
}
.horario-hora {
    font-weight: 600;
}
.formulario-contacto {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.form-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--dark);
    transition: var(--transition);
    background: #f8f9fa;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 2px rgba(45, 30, 157, 0.1);
}
.form-control.error {
    border-color: #f44336;
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.form-check-input {
    width: 18px;
    height: 18px;
}
.form-check-label {
    color: var(--gray);
    font-size: 0.85rem;
}
.form-check-label a {
    color: var(--primary);
    text-decoration: none;
}
.form-check-label a:hover {
    text-decoration: underline;
}
.btn-enviar {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.mapa-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}
.mapa-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    position: relative;
}
.mapa-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 250px;
    z-index: 10;
}
.mapa-overlay h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}
.mapa-overlay p {
    color: var(--gray);
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.9rem;
}
.mapa-overlay .btn {
    margin-top: 10px;
    width: 100%;
    text-align: center;
}
#mapa {
    width: 100%;
    height: 100%;
    border: none;
}
.cta-contacto {
    background: linear-gradient(135deg, rgba(45, 30, 157, 0.85), rgba(38, 176, 194, 0.85)),
                url(bodega.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}
.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.cta-titulo {
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.cta-texto {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 25px;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.cta-botones {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.error-message {
    color: #f44336;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}
.hero-video-section {
    position: relative;
    color: white;
    padding: 100px 0 70px;
    text-align: center;
    margin-top: -70px;
    position: relative;
    clip-path: ellipse(100% 100% at 50% 0%);
    overflow: hidden;
    min-height: 350px;
}
.hero-video-section .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero-video-section .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 30, 157, 0.85), rgba(38, 176, 194, 0.75));
    z-index: 0;
}
.hero-video-section .hero-content {
    position: relative;
    z-index: 2;
}
.hero-video-section .hero-title {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.hero-video-section .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.filtros-section {
    background: white;
    padding: 15px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 70px;
    z-index: 98;
}
.filtros-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.filtros-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}
.filtros-header i {
    font-size: 0.9rem;
}
.filtros-wrapper {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 5px;
}
.filtros-wrapper::-webkit-scrollbar {
    height: 4px;
}
.filtros-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.filtros-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
.filtros-buttons {
    display: flex;
    gap: 8px;
    width: max-content;
    padding-right: 5px;
}
.filtro-btn {
    padding: 6px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.filtro-btn:hover, .filtro-btn.active {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.productos-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}
.productos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}
.resultados-info {
    font-size: 0.95rem;
    color: var(--gray);
}
.resultados-count {
    color: var(--primary);
    font-weight: 700;
}
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    justify-items: center;
}
.card-container {
    perspective: 1200px;
    width: 100%;
    max-width: 280px;
}
.card {
    width: 100%;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}
.card-container:hover .card {
    transform: rotateY(180deg);
}
.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    backface-visibility: hidden;
    padding: 15px;
    overflow: hidden;
}
.card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-logo {
    width: 100px;
    height: auto;
    margin-bottom: 5px;
    object-fit: contain;
}
.producto-imagen-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0;
    height: 120px;
    width: 100%;
}
.producto-imagen-card {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 6px;
}
.titulo-producto {
    background: #2b2f7a;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
    font-size: 0.9rem;
}
.usos-container {
    width: 100%;
    margin-bottom: 8px;
}
.usos-container h3 {
    margin-bottom: 3px;
    color: #000;
    text-align: center;
    font-size: 0.8rem;
}
.usos-texto {
    text-align: center;
    font-size: 10px;
    line-height: 1.3;
    color: #333;
    max-height: 45px;
    overflow-y: auto;
}
.web {
    margin-top: auto;
    font-weight: bold;
    color: #000;
    text-align: center;
    padding: 5px;
    font-size: 9px;
}
.card-back {
    transform: rotateY(180deg);
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.ficha-tecnica {
    background: #2f5f9c;
    color: white;
    padding: 6px;
    border-radius: 20px;
    margin: 3px 0;
    font-size: 14px;
    flex-shrink: 0;
}
.subtitulo-producto {
    color: #1d3f6e;
    margin: 5px 0;
    font-size: 14px;
    flex-shrink: 0;
}
.descripcion-producto {
    font-size: 10px;
    margin-bottom: 8px;
    line-height: 1.3;
    color: #333;
    text-align: justify;
    padding: 0 3px;
    max-height: 50px;
    overflow-y: auto;
}
.tabla-especificaciones {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
    flex-shrink: 0;
    font-size: 9px;
}
.tabla-especificaciones td {
    border: 1px solid #ccc;
    padding: 4px;
    text-align: left;
}
.tabla-especificaciones td:first-child {
    font-weight: bold;
    width: 40%;
    background-color: #f5f5f5;
}
.contacto-info {
    margin-top: auto;
    padding: 6px;
    background-color: #f9f9f9;
    border-radius: 6px;
    flex-shrink: 0;
}
.contacto-info p {
    font-size: 8px;
    margin: 2px 0;
    color: #333;
}
.catalogo-section {
    padding: 60px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://www.viaempresa.cat/uploads/s1/26/76/00/04/istock-177493916.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}
.catalogo-content {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.2);
}
.catalogo-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.catalogo-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}
html {
    scroll-behavior: smooth;
}
@media (max-width: 992px) {
    body { font-size: 13px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 1.8rem; }
    .nosotros-hero .hero-title { font-size: 2.2rem; }
    .destacados-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .contacto-grid { grid-template-columns: 1fr; gap: 30px; }
    .productos-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        padding: 30px 15px;
        transition: var(--transition);
        z-index: 999;
    }
    .nav.active { left: 0; }
    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    .logo-imagen { height: 45px; }
    .section { padding: 40px 0; }
    .destacados-grid { grid-template-columns: 1fr; }
    .card { height: 360px; }
    .mision-vision-grid { grid-template-columns: 1fr; }
    .nosotros-hero { padding: 80px 0 60px; }
    .info-item { flex-direction: column; text-align: center; }
    .info-icon { margin: 0 auto; }
    .mapa-overlay {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-bottom: 15px;
    }
    .mapa-container { height: 400px; }
    .hero-video-section { min-height: 300px; padding: 80px 0 50px; }
    .filtros-section {
        padding: 10px 0;
        top: 70px;
    }
    .filtros-header { font-size: 0.8rem; }
    .filtro-btn { padding: 5px 14px; font-size: 0.75rem; }
    .productos-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
    .card { height: 400px; }
    .catalogo-content { padding: 25px; }
    .catalogo-content h2 { font-size: 1.6rem; }
    .catalogo-content p { font-size: 0.9rem; }
}
@media (max-width: 576px) {
    body { font-size: 12px; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .logo-imagen { height: 40px; }
    .footer-anuncio { padding: 15px; }
    .destacados-grid { gap: 20px; }
    .card { height: 350px; }
    .card-face { padding: 12px; }
    .nosotros-hero { padding: 70px 0 50px; }
    .nosotros-hero .hero-title { font-size: 1.8rem; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .filtros-section {
        padding: 8px 0;
        top: 70px;
    }
    .filtros-header { display: none; }
    .filtros-wrapper { width: 100%; }
    .filtro-btn {
        padding: 4px 12px;
        font-size: 0.7rem;
        border-width: 1.5px;
    }
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card-container { max-width: 260px; margin: 0 auto; }
    .card { height: 380px; }
    .catalogo-content { padding: 20px; }
    .catalogo-content h2 { font-size: 1.4rem; }
    .catalogo-content p { font-size: 0.85rem; }
    .footer-anuncio { padding: 15px; }
    .contacto-contenido .contacto-grid { grid-template-columns: 1fr; }
    .info-contacto, .formulario-contacto { padding: 20px; }
    .info-title { font-size: 1.4rem; }
    .form-title { font-size: 1.4rem; }
    .publicidad-container { padding: 20px; }
    .cta-titulo { font-size: 1.5rem; }
    .cta-texto { font-size: 0.9rem; }
    .mapa-container { height: 350px; }
}
/* FORZAR CENTRADO DEL HERO */
.hero-video-section,
.hero-contacto,
.hero-video-section .container,
.hero-contacto .container,
.hero-video-section .hero-content,
.hero-contacto .hero-content {
    text-align: center !important;
    width: 100% !important;
}

.hero-video-section .hero-title,
.hero-contacto .hero-title,
.hero-video-section .hero-subtitle,
.hero-contacto .hero-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-video-section .hero-subtitle {
    max-width: 800px !important;
}

.hero-contacto .hero-subtitle {
    max-width: 600px !important;
}

.hero-video-section .btn,
.hero-contacto .btn {
    display: inline-block !important;
    margin: 0 auto !important;
}