/* ===== RESET & GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0a;
    --color-red: #D32F2F;
    --color-red-dark: #B71C1C;
    --color-blue: #1976D2;
    --color-blue-dark: #1565C0;
    --color-gray: #1a1a1a;
    --color-text: #ffffff;
    --color-text-muted: #9ca3af;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== NAVBAR OPTIMIZADO ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    font-family: 'Oswald', sans-serif;
}

.logo-red {
    color: var(--color-red);
}

.logo-blue {
    color: var(--color-blue);
}

.nav-menu {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

.menu-toggle span {
    width: 28px;
    height: 2.5px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

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

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0 2rem;
}

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

.mobile-link {
    color: var(--color-text);
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--color-red);
}

/* ===== HERO SECTION OPTIMIZADO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 70px;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(10, 10, 10, 1) 50%, rgba(25, 118, 210, 0.08) 100%);
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 1.5rem 0;
}

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

.hero-logo-container {
    display: flex;
    justify-content: center;
}

.hero-logo {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(211, 47, 47, 0.4));
}

.hero-title {
    line-height: 0.95;
}

.hero-title h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    line-height: 0.9;
    margin: 0;
}

.title-line-1 {
    font-size: 3.5rem;
    color: var(--color-text);
    text-shadow: 0 0 20px rgba(211, 47, 47, 0.4);
}

.title-line-2 {
    font-size: 2.8rem;
    color: var(--color-red);
    text-shadow: 0 0 25px rgba(211, 47, 47, 0.6);
}

.title-line-3 {
    font-size: 3.5rem;
    color: var(--color-blue);
    text-shadow: 0 0 25px rgba(25, 118, 210, 0.6);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0 auto;
    max-width: 550px;
    line-height: 1.5;
}

.cta-button {
    background: linear-gradient(to right, var(--color-red), var(--color-red-dark));
    color: var(--color-text);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(211, 47, 47, 0.5);
    transition: all 0.3s ease;
    align-self: center;
}

.cta-button:hover {
    background: linear-gradient(to right, var(--color-red-dark), var(--color-red));
    box-shadow: 0 0 40px rgba(211, 47, 47, 0.8);
    transform: scale(1.05);
}

.hero-video-container {
    display: flex;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 220px;
    aspect-ratio: 9/16;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 0 35px rgba(25, 118, 210, 0.5);
    border: 3px solid rgba(25, 118, 210, 0.4);
    z-index: 10;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 1.25rem;
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-glow {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    box-shadow: inset 0 0 20px rgba(25, 118, 210, 0.3);
    pointer-events: none;
}

/* ===== FARDOS FRESCOS SECTION ===== */
.fardos-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #1a0a0a 50%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.fardos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.fardos-content {
    position: relative;
    z-index: 10;
}

.fardos-header {
    text-align: center;
    margin-bottom: 4rem;
}

.fardos-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.fardos-accent {
    display: block;
    color: var(--color-red);
    text-shadow: 0 0 40px rgba(211, 47, 47, 0.8);
}

.fardos-white {
    display: block;
    color: var(--color-text);
}

.fardos-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.badges-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.badge-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.badge-card:hover::before {
    opacity: 1;
}

.badge-card.badge-red {
    border: 2px solid rgba(211, 47, 47, 0.3);
    color: var(--color-red);
}

.badge-card.badge-blue {
    border: 2px solid rgba(25, 118, 210, 0.3);
    color: var(--color-blue);
}

.badge-card:hover {
    transform: translateY(-10px);
}

.badge-card.badge-red:hover {
    box-shadow: 0 20px 60px rgba(211, 47, 47, 0.4);
    border-color: rgba(211, 47, 47, 0.6);
}

.badge-card.badge-blue:hover {
    box-shadow: 0 20px 60px rgba(25, 118, 210, 0.4);
    border-color: rgba(25, 118, 210, 0.6);
}

.badge-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.2);
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.badge-card:hover .badge-video {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.25);
}

.badge-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(26, 26, 26, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 1.5rem;
}

.badge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    position: relative;
    z-index: 10;
}

.badge-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2.5;
}

.badge-card.badge-red .badge-icon {
    box-shadow: 0 0 30px rgba(211, 47, 47, 0.3);
}

.badge-card.badge-blue .badge-icon {
    box-shadow: 0 0 30px rgba(25, 118, 210, 0.3);
}

.badge-card:hover .badge-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.4s ease;
}

.badge-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.badge-text {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 10;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

/* ===== ESTILO SECTION ===== */
.estilo-section {
    padding: 5rem 0;
    position: relative;
}

.estilo-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--color-bg), var(--color-gray), var(--color-bg));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.title-white {
    color: var(--color-text);
}

.title-red {
    color: var(--color-red);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.brand-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brand-item.large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.3), rgba(10, 10, 10, 1));
    box-shadow: 0 0 30px rgba(211, 47, 47, 0.3);
}

.brand-item.small {
    aspect-ratio: 1;
}

.brand-item.blue {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.3), rgba(10, 10, 10, 1));
    box-shadow: 0 0 20px rgba(25, 118, 210, 0.3);
}

.brand-item.red {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.2), rgba(10, 10, 10, 1));
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.3);
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-item.large:hover {
    box-shadow: 0 0 50px rgba(211, 47, 47, 0.6);
}

