/*CSS CORREGIDO*/
/* 1. VARIABLES Y RESET */
:root {
    --yellow: #FFD200;
    --dark: #333;
    --gray: #777;
    --white: #ffffff;
    --bg-light: #f7f7f7;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* ===== HEADER BASE ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 10px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 60px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: 140px;
    z-index: 1002;
}

.logo img {
    display: block;
    width: 100%;
    max-width: 140px;
    height: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.main-nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.header.scrolled .main-nav a {
    color: var(--dark);
    text-shadow: none;
}

.main-nav a:hover {
    color: #f1c40f;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary:hover {
    background-color: var(--yellow);
    color: #000;
    border-color: var(--yellow);
    box-shadow: 0 6px 20px rgba(255, 210, 0, 0.5);
    transform: translateY(-2px);
}

.mobile-text,
.mobile-sucursal-link {
    display: none;
}
html, body {
    overflow-x: hidden;
}

/* ===== BOTÓN HAMBURGUESA ===== */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-text,
.mobile-sucursal-link {
    display: none;
}

/* ===== MÓVIL ===== */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

    .nav {
        min-height: 70px;
        gap: 12px;
        position: relative;
    }

    .logo,
    .logo img {
        max-width: 105px;
    }

    .btn-sucursal {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        padding: 16px;
        flex-direction: column;
        gap: 6px;
        z-index: 1001;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        color: var(--dark);
        text-shadow: none;
        margin: 0;
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 15px;
        text-align: left;
        display: block;
    }

    .main-nav a:hover {
        background: rgba(255, 210, 0, 0.15);
        color: #000;
        transform: none;
    }

    .mobile-sucursal-link {
        display: block;
        font-weight: 700;
        background: rgba(255, 210, 0, 0.18);
    }

    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: inline;
    }
}

/* ===== MÓVIL PEQUEÑO ===== */
@media (max-width: 480px) {
    .logo,
    .logo img {
        max-width: 95px;
    }

    .main-nav {
        padding: 14px;
    }

    .main-nav a {
        font-size: 14px;
        padding: 11px 12px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }
}

/* 4. HERO SLIDER */
.hero {
    height: 100vh;
    min-height: 100svh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

/* Animación de entrada para los slides */
@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.swiper-slide {
    animation: fadeInCard 0.5s ease forwards;
}

.slide {
    background-size: cover !important;
    background-position: center !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .8s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 600px;
    color: white;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-text span {
    color: var(--yellow);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.2);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: .3s;
}

.prev-btn {
    left: 25px;
}

.next-btn {
    right: 25px;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .hero-text {
        max-width: 520px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-text p {
        font-size: 16px;
        max-width: 460px;
    }

    .slider-btn {
        width: 54px;
        height: 54px;
        font-size: 26px;
    }

    .prev-btn {
        left: 18px;
    }

    .next-btn {
        right: 18px;
    }
}

/* ===== MÓVIL ===== */
@media (max-width: 768px) {
    .hero {
        height: 100svh;
        min-height: 100svh;
    }

    .slide {
        background-position: center center !important;
    }

    .overlay {
        background: rgba(0,0,0,.42);
    }

    .hero-content {
        align-items: center;
        padding-top: 120px;
        padding-bottom: 70px;
    }

    .hero-text {
        max-width: 100%;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 16px;
        max-width: 95%;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
        max-width: 92%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-buttons .btn-primary {
        min-width: 210px;
        text-align: center;
    }

    .slider-btn {
        width: 46px;
        height: 46px;
        font-size: 24px;
        top: 58%;
    }

    .prev-btn {
        left: 12px;
    }

    .next-btn {
        right: 12px;
    }

    .slider-indicators {
        bottom: 18px;
    }
}

/* ===== MÓVIL PEQUEÑO ===== */
@media (max-width: 480px) {
    .hero-content {
        padding-top: 115px;
        padding-bottom: 55px;
    }

    .hero-text h1 {
        font-size: 28px;
        max-width: 100%;
    }

    .hero-text p {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-buttons .btn-primary {
        min-width: 190px;
        padding: 11px 18px;
        font-size: 14px;
    }

    .slider-btn {
        width: 42px;
        height: 42px;
        font-size: 22px;
        top: 60%;
    }
}
@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }
}

/* 5. TÍTULOS DE SECCIÓN */
.section { padding: 80px 0; }

.section-title { text-align: center; margin-bottom: 50px; }

.section-title span {
    color: var(--yellow);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 600;
    color: var(--dark);
}

/* ANIMACIÓN DEL TEXTO DEL HERO */
.hero-text h1,
.hero-text p,
.hero-text .hero-buttons {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .hero-text h1 {
    animation: heroFadeUp 0.8s ease forwards;
}

.slide.active .hero-text p {
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.25s;
}

.slide.active .hero-text .hero-buttons {
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.45s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--yellow);
    transform: scale(1.2);
}


/* 6. BENTO GRID (CATEGORÍAS) */
/* 6. BENTO GRID (CATEGORÍAS) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.bento-item {
    position: relative;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: all 0.4s ease;
    min-height: 220px;
}

.bento-item:hover {
    transform: scale(1.02) translateY(-5px);
    z-index: 10;
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.medium {
    grid-column: span 2;
}

.bento-item.small {
    grid-column: span 1;
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.bento-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
}

.bento-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.bento-content p {
    font-size: 15px;
    line-height: 1.5;
    max-width: 90%;
}

.tag {
    background: var(--yellow);
    color: #000;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 18px;
    }

    .bento-item.large,
    .bento-item.medium,
    .bento-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-item {
        min-height: 280px;
        padding: 24px;
    }

    .bento-content h3 {
        font-size: 24px;
    }

    .bento-content p {
        font-size: 14px;
        max-width: 100%;
    }
}

/* ===== MÓVIL ===== */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }

    .bento-item.large,
    .bento-item.medium,
    .bento-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-item {
        min-height: 240px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .bento-item:hover {
        transform: none;
    }

    .bento-content h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .bento-content p {
        font-size: 14px;
        line-height: 1.45;
        max-width: 100%;
    }

    .tag {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }
}

/* ===== MÓVIL PEQUEÑO ===== */
@media (max-width: 480px) {
    .bento-item {
        min-height: 220px;
        padding: 18px 16px;
    }

    .bento-content h3 {
        font-size: 20px;
    }

    .bento-content p {
        font-size: 13px;
    }
}
/* 7. CARRUSEL DE PRODUCTOS (INTERACTIVO) */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}
.carousel-products {
    background-color: #fcfcfc;
    padding: 60px 0;
}

