/* Estilos principales para GE Sufinanciera SAS */

/* Variables CSS personalizadas */
:root {
    --primary-color: #045286;
    --secondary-color: #045286;
    --text-color: #d2d2d2;
    --accent-color: #ffffff;
    --highlight-color: #ffdd00;
    --success-color: #2b931a;
    --font-family: Montserrat, sans-serif;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
}

body {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* Aplicar Montserrat a todos los elementos */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div,
button,
input,
textarea,
select,
label,
li,
ul,
ol,
table,
th,
td {
    font-family: Montserrat, sans-serif;
}

/* Contenedor principal */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 1rem 0;
}

/* Navegación */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--highlight-color);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

/* Secciones */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Cards */
.card {
    background: var(--accent-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }
}

/* ===== ESTILOS ESPECÍFICOS PARA LANDING PAGE ===== */

/* Barra superior de información */
.top-info-bar {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 8px 0;
    font-size: 14px;
    height: 61px;
    display: flex;
    align-items: center;

}

.top-info-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-left {
    display: flex;
    gap: 30px;
    position: relative;
    left: -265px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item .icon {
    width: 32px;
    height: 34px;
    object-fit: contain;
    object-fit: contain;
}

.info-right {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon-image {
    height: 43px;
    width: auto;
    position: relative;
    left: 188px;
    object-fit: contain;
}

/* Header principal */
.main-header {
    background-color: var(--accent-color);
    padding: 2px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex
;
    align-items: center;
    gap: 15px;
    position: relative;
    left: -66px;
}

.logo-image {
    height: 55px;
    width: auto;
    margin-top: 2px;
    max-width: 200px;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: var(--success-color);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ge-text {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 18px;
}

.s-shape {
    position: absolute;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 20px;
    right: -5px;
    top: -5px;
}

.logo-text {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    font-size: 14px;
    left: -47px;
    position: relative;
}

.nav-menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--success-color);
}

.hamburger-icon {
    width: 43px;
    height: 39px;
    object-fit: contain;
    cursor: pointer;
}

/* Sección Hero */
.hero-section {
    position: relative;
    min-height: 886px;
    display: flex;
    align-items: center;
    background: url(background.png) no-repeat;
    background-size: 100%;
    background-position: center -145px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 82, 134, 0.8), rgba(4, 82, 134, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 53%;
    top: -56px;
    left: -103px;
    color: var(--accent-color);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    /* font-family: Montserrat; */
    margin-bottom: 20px;

    font-family: var(--pagelayer-font-secondary-font-family) !important;
}

.hero-title span {
    text-transform: lowercase;
}

.hero-description {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--success-color);
    color: var(--accent-color);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #228b22;
    transform: translateY(-2px);
}

/* Elementos flotantes */
.floating-cookie {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.cookie-icon {
    width: 50px;
    height: 50px;
    background-color: #6a5acd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    background: linear-gradient(to left, rgb(0, 51, 204) 0%, rgb(102, 102, 255) 100%);
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.floating-language {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.language-selector {
    background-color: var(--accent-color);
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.flag-icon {
    height: 18px;
    width: auto;
    object-fit: contain;
}

/* Chat flotante */
.floating-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Burbuja de notificación */
.chat-bubble-notification {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 1001;
}

.chat-bubble-notification.show {
    opacity: 1;
    visibility: visible;
}

.bubble-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    width: 214px;

}

.bubble-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.bubble-arrow {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.bubble-arrow::before {
    content: '';
    position: absolute;
    right: 1px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid #e0e0e0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}




.chat-window {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 350px;
    height: 450px;
    border-radius: 24px;
    background: white;
    border: solid #ffffff 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.connection-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    background-color: #ccc;
    animation: pulse 2s ease-in-out infinite;
}

.connection-indicator.connected {
    background-color: #2b931a;
}

.connection-indicator.disconnected {
    background-color: #dc3545;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-content {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.bot-message .message-content {
    background: #f1f3f4;
    color: #333;
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
}

.message-time {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
    align-self: flex-end;
}

.user-message .message-time {
    align-self: flex-start;
}

.chat-input-container {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-send-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.chat-send-btn:hover {
    background: var(--secondary-color);
}

/* Indicador de escribiendo */
.typing-indicator-container {
    align-self: flex-start;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    background: #f1f3f4;
    border-radius: 15px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Responsive para landing */
@media (max-width: 768px) {
    .info-left {
        flex-direction: column;
        gap: 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        max-width: 80%;
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-content {
        max-width: 90%;
    }

    .logo-text {
        font-size: 14px;
    }
}