:root {
    --primary: #97d700;
    --secondary: #59621d;
    --accent: #8c857b;
    --dark: #333333;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Optimización crítica de fuentes */
@font-face {
  font-family: 'Montserrat-fallback';
  size-adjust: 105%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  src: local('Arial');
}

@font-face {
  font-family: 'Raleway-fallback';
  size-adjust: 108%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
  src: local('Helvetica');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', 'Raleway-fallback', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Montserrat-fallback', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--secondary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    min-height: 80px;
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-left {
    height: 64px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-left:hover {
    transform: scale(1.05);
}

.navbar {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.navbar ul li a:hover {
    color: var(--primary);
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* Estilos para el botón Crece en el menú */
.navbar ul li .btn-growth {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white !important;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(151, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.navbar ul li .btn-growth::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: 0.5s;
}

.navbar ul li .btn-growth:hover::before {
    left: 100%;
}

.navbar ul li .btn-growth:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(151, 215, 0, 0.4);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
    background: none;
    border: none;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, var(--white) 0%, #f1f8e9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(151, 215, 0, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(151, 215, 0, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.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: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn.primary:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn.secondary {
    background-color: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn.secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.hero-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-content {
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: right;
    color: white;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-image-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.hero-image-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.about {
    background-color: var(--white);
    position: relative;
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    position: relative;
}

.about-text {
    flex: 1.5;
    position: relative;
    z-index: 2;
}

.about-image {
    flex: 1;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    height: fit-content;
    z-index: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-height: 80vh;
    object-fit: cover;
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Línea de tiempo */
.timeline {
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -26px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
    z-index: 2;
}

.timeline-content {
    background-color: var(--light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(5px);
}

.timeline-date {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.timeline-content h4 {
    color: #34495e;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline-content p {
    margin-bottom: 0;
    line-height: 1.6;
    color: #2c3e50;
}

/* Misión y Visión */
.mission-vision {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.card {
    flex: 1;
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card i {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.card:hover i {
    transform: scale(1.1);
}

.card h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.card p {
    text-align: left;
    line-height: 1.7;
    color: #555;
}

/* Valores */
.values-title {
    text-align: center;
    margin: 50px 0 30px;
    color: var(--secondary);
    font-size: 2rem;
}

.values {
    display: flex;
    gap: 25px;
    margin-top: 20px;
}

.value-item {
    flex: 1;
    background-color: var(--light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(151, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: rotate(10deg) scale(1.1);
}

.value-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.value-item h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-item p {
    line-height: 1.6;
    color: #555;
}

.divisions {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.division-cards {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.division-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 550px;
    position: relative;
    transform-style: preserve-3d;
    border: 1px solid transparent;
    background: white;
}

.division-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.division-card:hover::before {
    opacity: 1;
}

.division-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    background-color: var(--white);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.division-card:hover .division-icon {
    transform: scale(1.1) rotate(5deg);
}

.division-logo {
    max-width: 180px;
    height: auto;
    transition: var(--transition);
}

.division-card:hover .division-logo {
    filter: brightness(1.1);
}

.division-text-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.division-card:hover .division-text-content {
    transform: translateY(-5px);
}

/* Colores de fondo específicos para cada división */
.soft .division-text-content {
    background: linear-gradient(to bottom, rgba(89, 98, 29, 0.1), rgba(89, 98, 29, 0.05));
}

.warez .division-text-content {
    background: linear-gradient(to bottom, rgba(140, 133, 123, 0.1), rgba(140, 133, 123, 0.05));
}

.people .division-text-content {
    background: linear-gradient(to bottom, rgba(151, 215, 0, 0.1), rgba(151, 215, 0, 0.05));
}

.division-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.division-subtitle {
    font-style: italic;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 500;
}

.division-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.division-card ul {
    text-align: left;
    list-style: none;
    margin-top: auto;
    padding-top: 20px;
}

.division-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.division-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Efectos específicos para cada división */
.division-card.soft:hover {
    box-shadow: 0 25px 50px rgba(151, 215, 0, 0.2);
    border-color: rgba(151, 215, 0, 0.3);
}

.division-card.soft::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #6ea000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.division-card.soft:hover::after {
    transform: scaleX(1);
}

.division-card.warez:hover {
    box-shadow: 0 25px 50px rgba(140, 133, 123, 0.2);
    border-color: rgba(140, 133, 123, 0.3);
}

.division-card.warez::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #726b61);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.division-card.warez:hover::after {
    transform: scaleX(1);
}

.division-card.people:hover {
    box-shadow: 0 25px 50px rgba(151, 215, 0, 0.2);
    border-color: rgba(151, 215, 0, 0.3);
}

.division-card.people::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #6ea000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.division-card.people:hover::after {
    transform: scaleX(1);
}

.products {
    background-color: var(--white);
    position: relative;
}

.product-categories {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.category {
    display: flex;
    gap: 40px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.category.visible {
    opacity: 1;
    transform: translateY(0);
}

.category:nth-child(even) {
    flex-direction: row-reverse;
}

.category-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-image:hover img {
    transform: scale(1.05);
}

.category-content {
    flex: 1;
}

.category-content h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.category-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.category-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.category-content ul {
    list-style: none;
}

.category-content ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    transition: var(--transition);
}

.category-content ul li:hover {
    transform: translateX(5px);
}

.category-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}

.services {
    background-color: var(--light);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.service-button {
    background-color: var(--light);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: block;
    width: 100%;
    text-decoration: none;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-button:hover::before {
    opacity: 1;
}

.service-button:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Colores alternados para los botones de servicios */
.service-button:nth-child(1) {
    background-color: rgba(151, 215, 0, 0.15);
}

.service-button:nth-child(2) {
    background-color: rgba(89, 98, 29, 0.15);
}

.service-button:nth-child(3) {
    background-color: rgba(140, 133, 123, 0.15);
}

.service-button:nth-child(4) {
    background-color: rgba(151, 215, 0, 0.25);
}

.service-button:nth-child(5) {
    background-color: rgba(89, 98, 29, 0.25);
}

.service-button:nth-child(6) {
    background-color: rgba(140, 133, 123, 0.25);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-button:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.service-button h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
    position: relative;
    z-index: 2;
}

.service-button p {
    line-height: 1.6;
    color: #555;
    position: relative;
    z-index: 2;
}

.financial-services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.financial-services::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%2397d700" opacity="0.1" d="M50,0 L100,50 L50,100 L0,50 Z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.financial-services::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle fill="%2359621d" opacity="0.1" cx="50" cy="50" r="50"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.financial-services .container {
    position: relative;
    z-index: 2;
}

.financial-content {
    margin-top: 40px;
}

.financial-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 20px;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.financial-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.financial-feature {
    background-color: white;
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.financial-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: height 0.5s ease;
}

.financial-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.financial-feature:hover::before {
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(151, 215, 0, 0.1) 0%, rgba(89, 98, 29, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.financial-feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.financial-feature:hover .feature-icon i {
    color: white;
}

.financial-feature h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.financial-feature:hover h3 {
    color: var(--primary);
}

.financial-feature p {
    color: #555;
    line-height: 1.6;
}

.financial-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.financial-cta h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.financial-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.financial-cta .btn {
    background-color: white;
    color: var(--secondary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.financial-cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact {
    background-color: var(--white);
    position: relative;
}

.contact-content {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.contact-form {
    flex: 1;
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(151, 215, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    flex: 1;
}

.map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.map:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--light);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.contact-item i {
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 500;
    display: none;
}

.alert-success {
    background-color: rgba(151, 215, 0, 0.2);
    color: #2d6628;
    border-left: 4px solid var(--primary);
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #d32f2f;
    border-left: 4px solid #f44336;
}

.form-submit-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.form-messages {
    flex: 1;
    min-width: 200px;
}

footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.separator {
    color: #666;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body:not(.page-initialized) {
    overflow: hidden;
}

body.page-initialized {
    overflow: auto;
}

body.fully-loaded section {
    opacity: 1 !important;
}

/* Prevenir flash durante la carga inicial */
body:not(.page-initialized) section:not(#inicio) {
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

/* Asegurar que el hero sea siempre visible */
#inicio {
    opacity: 1 !important;
}

/* Corrección específica para offset de header */
section {
    scroll-margin-top: 100px;
}

/* Mejora de rendimiento para animaciones */
@media (prefers-reduced-motion: no-preference) {
    .division-card,
    .service-button,
    .card,
    .value-item {
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Mejoras de accesibilidad para navegación por teclado */
body.keyboard-navigation a:focus,
body.keyboard-navigation button:focus,
body.keyboard-navigation input:focus,
body.keyboard-navigation select:focus,
body.keyboard-navigation textarea:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Estados de carga mejorados */
.page-initialized {
    opacity: 1 !important;
}

.fully-loaded section {
    opacity: 1 !important;
}

/* Corrección para navegación entre páginas */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

section {
    scroll-margin-top: 100px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 50px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 40px;
        margin-left: 15px;
        margin-right: 15px;
    }
            
    .hero-image-container {
        max-width: 500px;
        height: 300px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        position: relative;
        top: 0;
        transform: none;
        margin-bottom: 40px;
        order: -1;
    }
    
    .about-image img {
        max-height: 400px;
        width: 100%;
        object-fit: cover;
    }
    
    .mission-vision {
        flex-direction: column;
    }
    
    .values {
        flex-direction: column;
    }
    
    .division-cards {
        flex-direction: column;
    }
    
    .category, .category:nth-child(even) {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .division-logo {
        max-width: 150px;
    }
    
    .timeline {
        padding-left: 15px;
    }
    
    .timeline-marker {
        left: -21px;
    }
    
    .division-card {
        min-height: auto;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .financial-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
    }
    
    .navbar.active ul {
        display: flex;
    }
    
    .navbar ul li {
        margin: 10px 0;
    }

    .navbar ul li .btn-growth {
        margin-top: 10px;
        display: block;
        text-align: center;
        width: 100%;
    }
    
    header .container {
        padding: 12px 15px;
    }
    
    .logo-left {
        height: 56px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .legal-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .division-logo {
        max-width: 120px;
    }
    
    .division-text-content {
        padding: 20px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .value-item {
        padding: 20px;
    }
    
    .financial-features {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .mission-vision {
        gap: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .financial-cta {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .logo-left {
        height: 48px;
    }
    
    .hero-content {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .hero-visual {
        margin-left: 10px;
        margin-right: 10px;
    }    
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .timeline::before {
        left: -1px;
    }
    
    .timeline-marker {
        left: -24px;
        width: 14px;
        height: 14px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .card {
        padding: 15px;
    }
    
    .value-item {
        padding: 15px;
    }
    
    .financial-cta {
        padding: 25px;
    }
    
    .about-image img {
        max-height: 300px;
    }
    
    .mission-vision {
        gap: 15px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .separator {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .form-submit-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-messages {
        min-width: auto;
        margin-top: 15px;
    }
}

/* Estilos para carga progresiva de imágenes */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Mejoras de accesibilidad para focus */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Mejora de contraste para mejor accesibilidad */
@media (prefers-contrast: high) {
    :root {
        --primary: #7ab800;
        --secondary: #3d4515;
        --dark: #000000;
    }
}

/* Reduce motion para usuarios sensibles */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}