/* ============================================
   VIPAQ PERÚ - PROFESSIONAL STYLES
   Paleta: Azul Marino + Rojo + Blanco
   ============================================ */

:root {
    /* Colores principales VIPAQ */
    --color-navy: #0a2342;
    --color-navy-deep: #061732;
    --color-navy-light: #1a3a6b;
    --color-red: #e63946;
    --color-red-dark: #c1292e;
    --color-red-light: #ff5560;
    --color-white: #ffffff;
    --color-cream: #f8f9fb;
    --color-gray-50: #f4f6f9;
    --color-gray-100: #e9edf2;
    --color-gray-200: #d1d8e0;
    --color-gray-400: #8290a6;
    --color-gray-600: #4a5568;
    --color-gray-800: #2d3748;
    --color-black: #0a0e16;
    
    /* Acentos */
    --color-accent: #f4b942;
    --color-success: #25d366;
    
    /* Tipografía */
    --font-display: 'Playfair Display', serif;
    --font-heading: 'Bebas Neue', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espaciado */
    --container-width: 1280px;
    --section-padding: 100px 0;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(10, 35, 66, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 35, 66, 0.10);
    --shadow-lg: 0 20px 50px rgba(10, 35, 66, 0.15);
    --shadow-xl: 0 30px 80px rgba(10, 35, 66, 0.20);
    --shadow-red: 0 12px 30px rgba(230, 57, 70, 0.30);
    
    /* Transiciones */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-800);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============ UTILITIES ============ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--color-red);
}

.text-outline {
    -webkit-text-stroke: 2px var(--color-red);
    color: transparent;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-dark {
    background: var(--color-navy-deep);
    color: var(--color-white);
}

.section-light {
    background: var(--color-cream);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-red);
    padding: 8px 18px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-tag.santander-tag {
    color: var(--color-accent);
    background: rgba(244, 185, 66, 0.1);
    border-color: rgba(244, 185, 66, 0.3);
}

.section-tag.corp-tag {
    color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.1;
    color: var(--color-navy);
    margin-bottom: 20px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.section-dark .section-desc {
    color: var(--color-gray-200);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: var(--color-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(230, 57, 70, 0.4);
}

.btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-navy);
}

.btn-product {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 12px 24px;
    font-size: 13px;
    width: 100%;
}

.btn-product:hover {
    background: var(--color-red);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--color-navy-deep);
    color: var(--color-white);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar i {
    color: var(--color-red);
    margin-right: 6px;
}

.top-cta {
    background: var(--color-red);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.top-cta:hover {
    background: var(--color-red-dark);
}

/* ============ HEADER ============ */
.header {
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-navy);
}

.logo-icon {
    background: var(--color-red);
    color: var(--color-white);
    padding: 4px 8px;
    font-size: 16px;
    border-radius: 4px;
    line-height: 1;
}

.logo-accent {
    color: var(--color-red);
    margin-left: 4px;
}

.nav-main ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-main li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    border-radius: 6px;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
}

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

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 240px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--color-red);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--color-navy);
    font-weight: 500;
}

.dropdown a:hover {
    background: var(--color-cream);
    color: var(--color-red);
    padding-left: 26px;
}

.nav-toggle, .nav-close {
    display: none;
    font-size: 24px;
    color: var(--color-navy);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
    overflow: hidden;
    padding: 80px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 35, 66, 0.92) 0%, rgba(6, 23, 50, 0.85) 100%),
        url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?w=1920') center/cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(230, 57, 70, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 185, 66, 0.10) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.4);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-red);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
}

.hero-scroll i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============ DIVISIONS ============ */
.divisions {
    padding: var(--section-padding);
    background: var(--color-white);
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.division-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: 16px;
    padding: 50px 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: block;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-red);
}

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

.division-card-featured {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.division-card-featured:hover {
    background: var(--color-navy-deep);
}

.division-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-gray-100);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 30px;
    transition: var(--transition);
}

.division-card-featured .division-number {
    color: rgba(255, 255, 255, 0.08);
}

.division-card:hover .division-number {
    color: var(--color-red);
    opacity: 0.2;
}

.division-icon {
    width: 70px;
    height: 70px;
    background: var(--color-red);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.division-card:hover .division-icon {
    transform: rotate(-8deg) scale(1.1);
}

.division-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: var(--color-navy);
}

.division-card-featured h3 {
    color: var(--color-white);
}

.division-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.division-card-featured p {
    color: rgba(255, 255, 255, 0.8);
}

.division-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-red);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.division-card-featured .division-arrow {
    color: var(--color-accent);
}

.division-card:hover .division-arrow i {
    transform: translateX(6px);
}

.division-arrow i {
    transition: var(--transition);
}

