/* GOFA - Estilos Personalizados - Alineación Profesional */

/* Variables de color */
:root {
    --primary-green: #1d5733;
    --primary-red: #7c1b2c;
    --light-gray: #fdfdfd;
    --dark-gray: #464646;
    --mobile-padding: 15px;
    --mobile-margin: 10px;
    --mobile-border-radius: 8px;
    --vh: 1vh; /* Fallback para altura del viewport */
    --section-padding: 5rem 0;
    --text-line-height: 1.6;
    --heading-line-height: 1.3;
}

/* Fuentes y tipografía profesional */
body {
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: var(--text-line-height);
    color: var(--dark-gray);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    line-height: var(--heading-line-height);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Navegación optimizada */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

/* Hero Section - Fondo gris claro mate */
.hero-section {
    background-color: #f5f5f5 !important;
    position: relative;
    overflow: hidden;
    padding: var(--section-padding);
}

.hero-section::before {
    display: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2c2c2c !important;
}

.hero-section .lead {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #2c2c2c !important;
}

/* DISEÑO PROFESIONAL HERO SECTION */

/* Contenedor principal del hero */
.hero-content {
    padding: 2rem 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Badge superior profesional */
.hero-badge-top {
    margin-bottom: 1.5rem;
}

.professional-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1d5733 0%, #2d7a47 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(29, 87, 51, 0.3);
    transition: all 0.3s ease;
}

.professional-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 87, 51, 0.4);
}

/* Título principal mejorado */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #2c2c2c;
    letter-spacing: -0.02em;
}

.hero-title .highlight-text {
    color: #1d5733;
    position: relative;
}

.hero-title .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1d5733, #2d7a47);
    border-radius: 2px;
}

/* Descripción mejorada */
.hero-description {
    margin-bottom: 2.5rem;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.sub-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a5a5a;
    margin: 0;
}

/* Badge de reconocimiento mejorado */
.recognition-section {
    margin-bottom: 2.5rem;
}

.recognition-badge-enhanced {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ffc107 0%, #ffca28 100%);
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recognition-badge-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

.badge-icon {
    font-size: 1.8rem;
    color: #1d5733;
    margin-right: 15px;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1d5733;
    line-height: 1.2;
}

.badge-subtitle {
    font-weight: 500;
    font-size: 0.9rem;
    color: #2d5016;
    opacity: 0.9;
}

/* NUEVA PALETA DE COLORES PARA BADGE DE RECONOCIMIENTO */
.recognition-badge-enhanced {
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%) !important;
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.3) !important;
}

.recognition-badge-enhanced:hover {
    box-shadow: 0 12px 35px rgba(44, 82, 130, 0.4) !important;
}

.recognition-badge-enhanced .badge-icon {
    color: #ffffff !important;
}

.recognition-badge-enhanced .badge-title {
    color: #ffffff !important;
}

.recognition-badge-enhanced .badge-subtitle {
    color: #e2e8f0 !important;
}

/* TEXTO NEGRO PARA BADGE DE RECONOCIMIENTO - ALTA PRIORIDAD */
section#home .recognition-badge-enhanced .badge-icon {
    color: #2c2c2c !important;
}

section#home .recognition-badge-enhanced .badge-title {
    color: #2c2c2c !important;
}

section#home .recognition-badge-enhanced .badge-subtitle {
    color: #2c2c2c !important;
}

/* Botones de acción mejorados */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-primary-enhanced,
.btn-secondary-enhanced {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 18px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 280px;
    font-weight: 600;
}

.btn-primary-enhanced {
    background: linear-gradient(135deg, #1d5733 0%, #2d7a47 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(29, 87, 51, 0.3);
}

.btn-primary-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(29, 87, 51, 0.4);
    color: white;
}

.btn-secondary-enhanced {
    background: white;
    color: #1d5733;
    border: 2px solid #1d5733;
    box-shadow: 0 6px 20px rgba(29, 87, 51, 0.15);
}

.btn-secondary-enhanced:hover {
    background: #1d5733;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(29, 87, 51, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-main {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.btn-sub {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
    margin-top: 2px;
}

/* Sección visual mejorada */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

