/* ================================
   PUBLIRUN - Professional Website
   Colors: Navy Blue & Orange
   ================================ */

/* Variables & Reset */
:root {
    --primary-color: #003057;
    --secondary-color: #FF6B35;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gray-color: #666666;
    --light-gray: #f5f5f5;
    --gradient-primary: linear-gradient(135deg, #003057 0%, #004a7f 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B35 0%, #ff8c5a 100%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 48, 87, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 48, 87, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 48, 87, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background: var(--light-color);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================
   HEADER
   ================================ */
.header {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 48, 87, 0.3);
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(0, 48, 87, 0.98);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition);
    /* ELIMINA: filter: brightness(1.1); */
    /* AGREGA ESTO si tu logo es oscuro: */
    filter: brightness(0) invert(1); /* Convierte logo oscuro a blanco */
}

.header.scrolled .logo-img {
    height: 50px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.phone, .whatsapp {
    color: var(--light-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.phone:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.whatsapp:hover {
    background: #25d366;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--light-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--light-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    background-image: url('https://i.postimg.cc/NMnKwCjL/low-angle-view-blue-big-hoarding-pole-with-light-against-blue-sky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    padding-top: 90px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 48, 87, 0.92) 0%, rgba(0, 74, 127, 0.88) 50%, rgba(255, 107, 53, 0.3) 100%);
}

.hero-background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--secondary-color);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--light-color);
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 0;
}

.hero-logo-main {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease both;
}