/* ============ PRODUCTS GRID ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-red);
    color: var(--color-white);
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
    z-index: 2;
}

.product-info {
    padding: 28px 24px;
}

.product-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.product-info p {
    color: var(--color-gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background: var(--color-cream);
    border-radius: 8px;
    margin-bottom: 18px;
}

.price-item {
    font-size: 13px;
    color: var(--color-gray-800);
}

.price-item strong {
    color: var(--color-red);
    font-size: 15px;
}

/* ============ SANTANDER ============ */
.santander-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--color-white);
    padding: 36px 28px;
    border-radius: 12px;
    border: 1px solid var(--color-gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--color-gray-600);
    font-size: 14px;
    line-height: 1.6;
}

.santander-gallery {
    margin-top: 80px;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 35, 66, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--color-white);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

/* ============ VIPAQCORP ============ */
.vipaqcorp-section {
    background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-black) 100%);
    position: relative;
    overflow: hidden;
}

.vipaqcorp-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.corp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.corp-feature {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
}

.corp-feature:hover {
    border-color: rgba(0, 217, 255, 0.4);
    transform: translateY(-6px);
}

.corp-feature-highlight {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(230, 57, 70, 0.1));
    border-color: rgba(0, 217, 255, 0.3);
}

.corp-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00d9ff, #0095b8);
    color: var(--color-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    margin-bottom: 24px;
}

.corp-feature h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--color-white);
}

.corp-feature p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.corp-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.corp-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.corp-list i {
    color: #00d9ff;
    font-size: 12px;
}

.corp-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.corp-tagline {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #00d9ff;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.corp-showcase-text h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.1;
}

.corp-showcase-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.corp-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.corp-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: var(--transition);
}

.corp-step:hover {
    background: rgba(0, 217, 255, 0.08);
    border-color: rgba(0, 217, 255, 0.3);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-red);
    line-height: 1;
}

.corp-step h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.corp-step p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
}

.corp-showcase-img {
    position: relative;
}

.corp-showcase-img img {
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.corp-floating-card {
    position: absolute;
    bottom: -25px;
    left: -25px;
    background: var(--color-white);
    color: var(--color-navy);
    padding: 16px 22px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 14px;
}

.corp-floating-card i {
    color: var(--color-red);
    font-size: 28px;
}

.corp-floating-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.corp-floating-card span {
    font-size: 12px;
    color: var(--color-gray-600);
}

/* ============ WHY US ============ */
.why-us {
    padding: var(--section-padding);
    background: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.why-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-red);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.2;
    transition: var(--transition);
}

.why-item:hover .why-number {
    opacity: 1;
    transform: scale(1.1);
}

.why-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-navy);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.why-item p {
    color: var(--color-gray-600);
    font-size: 14px;
    line-height: 1.6;
}

/* ============ CONTACT ============ */
.contact-section {
    padding: var(--section-padding);
    background: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-desc {
    color: var(--color-gray-600);
    margin-bottom: 36px;
    font-size: 1.05rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--color-red);
    color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

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

.contact-item strong {
    display: block;
    color: var(--color-navy);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item a, .contact-item span {
    color: var(--color-gray-600);
    font-size: 15px;
}

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

.contact-form-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-navy);
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--color-navy);
    transition: var(--transition);
    background: var(--color-cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-red);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.logo-footer {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-links li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-red);
    padding-left: 6px;
}

.footer-links i {
    color: var(--color-red);
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-tagline {
    color: var(--color-red);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============ FLOATING PROMO ============ */
.floating-promo {
    position: fixed;
    left: 20px;
    bottom: 100px;
    z-index: 998;
}

.floating-promo-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
    position: relative;
}

.floating-promo-toggle:hover {
    transform: scale(1.1) rotate(-10deg);
}

.promo-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--color-red);
    opacity: 0.4;
    animation: pulseRing 2s infinite;
    z-index: -1;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.floating-promo-panel {
    position: absolute;
    left: 0;
    bottom: 80px;
    width: 320px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom left;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.floating-promo.active .floating-promo-panel {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.promo-header {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-header h4 {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.promo-close {
    color: var(--color-white);
    font-size: 18px;
}

.promo-items {
    padding: 16px;
}

.promo-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 6px;
}

.promo-item:hover {
    background: var(--color-cream);
    transform: translateX(4px);
}

.promo-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.promo-item strong {
    display: block;
    color: var(--color-navy);
    font-size: 14px;
    margin-bottom: 2px;
}

.promo-item span {
    color: var(--color-gray-600);
    font-size: 12px;
}

.promo-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-success);
    color: var(--color-white);
    padding: 14px;
    margin: 0 16px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.promo-cta:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* ============ WHATSAPP WIDGET (Estilo WATI Premium) ============ */
.wa-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.wa-button {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    order: 2;
}

.wa-button:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.wa-button-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--color-success);
    opacity: 0.4;
    animation: pulseRing 2s infinite;
    z-index: -1;
}

