/* =======================================================
   VARIABLES
======================================================= */

:root {

    --primary: #0d5c4f;
    --secondary: #d7a03d;
    --dark: #101418;
    --light: #ffffff;
    --gray: #f5f7fa;
    --text: #444444;
    --shadow: 0 15px 35px rgba(0,0,0,.15);

}

/* =======================================================
   RESET
======================================================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Segoe UI', sans-serif;
    color: var(--text);
    background: #ffffff;
    overflow-x: hidden;

}

a {

    text-decoration: none;

}

ul {

    list-style: none;

}

img {

    max-width: 100%;
    display: block;

}

/* =======================================================
   NAVBAR
======================================================= */

.custom-navbar {

    background: rgba(0,0,0,.55);
    backdrop-filter: blur(12px);
    transition: all .4s ease;
    padding: 15px 0;

}

.navbar-scrolled {

    background: rgba(0,0,0,.90);
    box-shadow: 0 5px 20px rgba(0,0,0,.25);

}

.navbar-brand {

    color: white !important;
    font-size: 1.3rem;
    letter-spacing: 2px;

}

.nav-link {

    color: white !important;
    margin-left: 15px;
    transition: .3s;

}

.nav-link:hover {

    color: var(--secondary) !important;

}

/* =======================================================
   HERO
======================================================= */

.hero-section {

    height: 100vh;
    position: relative;
    overflow: hidden;

}

.heroSwiper {

    width: 100%;
    height: 100%;

}

.heroSwiper img {

    width: 100%;
    height: 100vh;
    object-fit: cover;

}

.hero-overlay {

    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 2;

}

.hero-content {

    position: absolute;
    z-index: 5;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    color: white;

}

.hero-badge {

    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(15px);
    margin-bottom: 20px;

}

.hero-content h1 {

    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;

}

.hero-content p {

    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 35px;

}

.hero-buttons {

    display: flex;
    gap: 15px;
    flex-wrap: wrap;

}

/* =======================================================
   BOTONES
======================================================= */

.btn-gold {

    background: var(--secondary);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;

}

.btn-gold:hover {

    transform: translateY(-3px);
    background: #c58f2e;
    color: white;

}

/* =======================================================
   SECTION HEADER
======================================================= */

.section-header {

    text-align: center;
    margin-bottom: 60px;

}

.section-header h2 {

    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);

}

.section-header p {

    max-width: 700px;
    margin: 15px auto 0 auto;

}

/* =======================================================
   ESTADISTICAS
======================================================= */

.stats-section {

    background: var(--gray);
    padding: 80px 0;

}

.stat-card {

    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: var(--shadow);
    transition: .3s;

}

.stat-card:hover {

    transform: translateY(-10px);

}

.stat-card h2 {

    color: var(--primary);
    font-size: 3rem;
    font-weight: 800;

}

.stat-card span {

    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: bold;

}

/* =======================================================
   BENEFICIOS
======================================================= */

.section-padding {

    padding: 100px 0;

}

.benefit-card {

    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: .4s;

}

.benefit-card:hover {

    transform: translateY(-10px);

}

.benefit-card i {

    font-size: 50px;
    color: var(--secondary);
    margin-bottom: 20px;

}

.benefit-card h4 {

    margin-bottom: 15px;
    font-weight: 700;

}

/* =======================================================
   WHY INVEST
======================================================= */

.why-invest {

    padding: 100px 0;
    background: var(--gray);

}

.why-invest h2 {

    font-size: 2.8rem;
    margin-bottom: 25px;

}

.custom-list {

    padding-left: 0;

}

.custom-list li {

    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;

}

.custom-list li::before {

    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;

}

/* =======================================================
   PORTAFOLIO
======================================================= */

.portfolio-section {

    padding: 100px 0;

}

.portfolio-card {

    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .4s;

}

.portfolio-card:hover {

    transform: translateY(-12px);

}

.portfolio-card img {

    height: 260px;
    width: 100%;
    object-fit: cover;

}

.portfolio-content {

    padding: 25px;

}

.portfolio-content h4 {

    font-weight: 700;
    margin-bottom: 15px;

}

/* =======================================================
   PROCESO
======================================================= */

.process-section {

    padding: 100px 0;
    background: var(--gray);

}

.process-card {

    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);

}

.step {

    width: 70px;
    height: 70px;
    margin: auto;
    margin-bottom: 20px;

    border-radius: 50%;
    background: var(--secondary);

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 1.5rem;
    font-weight: bold;

}
/* =======================================================
   TESTIMONIALES
======================================================= */

.testimonials-section {

    padding: 100px 0;
    background: #ffffff;

}

.testimonial-card {

    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: .3s;

}

.testimonial-card:hover {

    transform: translateY(-8px);

}

.testimonial-card i {

    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;

}

.testimonial-card p {

    font-style: italic;
    margin-bottom: 20px;

}