.brand-item.blue:hover {
    box-shadow: 0 0 40px rgba(25, 118, 210, 0.6);
}

.brand-item.red:hover {
    box-shadow: 0 0 40px rgba(211, 47, 47, 0.6);
}

.brand-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%) scale(1);
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-item.large .brand-video {
    transform: translate(-50%, -50%) scale(1);
}

.brand-item:hover .brand-video {
    opacity: 0.5;
}

.brand-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 3;
}

.brand-name {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.brand-name.large-brand {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.brand-name.small-text {
    font-size: 1.5rem;
}

.brand-description {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.brand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

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

.features-grid {
    display: grid;
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.feature-card {
    padding: 2rem;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom, var(--color-gray), var(--color-bg));
}

.feature-card.blue-border {
    border: 1px solid rgba(25, 118, 210, 0.3);
}

.feature-card.red-border {
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.feature-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.feature-number.red {
    color: var(--color-red);
}

.feature-text {
    color: var(--color-text-muted);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #000000;
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(211, 47, 47, 0.3);
    border: 2px solid rgba(211, 47, 47, 0.3);
    position: relative;
}

.google-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-red);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-label {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--color-text-muted);
}

.social-section {
    margin-top: 1rem;
}

.social-label {
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn svg {
    width: 28px;
    height: 28px;
}

.social-btn.instagram {
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
}

.social-btn.facebook {
    background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
}

.social-btn.instagram:hover {
    box-shadow: 0 0 30px rgba(211, 47, 47, 0.8);
    transform: scale(1.1);
}

.social-btn.facebook:hover {
    box-shadow: 0 0 30px rgba(25, 118, 210, 0.8);
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #6b7280;
}

/* Botón Whatsapp */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;

  width: 60px;
  height: 60px;

  background-color: #25d366;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9999;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

/* Hover solo en desktop */
@media (hover: hover) {
  .whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 0.6s ease;
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float img {
    width: 26px;
    height: 26px;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 18px;
    bottom: 18px;
  }

  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 1400px) {
  .whatsapp-float {
    width: 64px;
    height: 64px;
  }

  .whatsapp-float img {
    width: 34px;
    height: 34px;
  }
}

@media (hover: hover) {}



/* ===== RESPONSIVE DESIGN OPTIMIZADO ===== */

/* Mobile pequeño */
@media (max-width: 374px) {
    .title-line-1 { font-size: 2.8rem; }
    .title-line-2 { font-size: 2.2rem; }
    .title-line-3 { font-size: 2.8rem; }
    .video-wrapper { width: 180px; }
    .hero-logo { width: 120px; }
}

/* Mobile */
@media (min-width: 375px) and (max-width: 767px) {
    .title-line-1 { font-size: 3.2rem; }
    .title-line-2 { font-size: 2.5rem; }
    .title-line-3 { font-size: 3.2rem; }
    .video-wrapper { width: 200px; }
    
    .hero {
        padding-bottom: 3rem;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 2rem 0;
    }

    .hero-content {
        text-align: left;
        align-items: flex-start;
    }

    .hero-logo-container {
        justify-content: flex-start;
    }

    .hero-logo {
        width: 160px;
    }

    .title-line-1 { font-size: 4rem; }
    .title-line-2 { font-size: 3.2rem; }
    .title-line-3 { font-size: 4rem; }

    .hero-subtitle {
        margin: 0;
    }

    .cta-button {
        align-self: flex-start;
    }

    .video-wrapper {
        width: 260px;
    }

    .fardos-title {
        font-size: 3.5rem;
    }

    .badges-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* Laptop 15.6" - OPTIMIZACIÓN ESPECÍFICA */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
    }

    .hero-logo {
        width: 180px;
    }

    .title-line-1 { font-size: 4.5rem; }
    .title-line-2 { font-size: 3.5rem; }
    .title-line-3 { font-size: 4.5rem; }

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

    .video-wrapper {
        width: 280px;
    }

    .hero-grid {
        gap: 2.5rem;
    }
}

/* Ajuste altura para laptops */
@media (min-width: 1024px) and (max-height: 800px) {
    .hero {
        min-height: 95vh;
    }

    .hero-grid {
        padding: 1rem 0;
        gap: 2rem;
    }

    .hero-content {
        gap: 1.25rem;
    }

    .title-line-1 { font-size: 4rem; }
    .title-line-2 { font-size: 3rem; }
    .title-line-3 { font-size: 4rem; }

    .video-wrapper {
        width: 240px;
    }
    
    .hero-logo {
        width: 160px;
    }
}

/* Desktop grande */
@media (min-width: 1440px) {
    .hero-logo {
        width: 200px;
    }

    .title-line-1 { font-size: 5rem; }
    .title-line-2 { font-size: 4rem; }
    .title-line-3 { font-size: 5rem; }

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

    .video-wrapper {
        width: 320px;
    }

    .brand-name.large-brand {
        font-size: 5rem;
    }
}

/* Ultra wide */
@media (min-width: 1920px) {
    .title-line-1 { font-size: 5.5rem; }
    .title-line-2 { font-size: 4.5rem; }
    .title-line-3 { font-size: 5.5rem; }

    .video-wrapper {
        width: 360px;
    }
}