/* Logo sizing variables - Frontend Lead implementation */
:root {
    --logo-header-h: auto;
    --logo-hero-w: clamp(150px, 25vw, 220px);
    --logo-values-w: clamp(400px, 50vw, 600px);
    --logo-footer-h: auto;
    --logo-card: clamp(40px, 5vw, 60px);
}

/* Global brand image utilities - Frontend Lead implementation */
.img-brand {
    display: inline-block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    transition: all 0.3s ease;
    /* Prevent CLS and ensure sharp rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.img-brand:hover {
    transform: translateZ(0);
    object-fit: contain;
}

/* Specific brand logo containers */
.navbar .logo { height: auto; display: flex; align-items: center; }
.hero .hero-logo-enhanced { width: var(--logo-hero-w); margin: 0 auto; }
.footer-logo { height: auto; display: flex; align-items: center; }

/* Reset y base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #4B4B4B;
    background-color: #0A1B3D;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #0F2B5B;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #4B4B4B;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0F2B5B 0%, #1a3a70 50%, #2e4a85 100%);
    color: white;
    box-shadow: 
        0 8px 25px rgba(15, 43, 91, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a3a70 0%, #2e4a85 50%, #0F2B5B 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(15, 43, 91, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,249,250,0.9));
    color: #0F2B5B;
    border: 2px solid #0F2B5B;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #0F2B5B 0%, #1a3a70 50%, #2e4a85 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(15, 43, 91, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 249, 250, 0.85) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(15, 43, 91, 0.1);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(25px) saturate(200%);
    box-shadow: 0 12px 40px rgba(15, 43, 91, 0.15);
    border-bottom-color: rgba(15, 43, 91, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
}

.logo-brand {
    color: #0F2B5B;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 2px;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #4B4B4B;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 3px;
}

.logo-tagline {
    font-size: 0.6rem;
    color: #0F2B5B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1;
    opacity: 0.8;
    margin-top: 0px;
}

.logo-image {
    height: auto;
    width: auto;
    max-height: 64px;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.logo:hover .logo-image {
    transform: scale(1.02);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-left: 0px;
    justify-content: center;
}

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

.nav-link {
    text-decoration: none;
    color: #4B4B4B;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0F2B5B;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0F2B5B;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    position: relative;
    z-index: 1001;
    background: transparent;
    border: none;
    outline: none;
    align-items: center;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #0F2B5B;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}

.header.scrolled .hamburger .bar {
    background-color: #0F2B5B;
}

/* Hero Section - Diseño Profesional Corporativo */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    color: white;
    background: 
        linear-gradient(135deg, #0A1B3D 0%, #1A2B5D 35%, #2A3B7D 65%, #0A1B3D 100%),
        radial-gradient(ellipse at center, rgba(74, 144, 226, 0.06) 0%, transparent 70%);
    z-index: 10;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, #0A1B3D 0%, #1A2B5D 35%, #2A3B7D 65%, #0A1B3D 100%),
        radial-gradient(ellipse at 30% 40%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    z-index: -3;
}

.hero-geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="corp-pattern" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="1" fill="rgba(74,144,226,0.08)"/><rect x="38" y="38" width="4" height="4" fill="rgba(255,255,255,0.02)" rx="1"/><circle cx="20" cy="20" r="0.5" fill="rgba(74,144,226,0.06)"/><circle cx="60" cy="60" r="0.5" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23corp-pattern)"/></svg>');
    opacity: 0.3;
    animation: patternFloat 30s ease-in-out infinite;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(10, 27, 61, 0.15) 0%, transparent 40%, rgba(26, 43, 93, 0.1) 100%),
        radial-gradient(ellipse at center, transparent 30%, rgba(10, 27, 61, 0.2) 80%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%);
    z-index: -1;
}

/* Elementos decorativos profesionales */
.hero-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-corner-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 8px;
    background: 
        linear-gradient(45deg, rgba(74, 144, 226, 0.05) 0%, transparent 50%),
        rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    animation: cornerPulse 4s ease-in-out infinite;
}

.hero-corner-accent.top-left {
    top: 120px;
    left: 30px;
    border-right: none;
    border-bottom: none;
    animation-delay: 0s;
}

.hero-corner-accent.top-right {
    top: 120px;
    right: 30px;
    border-left: none;
    border-bottom: none;
    animation-delay: 1s;
}

.hero-corner-accent.bottom-left {
    bottom: 180px;
    left: 30px;
    border-right: none;
    border-top: none;
    animation-delay: 2s;
}

.hero-corner-accent.bottom-right {
    bottom: 180px;
    right: 30px;
    border-left: none;
    border-top: none;
    animation-delay: 3s;
}



/* Sección principal del hero */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 120px 0 20px;
    position: relative;
    z-index: 2;
}

.hero-main {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    animation: heroMainEnter 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    gap: -0.5rem;
}

/* Logo central elegante */
.hero-logo-section {
    position: relative;
    padding: 0.5rem 0;
    flex-shrink: 0;
    margin-bottom: -1rem;
}

.hero-logo-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 0;
}

.hero-logo-brand {
    color: white;
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 0.15em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
}

.hero-logo-subtitle {
    display: block;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1;
    margin: 0;
    margin-top: 0.5rem;
}

.hero-logo-final-120x120 {
    width: var(--logo-hero-w);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0.5rem;
}

.hero-logo-dacrom {
    width: clamp(300px, 50vw, 600px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 1rem;
}

.hero-logo-enhanced:hover .hero-logo-final-120x120 {
    transform: scale(1.02);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.hero-logo-enhanced:hover .hero-logo-dacrom {
    transform: scale(1.02);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.hero-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
}



/* Líneas profesionales decorativas */
.hero-professional-lines {
    position: relative;
    height: 3px;
    margin: 2rem auto;
    width: 300px;
}

.prof-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.8), transparent);
    animation: lineExpand 2.5s ease-out forwards;
    opacity: 0;
    border-radius: 1px;
}

.prof-line.line-left {
    left: 0;
    width: 120px;
    animation-delay: 0.8s;
}

.prof-line.line-right {
    right: 0;
    width: 120px;
    animation-delay: 1s;
}

.prof-line.line-center {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation-delay: 0.9s;
}

/* Sección de texto restructurada */
.hero-text-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-text-decorative {
    position: relative;
    margin-bottom: 1rem;
}

.text-accent-line {
    height: 1px;
    width: 100px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem auto;
    animation: accentLineGlow 4s ease-in-out infinite;
    opacity: 0.6;
}

.hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin: 2rem 0 1.5rem 0;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-align: center;
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.hero-title::before {
    content: '"';
    font-size: clamp(3rem, 6vw, 4rem);
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
}

.hero-title::after {
    content: '"';
    font-size: clamp(3rem, 6vw, 4rem);
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    right: 0;
    top: -0.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
}

.hero-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 750px;
    text-align: center;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Botones corporativos */
.hero-cta-section {
    flex-shrink: 0;
    margin-top: 1rem;
}

.cta-decorative-frame {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    padding: 1rem;
    align-items: center;
}

.cta-decorative-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.3), transparent);
}

.btn-corporate,
.btn-outline-corporate {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: btnCorporateEnter 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.5s forwards;
    min-width: 160px;
}

.btn-corporate {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-color: #4A90E2;
    color: white;
    box-shadow: 
        0 4px 15px rgba(74, 144, 226, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline-corporate {
    background: 
        linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(74, 144, 226, 0.5);
    color: rgba(255, 255, 255, 0.9);
    animation-delay: 1.7s;
}

.btn-corporate::before,
.btn-outline-corporate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn-corporate:hover,
.btn-outline-corporate:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(74, 144, 226, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.15);
}

.btn-corporate:hover::before,
.btn-outline-corporate:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline-corporate:hover {
    border-color: rgba(74, 144, 226, 0.8);
    color: white;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
}

/* Estadísticas corporativas */
.hero-stats-corporate {
    background: 
        linear-gradient(180deg, rgba(10, 27, 61, 0.95) 0%, rgba(26, 43, 93, 0.90) 100%),
        linear-gradient(135deg, rgba(74, 144, 226, 0.06) 0%, transparent 50%);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(74, 144, 226, 0.2);
    padding: 60px 0 40px 0;
    position: relative;
    z-index: 11;
}

.hero-stats-corporate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, rgba(74, 144, 226, 0.04) 0%, transparent 60%),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
    pointer-events: none;
}

.stats-professional-frame {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.stats-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

.stats-accent-line {
    height: 1px;
    width: 100px;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.6), transparent);
    animation: accentLineGlow 3s ease-in-out infinite;
}

.stats-grid-corporate {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item-corporate {
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(45deg, rgba(74, 144, 226, 0.06) 0%, transparent 70%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 144, 226, 0.15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: statEnterCorporate 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.stat-item-corporate:nth-child(1) { animation-delay: 2s; }
.stat-item-corporate:nth-child(2) { animation-delay: 2.2s; }
.stat-item-corporate:nth-child(3) { animation-delay: 2.4s; }
.stat-item-corporate:nth-child(4) { animation-delay: 2.6s; }

.stat-item-corporate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.stat-item-corporate:hover::before {
    opacity: 1;
}

.stat-item-corporate:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 20px 60px rgba(74, 144, 226, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(74, 144, 226, 0.3);
}

.stat-content {
    width: 100%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4A90E2;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(74, 144, 226, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Animaciones */
@keyframes patternFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-10px) rotate(2deg); opacity: 0.5; }
}

@keyframes cornerPulse {
    0%, 100% { 
        opacity: 0.3; 
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.1); 
    }
    50% { 
        opacity: 0.6; 
        box-shadow: 0 0 30px rgba(74, 144, 226, 0.2); 
    }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(5deg); }
    66% { transform: translateY(5px) rotate(-3deg); }
}