.testimonial-card h5 {

    color: var(--primary);
    font-weight: 700;

}

/* =======================================================
   FAQ
======================================================= */

.faq-section {

    padding: 100px 0;
    background: var(--gray);

}

.accordion-item {

    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: var(--shadow);

}

.accordion-button {

    font-weight: 600;
    padding: 20px;

}

.accordion-button:not(.collapsed) {

    background: var(--primary);
    color: white;

}

.accordion-button:focus {

    box-shadow: none;

}

/* =======================================================
   CONTACTO
======================================================= */

.contact-section {

    padding: 120px 0;
    background: #ffffff;

}

.contact-section h2 {

    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark);

}

.contact-section p {

    margin-bottom: 35px;

}

.contact-section .form-control {

    border-radius: 15px;
    border: 1px solid #dddddd;
    padding: 15px 20px;

}

.contact-section .form-control:focus {

    border-color: var(--secondary);
    box-shadow: 0 0 0 .25rem rgba(215,160,61,.15);

}

/* =======================================================
   FOOTER
======================================================= */

footer {

    background: var(--dark);
    color: white;
    padding: 80px 0 30px;

}

footer h4 {

    margin-bottom: 25px;
    color: var(--secondary);

}

footer p {

    color: #cccccc;

}

footer ul {

    padding: 0;

}

footer ul li {

    margin-bottom: 10px;

}

footer ul li a {

    color: #cccccc;
    transition: .3s;

}

footer ul li a:hover {

    color: var(--secondary);

}

footer hr {

    margin: 40px 0;
    border-color: rgba(255,255,255,.15);

}

/* =======================================================
   REDES FLOTANTES
======================================================= */

.social-floating {

    position: fixed;
    right: 20px;
    top: 40%;
    z-index: 999;

    display: flex;
    flex-direction: column;
    gap: 15px;

}

.social-floating a {

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);
    font-size: 20px;

    box-shadow: var(--shadow);

    transition: .3s;

}

.social-floating a:hover {

    background: var(--secondary);
    color: white;
    transform: scale(1.1);

}

/* =======================================================
   WHATSAPP
======================================================= */

.whatsapp-float {

    position: fixed;

    bottom: 25px;
    right: 25px;

    width: 65px;
    height: 65px;

    border-radius: 50%;

    background: #25d366;

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 35px;

    z-index: 1000;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);

    transition: .3s;

}

.whatsapp-float:hover {

    color: white;
    transform: scale(1.1);

}

/* =======================================================
   CHATBOT
======================================================= */

#chat-open {

    position: fixed;

    left: 25px;
    bottom: 25px;

    width: 65px;
    height: 65px;

    border: none;
    border-radius: 50%;

    background: var(--primary);

    color: white;

    font-size: 26px;

    z-index: 9999;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);

}

#chatbot-container {

    position: fixed;

    left: 25px;
    bottom: 100px;

    width: 340px;

    background: white;

    border-radius: 20px;

    overflow: hidden;

    display: none;

    z-index: 9999;

    box-shadow: 0 20px 50px rgba(0,0,0,.25);

}

#chat-header {

    background: var(--primary);

    color: white;

    padding: 18px;

    font-weight: bold;

    display: flex;
    justify-content: space-between;
    align-items: center;

}

#closeChat {

    cursor: pointer;
    font-size: 22px;

}

#chat-body {

    padding: 20px;

}

#chat-body p {

    margin-bottom: 15px;

}

#chat-body button {

    width: 100%;

    border: none;

    margin-bottom: 10px;

    padding: 12px;

    border-radius: 12px;

    background: var(--secondary);

    color: white;

    transition: .3s;

}

#chat-body button:hover {

    background: #c78f2d;

}

/* =======================================================
   GLASS EFFECT
======================================================= */

.glass {

    background: rgba(255,255,255,.15);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,.2);

}

/* =======================================================
   ANIMACIONES
======================================================= */

.fade-up {

    animation: fadeUp .8s ease;

}

@keyframes fadeUp {

    from {

        opacity: 0;
        transform: translateY(30px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

/* =======================================================
   RESPONSIVE
======================================================= */

@media(max-width:992px){

    .hero-content h1 {

        font-size: 3rem;

    }

    .contact-section {

        text-align: center;

    }

}

@media(max-width:768px){

    .hero-content h1 {

        font-size: 2.3rem;

    }

    .hero-content p {

        font-size: 1rem;

    }

    .section-header h2 {

        font-size: 2rem;

    }

    .social-floating {

        display: none;

    }

    #chatbot-container {

        width: calc(100% - 40px);

        left: 20px;
        right: 20px;

    }

}

@media(max-width:576px){

    .hero-buttons {

        flex-direction: column;

    }

    .btn-gold {

        width: 100%;

    }

    .hero-content {

        text-align: center;

    }

}