/* ============================================
   HOSS - Agente de Inversiones
   Custom Styles
   ============================================ */

:root {
    --dark-blue: #282c34;
    --dark-blue-alt: #282a36;
    --light-grey: #f5f5f5;
    --light-grey-alt: #EBEBEB;
    --teal: #61dafb;
    --blue: #4a76e0;
    --white: #ffffff;
    --black: #000000;
    --dark-grey: #333333;
    --text-grey: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, Roboto, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background-color: var(--light-grey);
}

/* ============================================
   Top Contact Bar
   ============================================ */
.top-contact-bar {
    background-color: #e6e6e6;
    padding: 8px 0;
    font-size: 14px;
}

.top-contact-bar .contact-info {
    color: var(--text-grey);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-contact-bar .contact-info i {
    font-size: 12px;
    opacity: 0.9;
}

.top-contact-bar .contact-info span {
    font-size: 13px;
}

/* ============================================
   Main Navigation
   ============================================ */
.main-navbar {
    background-color: var(--dark-blue);
    padding: 15px 0;
}

.navbar-toggler {
    border-color: var(--white);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    letter-spacing: 2px;
}

.logo-subtitle {
    color: var(--white);
    font-size: 11px;
    font-weight: 300;
    margin: 0;
    letter-spacing: 1px;
    opacity: 0.9;
}

.main-navbar .navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 15px !important;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    color: var(--teal) !important;
}

/* ============================================
   Page Title Section
   ============================================ */
.page-title-section {
    background-color: var(--white);
    padding: 30px 0;
}

.page-title {
    font-size: 23px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    /* letter-spacing: 2px; */
    margin-left: 20px;
}

.page-title-underline {
    background: url('../img/rayita-celeste.webp');
    height: 10px;
    /* margin-top: 10px; */
    /* background: linear-gradient(to right, var(--blue) 0%, var(--teal) 100%); */
    width: 15%;
    display: inline-block;
    background-size: cover;
    margin-right: -40px;

}

/* ============================================
   Main Content Area
   ============================================ */
.main-content {
    background-color: var(--light-grey);
    min-height: 60vh;
    padding: 60px 0;
}

/* ============================================
   Hero Section (NOSOTROS)
   ============================================ */
.hero-section {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%23f0f0f0" width="1920" height="1080"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--black);
}

.hero-overlay .logo-title {
    font-size: 64px;
    margin-bottom: 10px;
    color: var(--black);
}

.hero-overlay .logo-subtitle {
    font-size: 18px;
    color: var(--text-grey);
}

.hero-divider {
    width: 100px;
    height: 4px;
    background-color: var(--black);
    margin: 20px auto;
}

/* ============================================
   Content Sections
   ============================================ */
.content-section {
    background-color: var(--light-grey);
    padding: 80px 0;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 36px;
    /* font-weight: 700; */
    color: var(--black);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold !important;
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.1rem !important;
}

.section-list {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-list li {
    margin-bottom: 25px;    
}

.section-list li strong {
    display: block;
    font-size: 20px;
    color: var(--black);
    margin-bottom: 8px;
}

.section-list li p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-grey);
    margin-left: 20px;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    /* padding: 80px 0; */
    background-color: rgb(230, 230, 230);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 60px;
}

.service-card {
    text-align: center;
    padding: 20px;
}

.service-icon {
    /* width: 180px;
    height: 180px; */
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;  
    border-radius: 15px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-icon svg {
    width: 100px;
    height: 100px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-top: 20px;
}

/* ============================================
   Commissions Table
   ============================================ */
.commissions-section {
    background-color: var(--light-grey);
}

.commissions-table-container {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 40px;
}

.commissions-table {
    width: 100%;
    border-collapse: collapse;
}

.commissions-table thead {
    background-color: var(--light-grey-alt);
}

.commissions-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 2px solid var(--dark-grey);
}

.commissions-table th:last-child {
    text-align: right;
}

.commissions-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-grey);
}

.commissions-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--black);
}

.commissions-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   Account Summary Section
   ============================================ */
.account-summary-section {
    padding: 120px 0;
    background-color: var(--light-grey);
    text-align: center;
}

.cta-button {
    background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97, 218, 251, 0.4);
    color: var(--white);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.contact-box {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 10px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    text-align: left;
    width: 100%;
    max-width: 400px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 28px;
    margin-right: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-item-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    color: var(--white);
}

.contact-item-value {
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    opacity: 0.95;
    line-height: 1.5;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 0;
    margin-top: 10px;
}

.footer-left {
    margin-bottom: 40px;
}

.footer-logo .logo-title {
    font-size: 32px;
    margin-bottom: 5px;
}

.footer-logo .logo-subtitle {
    font-size: 12px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--white);
    opacity: 0.9;
    margin-top: 20px;
}

.footer-right {
    margin-bottom: 40px;
}

.footer-contact-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-contact-info p {
    font-size: 14px;
    line-height: 2;
    opacity: 0.9;
    margin-bottom: 5px;
}

.footer-contact-info strong {
    font-weight: 600;
}

.footer-bottom-bar {
    height: 4px;
    background-color: #4a4c5a;
    margin-top: 40px;
}

/* ============================================
   Registration Section
   ============================================ */
.registration-section {
    background-color: var(--light-grey-alt);
    padding: 40px 0;
    text-align: center;
}

.registration-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.registration-info {
    font-size: 16px;
    color: var(--text-grey);
    line-height: 2;
}

.registration-info p {
    margin-bottom: 5px;
}

/* ============================================
   Service Modals
   ============================================ */
.service-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.service-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
}

.service-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

.service-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}

.service-modal-close {
    color: var(--dark-blue);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}

.service-modal-close:hover,
.service-modal-close:focus {
    color: var(--teal);
}

.service-modal-body {
    padding: 25px;
}

.service-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-modal-list li {
    padding: 12px 0;
    color: var(--dark-blue);
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.service-modal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--dark-blue);
    font-size: 20px;
    line-height: 1;
}

.service-modal-section {
    margin-bottom: 25px;
}

.service-modal-section:last-child {
    margin-bottom: 0;
}

.service-modal-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 15px;
    margin-top: 0;
}

.service-image {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .logo-title {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .hero-overlay .logo-title {
        font-size: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .commissions-table-container {
        padding: 20px;
        overflow-x: auto;
    }
    
    .commissions-table {
        min-width: 600px;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
    
    .main-content {
        padding: 40px 0;
    }

    .service-modal-content {
        width: 95%;
        max-width: 100%;
        margin: 20px;
    }

    .service-modal-header {
        padding: 15px 20px;
    }

    .service-modal-title {
        font-size: 20px;
    }

    .service-modal-body {
        padding: 20px;
    }

    .service-modal-list li {
        font-size: 14px;
        padding: 10px 0;
    }

    .service-modal-subtitle {
        font-size: 16px;
    }
}