.hero-logo-main img {
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5)) brightness(1.15);
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--light-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 25px;
    animation: fadeInDown 1s ease both;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-main {
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: 15px;
    margin-bottom: 30px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--light-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 50px;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-subtitle strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary, .btn-secondary {
    padding: 18px 45px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-block;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--light-color);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: #ff8c5a;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-secondary:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ================================
   SECTIONS
   ================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle-top {
    display: block;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-orange {
    color: var(--secondary-color);
}

.title-underline {
    width: 100px;
    height: 5px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 3px;
}

.title-underline-left {
    width: 100px;
    height: 5px;
    background: var(--secondary-color);
    margin: 25px 0 40px 0;
    border-radius: 3px;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about {
    background: var(--light-gray);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text {
    padding-right: 20px;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 50px;
}

.pillar {
    display: flex;
    gap: 25px;
    align-items: start;
    padding: 30px;
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon i {
    font-size: 2rem;
    color: var(--light-color);
}

.pillar h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 700;
}

.pillar p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

.about-visual {
    position: relative;
    height: 100%;
}

.about-image-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-logo-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--light-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.about-logo-float img {
    width: 150px;
    height: auto;
}

/* ================================
   PRODUCTS SECTION
   ================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.product-card {
    background: var(--light-color);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    background: var(--gradient-secondary);
    transform: scale(1.1) rotate(360deg);
}

.product-icon i {
    font-size: 2.5rem;
    color: var(--light-color);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: var(--primary-color);
    font-weight: 700;
}

.product-card p {
    color: var(--gray-color);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.btn-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-link:hover {
    gap: 18px;
    color: var(--primary-color);
}

/* ================================
   SERVICES SECTION
   ================================ */
.services {
    background: var(--primary-color);
    color: var(--light-color);
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.services-left .section-title {
    color: var(--light-color);
    text-align: left;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-item {
    display: flex;
    gap: 20px;
    align-items: start;
    opacity: 0.9;
    transition: var(--transition);
}

.service-item:hover {
    opacity: 1;
    transform: translateX(10px);
}

.service-bullet {
    width: 12px;
    height: 12px;
    min-width: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin-top: 8px;
}

.service-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.service-content p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

.services-showcase {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.showcase-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.showcase-images {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.showcase-img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.showcase-img:hover {
    transform: scale(1.05);
}

/* ================================
   GALLERY SECTION
   ================================ */
.gallery {
    background: var(--light-color);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-secondary);
    color: var(--light-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 48, 87, 0.7), rgba(255, 107, 53, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: var(--light-color);
    padding: 20px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.gallery-info p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.gallery-view-btn {
    padding: 12px 30px;
    background: var(--light-color);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.gallery-view-btn:hover {
    background: var(--secondary-color);
    color: var(--light-color);
    transform: scale(1.05);
}

/* ================================
   LIGHTBOX
   ================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92); /* más elegante */
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mantengo EXACTAMENTE lo que tenías, solo mejoro detalle visual */
.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px; /* más profesional */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55); /* sombra más suave */
    transition: transform 0.25s ease;
}

.lightbox-content img:hover {
    transform: scale(1.01);
}

.lightbox-caption {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 18px 26px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    color: var(--light-color);
}

.lightbox-caption h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.lightbox-caption p {
    font-size: 1.05rem;
    opacity: 0.9;
}

/* BOTONES */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    color: var(--light-color);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ================================
   CAPTION MEJORADO (TÍTULO + DESCRIPCIÓN)
   ================================ */

.lightbox-caption {
    background: rgba(15, 15, 15, 0.55);
    padding: 22px 30px;
    border-radius: 14px;
    margin-top: 20px;
    text-align: center;
    color: #fff;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    width: 100%;
    max-width: 700px;
    animation: fadeUp 0.3s ease;
}

.lightbox-caption h3 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    color: #f75e06; /* profesional, elegante */
    text-transform: uppercase;
}

.lightbox-caption p {
    font-size: 1.15rem;
    line-height: 1.55;
    opacity: 0.9;
    color: #f1f1f1;
}

/* Animación suave del caption */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ================================
   CLIENTS SECTION
   ================================ */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-height: 150px;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.client-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact {
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
}

.contact-info-section h3,
.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 35px;
    color: var(--primary-color);
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    padding: 25px;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    width: 50px;
    min-width: 50px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-item p {
    color: var(--gray-color);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.btn-submit {
    background: var(--gradient-secondary);
    color: var(--light-color);
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0 30px;
}

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

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: var(--light-color);
    font-weight: 700;
}

.footer-col p {
    margin-bottom: 25px;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--light-color);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-col ul li i {
    margin-right: 12px;
    color: var(--secondary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.95rem;
}

/* ================================
   WHATSAPP FLOAT
   ================================ */
/*--------------------------------------------------------------
# Boton de WhatsAAP
--------------------------------------------------------------*/

.whatsapp-button {
  position: fixed;
  bottom: 5%;
  right: 5%;
  z-index: 1000;
  animation: float 1s ease-in-out infinite;
  
}

.whatsapp-button a img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.whatsapp-button a img:hover {
  transform: scale(1.1);
}


@media (max-width: 768px) { /* Media query para pantallas más pequeñas */
  .whatsapp-button {
      bottom: 5%; /* Ajusta la distancia desde la parte inferior en un 5% de la altura de la ventana */
      right: 5%; /* Ajusta la distancia desde el borde derecho en un 5% del ancho de la ventana */
  }

  .whatsapp-button a img {
      max-width: 50px; /* Establece el ancho máximo del icono en 50px para pantallas más pequeñas */
  }
}

@keyframes float {
  0% {
      transform: translateY(0px);
  }
  50% {
      transform: translateY(-10px);
  }
  100% {
      transform: translateY(0px);
  }
}
.success-message {
  display: none;
  color: green; /* Color verde para indicar éxito */
  margin-top: 10px; /* Espacio superior para separar del botón */
}


.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.8);
    }
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 25px;
    }
    
    .hero-main {
        font-size: 5.5rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }

    .contact-info a {
        font-size: 0.85rem;
        padding: 7px 12px;
    }
}

@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-color);
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 40px 30px;
        gap: 0;
        height: auto;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        display: block;
        padding: 18px 15px;
        font-size: 1.1rem;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link.active {
        background: rgba(255, 107, 53, 0.2);
    }

    .menu-toggle {
        display: flex;
    }

    .contact-info {
        display: none;
    }

    .header-right {
        gap: 15px;
    }

    .hero-main {
        font-size: 4.5rem;
        letter-spacing: 8px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .contact-content,
    .services-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-left .section-title {
        text-align: center;
    }

    .title-underline-left {
        margin: 25px auto 40px;
    }

    .about-pillars {
        gap: 25px;
    }

    .pillar {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .header {
        padding: 15px 0;
    }

    .hero {
        padding-top: 70px;
        min-height: 100vh;
    }

    .hero-logo-main {
        margin-bottom: 20px;
    }

    .hero-logo-main img {
        max-width: 250px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 20px;
        margin-bottom: 20px;
    }

    .hero-main {
        font-size: 3rem;
        letter-spacing: 4px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 1.3rem;
        letter-spacing: 4px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary, .btn-secondary {
        padding: 14px 35px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    .scroll-indicator {
        bottom: 25px;
    }

    .scroll-indicator span {
        font-size: 0.75rem;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-subtitle-top {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .about-intro {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-pillars {
        margin-top: 35px;
    }

    .pillar {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .pillar-icon {
        margin: 0 auto 20px;
    }

    .pillar h4 {
        font-size: 1.1rem;
    }

    .pillar p {
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card {
        padding: 35px 25px;
    }

    .product-icon {
        width: 80px;
        height: 80px;
    }

    .product-icon i {
        font-size: 2rem;
    }

    .product-card h3 {
        font-size: 1.3rem;
    }

    .product-card p {
        font-size: 0.95rem;
    }

    .services-list {
        gap: 20px;
    }

    .service-item {
        padding-left: 0;
    }

    .service-content h4 {
        font-size: 1.05rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    .showcase-title {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .gallery-info h3 {
        font-size: 1.1rem;
    }

    .gallery-info p {
        font-size: 0.85rem;
        
/* ================================
   MOBILE OPTIMIZATION (576px and below)
   ================================ */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 45px;
    }

    .header {
        padding: 12px 0;
    }

    .nav {
        top: 69px;
        height: calc(100vh - 69px);
    }

    .nav-list {
        padding: 30px 20px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 15px 10px;
    }

    .hero {
        padding-top: 69px;
    }

    .hero-logo-main img {
        max-width: 180px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 15px;
    }

    .hero-main {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 30px;
        font-size: 0.9rem;
        width: 100%;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle-top {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .about-intro {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .pillar {
        padding: 20px 15px;
    }

    .pillar-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .pillar-icon i {
        font-size: 1.7rem;
    }

    .pillar h4 {
        font-size: 1rem;
    }

    .pillar p {
        font-size: 0.85rem;
    }

    .product-card {
        padding: 30px 20px;
    }

    .product-card h3 {
        font-size: 1.2rem;
    }

    .service-content h4 {
        font-size: 1rem;
    }

    .showcase-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-filters {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        padding: 12px 20px;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .gallery-info h3 {
        font-size: 1rem;
    }

    .gallery-info p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .gallery-view-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .client-logo {
        padding: 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .contact-item i {
        margin: 0 auto 15px;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-content img {
        max-height: 60vh;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-caption {
        padding: 12px 15px;
        margin-top: 15px;
    }

    .lightbox-caption h3 {
        font-size: 1rem;
    }

    .lightbox-caption p {
        font-size: 0.85rem;
    }

    .footer {
        padding: 50px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-logo {
        max-width: 120px;
    }

    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }

    .footer-col p {
        font-size: 0.9rem;
    }

    .footer-col ul li {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 25px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
    .hero-main {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 25px;
        font-size: 0.85rem;
    }

    .pillar-icon {
        width: 50px;
        height: 50px;
    }

    .pillar-icon i {
        font-size: 1.4rem;
    }
}