/* Elementos decorativos de fondo */
.bg-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.bg-decoration-1 {
    width: 120px;
    height: 120px;
    background: #1d5733;
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.bg-decoration-2 {
    width: 80px;
    height: 80px;
    background: #ffc107;
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.bg-decoration-3 {
    width: 60px;
    height: 60px;
    background: #2d7a47;
    top: 60%;
    right: 5%;
    animation-delay: 4s;
}

/* Imagen principal mejorada */
.main-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-enhanced {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-image-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* Elementos flotantes */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-stat {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
    border: 1px solid rgba(29, 87, 51, 0.1);
}

.floating-stat-1 {
    top: 15%;
    left: -10%;
    animation-delay: 1s;
}

.floating-stat-2 {
    bottom: 25%;
    right: -15%;
    animation-delay: 3s;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1d5733, #2d7a47);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1d5733;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Animaciones */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsividad profesional */
@media (min-width: 992px) {
    .hero-actions {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .hero-content {
        text-align: left;
        margin: 0;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .btn-primary-enhanced,
    .btn-secondary-enhanced {
        width: 100%;
        justify-content: center;
    }
    
    .floating-stat {
        display: none;
    }
    
    .bg-decoration {
        opacity: 0.05;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .professional-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .btn-primary-enhanced,
    .btn-secondary-enhanced {
        min-width: auto;
        padding: 15px 20px;
    }
    
    .recognition-badge-enhanced {
        padding: 12px 16px;
    }
    
    .badge-icon {
        font-size: 1.5rem;
        margin-right: 12px;
    }
}

/* SECCIÓN DE UBICACIÓN PROFESIONAL */

.location-info-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(29, 87, 51, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d5733, #7c1b2c);
}

.location-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.location-icon {
    padding: 20px;
    background: linear-gradient(135deg, rgba(29, 87, 51, 0.1), rgba(124, 27, 44, 0.1));
    border-radius: 20px;
    margin: 0 auto;
    width: fit-content;
}

.location-item {
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.location-item:hover {
    background: rgba(29, 87, 51, 0.05);
    border-color: rgba(29, 87, 51, 0.1);
}

.map-container {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(29, 87, 51, 0.1);
}

.map-frame iframe {
    transition: all 0.3s ease;
}

.map-frame:hover iframe {
    transform: scale(1.02);
}

.transportation-info {
    border: 2px solid rgba(29, 87, 51, 0.1);
    position: relative;
    overflow: hidden;
}

.transport-item {
    padding: 20px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.transport-item:hover {
    background: rgba(29, 87, 51, 0.05);
    transform: translateY(-3px);
}

/* Animaciones */
@keyframes fadeInLocation {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-info-card,
.map-container {
    animation: fadeInLocation 0.6s ease forwards;
}

/* Enlaces interactivos */
.location-item a {
    transition: all 0.3s ease;
}

.location-item a:hover {
    color: #1d5733 !important;
    text-decoration: underline !important;
}

/* ESTILO CORPORATIVO MINIMALISTA */

/* Badge de reconocimiento corporativo */
.corporate-badge {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e6ed;
    border-radius: 4px;
    padding: 12px 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.corporate-badge:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.corporate-badge .badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.corporate-badge .badge-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.corporate-badge .badge-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Botones corporativos */
.btn-corporate-primary,
.btn-corporate-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
    margin: 0 8px 12px 0;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.btn-corporate-primary {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.btn-corporate-primary:hover {
    background: #34495e;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.btn-corporate-secondary {
    background: white;
    color: #2c3e50;
    border-color: #bdc3c7;
}

.btn-corporate-secondary:hover {
    background: #f8f9fa;
    color: #2c3e50;
    border-color: #95a5a6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-corporate-primary .btn-content,
.btn-corporate-secondary .btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.btn-corporate-primary .btn-main,
.btn-corporate-secondary .btn-main {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.btn-corporate-primary .btn-sub,
.btn-corporate-secondary .btn-sub {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Responsividad para botones corporativos */
@media (max-width: 768px) {
    .btn-corporate-primary,
    .btn-corporate-secondary {
        padding: 14px 20px;
        margin: 0 4px 8px 0;
        min-width: 160px;
    }
    
    .btn-corporate-primary .btn-main,
    .btn-corporate-secondary .btn-main {
        font-size: 0.9rem;
    }
    
    .btn-corporate-primary .btn-sub,
    .btn-corporate-secondary .btn-sub {
        font-size: 0.7rem;
    }
    
    .corporate-badge {
        padding: 10px 16px;
    }
    
    .corporate-badge .badge-title {
        font-size: 0.85rem;
    }
    
    .corporate-badge .badge-subtitle {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-corporate-primary,
    .btn-corporate-secondary {
        width: 100%;
        max-width: 280px;
        margin: 0 0 12px 0;
    }
}