@keyframes heroMainEnter {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoEnhancedGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.3)); 
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(74, 144, 226, 0.5)); 
    }
}

@keyframes lineExpand {
    0% {
        opacity: 0;
        width: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes accentLineGlow {
    0%, 100% { 
        opacity: 0.5; 
        box-shadow: 0 0 10px rgba(74, 144, 226, 0.2); 
    }
    50% { 
        opacity: 1; 
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.4); 
    }
}



@keyframes titleShimmer {
    0%, 100% { 
        background-position: 0% 50%; 
        transform: scale(1);
    }
    50% { 
        background-position: 100% 50%; 
        transform: scale(1.02);
    }
}

@keyframes btnCorporateEnter {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    70% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes statEnterCorporate {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero Responsive Design */
@media (max-width: 1024px) {
    .hero-corner-accent {
        width: 60px;
        height: 60px;
    }
    
    .hero-logo-enhanced {
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stats-grid-corporate {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-item-corporate {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-corner-accent {
        width: 50px;
        height: 50px;
    }
    
    .hero-corner-accent.top-left,
    .hero-corner-accent.top-right {
        top: 100px;
    }
    
    .hero-corner-accent.bottom-left,
    .hero-corner-accent.bottom-right {
        bottom: 120px;
    }
    
    .hero-corner-accent.top-left,
    .hero-corner-accent.bottom-left {
        left: 15px;
    }
    
    .hero-corner-accent.top-right,
    .hero-corner-accent.bottom-right {
        right: 15px;
    }
    

    
    .hero-content {
        padding: 55px 0 10px;
    }
    
    .hero-main {
        min-height: 80vh;
        padding: 2rem 1.5rem;
        gap: -0.3rem;
    }
    
    .hero-logo-section {
        padding: 1rem 0;
    }
    
    .hero-logo-enhanced {
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .hero-logo-enhanced {
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero-logo-brand {
        font-size: 3.5rem;
    }
    

    
    .hero-professional-lines {
        width: 250px;
    }
    
    .prof-line.line-left,
    .prof-line.line-right {
        width: 60px;
    }
    
    .prof-line.line-center {
        width: 50px;
    }
    
    .hero-text-section {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin: 1rem 0;
    }
    
    .text-accent-line {
        width: 80px;
    }
    
    .hero-subtitle-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-decorative-frame {
        gap: 1.5rem;
        padding: 0.5rem;
    }
    
    .cta-decorative-frame::before {
        width: 150px;
    }
    
    .btn-corporate,
    .btn-outline-corporate {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 200px;
    }
    
    .hero-stats-corporate {
        padding: 30px 0;
    }
    
    .stats-header {
        margin-bottom: 2rem;
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .stats-header h3 {
        font-size: 1.2rem;
    }
    
    .stats-accent-line {
        width: 80px;
    }
    
    .stats-grid-corporate {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item-corporate {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
    }
    
    .hero-corner-accent {
        width: 40px;
        height: 40px;
    }
    
    .hero-corner-accent.top-left,
    .hero-corner-accent.top-right {
        top: 90px;
    }
    
    .hero-corner-accent.bottom-left,
    .hero-corner-accent.bottom-right {
        bottom: 100px;
    }
    
    .hero-corner-accent.top-left,
    .hero-corner-accent.bottom-left {
        left: 10px;
    }
    
    .hero-corner-accent.top-right,
    .hero-corner-accent.bottom-right {
        right: 10px;
    }
    

    
    .hero-content {
        padding: 80px 0 10px;
    }
    
    .hero-logo-section {
        padding: 0.5rem 0;
    }
    
    .hero-main {
        min-height: 75vh;
        padding: 1.5rem 1rem;
        gap: -0.2rem;
    }
    
    .hero-logo-enhanced {
        gap: 0.8rem;
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-logo-dacrom {
        width: clamp(250px, 45vw, 400px);
        margin-bottom: 0.8rem;
    }
    
    .hero-logo-text {
        align-items: center;
        text-align: center;
        margin-left: 0;
    }
    
    .hero-logo-brand {
        font-size: 2.8rem;
    }
    

    
    .hero-logo-subtitle {
        font-size: 1rem;
    }
    
    .hero-professional-lines {
        width: 200px;
    }
    
    .prof-line.line-left,
    .prof-line.line-right {
        width: 50px;
    }
    
    .prof-line.line-center {
        width: 40px;
    }
    
    .hero-text-section {
        max-width: 500px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin: 0.8rem 0;
        line-height: 1.3;
    }
    
    .text-accent-line {
        width: 60px;
    }
    
    .hero-subtitle-wrapper {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-cta-section {
        margin-top: 1.5rem;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .cta-decorative-frame {
        gap: 1rem;
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .cta-decorative-frame::before {
        width: 100px;
    }
    
    .btn-corporate,
    .btn-outline-corporate {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .cta-decorative-frame {
        gap: 1.5rem;
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .hero-stats-corporate {
        padding: 20px 0;
    }
    
    .stats-header {
        margin-bottom: 1.5rem;
        gap: 1rem;
    }
    
    .stats-header h3 {
        font-size: 1rem;
    }
    
    .stats-accent-line {
        width: 60px;
    }
    
    .stats-grid-corporate {
        gap: 1rem;
    }
    
    .stat-item-corporate {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* About Section */
.about {
    padding: 5rem 0 6rem 0;
    background: linear-gradient(180deg, 
        rgba(248, 249, 250, 0.95) 0%, 
        #FFFFFF 20%, 
        #FFFFFF 100%);
    margin-top: -20px;
    border-radius: 40px 40px 0 0;
    position: relative;
    z-index: 10;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text {
    max-width: 600px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #4B4B4B;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4B4B4B;
}

.feature-item i {
    color: #0F2B5B;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #E8E8E8 0%, #4B4B4B 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0 auto;
}

.business-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* ===== RESPONSIVE OPTIMIZATIONS ===== */

/* Hero Section Mobile Optimization */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 100px 0 40px;
        perspective: none;
    }
    
    .hero-text {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-title::after {
        width: 40px;
        height: 2px;
        bottom: -6px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        padding: 1.5rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 20px;
        max-width: 100%;
        justify-items: center;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
        border-radius: 12px;
        min-height: auto;
        text-align: center;
        max-width: 160px;
        width: 100%;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
        line-height: 1.1;
    }
    
    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
        line-height: 1.2;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 80px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-stats {
        padding: 1rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 15px;
        max-width: 100%;
        justify-items: center;
    }
    
    .stat-item {
        padding: 0.75rem 0.5rem;
        border-radius: 10px;
        min-height: auto;
        max-width: 140px;
        width: 100%;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
        line-height: 1;
    }
    
    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.2px;
        line-height: 1.1;
        margin: 0;
    }
}

/* Header Mobile Optimization */
@media (max-width: 768px) {
    .header {
        padding: 0.3rem 0;
        min-height: 45px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(15, 43, 91, 0.1);
    }
    
    .navbar {
        position: relative;
    }
    
    .nav-container {
        padding: 0 12px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        transform: scale(0.85);
        margin-right: 0;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .logo-image {
        height: auto;
        max-height: 75px;
        max-width: 210px;
        margin-right: 8px;
        object-fit: contain;
    }
    
    .logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 3px;
    }
    
    .logo-brand {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.1;
        margin: 0;
        color: #0F2B5B;
        letter-spacing: 0.04em;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
        font-weight: 500;
        line-height: 1.1;
        margin: 0;
        color: #2A3B7D;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
        font-weight: 600;
        line-height: 1.1;
        margin: 0;
        color: #4A90E2;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }
    
    .nav-menu {
        position: fixed;
        top: 45px;
        left: 0;
        width: 100%;
        height: calc(100vh - 45px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1000;
        border-top: 1px solid rgba(15, 43, 91, 0.1);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        margin: 0.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInFromTop 0.3s ease forwards;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        color: #0F2B5B;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0.25rem 0;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-left: auto;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    /* HAMBURGER DEFINITIVO - AZUL Y VISIBLE */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 45px;
        height: 40px;
        padding: 10px;
        cursor: pointer;
        background: #0F2B5B;
        border: 2px solid #0F2B5B;
        border-radius: 8px;
        position: relative;
        z-index: 1002;
        margin-left: auto;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(15, 43, 91, 0.3);
    }
    
    .hamburger:hover {
        background: #1A3B6B;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(15, 43, 91, 0.4);
    }
    
    .hamburger .bar {
        width: 100%;
        height: 5px;
        background-color: #FFFFFF !important;
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0;
        min-height: 50px;
    }
    
    .nav-container {
        padding: 0 15px;
        min-height: 45px;
    }
    
    .logo {
        transform: scale(0.9);
        margin-right: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }
    
    .logo-image {
        height: auto;
        max-height: 72px;
        max-width: 190px;
        margin-right: 8px;
        object-fit: contain;
    }
    
    .logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
    }
    
    .logo-brand {
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1.1;
        margin: 0;
        color: #0F2B5B;
        letter-spacing: 0.05em;
    }
    
    .logo-subtitle {
        font-size: 0.85rem;
        font-weight: 500;
        line-height: 1.1;
        margin: 0;
        color: #2A3B7D;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
        font-weight: 600;
        line-height: 1.1;
        margin: 0;
        color: #4A90E2;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    
    .nav-menu {
        top: 50px;
        height: calc(100vh - 50px);
    }
    
    .nav-actions {
        gap: 0.8rem;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    /* HAMBURGER PARA MÓVIL PEQUEÑO - OPTIMIZADO */
    .hamburger {
        display: flex !important;
        width: 48px;
        height: 42px;
        padding: 10px;
        background: #0F2B5B;
        border: 2px solid #0F2B5B;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(15, 43, 91, 0.4);
        transition: all 0.3s ease;
        position: relative;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    
    .hamburger:hover {
        background: #1A3B6B;
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(15, 43, 91, 0.5);
    }
    
    .hamburger .bar {
        height: 5px;
        background-color: #FFFFFF !important;
        border-radius: 3px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        width: 100%;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translateY(9px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translateY(-9px);
    }
}

/* Philosophy Section */
.philosophy {
    padding: 120px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0F2B5B, transparent);
}

.philosophy::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C1A264, transparent);
}

.philosophy-blocks {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-block {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(15, 43, 91, 0.12);
    border: 2px solid rgba(15, 43, 91, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #C1A264 0%, #D4B87A 100%);
}

.philosophy-block::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(193, 162, 100, 0.1) 0%, transparent 70%);
    border-radius: 0 20px 0 0;
}

.philosophy-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(15, 43, 91, 0.18);
    border-color: rgba(193, 162, 100, 0.2);
}

.philosophy-block:hover::before {
    background: linear-gradient(180deg, #D4B87A 0%, #C1A264 100%);
}

.philosophy-block:hover::after {
    background: radial-gradient(circle, rgba(193, 162, 100, 0.15) 0%, transparent 70%);
}

.philosophy-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #0F2B5B 0%, #1e3a6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(15, 43, 91, 0.4);
    transition: all 0.4s ease;
    border: 4px solid #C1A264;
    position: relative;
    overflow: hidden;
}

.philosophy-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #C1A264, #D4B87A, #C1A264);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.philosophy-block:hover .philosophy-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 16px 40px rgba(15, 43, 91, 0.5);
    border-color: #0F2B5B;
}

.philosophy-block:hover .philosophy-icon::before {
    opacity: 0.3;
}

.philosophy-icon i {
    font-size: 2.2rem;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

.philosophy-content {
    flex: 1;
    position: relative;
    padding-left: 1rem;
}

.philosophy-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(193, 162, 100, 0.3) 0%, rgba(193, 162, 100, 0.1) 100%);
    border-radius: 2px;
}

.philosophy-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2C3E50;
    font-weight: 400;
    margin: 0;
    text-align: justify;
    position: relative;
}

/* Imagen de filosofía */
.philosophy-image {
    margin-top: 2.5rem;
    text-align: center;
}

.trabajo-image-container {
    text-align: center;
    margin-top: 3rem;
    padding: 0 20px;
}

.trabajo-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 43, 91, 0.06);
    border: 1px solid rgba(15, 43, 91, 0.03);
    transition: all 0.3s ease;
}

.trabajo-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 43, 91, 0.08);
}

/* Philosophy Section Responsive */
@media (max-width: 768px) {
    .philosophy {
        padding: 80px 0;
    }
    
    .philosophy-blocks {
        gap: 2.5rem;
        padding: 0 20px;
    }
    
    .philosophy-block {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 2rem;
    }
    
    .philosophy-block::before {
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #C1A264 0%, #D4B87A 100%);
    }
    
    .philosophy-block::after {
        width: 50px;
        height: 50px;
        border-radius: 0 20px 0 0;
    }
    
    .philosophy-icon {
        width: 80px;
        height: 80px;
    }
    
    .philosophy-icon i {
        font-size: 2rem;
    }
    
    .philosophy-content {
        padding-left: 0;
    }
    
    .philosophy-content::before {
        display: none;
    }
    
    .philosophy-content p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .philosophy {
        padding: 60px 0;
    }
    
    .philosophy-blocks {
        gap: 2rem;
        padding: 0 15px;
    }
    
    .philosophy-block {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .philosophy-icon {
        width: 60px;
        height: 60px;
    }
    
    .philosophy-icon i {
        font-size: 1.8rem;
    }
    
    .philosophy-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 360px) {
    .philosophy-image {
        margin-top: 1.25rem;
    }
    
    .trabajo-image-container {
        margin-top: 2rem;
        padding: 0 15px;
    }
    
    .trabajo-image {
        max-width: 240px;
        border-radius: 6px;
    }
}

/* About Section Mobile Optimization */
@media (max-width: 768px) {
    .about {
        padding: 3rem 0 4rem 0;
        margin-top: -15px;
        border-radius: 25px 25px 0 0;
    }
    
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .about-text {
        text-align: center;
        max-width: 500px;
        order: 1;
        width: 100%;
    }
    
    .about-text .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .about-description {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .about-text p {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-features {
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .about-image {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 420px;
        height: 350px;
        margin: 0 auto;
        box-shadow: 0 15px 35px rgba(15, 43, 91, 0.15);
        border-radius: 20px;
        overflow: hidden;
        background: #f8f9fa;
    }
    
    .business-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        transition: transform 0.3s ease;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 1.5rem 0 2rem 0;
        margin-top: -15px;
        border-radius: 20px 20px 0 0;
    }
    
    .about-content {
        gap: 2.5rem;
        display: flex;
        flex-direction: column;
    }
    
    .about-text {
        max-width: 350px;
        text-align: center;
        order: 1;
    }
    
    .about-text .section-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .about-description {
        text-align: center;
    }
    
    .about-text p {
        text-align: center;
    }
    
    .about-features {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .about-image {
        order: 2;
        margin-top: 1.5rem;
    }
    
    .image-placeholder {
        height: 320px;
        max-width: 360px;
        border-radius: 20px;
        box-shadow: 0 12px 30px rgba(15, 43, 91, 0.12);
    }
    
    .business-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 20px;
    }
}

/* ===== SERVICIOS - DASHBOARD STYLE MEJORADO ===== */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #E8E8E8 100%);
    position: relative;
    z-index: 10;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0F2B5B, transparent);
}

/* Dashboard Container */
.services-dashboard {
    max-width: 1500px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 
        0 25px 80px rgba(15, 43, 91, 0.08),
        0 10px 40px rgba(75, 75, 75, 0.04);
    overflow: hidden;
    border: 1px solid rgba(232, 232, 232, 0.8);
}

/* Navigation Tabs */
.services-nav {
    display: flex;
    background: #0F2B5B;
    position: relative;
}

.services-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.nav-tab {
    flex: 1;
    padding: 32px 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow: hidden;
}



.nav-tab i {
    font-size: 22px;
}

.nav-tab.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E8E8E8, #ffffff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.nav-tab.active .tab-indicator {
    transform: scaleX(1);
}

/* Services Content */
.services-content {
    position: relative;
    min-height: 700px;
    background: #ffffff;
}

.services-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    padding: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.services-grid.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 
        0 12px 35px rgba(15, 43, 91, 0.06),
        0 4px 15px rgba(75, 75, 75, 0.04);
    border: 1px solid #E8E8E8;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: all 0.3s ease;
}

/* Efecto hover sutil y controlado */
.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 16px 45px rgba(15, 43, 91, 0.08),
        0 6px 20px rgba(75, 75, 75, 0.06);
    border-color: rgba(15, 43, 91, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #FFFFFF;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F2B5B;
    font-size: 28px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 43, 91, 0.15);
    transition: none;
    border: 2px solid #0F2B5B;
}





.card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0F2B5B;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.service-card p {
    color: #4B4B4B;
    line-height: 1.7;
    margin: 0 0 25px 0;
    font-size: 15px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(232, 232, 232, 0.5);
}

.service-tag {
    background: linear-gradient(135deg, #E8E8E8, #ffffff);
    color: #0F2B5B;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(15, 43, 91, 0.1);
}

.info-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #0F2B5B, #4B4B4B);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(15, 43, 91, 0.25);
    transition: all 0.3s ease;
    z-index: 10;
}

/* Efecto hover sutil para el botón de información */
.info-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(15, 43, 91, 0.35);
    background: linear-gradient(135deg, #1a3a70, #5B5B5B);
}

/* Info Panel */
.info-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 43, 91, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.info-panel.active {
    opacity: 1;
    visibility: visible;
}

.info-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 
        0 30px 80px rgba(15, 43, 91, 0.3),
        0 12px 40px rgba(75, 75, 75, 0.15);
    transform: scale(0.9) translateY(50px);
    transition: transform 0.4s ease;
    border: 1px solid rgba(232, 232, 232, 0.3);
}

.info-panel.active .info-content {
    transform: scale(1) translateY(0);
}

.close-info {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(232, 232, 232, 0.1);
    color: #4B4B4B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    font-size: 18px;
}

/* Efecto hover del botón cerrar eliminado */

.info-header {
    padding: 50px 50px 25px 50px;
    text-align: center;
    border-bottom: 2px solid #E8E8E8;
    background: linear-gradient(135deg, #ffffff, rgba(232, 232, 232, 0.1));
}

.info-header .info-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #0F2B5B, #4B4B4B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    margin: 0 auto 25px auto;
    box-shadow: 0 15px 35px rgba(15, 43, 91, 0.3);
}

.info-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0F2B5B;
    margin: 0;
    line-height: 1.3;
}

.info-body {
    padding: 40px 50px;
}

.info-body p {
    color: #4B4B4B;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

.info-benefits {
    margin-top: 25px;
}

.info-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-benefits li {
    padding: 12px 0;
    color: #4B4B4B;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.info-benefits li::before {
    content: '✓';
    background: linear-gradient(135deg, #0F2B5B, #4B4B4B);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.info-footer {
    padding: 0 50px 50px 50px;
    text-align: center;
    border-top: 1px solid #E8E8E8;
    background: rgba(232, 232, 232, 0.05);
}

.info-footer .btn {
    margin-top: 30px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #0F2B5B, #4B4B4B);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(15, 43, 91, 0.25);
}

/* Efecto hover del botón footer eliminado */

/* Services Section Mobile Optimization */
@media (max-width: 768px) {
    .services {
        padding: 4rem 0;
    }
    
    .services-dashboard {
        margin: 0 20px;
        border-radius: 20px;
    }
    
    .services-nav {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .services-nav::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tab {
        padding: 20px 14px;
        font-size: 14px;
        min-width: 110px;
        flex-shrink: 0;
        gap: 8px;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: flex;
    }
    
    .nav-tab i {
        font-size: 18px;
        margin-bottom: 6px;
        display: block;
    }
    
    .nav-tab span {
        font-size: 11.5px;
        font-weight: 700;
        line-height: 1.1;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
        display: block;
        width: 100%;
        max-width: 90px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .service-card {
        padding: 24px;
        min-height: auto;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        border-radius: 14px;
    }
    
    .card-header {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .card-header h3 {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .service-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .service-tag {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .info-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .info-content {
        width: 95%;
        margin: 10px;
        max-height: calc(100vh - 100px);
    }
    
    .info-header {
        padding: 20px;
    }
    
    .info-body {
        padding: 0 20px 20px;
    }
    
    .info-footer {
        padding: 15px 20px;
    }
    
    .info-header .info-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .info-header h3 {
        font-size: 20px;
    }
    
    .close-info {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 3rem 0;
    }
    
    .services-dashboard {
        margin: 0 15px;
        border-radius: 16px;
    }
    
    .nav-tab {
        padding: 18px 10px;
        min-width: 90px;
        font-size: 13px;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        display: flex;
    }
    
    .nav-tab i {
        font-size: 16px;
        margin-bottom: 4px;
        display: block;
    }
    
    .nav-tab span {
        font-size: 10.5px;
        font-weight: 700;
        line-height: 1.0;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
        display: block;
        width: 100%;
        max-width: 80px;
        letter-spacing: -0.2px;
    }
    
    .services-grid {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 12px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .service-card p {
        font-size: 13px;
    }
    
    .info-content {
        width: 98%;
        margin: 5px;
    }
    
    .info-header,
    .info-body,
    .info-footer {
        padding: 15px;
    }
    
    .info-header .info-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .info-header h3 {
        font-size: 18px;
    }
    
    .close-info {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Success Cases Section */
.success-cases {
    padding: 6rem 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #0F2B5B;
}

.testimonial-quote {
    color: #0F2B5B;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #4B4B4B;
}

.testimonial-author strong {
    color: #0F2B5B;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #4B4B4B;
    font-size: 0.9rem;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.client-logo {
    width: 120px;
    height: 60px;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #E8E8E8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4B4B4B;
    font-size: 0.9rem;
    font-weight: 500;
}



/* ===== NUEVA SECCIÓN DE CONTACTO ===== */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="%23e8e8e8" stroke-width="1" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
    align-items: start;
}

/* Formulario */
.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(15, 43, 91, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(15, 43, 91, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #0F2B5B;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0F2B5B;
    box-shadow: 0 0 0 3px rgba(15, 43, 91, 0.1);
}

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

/* Información de contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(15, 43, 91, 0.08);
    border: 1px solid rgba(15, 43, 91, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 43, 91, 0.12);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0F2B5B 0%, #1a3a70 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #0F2B5B;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 700;
}

.contact-details p {
    color: #4B4B4B;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Section Mobile Optimization */
@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .contact .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
        border-radius: 16px;
        order: 2;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group label {
        font-size: 14px;
        font-weight: 600;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .contact-info {
        order: 1;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
        border-radius: 14px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-details p {
        font-size: 0.95rem;
        margin: 0;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .contact .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .contact-content {
        gap: 2rem;
        margin-top: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        border-radius: 14px;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .contact-info {
        gap: 1.25rem;
    }
    
    .contact-info-card {
        padding: 1.25rem;
        border-radius: 12px;
        gap: 0.875rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }
    
    .contact-icon i {
        font-size: 1.1rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* Footer */
.footer {
    background-color: #0F2B5B;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-image {
    height: auto;
    width: auto;
    max-height: 40px;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-logo .logo-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-logo .logo-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.footer-logo .logo-tagline {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-item i {
    width: 20px;
    text-align: center;
    color: #E8E8E8;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.3), rgba(18, 140, 126, 0.3));
    border-radius: 50%;
    z-index: -1;
    animation: whatsappRipple 2s ease-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 12px 35px rgba(37, 211, 102, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes whatsappRipple {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0.8;
        transform: scale(0.95) translateY(15px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



/* Animación inicial solo para la primera carga */
.services-grid.active .service-card {
    animation: scaleIn 0.8s ease-out forwards;
    opacity: 1;
}

/* Stagger animation para las tarjetas solo cuando aparecen */
.services-grid.active .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid.active .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid.active .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid.active .service-card:nth-child(4) { animation-delay: 0.4s; }
.services-grid.active .service-card:nth-child(5) { animation-delay: 0.5s; }
.services-grid.active .service-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .services {
        padding: 100px 0;
    }
    
    .services-dashboard {
        margin: 0 20px;
        border-radius: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        padding: 40px 30px;
    }
    
    .service-card {
        padding: 30px;
        min-height: 260px;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }
    
    .services-nav {
        flex-direction: column;
    }
    
    .nav-tab {
        padding: 25px 20px;
        font-size: 15px;
    }
    
    .nav-tab i {
        font-size: 20px;
    }
    
    .services-dashboard {
        margin: 0 15px;
        border-radius: 18px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        padding: 30px 25px;
        gap: 25px;
    }
    
    .service-card {
        padding: 25px;
        min-height: 240px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-radius: 16px;
    }
    
    .card-header {
        gap: 18px;
        margin-bottom: 18px;
    }
    
    .card-header h3 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .info-content {
        width: 95%;
        margin: 10px;
        border-radius: 20px;
    }
    
    .info-header,
    .info-body,
    .info-footer {
        padding: 30px 25px;
    }
    
    .info-header .info-icon {
        width: 75px;
        height: 75px;
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .info-header h3 {
        font-size: 24px;
    }
    
    .info-body p {
        font-size: 15px;
    }
    
    .close-info {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 60px 0;
    }
    
    .services-dashboard {
        margin: 0 10px;
        border-radius: 16px;
    }
    
    .nav-tab {
        padding: 20px 15px;
        font-size: 14px;
        gap: 8px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .nav-tab span {
        display: block;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        margin-top: 5px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-tab i {
        font-size: 18px;
    }
    
    .services-grid {
        padding: 25px 20px;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
        min-height: 220px;
        border-radius: 16px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        border-radius: 14px;
    }
    
    .card-header {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .card-header h3 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .service-tag {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    .info-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .info-content {
        max-height: 90vh;
        border-radius: 18px;
    }
    
    .info-header,
    .info-body,
    .info-footer {
        padding: 25px 20px;
    }
    
    .info-header .info-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
        margin-bottom: 18px;
    }
    
    .info-header h3 {
        font-size: 22px;
    }
    
    .info-body p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .info-benefits li {
        font-size: 14px;
        padding: 10px 0;
        gap: 12px;
    }
    
    .info-benefits li::before {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    
    .info-footer .btn {
        padding: 12px 25px;
        font-size: 14px;
        border-radius: 22px;
    }
}

/* Mejoras adicionales para interacciones */
.nav-tab:active {
    transform: scale(0.98);
}

.info-btn:active {
    transform: scale(0.95);
}

/* Mejora del scroll del panel de información */
.info-content::-webkit-scrollbar {
    width: 6px;
}

.info-content::-webkit-scrollbar-track {
    background: #E8E8E8;
    border-radius: 3px;
}

.info-content::-webkit-scrollbar-thumb {
    background: #4B4B4B;
    border-radius: 3px;
}

.info-content::-webkit-scrollbar-thumb:hover {
    background: #0F2B5B;
}

/* Logo Animation */
.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-d {
    transition: all 0.3s ease;
}

.logo:hover .logo-d {
    background: linear-gradient(135deg, #1a3a70, #2e4a85);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(15, 43, 91, 0.3);
}

/* Enhanced Focus States */
*:focus {
    outline: 2px solid rgba(15, 43, 91, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth Image Loading */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Text Gradient Effects */
.hero-title {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.9) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



/* Enhanced Card Interactions */
.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.testimonial-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(15, 43, 91, 0.15);
}



/* Micro-animations for Icons */
.nav-link {
    position: relative;
}

.nav-link:hover {
    animation: bounce 0.6s ease;
}

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

/* Enhanced Footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000000;
        border: 2px solid #ffffff;
    }
    
    .service-card {
        border: 2px solid #000000;
    }
}

/* ===== TIMELINE DE PROCESO PROFESIONAL ===== */
.process-timeline {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0F2B5B, transparent);
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-features {
    align-items: flex-end;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0F2B5B 0%, #2e4a85 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 40px;
    box-shadow: 0 15px 35px rgba(15, 43, 91, 0.3);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-number::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(15, 43, 91, 0.2);
    border-radius: 50%;
    animation: timelineRipple 3s infinite;
}

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

.timeline-content {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 43, 91, 0.08);
    border: 1px solid rgba(232, 232, 232, 0.5);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 40px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -20px;
    border-width: 20px 20px 20px 0;
    border-color: transparent white transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -20px;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent white;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E8E8E8 0%, #4B4B4B 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: #0F2B5B;
    margin-bottom: 15px;
    font-weight: 700;
}

.timeline-content p {
    color: #4B4B4B;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.timeline-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4B4B4B;
    font-weight: 500;
}

.timeline-features i {
    color: #0F2B5B;
    font-size: 1rem;
}

/* ===== CALCULADORA DE AHORROS INTERACTIVA ===== */
.savings-calculator {
    padding: 120px 0;
    background: linear-gradient(135deg, #0F2B5B 0%, #1a3a70 50%, #2e4a85 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.savings-calculator .section-title {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
}

.savings-calculator .section-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
}

.savings-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.calculator-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.calculator-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.calculator-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    border-left: 4px solid #E8E8E8;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.calculator-info i {
    color: #E8E8E8;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.calculator-info small {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.85rem;
}

.calculator-info strong {
    color: white;
}

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

.calc-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.calc-group input,
.calc-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.calc-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.calc-group input:focus,
.calc-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.calc-group select option {
    background: #0F2B5B;
    color: white;
}

.calculator-results {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-placeholder {
    text-align: center;
    opacity: 0.7;
}

.results-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.results-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.results-placeholder p {
    color: rgba(255, 255, 255, 0.8);
}

.results-display {
    display: none;
}

.results-display.active {
    display: block;
    animation: slideIn 0.5s ease;
}

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

.results-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #E8E8E8;
    margin-bottom: 5px;
}

.result-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.results-chart {
    height: 300px;
    margin-top: 20px;
}

#savingsChart {
    max-height: 100%;
}

/* Estilos mejorados para la calculadora 2025 */
.results-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.results-header h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 0;
}

.result-item.primary {
    background: linear-gradient(135deg, rgba(232, 232, 232, 0.2), rgba(255, 255, 255, 0.15));
    border: 2px solid rgba(232, 232, 232, 0.3);
}

.result-item.primary .result-value {
    color: #E8E8E8;
    font-size: 2.2rem;
}

.cost-breakdown {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-breakdown h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.cost-comparison {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cost-before,
.cost-after,
.cost-iva {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.cost-before {
    border-left: 4px solid #dc3545;
}

.cost-after {
    border-left: 4px solid #28a745;
}

.cost-iva {
    border-left: 4px solid #ffc107;
}

.cost-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.cost-amount {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.analysis-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.analysis-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-item i {
    color: #E8E8E8;
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.analysis-item div {
    flex: 1;
}

.analysis-item strong {
    color: white;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.analysis-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.results-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.results-actions .btn {
    flex: 1;
    justify-content: center;
}

.results-error {
    text-align: center;
    padding: 40px;
    color: white;
}

.results-error i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.results-error h3 {
    color: white;
    margin-bottom: 15px;
}

.results-error p {
    color: rgba(255, 255, 255, 0.8);
}



/* ===== RESPONSIVE DESIGN PARA NUEVAS SECCIONES ===== */
@media (max-width: 1024px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: center;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-number {
        margin: 0 0 30px 0;
    }
}

/* Timeline and Calculator Mobile Optimization */
@media (max-width: 768px) {
    .process-timeline {
        padding: 4rem 0;
    }
    
    .timeline-container {
        padding: 0 20px;
    }
    
    .timeline-item {
        padding: 0 0 3rem 0;
        margin-left: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-features {
        margin-left: 0;
    }
    
    .timeline-number {
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .timeline-content {
        margin-left: 80px;
        padding: 20px;
        border-radius: 16px;
    }
    
    .timeline-content::before {
        left: -15px;
        border-width: 10px;
    }
    
    .timeline-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .timeline-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .timeline-features {
        margin-left: 80px;
        margin-top: 15px;
    }
    
    .timeline-features li {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .timeline-features i {
        font-size: 12px;
        width: 16px;
    }
    
    /* Calculator Mobile */
    .savings-calculator {
        padding: 4rem 0;
    }
    
    .savings-calculator .section-title {
        color: #ffffff !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        opacity: 1 !important;
        font-size: 1.8rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        padding: 0 15px !important;
        max-width: calc(100vw - 60px);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }
    
    .savings-calculator .section-subtitle {
        color: rgba(255, 255, 255, 0.95) !important;
        font-weight: 500 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
        opacity: 1 !important;
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        padding: 0 15px !important;
        max-width: calc(100vw - 60px);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
    }
    
    .calculator-container {
        flex-direction: column;
        gap: 2rem;
        margin: 0 20px;
        padding: 20px 0;
        max-width: calc(100vw - 40px);
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .savings-calculator .section-header {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 16px;
        padding: 30px 20px;
        margin-bottom: 30px;
        backdrop-filter: blur(10px);
    }
    
    .calculator-form {
        padding: 20px 15px;
        border-radius: 16px;
        max-width: calc(100vw - 60px);
        box-sizing: border-box;
        overflow: hidden;
        margin: 0 auto;
        width: 100%;
    }
    
    .calculator-info {
        margin-top: 15px;
        padding: 10px 8px;
        border-radius: 10px;
        max-width: calc(100vw - 80px);
        box-sizing: border-box;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .calculator-info small {
        font-size: 10px;
        line-height: 1.5;
        word-wrap: break-word;
        hyphens: auto;
        overflow-wrap: break-word;
        text-align: left;
        display: block;
        max-width: calc(100vw - 90px);
        box-sizing: border-box;
        width: 100%;
        padding: 0 5px;
        margin: 0 auto;
    }
    
    .calculator-header {
        max-width: calc(100vw - 60px);
        box-sizing: border-box;
        padding: 0 10px;
        margin: 0 auto;
        width: 100%;
    }
    
    .calculator-header h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .calculator-header p {
        font-size: 12px;
        line-height: 1.5;
        word-wrap: break-word;
        hyphens: auto;
        text-align: center;
        padding: 0 15px;
        max-width: calc(100vw - 60px);
        overflow-wrap: break-word;
        box-sizing: border-box;
        margin: 0 auto;
        display: block;
        white-space: normal;
        width: 100%;
    }
    
    .calc-group {
        margin-bottom: 20px;
    }
    
    .calc-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .calc-group input,
    .calc-group select {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    #calculateBtn {
        width: 100%;
        max-width: none;
        padding: 14px 20px;
        font-size: 14px;
        margin-top: 10px;
    }
    
    .calculator-results {
        padding: 24px;
        border-radius: 16px;
    }
    
    .results-placeholder i {
        font-size: 40px;
    }
    
    .results-placeholder h3 {
        font-size: 18px;
    }
    
    .results-placeholder p {
        font-size: 14px;
    }
    
    .results-header h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .results-summary {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .result-item {
        padding: 15px;
        border-radius: 12px;
    }
    
    .result-value {
        font-size: 1.4rem;
    }
    
    .result-item.primary .result-value {
        font-size: 1.6rem;
    }
    
    .result-label {
        font-size: 13px;
    }
    
    .cost-breakdown {
        margin: 20px 0;
        padding: 15px;
    }
    
    .cost-breakdown h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .cost-comparison {
        gap: 10px;
    }
    
    .cost-before,
    .cost-after,
    .cost-iva {
        padding: 12px;
        border-radius: 8px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .cost-label {
        font-size: 12px;
    }
    
    .cost-amount {
        font-size: 16px;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .analysis-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        border-radius: 12px;
        gap: 10px;
    }
    
    .analysis-item i {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .analysis-item strong {
        font-size: 14px;
    }
    
    .analysis-item p {
        font-size: 12px;
    }
    
    .results-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    
    .results-actions .btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .process-timeline {
        padding: 3rem 0;
    }
    
    .timeline-container {
        padding: 0 15px;
    }
    
    .timeline-number {
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .timeline-content {
        margin-left: 70px;
        padding: 16px;
    }
    
    .timeline-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .timeline-content p {
        font-size: 13px;
    }
    
    .timeline-features {
        margin-left: 70px;
        margin-top: 12px;
    }
    
    .timeline-features li {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .timeline-features i {
        font-size: 11px;
        width: 14px;
    }
    
    .savings-calculator {
        padding: 3rem 0;
    }
    
    .savings-calculator .section-title {
        color: #ffffff !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        opacity: 1 !important;
        font-size: 1.6rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        padding: 0 12px !important;
        max-width: calc(100vw - 40px);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
    }
    
    .savings-calculator .section-subtitle {
        color: rgba(255, 255, 255, 0.95) !important;
        font-weight: 500 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
        opacity: 1 !important;
        font-size: 0.9rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        padding: 0 12px !important;
        max-width: calc(100vw - 40px);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }
    
    .calculator-container {
        margin: 0 15px;
        gap: 1.5rem;
        padding: 15px 0;
        max-width: calc(100vw - 30px);
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .savings-calculator .section-header {
        background: rgba(0, 0, 0, 0.25);
        border-radius: 12px;
        padding: 25px 15px;
        margin-bottom: 25px;
        backdrop-filter: blur(10px);
    }
    
    .calculator-form {
        padding: 18px 12px;
        max-width: calc(100vw - 40px);
        box-sizing: border-box;
        overflow: hidden;
        margin: 0 auto;
        width: 100%;
    }
    
    .calculator-info {
        margin-top: 12px;
        padding: 8px 6px;
        border-radius: 8px;
        max-width: calc(100vw - 60px);
        box-sizing: border-box;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .calculator-info small {
        font-size: 9px;
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
        overflow-wrap: break-word;
        text-align: left;
        display: block;
        max-width: calc(100vw - 70px);
        box-sizing: border-box;
        width: 100%;
        padding: 0 3px;
        margin: 0 auto;
    }
    
    .calculator-header {
        max-width: calc(100vw - 40px);
        box-sizing: border-box;
        padding: 0 5px;
        margin: 0 auto;
        width: 100%;
    }
    
    .calculator-header h3 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .calculator-header p {
        font-size: 11px;
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
        text-align: center;
        padding: 0 12px;
        max-width: calc(100vw - 40px);
        overflow-wrap: break-word;
        box-sizing: border-box;
        margin: 0 auto;
        display: block;
        white-space: normal;
        width: 100%;
    }
    
    .calc-group {
        margin-bottom: 16px;
    }
    
    .calc-group label {
        font-size: 13px;
    }
    
    .calc-group input,
    .calc-group select {
        padding: 10px 14px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
    }
    
    #calculateBtn {
        width: 100%;
        max-width: none;
        padding: 12px 16px;
        font-size: 13px;
        margin-top: 8px;
    }
    
    .calculator-results {
        padding: 20px;
    }
    
    .results-header h3 {
        font-size: 1.1rem;
    }
    
    .results-summary {
        padding: 16px;
    }
    
    .result-item {
        padding: 12px;
    }
    
    .result-value {
        font-size: 1.3rem;
    }
    
    .result-item.primary .result-value {
        font-size: 1.5rem;
    }
    
    .cost-breakdown {
        padding: 12px;
        margin: 16px 0;
    }
    
    .cost-breakdown h4 {
        font-size: 14px;
    }
    
    .cost-before,
    .cost-after,
    .cost-iva {
        padding: 10px;
    }
    
    .cost-amount {
        font-size: 15px;
    }
    
    .analysis-item {
        padding: 12px;
    }
    
    .analysis-item strong {
        font-size: 13px;
    }
    
    .analysis-item p {
        font-size: 11px;
    }
    
    .results-actions .btn {
        padding: 10px;
        font-size: 13px;
    }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #0F2B5B 0%, #1e3c72 50%, #2a5298 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    position: relative;
    text-align: center;
    z-index: 2;
    max-width: 500px;
    width: 90%;
}

/* Globe Animation */
.globe-container {
    position: relative;
    margin: 0 auto 50px;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: globeRotate 25s linear infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.globe-sphere {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 35% 25%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.2) 30%, transparent 70%),
        linear-gradient(135deg, #4A90E2 0%, #357ABD 30%, #2E5A87 70%, #1B3A5C 100%);
    box-shadow: 
        inset -15px -15px 30px rgba(0,0,0,0.4),
        inset 15px 15px 30px rgba(255,255,255,0.1),
        0 0 40px rgba(74, 144, 226, 0.6),
        0 0 80px rgba(74, 144, 226, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.continents {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.continent {
    position: absolute;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.9), rgba(76, 175, 80, 0.7));
    box-shadow: 
        inset 2px 2px 4px rgba(255,255,255,0.3),
        inset -2px -2px 4px rgba(0,0,0,0.3);
}

.continent.america {
    width: 25px;
    height: 50px;
    top: 35%;
    left: 30%;
    border-radius: 12px 25px 15px 8px;
    animation: continentGlow 6s ease-in-out infinite;
}

.continent.europe {
    width: 15px;
    height: 20px;
    top: 30%;
    left: 58%;
    border-radius: 8px;
    animation: continentGlow 6s ease-in-out infinite 2s;
}

.continent.asia {
    width: 28px;
    height: 35px;
    top: 25%;
    left: 68%;
    border-radius: 15px 12px 20px 8px;
    animation: continentGlow 6s ease-in-out infinite 4s;
}

.globe-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: 
        linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.15) 49%, rgba(255,255,255,0.15) 51%, transparent 52%),
        linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.15) 49%, rgba(255,255,255,0.15) 51%, transparent 52%);
    background-size: 25px 25px;
    opacity: 0.4;
    animation: gridFloat 4s ease-in-out infinite;
}

.globe-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: shadowPulse 4s ease-in-out infinite;
}

/* Trade Icons - Clean Grid Layout */
.trade-animation {
    position: relative;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.trade-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.trade-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    border-radius: 17px;
    z-index: -1;
    animation: iconBorder 4s linear infinite;
}

.trade-icon.ship {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.4), rgba(52, 152, 219, 0.2));
    animation-delay: 0s;
}

.trade-icon.plane {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.4), rgba(241, 196, 15, 0.2));
    animation-delay: 0.75s;
}

.trade-icon.truck {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.4), rgba(231, 76, 60, 0.2));
    animation-delay: 1.5s;
}

.trade-icon.container {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.4), rgba(155, 89, 182, 0.2));
    animation-delay: 2.25s;
}

/* Loading Text */
.loading-text {
    margin: 35px 0 40px;
    z-index: 3;
    position: relative;
}

.loading-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(74, 144, 226, 0.3);
    letter-spacing: 1px;
    animation: titlePulse 3s ease-in-out infinite;
}

.loading-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
    animation: subtitleFade 2s ease-in-out infinite alternate;
    min-height: 24px;
}

/* Progress Bar */
.loading-progress {
    margin-top: 50px;
    width: 100%;
    max-width: 350px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: progressShimmer 2s linear infinite;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        #4CAF50 0%, 
        #66BB6A 25%, 
        #81C784 50%, 
        #A5D6A7 75%, 
        #C8E6C9 100%);
    border-radius: 20px;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 15px rgba(76, 175, 80, 0.6),
        0 0 30px rgba(76, 175, 80, 0.3);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
    border-radius: 0 20px 20px 0;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
}

.progress-label {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Decorative Elements */
.trade-routes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.route-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(74, 144, 226, 0.4) 20%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(74, 144, 226, 0.4) 80%, 
        transparent);
    opacity: 0.5;
    border-radius: 1px;
}

.route-line.route-1 {
    top: 20%;
    left: 15%;
    width: 40%;
    animation: routePulse 6s ease-in-out infinite;
    transform: rotate(-15deg);
}

.route-line.route-2 {
    top: 35%;
    right: 10%;
    width: 35%;
    animation: routePulse 6s ease-in-out infinite 2s;
    transform: rotate(25deg);
}

.route-line.route-3 {
    bottom: 35%;
    left: 20%;
    width: 30%;
    animation: routePulse 6s ease-in-out infinite 4s;
    transform: rotate(-10deg);
}

.route-line.route-4 {
    bottom: 20%;
    right: 15%;
    width: 25%;
    animation: routePulse 6s ease-in-out infinite 1s;
    transform: rotate(20deg);
}

/* Loading Screen Animations */
@keyframes globeRotate {
    0% { transform: rotateY(0deg) rotateX(-15deg); }
    100% { transform: rotateY(360deg) rotateX(-15deg); }
}

@keyframes continentGlow {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(1);
        box-shadow: inset 2px 2px 4px rgba(255,255,255,0.2), inset -2px -2px 4px rgba(0,0,0,0.3);
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.05);
        box-shadow: inset 2px 2px 6px rgba(255,255,255,0.4), inset -2px -2px 6px rgba(0,0,0,0.2);
    }
}

@keyframes gridFloat {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

@keyframes shadowPulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: translateX(-50%) scale(1.15); 
        opacity: 0.5; 
    }
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    50% { 
        transform: translateY(-5px) scale(1.02); 
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    }
}

@keyframes iconBorder {
    0% { transform: rotate(0deg); opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { transform: rotate(360deg); opacity: 0.3; }
}

@keyframes titlePulse {
    0%, 100% { 
        opacity: 0.9;
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.4),
            0 0 20px rgba(74, 144, 226, 0.2);
    }
    50% { 
        opacity: 1;
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(74, 144, 226, 0.4);
    }
}

@keyframes subtitleFade {
    0% { opacity: 0.8; }
    100% { opacity: 0.9; }
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes routePulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: var(--rotate) scaleX(0.8);
    }
    50% { 
        opacity: 0.7; 
        transform: var(--rotate) scaleX(1.1);
    }
}

.route-line.route-1 { --rotate: rotate(-15deg); }
.route-line.route-2 { --rotate: rotate(25deg); }
.route-line.route-3 { --rotate: rotate(-10deg); }
.route-line.route-4 { --rotate: rotate(20deg); }

/* Loading Screen Responsive */
@media (max-width: 768px) {
    .loading-container {
        max-width: 400px;
        padding: 0 20px;
    }
    
    .loading-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .loading-subtitle {
        font-size: 0.9rem;
    }
    
    .globe-container {
        width: 140px;
        height: 140px;
        margin-bottom: 35px;
    }
    
    .trade-animation {
        max-width: 160px;
        gap: 15px;
        margin: 25px auto;
    }
    
    .trade-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .loading-progress {
        max-width: 300px;
        margin-top: 35px;
    }
    
    .progress-text {
        font-size: 0.8rem;
    }
    
    .progress-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .loading-container {
        max-width: 320px;
        padding: 0 15px;
    }
    
    .loading-title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    
    .loading-subtitle {
        font-size: 0.85rem;
    }
    
    .globe-container {
        width: 120px;
        height: 120px;
        margin-bottom: 30px;
    }
    
    .trade-animation {
        max-width: 140px;
        gap: 12px;
        margin: 20px auto;
    }
    
    .trade-icon {
        width: 45px;
        height: 45px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    .loading-progress {
        max-width: 280px;
        margin-top: 30px;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    .route-line {
        opacity: 0.3;
    }
}

/* Footer Mobile Optimization */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-logo .logo-image {
        height: auto;
        max-height: 32px;
        max-width: 120px;
        object-fit: contain;
    }
    
    .footer-description {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 1.5rem;
        margin-bottom: 1.25rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 0.75rem;
    }
    
    .footer-links a {
        font-size: 14px;
        display: block;
        padding: 0.5rem 0;
    }
    
    .contact-item {
        justify-content: center;
        font-size: 14px;
        margin-bottom: 1rem;
    }
    
    .contact-item i {
        font-size: 1.1rem;
        width: 24px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-legal a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .footer-description {
        font-size: 13px;
        margin-bottom: 1rem;
        max-width: 250px;
    }
    
    .social-links {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links a {
        font-size: 13px;
        padding: 0.375rem 0;
    }
    
    .contact-item {
        font-size: 13px;
        margin-bottom: 0.875rem;
    }
    
    .contact-item i {
        font-size: 1rem;
        width: 20px;
    }
    
    .footer-legal {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-legal a {
        font-size: 12px;
    }
}

/* Success Cases and Testimonials Mobile Optimization */
@media (max-width: 768px) {
    .success-cases {
        padding: 4rem 0;
    }
    
    .success-cases .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .success-cases .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        border-radius: 14px;
        text-align: center;
    }
    
    .testimonial-quote {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-author strong {
        font-size: 15px;
        margin-bottom: 0.5rem;
    }
    
    .testimonial-author span {
        font-size: 13px;
    }
    
    .clients-logos {
        gap: 2rem;
        justify-content: center;
    }
    
    .client-logo {
        width: 100px;
        height: 50px;
    }
    
    .logo-placeholder {
        font-size: 12px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .success-cases {
        padding: 3rem 0;
    }
    
    .success-cases .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .success-cases .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .testimonials-grid {
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .testimonial-quote {
        font-size: 1.3rem;
        margin-bottom: 0.875rem;
    }
    
    .testimonial-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .testimonial-author strong {
        font-size: 14px;
        margin-bottom: 0.375rem;
    }
    
    .testimonial-author span {
        font-size: 12px;
    }
    
    .clients-logos {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .client-logo {
        width: 80px;
        height: 40px;
    }
    
    .logo-placeholder {
        font-size: 11px;
    }
}

/* WhatsApp Button Mobile Optimization */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.4rem;
    }
    
    .whatsapp-btn::before {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 1.3rem;
    }
    
    .whatsapp-btn::before {
        width: 60px;
        height: 60px;
    }
}

/* Loading Screen Mobile Optimization - Already optimized in existing code */

/* General Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce motion for performance */
    .hero-background::before,
    .hero-background::after {
        animation-duration: 30s;
    }
    
    /* Optimize animations */
    .stat-item,
    .service-card,
    .testimonial-card {
        transition-duration: 0.2s;
    }
    
    /* Improve touch targets */
    .btn {
        min-height: 44px;
        padding: 12px 24px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .info-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Optimize text rendering */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Improve scrolling performance */
    * {
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    /* Further performance optimizations for small screens */
    .hero-background::before,
    .hero-background::after {
        animation-duration: 40s;
    }
    
    /* Minimal animations on small screens */
    .stat-item:hover,
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    /* Optimize container spacing */
    .container {
        padding: 0 15px;
    }
    
    /* Ensure minimum tap targets */
    .btn {
        min-height: 48px;
        font-size: 14px;
    }
    
    /* Reduce visual complexity for performance */
    .service-icon,
    .contact-icon {
        box-shadow: 0 4px 12px rgba(15, 43, 91, 0.15);
    }
}

/* Sección de Valores DACROM */
.dacrom-values {
    padding: 120px 0 120px 0;
    background: linear-gradient(180deg, 
        rgba(10, 27, 61, 1) 0%, 
        rgba(10, 27, 61, 0.98) 20%,
        rgba(26, 43, 93, 0.98) 40%, 
        rgba(42, 59, 125, 0.95) 80%,
        rgba(26, 43, 93, 0.92) 100%);
    position: relative;
    overflow: hidden;
    margin-top: -120px;
    padding-top: 180px;
    border-radius: 0 0 40px 40px;
    z-index: 1;
}

/* Extensión del background hacia arriba para eliminar espacios negros */
.dacrom-values::before {
    content: '';
    position: absolute;
    top: -100vh;
    left: 0;
    right: 0;
    height: 100vh;
    background: linear-gradient(180deg, 
        rgba(10, 27, 61, 1) 0%, 
        rgba(10, 27, 61, 0.98) 20%,
        rgba(26, 43, 93, 0.98) 40%, 
        rgba(42, 59, 125, 0.95) 80%,
        rgba(26, 43, 93, 0.92) 100%);
    z-index: -2;
    pointer-events: none;
}

.dacrom-values::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('nuevo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    filter: blur(0.5px) grayscale(15%);
    pointer-events: none;
    z-index: -1;
}

.dacrom-values:hover::after {
    opacity: 0.20;
    filter: blur(0.3px) grayscale(10%);
}



.dacrom-values:hover .particle {
    animation-duration: 8s;
    background: rgba(74, 144, 226, 0.5);
    box-shadow: 
        0 0 15px rgba(74, 144, 226, 0.8),
        0 0 25px rgba(74, 144, 226, 0.5),
        0 0 35px rgba(74, 144, 226, 0.2);
}





.values-content {
    position: relative;
    z-index: 3;
}

/* Partículas flotantes */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    box-shadow: 
        0 0 10px rgba(74, 144, 226, 0.5),
        0 0 20px rgba(74, 144, 226, 0.3),
        0 0 30px rgba(74, 144, 226, 0.1);
    animation: particleFloat 15s linear infinite;
}

.particle::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    animation: particlePulse 3s ease-in-out infinite;
}

.particle-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle-2 {
    top: 25%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 16s;
    width: 6px;
    height: 6px;
}

.particle-3 {
    top: 60%;
    left: 10%;
    animation-delay: 4s;
    animation-duration: 14s;
    width: 10px;
    height: 10px;
}

.particle-4 {
    top: 45%;
    right: 15%;
    animation-delay: 6s;
    animation-duration: 18s;
    width: 5px;
    height: 5px;
}

.particle-5 {
    top: 80%;
    left: 25%;
    animation-delay: 8s;
    animation-duration: 13s;
    width: 7px;
    height: 7px;
}

.particle-6 {
    top: 35%;
    left: 50%;
    animation-delay: 10s;
    animation-duration: 15s;
    width: 9px;
    height: 9px;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes particlePulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

.logo-highlight {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: -60px;
    position: relative;
    padding: 5px 20px;
    height: auto;
    min-height: auto;
}

.logo-enhanced {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    margin-bottom: 0;
    padding: 0;
    height: auto;
}

.logo-d-enhanced {
    background: linear-gradient(135deg, #0F2B5B 0%, #1A3B6B 100%);
    color: #FFFFFF;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 
        0 8px 25px rgba(15, 43, 91, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-d-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.logo-acrom-enhanced {
    color: #0F2B5B;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 800;
}

.logo-subtitle-enhanced {
    font-size: 1.4rem;
    color: #2A3B7D;
    font-weight: 500;
    margin-left: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Estilos para la imagen del logo con dimensiones finales */
.logo-final-366x250 {
    width: var(--logo-values-w);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0 auto;
    max-width: 100%;
    display: block;
    opacity: 0.9;
}

.logo-final-366x250:hover {
    transform: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    opacity: 0.9;
    object-fit: contain;
}

.decorative-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    pointer-events: none;
    z-index: 1;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.6), transparent);
    border-radius: 2px;
    animation: lineFloat 4s ease-in-out infinite;
}

.line-1 {
    width: 300px;
    height: 2px;
    top: 20%;
    left: 10%;
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.line-2 {
    width: 250px;
    height: 2px;
    top: 70%;
    right: 15%;
    transform: rotate(25deg);
    animation-delay: 1s;
}

.line-3 {
    width: 200px;
    height: 2px;
    top: 40%;
    left: 5%;
    transform: rotate(45deg);
    animation-delay: 2s;
}

.line-4 {
    width: 280px;
    height: 2px;
    bottom: 30%;
    right: 10%;
    transform: rotate(-30deg);
    animation-delay: 3s;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.value-item {
    display: flex;
    align-items: center;
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%),
        radial-gradient(circle at top right, rgba(74, 144, 226, 0.1) 0%, transparent 60%);
    border: 2px solid rgba(74, 144, 226, 0.4);
    border-radius: 24px;
    padding: 50px 35px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    min-height: 200px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(74, 144, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
}

.value-item:hover::before {
    left: 100%;
}

.value-item:hover {
    border-color: rgba(74, 144, 226, 0.8);
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.12) 100%),
        radial-gradient(circle at top right, rgba(74, 144, 226, 0.2) 0%, transparent 60%);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(74, 144, 226, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item:hover .value-content i {
    color: #66B3FF;
    filter: drop-shadow(0 0 30px rgba(102, 179, 255, 1));
    text-shadow: 0 0 50px rgba(102, 179, 255, 0.8);
    transform: scale(1.1);
    transition: all 0.4s ease;
}

.value-item:hover .value-line {
    background: linear-gradient(90deg, transparent, #66B3FF, #4A90E2, #66B3FF, transparent);
    box-shadow: 0 0 20px rgba(102, 179, 255, 0.8);
}

.value-item:hover .value-line::after {
    background: radial-gradient(circle, #66B3FF 0%, #4A90E2 70%);
    box-shadow: 
        0 0 30px rgba(102, 179, 255, 1),
        0 0 60px rgba(102, 179, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.value-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #4A90E2, #66B3FF, #4A90E2, transparent);
    position: relative;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.value-line::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #4A90E2 0%, #66B3FF 70%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(74, 144, 226, 1),
        0 0 40px rgba(74, 144, 226, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.value-content {
    flex: 1;
    text-align: center;
    margin: 0 35px;
}

.value-content i {
    font-size: 4rem;
    color: #4A90E2;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.8));
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
}

.value-content h3 {
    font-size: 1.8rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.value-content p {
    color: #F0F8FF;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

/* Efecto especial para la tarjeta de Cuidado al Cliente */
.value-item:first-child {
    position: relative;
    background: rgba(74, 144, 226, 0.08);
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.value-item:first-child::before {
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.15), transparent);
}

.value-item:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('nuevo.png');
    background-size: 200px;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.04;
    filter: blur(0.5px) grayscale(30%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
}

.value-item:first-child .value-content {
    position: relative;
    z-index: 2;
}

.value-item:first-child:hover {
    border-color: rgba(74, 144, 226, 0.6);
    box-shadow: 
        0 20px 50px rgba(74, 144, 226, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(74, 144, 226, 0.12);
}

.value-item:first-child:hover::after {
    opacity: 0.06;
}

@keyframes logoGlow {
    0%, 100% { 
        box-shadow: 
            0 8px 25px rgba(15, 43, 91, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 12px 35px rgba(15, 43, 91, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes lineFloat {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}



/* Responsive para la sección de valores */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        max-width: 700px;
    }

    .value-item {
        padding: 45px 35px;
        min-height: 190px;
    }
}

@media (max-width: 768px) {
    .dacrom-values {
        padding: 100px 0 100px 0;
        margin-top: -100px;
        padding-top: 140px;
        border-radius: 0 0 25px 25px;
        z-index: 1;
    }
    
    .logo-enhanced {
        font-size: 2.5rem;
    }
    
    .logo-d-enhanced {
        padding: 12px 16px;
        border-radius: 12px;
    }
    
    /* Estilos responsivos para la imagen del logo */
    .logo-final-366x250 {
        width: calc(var(--logo-values-w) * 0.9);
        height: auto;
        opacity: 0.85;
    }
    
    .decorative-lines {
        display: none;
    }
    
    .line {
        height: 2px;
    }
    
    .line-1, .line-2, .line-3, .line-4 {
        width: 200px;
    }
    
        .values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 20px;
        max-width: 650px;
    }

    .value-item {
        padding: 40px 30px;
        flex-direction: column;
        text-align: center;
        min-height: 180px;
    }
    
    .value-line {
        width: 70px;
        margin: 15px 0;
    }
    
    .value-content {
        margin: 0;
    }
    
    .value-content i {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .value-content h3 {
        font-size: 1.5rem;
    }
    
    .value-content p {
        font-size: 1rem;
    }
    
    /* Ajustes especiales móvil para extensión de background */
    .dacrom-values::before {
        top: -90vh;
        height: 90vh;
    }
    
    .dacrom-values::after {
        background-size: cover;
        background-position: center;
        opacity: 0.12;
        filter: blur(0.5px) grayscale(15%);
    }
    
    .value-item:first-child::after {
        background-size: 150px;
        background-position: center bottom;
        opacity: 0.03;
    }
    
    /* Reducir partículas en móviles para mejor rendimiento */
    .particle {
        width: 6px;
        height: 6px;
        animation-duration: 20s;
    }
    
    .particle-4, .particle-5, .particle-6 {
        display: none;
    }
}

@media (max-width: 480px) {
    .dacrom-values {
        padding: 90px 0 90px 0;
        margin-top: -80px;
        padding-top: 120px;
        border-radius: 0 0 20px 20px;
        z-index: 1;
    }
    
    .logo-enhanced {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .logo-d-enhanced {
        padding: 10px 14px;
    }
    
    /* Estilos para pantallas muy pequeñas */
    .logo-final-366x250 {
        width: calc(var(--logo-values-w) * 0.75);
        height: auto;
        opacity: 0.8;
    }
    
    .decorative-lines {
        display: none;
    }
    
        .values-grid {
        gap: 35px;
        max-width: 450px;
    }

    .value-item {
        padding: 35px 25px;
        min-height: 170px;
    }
    
    .value-content i {
        font-size: 2.5rem;
    }
    
    .value-content h3 {
        font-size: 1.3rem;
    }
    
    .value-content p {
        font-size: 0.95rem;
    }
    
    /* Ajustes especiales móvil pequeño para imagen de fondo */
    .dacrom-values::before {
        top: -80vh;
        height: 80vh;
    }
    
    .dacrom-values::after {
        background-size: cover;
        background-position: center;
        opacity: 0.10;
        filter: blur(0.5px) grayscale(15%);
    }
    
    .value-item:first-child::after {
        background-size: 120px;
        background-position: center;
        opacity: 0.02;
    }
    
    /* Optimización extrema para móviles pequeños */
    .particle {
        width: 4px;
        height: 4px;
        animation-duration: 25s;
    }
    
    .particle-3, .particle-4, .particle-5, .particle-6 {
        display: none;
    }
    
    .dacrom-values:hover .particle {
        animation-duration: 15s;
    }
}

/* ===== SECCIÓN: IMPORTA CON CONFIANZA ===== */
.import-confidence {
    padding: 120px 0;
    background: #0F2B5B;
    position: relative;
    margin-top: -60px;
    z-index: 5;
    overflow: hidden;
}

.port-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.port-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
}

.port-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 43, 91, 0.6);
    z-index: 2;
}

.import-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.import-header .section-title {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.import-description {
    max-width: 1000px;
    margin: 0 auto 3rem auto;
}

.import-problem {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #C1A264;
}

.import-problem h3 {
    color: #C1A264;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.import-problem p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #E8E8E8;
    margin: 0;
}

.import-solution {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #C1A264;
    text-align: center;
    margin-bottom: 2rem;
}

.import-solution h3 {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.import-solution p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #E8E8E8;
    margin: 0;
}

.import-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.import-service-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.import-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.service-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.import-service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0F2B5B 0%, #1e3a6b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(15, 43, 91, 0.3);
    margin-bottom: 1.5rem;
}

.import-service-icon i {
    font-size: 2.2rem;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.import-service-content {
    text-align: center;
}

.import-service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF !important;
    margin-bottom: 1rem;
    font-style: italic;
}

.import-service-content p {
    font-size: 1rem;
    color: #FFFFFF !important;
    line-height: 1.6;
    margin: 0;
}

.import-conclusion {
    max-width: 1000px;
    margin: 3rem auto 0 auto;
}

.conclusion-box {
    background: rgba(193, 162, 100, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #C1A264;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.conclusion-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C1A264, #D4B87A, #C1A264);
}

.conclusion-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #C1A264;
    margin-bottom: 1rem;
}

.conclusion-box p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #FFFFFF;
    margin: 0;
    font-weight: 500;
}

/* Responsive para Import Confidence */
@media (max-width: 768px) {
    .import-confidence {
        padding: 80px 0;
    }
    
    .import-header .section-title {
        font-size: 2rem;
    }
    
    .import-description p {
        font-size: 1rem;
    }
    
    .import-intro {
        font-size: 1.1rem;
    }
    
    .import-problem,
    .import-solution {
        padding: 1.5rem;
    }
    
    .import-problem h3 {
        font-size: 1.2rem;
    }
    
    .import-solution h3 {
        font-size: 1.6rem;
    }
    
    .import-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem auto;
    }
    
    .import-service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .import-service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .import-service-icon i {
        font-size: 1.8rem;
    }
    
    .import-service-content h3 {
        font-size: 1.2rem;
    }
    
    .service-subtitle {
        font-size: 0.9rem;
    }
    
    .import-service-content p {
        font-size: 0.95rem;
    }
    
    .conclusion-box {
        padding: 2rem;
    }
    
    .conclusion-box h3 {
        font-size: 1.4rem;
    }
    
    .conclusion-box p {
        font-size: 1.1rem;
    }
    
    .import-conclusion {
        padding: 2rem;
        margin: 2rem auto 0 auto;
    }
    
    .import-conclusion p {
        font-size: 1.1rem;
    }
    
    .import-services-grid {
        gap: 1.25rem;
        margin: 1.5rem auto;
    }
    
    .import-service-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .import-service-icon {
        width: 45px;
        height: 45px;
    }
    
    .import-service-icon i {
        font-size: 1.3rem;
    }
    
    .import-service-content h3 {
        font-size: 1rem;
    }
    
    .import-service-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .import-confidence {
        padding: 60px 0;
        margin-top: -30px;
    }
    
    .import-header .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .import-description {
        margin-bottom: 1.5rem;
    }
    
    .import-description p {
        font-size: 1rem;
    }
    
    .import-problem,
    .import-solution {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .import-problem h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .import-solution h3 {
        font-size: 1.4rem;
        margin-bottom: 0;
    }
    
    .import-services-grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .import-service-item {
        padding: 1.25rem;
    }
    
    .import-service-icon {
        width: 60px;
        height: 60px;
    }
    
    .import-service-icon i {
        font-size: 1.5rem;
    }
    
    .import-service-item h3 {
        font-size: 1.1rem;
    }
    
    .import-service-item p {
        font-size: 0.95rem;
    }
    
    .import-conclusion p {
        font-size: 1rem;
    }
}