.filter-tabs {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background: #eee;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: 600;
    transition: .3s;
}

.filter-btn.active {
    background: var(--yellow);
    color: #000;
}

.swiper {
    padding: 20px 60px 50px 60px !important;
}

/* DISEÑO DE TARJETA */
.product-mini-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f1f1;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-mini-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--yellow);
}

.product-image-container {
    width: 100%;
    height: 62%;
    background: #fdfdfd;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.product-image-container img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
}

.product-info-container {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.product-info-container h4 {
    font-size: 15px;
    color: var(--dark);
    margin: 5px 0;
    font-weight: 600;
    line-height: 1.2;
}

.price-tag {
    color: var(--yellow);
    font-weight: 700;
    font-size: 18px;
    margin-top: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--yellow) !important;
}

.product-description {
    font-size: 13px;
    color: #666;
    margin: 8px 0;
    line-height: 1.4;
}

.presentation-text {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.category-tag {
    font-size: 10px;
    text-transform: uppercase;
    background: #f1f1f1;
    padding: 2px 8px;
    border-radius: 10px;
    align-self: center;
    margin-bottom: 5px;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .swiper {
        padding: 20px 40px 45px 40px !important;
    }

    .product-mini-card {
        height: 360px;
    }

    .product-info-container {
        padding: 14px;
    }

    .product-info-container h4 {
        font-size: 14px;
    }

    .product-description {
        font-size: 12px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        transform: scale(0.9);
    }
}

/* ===== MÓVIL ===== */
@media (max-width: 768px) {
    .carousel-products {
        padding: 50px 0;
    }

    .filter-tabs {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 24px;
    }

    .filter-btn {
        padding: 9px 18px;
        font-size: 13px;
        margin: 0;
    }

    .swiper {
        padding: 10px 10px 40px 10px !important;
    }

    .product-mini-card {
        height: 340px;
        border-radius: 18px;
    }

    .product-mini-card:hover {
        transform: none;
    }

    .product-image-container {
        height: 58%;
    }

    .product-info-container {
        padding: 12px;
    }

    .product-info-container h4 {
        font-size: 14px;
        line-height: 1.25;
    }

    .product-description {
        font-size: 12px;
        margin: 6px 0;
        line-height: 1.35;
    }

    .presentation-text {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .price-tag {
        font-size: 17px;
    }

    .category-tag {
        font-size: 9px;
        padding: 2px 7px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* ===== MÓVIL PEQUEÑO ===== */
@media (max-width: 480px) {
    .swiper {
        padding: 10px 6px 35px 6px !important;
    }

    .product-mini-card {
        height: 320px;
    }

    .product-image-container {
        height: 56%;
    }

    .product-info-container {
        padding: 10px;
    }

    .product-info-container h4 {
        font-size: 13px;
    }

    .product-description {
        font-size: 11px;
    }

    .presentation-text {
        font-size: 12px;
    }

    .price-tag {
        font-size: 16px;
    }
}



/* 8. GRID DE SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: 0.4s;
    transition: all 0.4s ease;
}
.service-card {
    display: flex;
    align-items: center; /* Cambiamos a center para que el texto flote en medio si prefieres */
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.service-card h3 {
    font-size: 22px;
    margin: 10px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%; /* Evita que el texto toque los bordes */
}

.service-card:hover {
    transform: translateY(-10px); /* Se levanta un poco menos que los productos */
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(0,0,0,0.9));
    z-index: 1;
}

.card-content { position: relative; z-index: 2; color: white; text-align: center; width: 100%; }
.card-number { font-size: 50px; font-weight: 800; opacity: 0.5; display: block; }

.service-card p {
    font-size: 13px;
    display: none;
    margin-top: 10px;
}

.service-card:hover p { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Esto quita el morado y subraya los enlaces de detalles */
.view-details {
    color: var(--white) !important; /* Forzamos el blanco */
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--yellow); /* Una línea amarilla se ve más profesional */
    padding-bottom: 2px;
    transition: 0.3s;
}

.view-details:hover {
    color: var(--yellow) !important;
    border-bottom-color: var(--white);
}

/* Aseguramos que el contenido de la carta esté siempre centrado */
.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente */
    justify-content: center;
}
/* =========================
   CONTACTO
========================= */
.contacto-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 10px;
}

.contacto-item a:hover {
    opacity: 0.8;
    cursor: pointer;
}
.contacto-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacto-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.section-contacto{
padding:80px 0;
background:var(--bg-light);
}

.contacto-header{
text-align:center;
max-width:600px;
margin:auto;
margin-bottom:50px;
}

.contacto-header h2{
font-size:36px;
margin-bottom:10px;
}

.contacto-header p{
color:var(--gray);
line-height:1.6;
}

.contacto-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

/* INFO */

.contacto-info{
display:flex;
flex-direction:column;
gap:20px;
}

.contacto-item{
display:flex;
align-items:flex-start;
gap:15px;
background:var(--white);
padding:18px;
border-radius:12px;
box-shadow:var(--shadow-soft);
transition:transform .3s;
}

.contacto-item:hover{
transform:translateY(-3px);
}

.contacto-item .icon{
font-size:22px;
}

.contacto-item h4{
margin-bottom:3px;
}

.contacto-item p{
color:var(--gray);
}

/* FORMULARIO */

.contacto-form form{
display:flex;
flex-direction:column;
gap:15px;
background:var(--white);
padding:25px;
border-radius:12px;
box-shadow:var(--shadow-soft);
}

.contacto-form input,
.contacto-form textarea{
padding:12px;
border:1px solid #ddd;
border-radius:8px;
font-size:14px;
}

.contacto-form textarea{
resize:none;
height:120px;
}

.contacto-form button{
background:var(--yellow);
border:none;
padding:14px;
font-weight:600;
border-radius:8px;
cursor:pointer;
transition:.3s;
}

.contacto-form button:hover{
background:#f3c800;
}

.mensaje-exito {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: auto;
    max-width: 380px;
    width: auto;
    background: #2ecc71;
    color: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s ease;
    z-index: 9999;
    word-break: break-word;
}

.mensaje-exito.mostrar {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .mensaje-exito {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
        width: auto;
        padding: 14px 16px;
        font-size: 14px;
        border-radius: 12px;
        line-height: 1.35;
    }
}

@media (max-width: 480px) {
    .mensaje-exito {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* RESPONSIVE */

@media (max-width:900px){

    .contacto-grid{
    grid-template-columns:1fr;
    }

}
/* =========================
   EMPRESA
========================= */
.empresa {
    padding: 90px 0;
    background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
}

.empresa-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.empresa-badge {
    display: inline-block;
    background: rgba(255, 210, 0, 0.18);
    color: #9b6b00;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.empresa-texto h2 {
    font-size: 42px;
    line-height: 1.2;
    color: #222;
    margin-bottom: 18px;
}

.empresa-texto p {
    font-size: 17px;
    line-height: 1.8;
    color: #666;
    max-width: 580px;
}

.empresa-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.empresa-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 70px;
}

.empresa-card {
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.empresa-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

.empresa-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 210, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.empresa-card h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 12px;
}

.empresa-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 35px;
}

.section-heading h3 {
    font-size: 34px;
    color: #222;
    margin: 12px 0 12px;
}

.section-heading p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.valor-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.valor-card span {
    font-size: 30px;
    display: inline-block;
    margin-bottom: 14px;
}

.valor-card h4 {
    font-size: 20px;
    color: #222;
    margin-bottom: 10px;
}

.valor-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* =========================
   RESPONSIVE EMPRESA
========================= */
@media (max-width: 992px) {
    .empresa-hero {
        grid-template-columns: 1fr;
    }

    .empresa-info-grid {
        grid-template-columns: 1fr;
    }

    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .empresa-texto h2 {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .empresa {
        padding: 70px 0;
    }

    .empresa-texto h2 {
        font-size: 28px;
    }

    .empresa-texto p,
    .section-heading p {
        font-size: 15px;
    }

    .section-heading h3 {
        font-size: 28px;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }

    .empresa-card,
    .valor-card {
        padding: 24px 20px;
    }
}

/* =========================
   BURBUJA FLOTANTE CONTACTO
========================= */

.floating-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* BOTÓN PRINCIPAL */
.floating-contact-btn {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;

    height: 60px;
    width: 60px;
    overflow: hidden;

    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);

    transition: width 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0 18px 0 0;
}

/* Al pasar el cursor, se expande */
.floating-contact-btn:hover {
    width: 290px;
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
}

/* Ícono */
.floating-main-icon {
    min-width: 60px;
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    flex-shrink: 0;
}

/* Texto oculto inicialmente */
.floating-main-text {
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Mostrar texto al hover */
.floating-contact-btn:hover .floating-main-text {
    opacity: 1;
    transform: translateX(0);
}

/* MENÚ */
.floating-contact-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;

    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-contact-menu.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.floating-contact-option {
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 16px;
    background: #ffffff;
    color: #333;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-contact-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.floating-contact-option i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.floating-contact-option.whatsapp i {
    background: #25D366;
}

.floating-contact-option.phone i {
    background: #f1b800;
}

.floating-contact-option.form-link i {
    background: #333333;
}

/* Animación sutil */
.floating-contact-btn {
    animation: floatingPulse 2.2s infinite;
}

@keyframes floatingPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* MÓVIL */
@media (max-width: 768px) {
    .floating-contact {
        right: 18px;
        bottom: 18px;
    }

    .floating-contact-btn {
        width: 58px;
        height: 58px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .floating-contact-btn:hover {
        width: 58px;
    }

    .floating-main-icon {
        min-width: 58px;
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .floating-main-text {
        display: none;
    }

    .floating-contact-option {
        min-width: 190px;
        padding: 11px 14px;
        font-size: 14px;
    }
}

/* =========================
   FOOTER
========================= */
@media (max-width: 768px) {
    .mensaje-exito {
        bottom: 80px;
    }
}
.footer {
    background: linear-gradient(180deg, #2b2b2b 0%, #1f1f1f 100%);
    color: var(--white);
    padding-top: 60px;
    margin-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    width: 140px;
    margin-bottom: 18px;
}

.footer-brand p,
.footer-contact p,
.footer-links ul li a,
.footer-social a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 18px;
    color: var(--yellow);
    position: relative;
}

.footer h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--yellow);
    border-radius: 10px;
    margin-top: 8px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--yellow);
    transform: translateX(4px);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--yellow);
    color: #000;
    transform: translateY(-3px);
}
/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 50px;
        margin-top: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-logo {
        width: 120px;
        margin: 0 auto 16px;
    }

    .footer h4::after {
        margin: 8px auto 0;
    }

    .footer-brand p,
    .footer-contact p,
    .footer-links ul li a,
    .footer-social a {
        font-size: 14px;
        line-height: 1.7;
    }

    .social-icons {
        justify-content: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-links ul li {
        margin-bottom: 8px;
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 18px 0;
    }

    .footer-bottom p {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .footer-container {
        gap: 24px;
    }

    .footer-logo {
        width: 105px;
    }

    .footer h4 {
        font-size: 17px;
    }

    .footer-brand p,
    .footer-contact p,
    .footer-links ul li a,
    .footer-social a {
        font-size: 13px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}
/* =========================
   TRABAJA CON NOSOTROS CARD
========================= */

.trabaja-con-nosotros{
  margin: 50px auto 0;
  max-width: 1370px;
  background: #fff;
  border-radius: 22px;
  padding: 34px 38px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.trabaja-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.trabaja-texto{
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.trabaja-texto::before{
  content: "💼";
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  background: #fff3bf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.trabaja-texto h3{
  font-size: 1.8rem;
  color: #111;
  margin-bottom: 10px;
  font-weight: 800;
}

.trabaja-texto p{
  max-width: 760px;
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

.btn-trabajo{
  background: #FFD200;
  color: #111;
  padding: 15px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: all .3s ease;
  white-space: nowrap;
}

.btn-trabajo:hover{
  background: #111;
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive */
@media(max-width:768px){

  .trabaja-con-nosotros{
    padding: 28px 24px;
    margin-top: 35px;
  }

  .trabaja-content{
    flex-direction: column;
    align-items: flex-start;
  }

  .trabaja-texto{
    gap: 16px;
  }

  .trabaja-texto h3{
    font-size: 1.5rem;
  }

  .btn-trabajo{
    width: 100%;
    text-align: center;
  }

}