.wa-button-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--color-red);
    color: var(--color-white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    animation: pulse 2s infinite;
}

.wa-button-label {
    background: var(--color-success);
    color: var(--color-white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    order: 1;
    animation: bounceLabel 2s infinite;
}

@keyframes bounceLabel {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.wa-popup {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 340px;
    max-width: calc(100vw - 30px);
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.wa-widget.active .wa-popup {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.wa-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    z-index: 2;
    transition: var(--transition);
}

.wa-popup-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.wa-popup-header {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.wa-popup-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-success);
}

.wa-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25d366, #1da851);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-white);
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.wa-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--color-success);
    border: 2px solid var(--color-white);
    border-radius: 50%;
}

.wa-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.wa-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.wa-popup-body {
    padding: 24px 20px 16px;
    background: 
        linear-gradient(rgba(248, 249, 251, 0.92), rgba(248, 249, 251, 0.92)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><text x="10" y="30" font-size="20" fill="%23e0e0e0">💬</text><text x="40" y="60" font-size="16" fill="%23e0e0e0">📦</text></svg>');
    background-size: 80px;
}

.wa-message {
    background: var(--color-white);
    padding: 16px 18px;
    border-radius: 4px 16px 16px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

.wa-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent var(--color-white) transparent transparent;
}

.wa-message p {
    color: var(--color-navy);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 4px 0;
}

.wa-message p strong {
    color: var(--color-red);
}

.wa-time {
    display: block;
    font-size: 11px;
    color: var(--color-gray-400);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wa-time::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.wa-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: var(--color-white);
    padding: 14px;
    margin: 0 16px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    color: var(--color-white);
}

.wa-popup-btn i {
    font-size: 20px;
}

.wa-popup-footer {
    text-align: center;
    font-size: 11px;
    color: var(--color-gray-400);
    padding: 0 16px 14px;
    margin: 0;
}

.wa-popup-footer strong {
    color: var(--color-red);
}

/* ============ CHATBOT ============ */
.chatbot {
    position: fixed;
    bottom: 95px;
    right: 20px;
    z-index: 999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-red);
    color: var(--color-white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 520px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    overflow: hidden;
}

.chatbot.active .chatbot-window {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
    color: var(--color-white);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 42px;
    height: 42px;
    background: var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chatbot-header h4 {
    font-size: 14px;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.chat-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chatbot-close {
    color: var(--color-white);
    font-size: 20px;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--color-cream);
}

.chat-message {
    margin-bottom: 16px;
    display: flex;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.bot .chat-bubble {
    background: var(--color-white);
    color: var(--color-navy);
    border-top-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.chat-message.user .chat-bubble {
    background: var(--color-red);
    color: var(--color-white);
    border-top-right-radius: 4px;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.quick-reply {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    color: var(--color-navy);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.quick-reply:hover {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

.chatbot-input {
    display: flex;
    padding: 14px;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-100);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--color-gray-200);
    border-radius: 24px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--color-red);
}

#chatSend {
    background: var(--color-red);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: var(--transition);
}

#chatSend:hover {
    background: var(--color-red-dark);
    transform: scale(1.1);
}

/* ============ MODAL ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 35, 66, 0.85);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.4s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-cream);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: rotate(90deg);
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-navy);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.modal-content p {
    color: var(--color-gray-600);
    margin-bottom: 24px;
}

.modal-content p strong {
    color: var(--color-red);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .divisions-grid,
    .products-grid,
    .santander-services,
    .corp-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .corp-showcase,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .hide-mobile { display: none; }
    
    .top-bar { font-size: 11px; }
    .top-bar-left, .top-bar-right { gap: 12px; }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        padding: 80px 24px 24px;
        transition: right 0.4s ease;
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
    }
    
    .nav-main.active {
        right: 0;
    }
    
    .nav-main ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-main li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-100);
    }
    
    .nav-link {
        padding: 16px 12px;
        font-size: 16px;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 10px 16px;
    }
    
    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 24px;
    }
    
    .divisions-grid,
    .products-grid,
    .santander-services,
    .corp-grid,
    .gallery-grid,
    .why-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero { min-height: 80vh; }
    .hero-stats { gap: 30px; }
    .stat-number { font-size: 2.2rem; }
    
    .corp-steps { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .contact-form-wrapper { padding: 28px 22px; }
    
    .floating-promo {
        left: 12px;
        bottom: 90px;
    }
    
    .floating-promo-panel {
        width: 280px;
    }
    
    .chatbot-window {
        width: calc(100vw - 30px);
        right: -10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============ ANIMATIONS ON SCROLL ============ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
